When interacting with the KuCoin orders API, the price field is always returned with the value 0. Luckily, there are two other documented fields we can use to calculate the average price: dealFunds (the amount of base (e.g., USDT) spent/received) and dealSize (the amount of target (e.g., BLUR) spent/received).
Example responses:
When interacting with the KuCoin orders API, the
price
field is always returned with the value0
. Luckily, there are two other documented fields we can use to calculate the average price:dealFunds
(the amount of base (e.g., USDT) spent/received) anddealSize
(the amount of target (e.g., BLUR) spent/received). Example responses: