absortium / poloniex-api

Python Poloniex sync/async API
MIT License
93 stars 20 forks source link

PyQt asyncio integration? #5

Closed emberlightstudios closed 7 years ago

emberlightstudios commented 7 years ago

Hello,

Interesting work you have here. Can you tell me if you know if/how it would be possible to implement an asynchronous app and the push api within a PyQt5 event loop? I have been trying to build a GUI app and have been following an example of using Quamash and autobahn.asyncio.wamp, but I cannot seem to get it to work. I have some simple code here but it is not working correctly:

https://github.com/icefo/PyQt5-Wamp/issues/2

I see that you are using different modules though. Any ideas on what I can do?

Update: OK I'm trying to understand how this code works. Can anyone explain why in app.py the parent class Application calls super().init() even though it does not inherit from a parent class?