public method CloseMarketOrderRequestBuilder.setExpirationDateSets the expiration datetime. Applicable only for orders with GTD time-in-force option.
Declaration
protojavascriptjavacsharppublic setExpirationDate(expirationDate : datetime) : CloseMarketOrderRequestBuilder
| Parameters | |
expirationDate |
The expiration date is the date and time at which a pending order will automatically be cancelled if it has not been executed |
Returns
The method returns an instance of the CloseMarketOrderRequest class
See also: CloseMarketOrderRequestBuilder
Declared in CloseMarketOrderRequestBuilder