A simple interactive cryptocurrency exchange trading tool that allows you to test buying and selling tokens on various exchanges using USDT pairs.
- MEXC
- KuCoin
- HTX (formerly Huobi)
- Gate.io
- BitMart
- Bitget
- Bybit
- Buy tokens with USDT
- Sell tokens for USDT (specific amount or percentage of holdings)
- Check account balances
- Check token prices
- Interactive step-by-step process for all operations
-
Install the required packages:
pip install -r requirements.txt -
Create a
.envfile with your API keys (copy from.env.example):cp .env.example .env -
Edit the
.envfile to add your API keys for the exchanges you want to use.
Run the program:
python main.py
The program will guide you through the following steps:
- Select an exchange to use
- Choose an action (buy, sell, check balance, or check price)
- Enter a token symbol (if needed)
- Specify amount to buy/sell (if needed)
- All operations use live trading mode by default (be careful with API keys that have trading permissions)
- The program only supports USDT trading pairs
- Logs are saved in the
logsdirectory