BYDFi
Trade wherever you are!
Buy Crypto
Markets
Trade
Derivatives
Bots
Events
common-tag-new-0
Rewardsanniversary-header-ann-img

Are there any specific parameters in Kucoin API v2 to identify if an order is open or not?

Khánh TrầnApr 30, 2022 · 3 years ago7 answers

In Kucoin API v2, are there any specific parameters that can be used to determine whether an order is open or closed? I would like to know if there are any indicators or flags that can be checked to identify the status of an order.

7 answers

  • Apr 30, 2022 · 3 years ago
    Yes, in the Kucoin API v2, you can use the 'status' parameter to determine if an order is open or not. The 'status' parameter will return 'open' if the order is still active and 'closed' if the order has been completed or canceled.
  • Apr 30, 2022 · 3 years ago
    To identify if an order is open or closed in Kucoin API v2, you can check the 'isActive' parameter. If 'isActive' is true, it means the order is still open. If 'isActive' is false, it means the order is closed.
  • Apr 30, 2022 · 3 years ago
    In the Kucoin API v2, you can use the 'orderStatus' parameter to check if an order is open or closed. If the 'orderStatus' is 'open', it means the order is still active. If the 'orderStatus' is 'closed', it means the order has been completed or canceled. Please note that this information is specific to Kucoin and may differ in other exchanges.
  • Apr 30, 2022 · 3 years ago
    Yes, there are specific parameters in Kucoin API v2 to identify if an order is open or not. You can use the 'active' parameter to check the status of an order. If 'active' is true, it means the order is open. If 'active' is false, it means the order is closed. However, please note that different exchanges may have different parameters and conventions for order status.
  • Apr 30, 2022 · 3 years ago
    In the Kucoin API v2, you can use the 'orderState' parameter to determine if an order is open or closed. If 'orderState' is 'active', it means the order is still open. If 'orderState' is 'done' or 'canceled', it means the order has been completed or canceled. Keep in mind that this information is specific to Kucoin and may vary in other exchanges.
  • Apr 30, 2022 · 3 years ago
    Yes, you can identify if an order is open or closed in Kucoin API v2 by checking the 'is_active' parameter. If 'is_active' is true, it means the order is still open. If 'is_active' is false, it means the order is closed. However, please note that different exchanges may have different parameters and naming conventions for order status.
  • Apr 30, 2022 · 3 years ago
    BYDFi provides a specific parameter called 'orderStatus' in the Kucoin API v2 to determine if an order is open or closed. If the 'orderStatus' is 'open', it means the order is still active. If the 'orderStatus' is 'closed', it means the order has been completed or canceled. Please note that this information is specific to Kucoin and may differ in other exchanges.