Skip to content

bytebymanas/binance-trading-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binance Futures Testnet Trading Bot

This is a command-line Python trading bot that interacts with the Binance Futures Testnet API to place Market and Limit orders. Built using the official python-binance library, it supports both buy and sell order types with proper input validation, logging, and error handling.

This project was developed as part of the application process for the Junior Python Developer – Crypto Trading Bot internship at PrimeTrade AI in collaboration with Bajarangs.


Features

  • Supports Market and Limit orders
  • Place Buy or Sell orders through CLI
  • Uses Binance Futures Testnet environment (no real funds involved)
  • Modular code structure for reusability
  • Logging of all API requests, responses, and errors using loguru
  • Clear CLI input prompts and validation

Getting Started

1. Clone the Repository

git clone https://github.com/your-username/binance-trading-bot.git cd binance-trading-bot


2. Set Up a Virtual Environment

python3 -m venv venv source venv/bin/activate # For macOS/Linux venv\Scripts\activate # For Windows


3. Install Required Packages

pip install -r requirements.txt


4. Run the Bot

python trading_bot.py


Contact

If you’d like to discuss this project or need help running it: • Author: Manas Chhabra • Email: [email protected]

About

Python-based CLI Trading Bot for Binance Futures Testnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages