python-ftx icon indicating copy to clipboard operation
python-ftx copied to clipboard

Post request failed - invalid signature

Open kewlfft opened this issue 2 years ago • 0 comments

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)

kewlfft avatar Jun 20 '22 21:06 kewlfft