Paper trading

Modify a resting order

Change a resting limit or stop order in place: limit_price, sl, tp, margin_usd, leverage, trail_pct. The direction is re-derived from the market now and the candle watermark restarts, so a moved level never fills on a bar printed before the change.

post/api/bot/v1/modify_order

Request

  • Base URL: https://marginpad.io
  • URL: https://marginpad.io/api/bot/v1/modify_order
  • Auth: API key in header X-API-Key

Request body

order_idstring required
limit_pricenumber
slnumber nullable
tpnumber nullable
margin_usdnumber
leveragenumber
trail_pctnumber nullable

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.