Trade Type
Parameter: trade_type
Type: string
Required: No
Description:
- The type of trade to be executed.
- Valid values are:
SINGLE
: Direct execution on the specified symbolSPREAD
: Spread trade (e.g., buying one symbol and selling another)
Example:
JSON
{
"trade_type": "SPREAD"
}
{
"trade_type": "SINGLE"
}
Note:
- The
trade_type
parameter is optional. If not specified, a single trade will be executed by default. - If
trade_type
is set toSPREAD
, ensure that thesymbol
parameter contains the spread pair (e.g., “ES/VIX”). Anything before the ”/” will bought (iforder_type=buy
), and the symbol after the ”/” will be shorted (iforder_type=buy
). - Incorrect or missing
trade_type
values may result in unexpected behavior.