336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

** 웹소켓 포지션 정보

 

ws.open_position()

{
'account': 210000,
'symbol': 'XRPM19',
'currency': 'XBt',
'underlying': 'XRP',
'quoteCurrency': 'XBT',
'commission': 0.0025,
'initMarginReq': 0.05,
'maintMarginReq': 0.025,
'riskLimit': 5000000000,
'leverage': 20,
'crossMargin': True,
'deleveragePercentile': 1,
'rebalancedPnl': -12,
'prevRealisedPnl': 0,
'prevUnrealisedPnl': 0,
'prevClosePrice': 4.758e-05,
'openingTimestamp': '2019-06-19T08:00:00.000Z',
'openingQty': 1,
'openingCost': 5027,
'openingComm': 0,
'openOrderBuyQty': 0,
'openOrderBuyCost': 0,
'openOrderBuyPremium': 0,
'openOrderSellQty': 0,
'openOrderSellCost': 0,
'openOrderSellPremium': 0,
'execBuyQty': 0,
'execBuyCost': 0,
'execSellQty': 0,
'execSellCost': 0,
'execQty': 0,
'execCost': 0,
'execComm': 0,
'currentTimestamp': '2019-06-19T08:09:00.091Z',
'currentQty': 1,
'currentCost': 5027,
'currentComm': 0,
'realisedCost': 0,
'unrealisedCost': 5027,
'grossOpenCost': 0,
'grossOpenPremium': 0,
'grossExecCost': 0,
'isOpen': True,
'markPrice': 4.758e-05,
'markValue': 4758,
'riskValue': 4758,
'homeNotional': 1,
'foreignNotional': -4.758e-05,
'posState': '',
'posCost': 5027,
'posCost2': 5027,
'posCross': 269,
'posInit': 252,
'posComm': 14,
'posLoss': 0,
'posMargin': 535,
'posMaint': 140,
'posAllowance': 0,
'taxableMargin': 0,
'initMargin': 0,
'maintMargin': 266,
'sessionMargin': 0,
'targetExcessMargin': 0,
'varMargin': 0,
'realisedGrossPnl': 0,
'realisedTax': 0,
'realisedPnl': 0,
'unrealisedGrossPnl': -269,
'longBankrupt': 0,
'shortBankrupt': 0,
'taxBase': 0,
'indicativeTaxRate': 0,
'indicativeTax': 0,
'unrealisedTax': 0,
'unrealisedPnl': -269,
'unrealisedPnlPcnt': -0.0535,
'unrealisedRoePcnt': -1.0702,
'simpleQty': None,
'simpleCost': None,
'simpleValue': None,
'simplePnl': None,
'simplePnlPcnt': None,
'avgCostPrice': 5.027e-05,
'avgEntryPrice': 5.027e-05,
'breakEvenPrice': 5.039e-05,
'marginCallPrice': 0,
'liquidationPrice': 0,
'bankruptPrice': 0,
'timestamp': '2019-06-19T08:09:00.091Z',
'lastPrice': 4.758e-05,
'lastValue': 4758
}

 

 

** 웹소켓 주문 정보

 

ws.open_orders()

 

{
'orderID': '5bbcf9da-8ced-d630-7bb7-4ce3ae39b815',
'clOrdID': '',
'clOrdLinkID': '',
'account': 210000,
'symbol': 'TRXM19',
'side': 'Buy',
'simpleOrderQty': None,
'orderQty': 1,
'price': 3e-06,
'displayQty': None,
'stopPx': None,
'pegOffsetValue': None,
'pegPriceType': '',
'currency': 'XBT',
'settlCurrency': 'XBt',
'ordType': 'Limit',
'timeInForce': 'GoodTillCancel',
'execInst': '',
'contingencyType': '',
'exDestination': 'XBME',
'ordStatus': 'New',
'triggered': '',
'workingIndicator': True,
'ordRejReason': '',
'simpleLeavesQty': None,
'leavesQty': 1,
'simpleCumQty': None,
'cumQty': 0,
'avgPx': None,
'multiLegReportingType': 'SingleSecurity',
'text': 'Submission from testnet.bitmex.com',
'transactTime': '2019-06-11T10:04:02.915Z',
'timestamp': '2019-06-11T10:04:02.915Z'
}

+ Recent posts