Zarathustra2 / TradeRepublicApi

Unofficial trade republic API
MIT License
277 stars 68 forks source link

Failed 31 error #34

Closed Gamma-Software closed 3 months ago

Gamma-Software commented 3 months ago

I’ve got an error after setting up the tool: ╰─± python3 ./examples/timelineExporterWithDocsAndDetails.py Pin:****

*** The process id is: xxxxxxxx-xx-xx-xxxxxxx

ExPrint Connection Error: failed 31

Zarathustra2 commented 3 months ago

In the code try to replace:

await self.ws.send(f"connect 21 {msg}")

with

await self.ws.send(f"connect 31 {msg}")

and see if that works

Gamma-Software commented 3 months ago

Yes @Zarathustra2 that works ;)