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

Iceberg Order Bug #86

Open kehrli opened 3 years ago

kehrli commented 3 years ago

When creating an iceberg order, the visible_size paramter in the api is bool type. It needs to be a str(float) when passing it to the kucoin api.

Actually, the code works if you pass it a float, converted to string. There is no type checking. It just needs a change in the doc strings. It would be nice if a float parameter was also converted to string before being sent on to the kucoin api.