public method EntryOrderRequestBuilder.setAmount
Overview
Sets the number of lots
Declaration
function setAmount(amount)
public EntryOrderRequestBuilder setAmount(int amount);
public EntryOrderRequestBuilder setAmount(int amount);
Parameters
| Name | Description |
|---|---|
| amount | The number of lots, which is the standard unit size of a trading position |
Returns
The method returns an instance of the EntryOrderRequest class
Details
Declared in EntryOrderRequestBuilder