- Place MARKET and LIMIT orders
- Supports BUY and SELL
- CLI-based input
- Logging and error handling
-
Clone repo
-
Create virtual environment: python -m venv .venv
.venv\Scripts\activate -
Install dependencies: pip install -r requirements.txt
-
Create
.envfile: API_KEY=your_api_key
API_SECRET=your_secret
python cli.py --symbol BTCUSDT --side BUY --type MARKET --quantity 0.002
python cli.py --symbol BTCUSDT --side SELL --type LIMIT --quantity 0.002 --price 67000
Check trading.log for API activity
- Testnet environment used
- BTCUSDT used for testing
- Minimum notional value (~100 USDT) applied