Cyril Pawelko

Results 7 comments of Cyril Pawelko

I'm working myself on a m5paper panel, for openhab and without esphome. I already have a working proof-on-concept on https://github.com/cyrilpawelko/m5panel It's not complete (no touch support for example), but can...

Got something similar. Not with a crypto, but with a value not on LSX. pytr/portfolio.py sets ticker to only query LSX : https://github.com/marzzzello/pytr/blob/4e3f141bc70546bc79407ad8acc17e20c07052e9/pytr/portfolio.py#L47 I fixed it in my own script,...

@CorsiDanilo I wrote my own synchronous script using pytr librairies. I guess portfolio.py:47 should extract an exchangeId from instrument_details, but I was not able to do it.

@CorsiDanilo Here is my script (work in progress), renamed in .txt to allow uploading : [custom.txt](https://github.com/marzzzello/pytr/files/15210720/custom.txt)

@CorsiDanilo I managed to have a seemingly working porfolio.py : Let me know (you and others) if it works for you, I'll make a pull request. [portfolio.py.txt](https://github.com/marzzzello/pytr/files/15210773/portfolio.py.txt)

@CorsiDanilo The modifications were made to an old version of pytr. I've just created an up-to-date pull request You'll find the correct file here : https://github.com/cyrilpawelko/pytr/blob/master/pytr/portfolio.py

Seems linked to #48 Tested right now, and it does not unsubscribe only for values not on LSX, which is hardcoded in pytr.