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 symbol
    • SPREAD: 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 to SPREAD, ensure that the symbol parameter contains the spread pair (e.g., “ES/VIX”). Anything before the ”/” will bought (if order_type=buy), and the symbol after the ”/” will be shorted (if order_type=buy).
  • Incorrect or missing trade_type values may result in unexpected behavior.