Skip to content

nehuu2/Trading_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binance Futures Trading Bot (Testnet)

Features

  • Place MARKET and LIMIT orders
  • Supports BUY and SELL
  • CLI-based input
  • Logging and error handling

Setup

  1. Clone repo

  2. Create virtual environment: python -m venv .venv
    .venv\Scripts\activate

  3. Install dependencies: pip install -r requirements.txt

  4. Create .env file: API_KEY=your_api_key
    API_SECRET=your_secret

Usage

MARKET Order

python cli.py --symbol BTCUSDT --side BUY --type MARKET --quantity 0.002

LIMIT Order

python cli.py --symbol BTCUSDT --side SELL --type LIMIT --quantity 0.002 --price 67000

Logs

Check trading.log for API activity

Assumptions

  • Testnet environment used
  • BTCUSDT used for testing
  • Minimum notional value (~100 USDT) applied

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages