public method MarketOrderRequestBuilder.setStopRateSets the price at which the stop order must close the position
Declaration
protojavascriptjavacsharppublic setStopRate(rate : real) : MarketOrderRequestBuilder
| Parameters | |
rate |
The price at which a stop order will be executed. A stop order is an order type that is used to limit a trader's loss or to protect their profit. When the market reaches the stop rate, the stop order will be executed, and the position will be closed at the best available price |
Returns
The method returns an instance of the MarketOrderRequest class
See also: MarketOrderRequestBuilder
Declared in MarketOrderRequestBuilder