sammchardy / python-kucoin

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

Question regarding the handling of the price protection mechanism #82

Open CamilleValley opened 3 years ago

CamilleValley commented 3 years ago

Hi folks,

I read in the api documentation that Kucoin has a so called "price protection mechanism": https://docs.kucoin.com/#place-a-new-order

The documentation states "causing the order to fail." but later on mentions that a market could be partially filled when the mechanism is triggered.

Do you has experience with it? Like, is the market order fully marked as failed and if not, how do you know the quantity that was filled? Do you generally have any tips on how to handle it gracefully?

Thanks a lot for your work ❤