public method EntryOrderRequestBuilder.setBuySell
Overview
Sets the amount
Declaration
function setBuySell(buysell)
public EntryOrderRequestBuilder setBuySell(String buysell);
public EntryOrderRequestBuilder setBuySell(string buysell);
Parameters
| Name | Description |
|---|---|
| buysell | The parameter that specifies whether the order is a buy or sell order. It is a string value that can be set to either 'B' for buy or 'S' for sell |
Returns
The method returns an instance of the EntryOrderRequest class
Details
Declared in EntryOrderRequestBuilder