(order, market: Market = undefined)
| 984 | } |
| 985 | |
| 986 | parseWsOrder (order, market: Market = undefined) { |
| 987 | // |
| 988 | // { |
| 989 | // "symbol": "PERP_BTC_USDT", |
| 990 | // "clientOrderId": 0, |
| 991 | // "orderId": 52952826, |
| 992 | // "type": "LIMIT", |
| 993 | // "side": "SELL", |
| 994 | // "quantity": 0.01, |
| 995 | // "price": 22000, |
| 996 | // "tradeId": 0, |
| 997 | // "executedPrice": 0, |
| 998 | // "executedQuantity": 0, |
| 999 | // "fee": 0, |
| 1000 | // "feeAsset": "USDT", |
| 1001 | // "totalExecutedQuantity": 0, |
| 1002 | // "status": "NEW", |
| 1003 | // "reason": '', |
| 1004 | // "orderTag": "default", |
| 1005 | // "totalFee": 0, |
| 1006 | // "visible": 0.01, |
| 1007 | // "timestamp": 1657515556798, |
| 1008 | // "reduceOnly": false, |
| 1009 | // "maker": false |
| 1010 | // } |
| 1011 | // { |
| 1012 | // "symbol": "SPOT_BTC_USDT", |
| 1013 | // "rootAlgoOrderId": 2573778, |
| 1014 | // "parentAlgoOrderId": 0, |
| 1015 | // "algoOrderId": 2573778, |
| 1016 | // "clientOrderId": 0, |
| 1017 | // "orderTag": "default", |
| 1018 | // "algoType": "STOP_LOSS", |
| 1019 | // "side": "SELL", |
| 1020 | // "quantity": 0.00011, |
| 1021 | // "triggerPrice": 98566.67, |
| 1022 | // "triggerStatus": "USELESS", |
| 1023 | // "price": 0, |
| 1024 | // "type": "MARKET", |
| 1025 | // "triggerTradePrice": 0, |
| 1026 | // "triggerTime": 0, |
| 1027 | // "tradeId": 0, |
| 1028 | // "executedPrice": 0, |
| 1029 | // "executedQuantity": 0, |
| 1030 | // "fee": 0, |
| 1031 | // "reason": "", |
| 1032 | // "feeAsset": "", |
| 1033 | // "totalExecutedQuantity": 0, |
| 1034 | // "averageExecutedPrice": 0, |
| 1035 | // "totalFee": 0, |
| 1036 | // "timestamp": 1761030467426, |
| 1037 | // "visibleQuantity": 0, |
| 1038 | // "reduceOnly": false, |
| 1039 | // "triggerPriceType": "MARKET_PRICE", |
| 1040 | // "positionSide": "BOTH", |
| 1041 | // "feeCurrency": "", |
| 1042 | // "totalRebate": 0.0, |
| 1043 | // "rebateCurrency": "", |
no test coverage detected