I used it to write an arbitrage trading bot. I learned python and asyncio just for this, and it is working as intended.
Asyncio with aiohttp is used to capture price data from 4 websockets and handle requests to exchanges via their APIs.
Python was easy to learn with “learning python the hard way”, asyncio was also easy to learn thanks to lots of available material online, and it looked less confusing than threading.
Again, speaking as a beginner, I quite like asyncio because to me it looks just like synchronous code. To me it’s easier to think about and keep track of the control flow and shared data than with threading.
Asyncio looked like the easiest and fastest way to accomplish my goal, and it worked.
I used it to write an arbitrage trading bot. I learned python and asyncio just for this, and it is working as intended.
Asyncio with aiohttp is used to capture price data from 4 websockets and handle requests to exchanges via their APIs.
Python was easy to learn with “learning python the hard way”, asyncio was also easy to learn thanks to lots of available material online, and it looked less confusing than threading.
Again, speaking as a beginner, I quite like asyncio because to me it looks just like synchronous code. To me it’s easier to think about and keep track of the control flow and shared data than with threading.
Asyncio looked like the easiest and fastest way to accomplish my goal, and it worked.