python-ftx
python-ftx copied to clipboard
Post request failed - invalid signature
The new commits broke again the post request:
2022-06-20 22:07:55.889 | ERROR | ftx.client:_request:96 - [ERROR] Request failed!
2022-06-20 22:07:55.890 | ERROR | ftx.client:_request:97 - {"success":false,"error":"Not logged in: Invalid signature","errorCode":"not_logged_in"}
you need to pass the params:
sig = signature(ts, method, path, self.API_SECRET, params)