class MarketOrderRequestBuilder
Parents
object
Brief
The builder of the MarketOrderRequest class
| Public Methods | |
|---|---|
| MarketOrderRequestBuilder | A constructor |
| setAccountId | Sets the unique identification number of the account |
| setOfferId | Sets the unique identification number of the offer |
| setAmount | Sets the order amount |
| setBuySell | Sets the trade operation of the order |
| 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 |
| setStopRate | Sets the price at which the stop order must close the position |
| setLimitRate | Sets the price at which the limit order must close the position |
| setStopPips | Sets the pips the stop order must close the position at |
| setLimitPips | Sets the pips the limit order must close the position at |
| setRateRange | Sets the rate range |
| enableTrailingStop | Enable trailing stop |
| build | Builds a new instance of the MarketOrderRequest class with the set parameters |