Python script - Bybit Trades Data Saver using Redis in-memory key value database
Script will take the Trades data from Bybit API (websockets), save it to Redis in JSON format.
Install Docker and Redis:
sudo apt install docker.io
pip install redis
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
pip install pybit==2.4.1
To run the script type:
python3 savedata_redis.py
To open Redis database go to:
MIT License - Feel free to modify and distribute.
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
This project is for informational and educational purposes only. You should not use this information or any other material as legal, tax, investment, financial, or other advice. Nothing contained here is a recommendation, endorsement, or offer by me to buy or sell any securities or other financial instruments.
If you intend to use real money, use it at your own risk.
Under no circumstances will I be responsible or liable for any claims, damages, losses, expenses, costs, or liabilities of any kind, including but not limited to direct or indirect damages for loss of profits.
Quantitative researcher and trading systems engineer with end-to-end ownership of systematic strategies — from research and statistical validation to low-latency execution and production deployment.
Core focus areas:
- Systematic strategy design and validation
- Market microstructure analysis (order book dynamics, liquidations, volume, delta, liquidity, spread behavior, funding)
- Backtesting framework development (tick-level and historical data)
- Execution engine architecture and order lifecycle management
- Real-time market data processing
- Risk-aware system design
- Production-grade trading infrastructure (24/7 environments)
Experience across crypto (CEX, DEX), FX, and exchange-traded markets.
- Languages: Python, C++, MQL5
- Execution & Connectivity: REST, WebSocket, FIX
- Infrastructure: Linux, Docker, Redis, PostgreSQL, ClickHouse
- Analytics: NumPy, Pandas, custom backtesting frameworks
Email: ryu8777@gmail.com