public method MarketOrderRequestBuilder.setStopRate

Brief

Sets the price at which the stop order must close the position

Declaration

protojavascriptjavacsharp
public 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

Details

See also: MarketOrderRequestBuilder

Declared in MarketOrderRequestBuilder

back