Skip to content

MarginOrder#

About#

Contains order to calculate margin for.

Fields#

Name Type Required Description
symbol string Yes order symbol
type string Yes order type, one of ORDER_TYPE_BUY or ORDER_TYPE_SELL
volume number Yes order volume, must be greater than 0
openPrice number Yes order open price, must be greater than 0

Example#

{
  "symbol": "EURUSD",
  "type": "ORDER_TYPE_BUY",
  "volume": 0.1,
  "openPrice": 1.1
}

Usages#