sammchardy / python-kucoin

Kucoin REST and Websocket API python implementation
https://python-kucoin.readthedocs.io/en/latest/
MIT License
352 stars 148 forks source link

List all active orders for all Symbols #1

Closed fahadysf closed 6 years ago

fahadysf commented 6 years ago

Is there a way to get all active orders for any symbol? Doesn't seem obvious from the KuCoin API docs but the website itself has a page (Assets->Active Orders) which shows all orders. Am I missing something or is this not possible from the API?

sammchardy commented 6 years ago

Hi @fahadysf, the documentation https://kucoinapidocs.docs.apiary.io/#reference/0/trading/list-active-orders Shows a required symbol parameter, so it doesn't appear that you can get all active orders without looping through all symbol pairs. Best option is to contact Kucoin directly and ask them to add the feature.

crincones commented 6 years ago

This is an old question, but it is possible, just leave the symbol blank, like this:

https://api.kucoin.com/v1/order/active-map?symbol=