시스템자가 보고크립토Javabacktestingbacktesting-trading-strategiesbinance-apibotcrypto-trading-bot

TradeBot

Crypto trading bot using Binance API (Java)

시스템 구조

활용 데이터
Binance가격/거래량 데이터
규칙 / 전략

저장소별 전략/실행 조건 확인 필요

실행

거래소 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

TradeBotWide

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)

Download the latest release

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.txt file for easier use

  • Currently 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 .dat file created with the Collection mode

Collection

  • Collects raw market price data (aggregated trades) from a specified time period

  • Collected data is saved in a file in the backtesting directory

  • Collected data can be exported to a .csv format

  • Never 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