Rick-29
Rick-29
Hello, sorry to interrupt @CavalierMax but could you write some minimal code scripts that cause this issue so I can check them out and possibly check Pocket Option's websockets connections...
It seems that the get_candles function has some kind of delay, the data with is returned by the PO server, to get realtime candles you can use the subscribe_symbol_timed function,...
> > > It seems that the get_candles function has some kind of delay, the data with is returned by the PO server, to get realtime candles you can use...
Hello, Can you provide more in depth errors and code samples so I can check it out and try to fix the errors? Thanks
Try installing the latest version from this repo, on the wheels folder. It should solve the issue
The 4-stream limit you're encountering is actually a restriction from Pocket Option's platform itself - they only allow real-time candle data for a maximum of 4 assets simultaneously per session....
> **WebSocket connection fails on Windows and Railway (extra_headers error + channel closed)** > > ## Environment > * OS: Windows 10 / Railway (Linux) > * Python: 3.12, 3.11,...
Could you send the code? The error looks more like if the data was dropped somewhere on your code since your idea should work and i managed to connect to...
did you solve your error or not? the library on pypi is outdated and you should use the version on the wheels folder (tha latest one 0.2.1)
i updated the library on pypi: https://pypi.org/project/binaryoptionstoolsv2/0.2.1, check it out, it's only for windows though.