Trade Parameters

tradeType

  • The type of trade

  • Allowed Values: long, short

mode

  • The mode of the trade

  • Allowed Values: limit, market, trigger and tpsl

from

  • The token used for payment in the trade

  • Allowed Values: Valid token symbol supported by the platform, such as usdc.

to or market

  • The asset to long, short

  • Allowed Values: Valid token symbol supported by the platform, such as usdc.

collateral

  • The asset used as collateral for the trade

  • Allowed Values: Valid token symbol supported by the platform such as usdc, usdt, etc,

pool

  • The liquidity pool where the trade is executed

  • Allowed Values: Valid pool name/address supported by the platform .

Last updated