Доброе утро! есть еще пару вопросов:
{
"execID": "1d585498-649c-a2d6-734f-5f7ee4700abe",
"orderID": "24efaa98-42c9-8452-4e32-426ea7439e87",
"clOrdID": "",
"clOrdLinkID": "",
"account": 531808,
"symbol": "XBTUSD",
"side": "Sell",
"lastQty": 3000,
"lastPx": 7009,
"underlyingLastPx": null,
"lastMkt": "XBME",
"lastLiquidityInd": "RemovedLiquidity",
"simpleOrderQty": null,
"orderQty": 3000,
"price": 7009,
"displayQty": null,
"stopPx": null,
"pegOffsetValue": null,
"pegPriceType": "",
"currency": "USD",
"settlCurrency": "XBt",
"execType": "Trade",
"ordType": "Market",
"timeInForce": "ImmediateOrCancel",
"execInst": "Close",
"contingencyType": "",
"exDestination": "XBME",
"ordStatus": "Filled",
"triggered": "",
"workingIndicator": false,
"ordRejReason": "",
"simpleLeavesQty": 0,
"leavesQty": 0,
"simpleCumQty": 0.4284,
"cumQty": 3000,
"avgPx": 7009,
"commission": 0.00075,
"tradePublishIndicator": "PublishTrade",
"multiLegReportingType": "SingleSecurity",
"text": "Position Close from
www.bitmex.com",
"trdMatchID": "8c465a98-ce6d-9438-c0b7-a5ca280a970d",
"execCost": 42801000,
"execComm": 32100,
"homeNotional": -0.42801,
"foreignNotional": 3000,
"transactTime": "2018-09-05T11:19:34.615Z",
"timestamp": "2018-09-05T11:19:34.615Z"
},
Вот фил линейного контракта. по идее я могу высчитать обьем XBT путем cumQty* (1 (мультипликатор)/avgPx) = 3000 * (1/7009) = 0,4280211157 , но при этом homeNotional = -0.42801, execCost = 42801000 , simpleCumQty =0.4284