TradeBot
Crypto trading bot using Binance API (Java)
시스템 구조
저장소별 전략/실행 조건 확인 필요
거래소 API 기반 자동 주문 실행
에디터 요약저장소 설명과 공개 메타데이터 기준으로 암호화폐 거래 봇, 거래소 API/프레임워크, 백테스트, 기술적 분석 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Binance, 가격/거래량 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 422개, 포크 148개입니다.
| 저장소 | markusaksli/TradeBot |
|---|---|
| 제작자 | markusaksli |
| 스타 / 포크 | ★ 422 / 148 |
| 라이선스 | GPL-3.0 |
| 최근 업데이트 | 2024-11-05 |
| 스냅샷 시점 | 2026-07-08 (아래 README는 이 시점의 사본입니다) |
아래는 제3자가 작성·공개한 오픈소스 코드입니다. QuantField는 해당 코드의 동작과 안전성을 보증하지 않으며, 설치·실행 전 코드를 직접 검토하시기 바랍니다.
README
This was mostly a university and personal project and will no longer be updated

TradeBot is a cryptocurrency trading bot that uses the Binance API, and a strategy based on a couple of 5 minute chart indicators
- (RSI, MACD, Bollinger Bands)
How?
- The bot uses 5 different indicators: DBB, EMA, MACD, RSI, SMA. The three main indicators will fire off a buy signal when a certain state has been achieved.
- When the bot has collected enough signals, an order will be placed on the market.
- Vice versa, if enough sell signals are signals are fired, a sell order will be placed.
The config for the bot can be changed using the config.txt file
Modes
Live
This is not a financial service or investment advice!
The default config and strategy implemented in the source code of the project serve as an example and are open-source.
While we intend to contribute to make the bot work well out-of-the-box, we make no specific claims about the profitability of it in the current market climate!
Backtest your config and make sure you are ready to use this mode at your own risk!
This mode trades with real money on the Binance platform
API key and Secret key required
You can choose to add your credentials to the
credentials.txtfile for easier useCurrently only supports market orders, this will cause a slight efficiency loss.
Simulation
Real-time trading simulation based on actual market data
Trades are only simulated based on market prices
No actual orders are made
Backtesting
Simulation based on historical data
Allows for quick testing of the behavior and profitability of the bot
Data needs to be loaded from a
.datfile created with theCollectionmode
Collection
Collects raw market price data (aggregated trades) from a specified time period
Collected data is saved in a file in the
backtestingdirectoryCollected data can be exported to a
.csvformatNever run more than one TradeBot with this mode at the same time, you will likely hit the API request limit.
Config
MACD change indicator- Change of MACD line to count as a buy signal (decimal)RSI positive side minimum- Strong buy signal (2) if RSI is below this (integer)RSI positive side maximum- Buy signal if RSI is below this (integer)RSI negative side minimum- Sell signal if RSI is above this (integer)RSI negative side maximum- Strong sell signal (2) if RSI is above this (integer)Simulation mode starting value- Amount of FIAT to start with in Simulation (integer)Percentage of money per trade- How much of available fiat to put into each trade (decimal)Trailing SL- Trailing Stop Loss (decimal)Take profit- Profit to close trade at (decimal)Confluence- How many indicators have to give a buy signal to buy (integer)Close confluence- How many indicators have to give a sell signal to sell (integer)Use confluence to close- Whether to use sell signals to close or not (true/false)Currencies to track- What currencies to track in simulation and live (ex BTC, ETH, ADA...)FIAT- What currency to trade against (ex USDT)
See the included config file for a ready to use example
Setup the credentials.txt file to