BitMEX / api-connectors

Libraries for connecting to the BitMEX API.
https://www.bitmex.com/app/restAPI
910 stars 795 forks source link

order_cancel param is wrong #474

Open CryptoUncleSam opened 3 years ago

CryptoUncleSam commented 3 years ago

https://github.com/BitMEX/api-connectors/blob/master/auto-generated/python/docs/OrderApi.md#order_cancel Say param is order_id when is orderID

STRML commented 3 years ago

Looks like the adapter is trying to be "smart" and convert camelCase parameters to snake_case ones, which it shouldn't do as these keys are sent over the wire. We'll investigate.