class StopOrderRequestBuilder

Parents

object

Brief
The builder of the StopOrderRequest class
Public Methods
StopOrderRequestBuilder This method is a constructor for the builder of the class represents a stop order request that can be sent to a trading platform. The constructor does not return any values
setTradeId Sets the unique identification number of the position to be closed by the stop order
setOrderId Sets the unique identifier of the order to be stop/limit order attached
setRate Sets the price at which the stop order must close the position
setPips Sets the pips at which the limit order must close the position
setCustomId Sets the custom ID
enableTrailing Enable trailing
build Builds a new instance of the StopOrderRequest class with the set parameters