Forked from edeng23/binance-trade-bot
edeng23/binance-trade-bot | jmy12k3/binance-miner | |
---|---|---|
Order type | Limit order | Market order |
Paper trading | ❌ | ✅ |
API server | Flask | FastAPI |
API auto-documentation | ❌ | ✅ |
Backtesting | 1x | Up to 4x faster |
Database | Appending one by one; I/O intensive | Bulk editing; I/O friendly |
Mypy type-safe | ❌ | ✅ |
The backtesting engine is provided in this repository (binance-miner/backtesting.py
).
You could create your own backtesting module as shown in this example to evaluate the strategy performance.
- Clone the repository to local
git clone https://github.com/jmy12k3/binance-miner.git
- Rename the dotenv example to dotenv
cd binance-miner/config
mv .env.example .env
-
Edit the dotenv file (and
config/watchlist.txt
) to your preferenceSee
binance-miner/config.py
for more configurable environment variables. -
Up the bot via Docker
cd ..
docker compose up
This project is for informational purposes only. You should not construe any such information or other material as legal, tax, investment, financial, or other advice. Nothing contained here constitutes a solicitation, recommendation, endorsement, or offer by me or any third party service provider to buy or sell any securities or other financial instruments in this or in any other jurisdiction in which such solicitation or offer would be unlawful under the securities laws of such jurisdiction.
If you plan to use real money, USE AT YOUR OWN RISK.
Under no circumstances will I be held responsible or liable in any way for any claims, damages, losses, expenses, costs, or liabilities whatsoever, including, without limitation, any direct or indirect damages for loss of profits.