python-kucoin
python-kucoin copied to clipboard
How to get at what price was executed my market order?
Hello,
When I perform a market order using: client.create_market_order I get a json which contains my orderId. How can I find at what price it was performed or what amount of tokens I bought?
I tried : print(client.get_fills(order_id))
But I only got:
{'currentPage': 1, 'pageSize': 50, 'totalNum': 0, 'totalPage': 0, 'items': []}