kucoin-python-sdk
kucoin-python-sdk copied to clipboard
Get the average price of a market order: get_order_details and get_fill_list
hello all,
I have a problem to retrieve the average price of a market order. I retrieve the details of the order with get_order_details(orderId) but I figure out that sometimes dealFunds and dealSize fields are empty (even if the market order filled completely).
Is there anyone who experienced the same?
Then I tried to use get_fill_list(tradeType, orderId) to retrieve all the filled orders, but it doesn't work because I retrieve always an empty list. This is the response: {"currentPage":1,"pageSize":50,"totalNum":0,"totalPage":0,"items":[]}
Hi. Can you please state what parameters are you using when fetching order info?