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_typeparameter is optional. If not specified, a single trade will be executed by default. - If
trade_typeis set toSPREAD, ensure that thesymbolparameter 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_typevalues may result in unexpected behavior.