A cryptocurrency trading bot that uses a maximized profit trading algorithm to trade major cryptocurrencies, taking advantage of existing coin-pair arbitrages. This trading algorithm was developed by Jason Lee and Thomas Mayo Smith in 2017 to trade on irregular arbitrage levels, profiting a combined $20,000 over a span of a month.
- Multi-Exchange Support: Bittrex, Bithumb, and Poloniex integration
- Arbitrage Detection: Automated detection of price discrepancies between exchanges
- Automated Trading: Buy/sell execution based on arbitrage opportunities
- Real-time Monitoring: Continuous monitoring of market conditions
- Profit Optimization: Algorithm designed to maximize trading profits
coin-trader/
├── arbitrage_bot.py # Main trading bot logic
├── arbitrage_finder.py # Arbitrage opportunity detection
├── monitor_arbitrage.py # Market monitoring tool
├── exchange_client.py # Base exchange client interface
├── bittrex_arbitrage_client.py # Bittrex exchange integration
├── bithumb_arbitrage_client.py # Bithumb exchange integration
├── poloniex_arbitrage_client.py # Poloniex exchange integration
├── utils.py # Utility functions and data structures
└── README.md
- Python 2.7 (
⚠️ Deprecated - Use Python 3.x for new projects) - Required Python packages (see requirements below)
- Clone the repository:
git clone https://github.com/dylee9/coin-trader.git
cd coin-trader
- Install dependencies:
pip install -r requirements.txt
- Set up API keys:
# Create key files (NOT RECOMMENDED for production)
echo "your_bittrex_api_key" > bittrex_keys.txt
echo "your_bittrex_secret" >> bittrex_keys.txt
echo "your_bithumb_api_key" > bithumb_keys.txt
echo "your_bithumb_secret" >> bithumb_keys.txt
# Run the main trading bot
python arbitrage_bot.py /path/to/key/folder
# Monitor arbitrage opportunities
python monitor_arbitrage.py /path/to/key/folder
Exchange | Status | Base Currencies | Trading Pairs |
---|---|---|---|
Bittrex | ✅ Active | BTC | BTC, ETH, ETC, LTC, DASH |
Bithumb | ✅ Active | KRW | BTC, ETH, ETC, LTC, DASH |
Poloniex | ✅ Active | BTC | Multiple pairs |
# Example configuration (currently hardcoded)
MAX_TRADE_CYCLES = 1
DEPOSIT_WAIT_MIN = 60*5 # 5 hours
ARBITRAGE_OPPORTUNITY_WAIT_MIN = 60*24 # 24 hours
ORDER_FILL_WAIT_MIN = 5 # 5 minutes
PROFIT_THRESHOLD = .01 # 1%
- Historical Performance: $20,000 profit over one month (2017)
- Supported Currencies: BTC, ETH, ETC, LTC, DASH
- Trading Frequency: Real-time monitoring with configurable intervals
pycurl
urllib3
This project is archived and no longer accepting contributions. However, if you're interested in cryptocurrency trading bots, consider:
- Forking this repository for educational purposes
- Implementing modern security practices
- Upgrading to Python 3.x
- Adding proper testing and documentation
This project is licensed under the MIT License - see the LICENSE file for details.
- Jason Lee
- Thomas Mayo Smith
Note: This project was developed in 2017 and represents historical work in cryptocurrency trading automation. Modern implementations should follow current security best practices and use up-to-date libraries and frameworks.