// User update message
{
// Updated account info, if exists
// Type: MarginTradingAccountClientContract
"Account": Doc not implemented,
// Updated order info, if exists
// Type: OrderClientContract
"Order": Doc not implemented,
// Stopout info, if exists
// Type: AccountStopoutClientContract
"AccountStopout": Doc not implemented,
// Updated user info, if exists
// Type: UserUpdateEntityClientContract
"UserUpdate": Doc not implemented,
}
// Account info
{
// Account id
// Type: string
"Id": "",
// Trading condition id
// Type: string
"TradingConditionId": "",
// Account base asset id
// Type: string
"BaseAssetId": "",
// Account balance
// Type: decimal
"Balance": Doc not implemented,
// Account Withdraw Transfer Limit
// Type: decimal
"WithdrawTransferLimit": Doc not implemented,
// Account margin call limit
// Type: decimal
"MarginCall": Doc not implemented,
// Account stopout limit
// Type: decimal
"StopOut": Doc not implemented,
// Account total capital
// Type: decimal
"TotalCapital": Doc not implemented,
// Account free margin
// Type: decimal
"FreeMargin": Doc not implemented,
// Account available margin
// Type: decimal
"MarginAvailable": Doc not implemented,
// Account used margin
// Type: decimal
"UsedMargin": Doc not implemented,
// Account init margin
// Type: decimal
"MarginInit": Doc not implemented,
// Account pnl
// Type: decimal
"PnL": Doc not implemented,
// Open positions count
// Type: int
"OpenPositionsCount": 0,
// Account margin usage level
// Type: decimal
"MarginUsageLevel": Doc not implemented,
// Is account live (trading real money) or demo
// Type: bool
"IsLive": false,
// Account legal entity
// Type: string
"LegalEntity": "",
}
// Account info
{
// Order id
// Type: string
"Id": "",
// Account id
// Type: string
"AccountId": "",
// Instrument (asset pair) id
// Type: string
"Instrument": "",
// Contract direction (buy - 0, sell - 1)
// Type: int
"Type": 0,
// Order status (WaitingForExecution - 0, Active - 1, Closed - 2, Rejected - 3, Closing - 4)
// Type: int
"Status": 0,
// Order close reason (None - 0, Close - 1, StopLoss - 2, TakeProfit - 3, StopOut - 4, Canceled - 5, CanceledBySystem - 6, CanceledByBroker - 7, ClosedByBroker - 8)
// Type: int
"CloseReason": 0,
// Order reject reason (None - 0, NoLiquidity - 1, NotEnoughBalance - 2, LeadToStopOut - 3, AccountInvalidState - 4, InvalidExpectedOpenPrice - 5, InvalidVolume - 6, InvalidTakeProfit - 7, InvalidStoploss - 8, InvalidInstrument = 9, InvalidAccount - 10, TradingConditionError - 11, TechnicalError - 12)
// Type: int
"RejectReason": 0,
// Order reject reason in human-readable text
// Type: string
"RejectReasonText": "",
// Order expected open price
// Type: decimal?
"ExpectedOpenPrice": null | 0.0,
// Order actual open price
// Type: decimal
"OpenPrice": Doc not implemented,
// Order actual close price
// Type: decimal
"ClosePrice": Doc not implemented,
// Order actual open date & time
// Type: DateTime?
"OpenDate": null | "0001-01-01T00:00:00",
// Order actual close date & time
// Type: DateTime?
"CloseDate": null | "0001-01-01T00:00:00",
// Order volume
// Type: decimal
"Volume": Doc not implemented,
// Order matched volume
// Type: decimal
"MatchedVolume": Doc not implemented,
// Order close volume
// Type: decimal
"MatchedCloseVolume": Doc not implemented,
// Order take profit
// Type: decimal?
"TakeProfit": null | 0.0,
// Order stop loss
// Type: decimal?
"StopLoss": null | 0.0,
// Order floating profit loss
// Type: decimal?
"Fpl": null | 0.0,
// Order total floating profit loss
// Type: decimal?
"TotalPnL": null | 0.0,
// Order open comission
// Type: decimal
"OpenCommission": Doc not implemented,
// Order close comission
// Type: decimal
"CloseCommission": Doc not implemented,
// Order swap comission
// Type: decimal
"SwapCommission": Doc not implemented,
}
// Stopout info
{
// Account id
// Type: string
"AccountId": "",
// Closed positions count
// Type: int
"PositionsCount": 0,
// Total profit & loss
// Type: decimal
"TotalPnl": Doc not implemented,
}
// User update info
{
// Indicates account assets were updated
// Type: bool
"UpdateAccountAssetPairs": false,
// Indicates accounts were updated
// Type: bool
"UpdateAccounts": false,
}