Files
exchange-monitor-go/exchange
jackyu66git 866f9906b7 fix: HL market order double slippage causing 'Order has invalid size'
Root cause: PlaceMarketOrder manually calculated limitPx=mid*0.5 (sell)
then passed &limitPx to SDK's MarketOpen. SDK treated this as reference
price and applied slippage AGAIN (0.95x), resulting in limitPx=mid*0.475.
Notional value fell below HL's 0 minimum → error.

Fix: pass nil instead of &limitPx, letting SDK get mid price and
apply standard 5% slippage itself.
2026-05-04 23:35:44 +08:00
..
2026-05-03 16:54:36 +08:00
2026-05-04 22:24:30 +08:00
2026-05-03 17:48:06 +08:00
2026-05-04 22:24:30 +08:00
2026-05-03 16:54:36 +08:00