May 5, 2024

A simple bot for the Deribit crypto exchange

I found a test task for a developer in one fund.The task itself can be viewed in the file.Need to writea robot for the Deribit crypto exchange. From the requirements:
1. Write in python 3
2.You need to use asyncio because the Deribit API works through websockets
3. Use poetry to manage dependencies
4. Running the robot via docker and docker compose
5. Write a couple of three unit tests
6. Save data on transactions in mysql database.

Without hesitation, I decided to code it, practice programming once again, and at the same time understand the Deribit API.

The database was used by sqlite. Unit tests have not been done yet.

The bot can be used as an example of working with the Deribit API. The code works as is without any guarantees.

The link to the github can be found in my telegram: t.me/zenoftrading/68