public method EntryOrderRequestBuilder.setStopRateSets the stop rate
Declaration
protojavascriptjavacsharppublic setStopRate(stopRate : real) : EntryOrderRequestBuilder
| Parameters | |
stopRate |
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 EntryOrderRequest class
See also: EntryOrderRequestBuilder
Declared in EntryOrderRequestBuilder