class CloseMarketOrderRequestBuilder

Parents

CloseMarketOrderRequest

Brief

The builder of the CloseMarketOrderRequest class

Public Methods

build

Builds a new instance of the MarketOrderRequest class with the set parameters

CloseMarketOrderRequestBuilder

A constructor

setAmount

Sets the order amount

setCustomId

Sets the custom ID

setExpirationDate

Sets the expiration datetime. Applicable only for orders with GTD time-in-force option.

setRateRange

Sets the rate range

setTimeInForce

Sets the time in force ('GTC', 'IOC', 'FOK', 'DAY', 'GTD')

setTradeId

Sets the unique identification number of the position to be closed by the stop order

back