public method EntryOrderRequestBuilder.setTimeInForce
Overview
Sets the time in force ('GTC', 'DAY', 'GTD')
Declaration
function setTimeInForce(timeInForce)
public EntryOrderRequestBuilder setTimeInForce(String timeInForce);
public EntryOrderRequestBuilder setTimeInForce(string timeInForce);
Parameters
| Name | Description |
|---|---|
| timeInForce | A parameter that specifies how long the order will remain active before it is automatically cancelled |
Returns
The method returns an instance of the EntryOrderRequest class
Details
Declared in EntryOrderRequestBuilder