Skip to content

Interface: AdvTradeGlobalEditRequest ​

Properties ​

PropertyTypeDescription
advanced?AdvTradeGlobalRequestAdvancedAdvanced option order type. If you have posted an advanced option order, it is necessary to re-supply this parameter when editing it (Only for options)
allocated_margin?numberOptional additional margin amount transferred from the main account to the isolated subaccount when editing an order to increase risk.
amount?numberRequested order size. Use the base coin for spot, options, and linear instruments, including linear perpetuals. Use USD for inverse futures and inverse perpetuals. amount is required when contracts is omitted. If both are provided, they must specify the same size or the request fails.
contracts?numberIt represents the requested order size in contract units and can be passed instead of amount. The contracts is a mandatory parameter if amount parameter is missing. If both contracts and amount parameter are passed they must match each other otherwise error is returned.
display_amount?numberInitial display amount for iceberg order. Has to be at least 100 times minimum amount for instrument and ratio of hidden part vs visible part has to be less than 100 as well.
isolated?booleanIf true, routes the edit request to the isolated margin subaccount that owns the order. Must be sent from the main account. Default - false
mmp?booleanOrder MMP flag, only for order_type 'limit'
order_idstringThe order id
post_only?booleanIf true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below or above the spread (accordingly to the original order type). Only valid in combination with time_in_force="good_til_cancelled" For spot trading routed to Coinbase Exchange, the price is never adjusted: "post_only" must be combined with "reject_post_only" set to true, and the order is rejected if it would be matched instantly.
price?numberOrder price in the instrument’s price units. For option orders with advanced: "usd", specify the price in USD. With advanced: "implv", specify implied volatility as a percentage, for example 100 for 100%.
reduce_only?booleanIf true, the order is considered reduce-only which is intended to only reduce a current position
reject_post_only?booleanIf an order is considered post-only and this field is set to true then the order is put to the order book unmodified or the request is rejected. Only valid in combination with "post_only" set to true For spot trading routed to Coinbase Exchange, this must be set to true whenever "post_only" is true; otherwise the request is rejected with post_only_not_allowed.
trigger_offset?numberThe maximum deviation from the price peak beyond which the order will be triggered
trigger_price?numberTrigger price, required for trigger orders only (Stop-loss or Take-profit orders)
valid_until?numberTimestamp, when provided server will start processing request in Matching Engine only before given timestamp, in other cases timed_out error will be responded. Remember that the given timestamp should be consistent with the server's time, use /public/time method to obtain current server time.

Built by Siebly. Open source SDKs for exchange APIs.