Inspiration
Manual futures orders are slow and error-prone. A small validated CLI for the Binance Futures Testnet makes order placement repeatable and safe.
What it does
Places MARKET/LIMIT BUY/SELL orders on Binance Futures Testnet (USDT-M) with input validation, structured logging and parsed responses. Verified locally via python cli.py --help.
How I built it
- Python: bot/client.py (Futures client wrapper), bot/orders.py (placement + parsing), bot/validators.py (CLI validation), bot/logging_config.py, cli.py entry
- Testnet only - no real funds involved
Challenges
Testnet API quirks vs docs and safe credential handling via env vars.
What I learned
Exchange API integration and defensive CLI design.
Links
Built With
- binance
- cli
- fintech
- python
- trading