kucoin-python-sdk icon indicating copy to clipboard operation
kucoin-python-sdk copied to clipboard

Get the average price of a market order: get_order_details and get_fill_list

Open fashionprivate opened this issue 3 years ago • 1 comments

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":[]}

fashionprivate avatar Oct 20 '22 09:10 fashionprivate

Hi. Can you please state what parameters are you using when fetching order info?

hedayat-bazafkan avatar Nov 02 '22 19:11 hedayat-bazafkan