currently poor version Cornix alternative, only auto order works(Binance), OKX not tested
An intelligent cryptocurrency copy trading bot based on Telegram, featuring multi-exchange support, GPT signal analysis, and automated trading execution.
- π Multi-Exchange Support (Binance, OKX)
- π± Telegram Bot Management Interface
- π€ GPT-Powered Signal Analysis
- π Automated Trading Signal Monitoring
- π° Smart Trade Execution
- π Dynamic Stop Loss & Multi-Level Take Profit
β οΈ Real-time Risk Monitoring- π Comprehensive Trading Analytics
Python 3.9+
pip
Git- Clone Repository
git clone https://github.com/GentlemanHu/TelegramCopyTradeBot.git
cd TelegramCopyTradeBot- Install Dependencies
pip install -r requirements.txt- Configure Environment
Create
.envfile with the following:
# Telegram Configuration
TELEGRAM_TOKEN=your_telegram_bot_token
API_ID=your_telegram_api_id
API_HASH=your_telegram_api_hash
OWNER_ID=your_telegram_user_id
PHONE_NUMBER=your_phone_number
SESSION_NAME=my_session
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key
OPENAI_API_BASE_URL=your_openai_base_url
# Exchange API - Mainnet
BINANCE_API_KEY=your_binance_api_key
BINANCE_API_SECRET=your_binance_api_secret
OKX_API_KEY=your_okx_api_key
OKX_API_SECRET=your_okx_api_secret
OKX_PASSPHRASE=your_okx_passphrase
# Exchange API - Testnet
BINANCE_TESTNET_API_KEY=your_binance_testnet_key
BINANCE_TESTNET_API_SECRET=your_binance_testnet_secret
OKX_TESTNET_API_KEY=your_okx_testnet_key
OKX_TESTNET_API_SECRET=your_okx_testnet_secret
OKX_TESTNET_PASSPHRASE=your_okx_testnet_passphrasepython main.py/start- Initialize bot/help- Show help/stats- View trading statistics/balance- Check account balance/positions- View current positions/channels- Manage monitoring channels/settings- Bot settings
TelegramCopyTradeBot/
βββ main.py # Main entry
βββ config.py # Configuration
βββ database.py # Database operations
βββ models.py # Data models
βββ trading_logic.py # Trading logic
βββ exchange_execution.py # Exchange execution
βββ message_processor.py # Message processing
βββ channel_management.py # Channel management
βββ settings.py # Settings management
βββ button_texts.py # UI texts
- Intelligent trading signal recognition
- Risk assessment
- Automated trading suggestions
- Multiple TP targets
- Automatic position scaling
- Dynamic TP adjustment
- Real-time position monitoring
- Automatic risk alerts
- Risk-based position closing
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
This project is licensed under the MIT License - see LICENSE file
If you find this project helpful, please consider supporting its development:
| Digital Asset | Address |
|---|---|
bc1p6qkthl9jqqgle7xh2savggcfz284953lw8xnyj4z67wswse0runscdyta5 |
|
TY1A9McJd6wz1ZgfVHmLEoQGFJX27WSNoN |
|
0x5aa791a5fe03f823275d7240ebe887d35fdf0f3b |
β Star this repo if you find it helpful!
- HIGH RISK INVESTMENT WARNINGTrading cryptocurrency involves substantial risk of loss and is not suitable for all investors. Please consider carefully whether such trading is suitable for you based on your financial condition and understanding of cryptocurrency markets.
-
High Risk Investment
- Cryptocurrency trading is highly speculative
- You may lose all your invested capital
- Past performance is not indicative of future results
-
Bot Trading Risks
- Automated trading systems may malfunction
- Technical failures could lead to losses
- Market conditions may change rapidly
-
No Financial Advice
- This software is for information purposes only
- Not financial or investment advice
- Always conduct your own research
By using this software, you acknowledge and agree that:
-
The creators and contributors of this software:
- Are not financial advisors
- Make no guarantees about trading results
- Accept no responsibility for your trading decisions
-
You are solely responsible for:
- Your trading decisions
- Your API keys security
- Managing your risk
- Any resulting profits or losses
-
This software:
- May contain bugs or errors
- Could cease functioning at any time
- Provides no guarantee of profit



