TrailingStopLossOrder
Order
A
to sell sets the initial stop price at a fixed amount below the market price. As the market price rises, the stop price rises by the trailing amount. However, if the market price falls, the stop price remains the same. When the stop price is hit a market order is submitted.
A
to buy sets the initial stop price at a fixed amount above the market price. As the market price falls, the stop price falls by the trailing amount. However, if the market price rises, the stop price remains the same. When the stop price is hit a market order is submitted.
Constructor
No documentation has been provided. | ||||||||||||||||||||||||
Presentation
| ||||||||||||||||||||||||
Parameters
|
Properties
Name | Type | Description |
---|---|---|
accountId inherited from
| string | Account used to send the order |
amount inherited from
| number | Order amount in base currency |
average inherited from
| number | Average filled price |
cost inherited from
| number | 'filled' * 'price' (filled price used where available) |
datetime inherited from
| Date | Date & time of order placement |
exchange inherited from
| string | Exchange of the order |
fee inherited from
|
| The fee object for the order |
filled inherited from
| number | Filled amount of base currency |
id inherited from
| string | The unique ID of the order. Unique even between different exchanges. Generate using |
lastTradeTimestamp inherited from
| number | Unix timestamp of the most recent trade on this order |
market inherited from
|
| Market of the order |
ooReason inherited from
| string | Origin reason for the order |
parentId inherited from
| string | Id of the parent algo order. |
portfolio inherited from
| string | The name of the portfolio this order belongs to. The default is |
price inherited from
| number | Price in quote currency (may be empty for market orders) |
remaining inherited from
| number | Remaining amount pending fill |
side inherited from
|
| Side of the order Buy/Sell or BuyCover/SellCover |
status inherited from
|
| Current status of the order |
stopPrice | number | The initial stop price. If |
symbol inherited from
| string | Instrument symbol of the order. Ex, "binanceDex-BTC/USDT" |
timeInForce inherited from
|
| Time in Force condition for the order to remain active |
timestamp inherited from
| number | Timestamp of order placement |
trades inherited from
| Trade[] | Trade fills associated with this order |
trailingAmount | number | The amount that is used to calculate the stop price. |
venueId inherited from
| string | Id of the order on the exchange |