Error 403 w/ "order cancel" api keys
Closed this issue · 3 comments
In the sandbox, I cannot use API keys that have both "order" and "cancel" functionalities. Only API keys with "order" (and/or "withdraw") work. This may be an issue limited to the sandbox as I have not tested it live.
The exact error code is 2019-05-29 09:11:02,793 - ERROR - bitmex - Unhandled Error: 403 Client Error: Forbidden for url: https://testnet.bitmex.com/api/v1/order/bulk: {"erro r":{"message":"Access Denied","name":"HTTPError"}}
.
To reproduce:
- Create an API key with "order cancel" capabilities
- Update
settings.py
$ DRY_RUN=True marketmaker XBTUSD
- Observe the error above
To reproduce a working market maker, follow all of the same steps above, except for step 1, only create an API key with "order" AND NOT "cancel".
So sorry, I just saw that fine print. I assumed 'order cancel' meant order & cancel.
So sorry.
Yes, of course. Doing some work for a client based in Singapore / HK