Interface: AdvTradeGlobalEditByLabelRequest
Properties
| Property | Type | Description |
|---|---|---|
advanced? | AdvTradeGlobalRequestAdvanced | Advanced 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? | number | Optional additional margin amount transferred from the main account to the isolated subaccount when editing an order to increase risk. |
amount? | number | Requested 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? | number | It 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. |
instrument_name | string | Instrument name |
isolated? | boolean | If true, routes the edit by label request to the isolated margin subaccount that owns the order. Must be sent from the main account. Default - false |
label? | string | user defined label for the order (maximum 64 characters) |
mmp? | boolean | Order MMP flag, only for order_type 'limit' |
post_only? | boolean | If 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? | number | Order 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? | boolean | If true, the order is considered reduce-only which is intended to only reduce a current position |
reject_post_only? | boolean | If 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_price? | number | Trigger price, required for trigger orders only (Stop-loss or Take-profit orders) |
valid_until? | number | Timestamp, 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. |