class CloseMarketOrderRequestBuilder
Parents
object
Brief
The builder of the CloseMarketOrderRequest class
| Public Methods | |
|---|---|
| CloseMarketOrderRequestBuilder | A constructor |
| setTradeId | Sets the unique identification number of the position to be closed by the stop order |
| setAmount | Sets the order amount |
| setTimeInForce | Sets the time in force ('GTC', 'IOC', 'FOK', 'DAY', 'GTD') |
| setExpirationDate | Sets the expiration datetime. Applicable only for orders with GTD time-in-force option. |
| setCustomId | Sets the custom ID |
| setRateRange | Sets the rate range |
| build | Builds a new instance of the MarketOrderRequest class with the set parameters |