class CloseAllPositionsRequest

Parents

object

Brief
The class provides information for a close all positions market order request
Public Methods
CloseAllPositionsRequest This method is a constructor for the class provides information for a close all positions market order request. It initializes the properties with default values and does not return any values
getTimeInForce Gets the time in force ('GTC', 'IOC', 'FOK', 'DAY', 'GTD'). By default 'GTC'.
getExpirationDate Gets the expiration datetime. Applicable only for orders with GTD time-in-force option.
getAcctId Required method. Gets the account ID
getCustomId Gets the custom ID to use in request
getRateRange Gets the rate range.
isRateRangeFilled Checks whether the rate range is set for the request
getSide Gets the side for which remove positions. If not set, then positions will be removed for all sides
isSideFilled Checks whether the side is set for the request
getSymbol Gets the symbol for which remove positions. If not set, then positions will be removed for all instruments.
isSymbolFilled Checks whether the symbol is set for the request