Open Kevin-Al opened 3 years ago
Thanks @Dave-Vallance for this project. Same issue here with Binance and Binance Testnet.
@nachoe40 have you come across any solution?
@nachoe40 have you come across any solution?
Just a quick fix on forked repo https://github.com/nachoe40/bt-ccxt-store
@Dave-Vallance first, thank you
Im using testnet from bitmex. This is the result from fetch_order,
{'info': {'orderID': '5621672a-a590-4c96-b81e-4a1632c631fe', 'clOrdID': '', 'clOrdLinkID': '', 'account': 348254, 'symbol': 'XBTUSD', 'side': 'Buy', 'simpleOrderQty': None, 'orderQty': 1, 'price': 55257, 'displayQty': None, 'stopPx': None, 'pegOffsetValue': None, 'pegPriceType': '', 'currency': 'USD', 'settlCurrency': 'XBt', 'ordType': 'Market', 'timeInForce': 'ImmediateOrCancel', 'execInst': '', 'contingencyType': '', 'exDestination': 'XBME', 'ordStatus': 'Filled', 'triggered': '', 'workingIndicator': False, 'ordRejReason': '', 'simpleLeavesQty': None, 'leavesQty': 0, 'simpleCumQty': None, 'cumQty': 1, 'avgPx': 55248.5, 'multiLegReportingType': 'SingleSecurity', 'text': 'Submitted via API.', 'transactTime': '2021-02-22T09:37:59.255Z', 'timestamp': '2021-02-22T09:37:59.255Z'}, 'id': '5621672a-a590-4c96-b81e-4a1632c631fe', 'clientOrderId': '', 'timestamp': 1613986679255, 'datetime': '2021-02-22T09:37:59.255Z', 'lastTradeTimestamp': 1613986679255, 'symbol': 'BTC/USD', 'type': 'market', 'timeInForce': 'IOC', 'postOnly': False, 'side': 'buy', 'price': 55257.0, 'stopPrice': None, 'amount': 1.0, 'cost': 55248.5, 'average': 55248.5, 'filled': 1.0, 'remaining': 0.0, 'status': 'closed', 'fee': None, 'trades': None}
So 'trades' contains nothing. How should I approach this?