btc-arbitrage-trading-bot
Python-based crypto arbitrage bot that monitors price spreads across exchanges, sends alerts, and supports automated trading based on configurable thresholds.
시스템 구조
저장소별 전략/실행 조건 확인 필요
거래소 API 기반 자동 주문 실행
에디터 요약저장소 설명과 공개 메타데이터 기준으로 Python 기반 구현, 암호화폐 거래 봇, 거래소 API/프레임워크, 차익거래 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Coinbase, Bitfinex, 가격/거래량 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 124개, 포크 102개입니다.
| 저장소 | bigmacman1129/btc-arbitrage-trading-bot |
|---|---|
| 제작자 | bigmacman1129 |
| 스타 / 포크 | ★ 124 / 102 |
| 라이선스 | MIT |
| 최근 업데이트 | 2026-05-17 |
| 스냅샷 시점 | 2026-07-08 (아래 README는 이 시점의 사본입니다) |
아래는 제3자가 작성·공개한 오픈소스 코드입니다. QuantField는 해당 코드의 동작과 안전성을 보증하지 않으며, 설치·실행 전 코드를 직접 검토하시기 바랍니다.
README
Bitcoin Arbitrage Trading Bot
A python monitoring and trading bot which exploits price-spreads between different cryptocurrency exchanges.
For collaboration or development work:
- Telegram — @k02_xx
Capabilities
- Monitoring of spreads between exchanges (eg. Coinbase Exchange (formerly GDAX), Bitfinex, Bitstamp, ...)
- Multiple currency pairs configurable (eg. BTC/EUR, ETH/USD, ...)
- Notifications on spread thresholds (eg. spreads of > 200€) via different notification channels (eg. Pushbullet, Mail, ...)
- Automated trading for configured spread thresholds (partly implemented)
- Storing of historical spreads and making them available via a web UI
- Highly configurable (currency pairs, thresholds for each notification channel or trading, historical data, ...)
Trading Strategy
The following example explains spreads between exchanges:
| Exchange | BTC/EUR price |
|---|---|
| Coinbase Exchange | 5000€ |
| Bitfinex | 5600€ |
This results in a spread of 600€ for the price of 1 BTC in EUR between Coinbase Exchange and Bitfinex (this example is not based on ask and bid prices for simplicity reasons, the bot itself uses those correct prices).
How to exploit this spread?
(example based on above table)
Strategy 1 (common "arbitrage trading")
Preparation:
- Store 5000€ on Gdax
Spread exploitation:
- Buy BTC on Gdax for 5000€
- Send BTC from Gdax to Bitfinex
- Pay fees for transaction and wait until it's confirmed
- Sell BTC on Bitfinex for 5600€
Postprocessing (steps needed to be able to repeat exploit):
- Transfer 5600€ from Bitfinex to Gdax to repeat
| Advantages | Disadvantages |
|---|---|
| Capital needed: 5000€ | Risk of price fluctuation until transaction is confirmed |
| Postprocessing partly done manually (SEPA transfer of the euro amount) | |
| Postprocessing is time-consuming (couple of days for international SEPA transfer) |
Strategy 2 (used by this trading bot)
Preparation:
- Store 5000€ on Gdax account
- Store 1 BTC on Bitfinex account
Spread exploitation:
- Buy 1 BTC on Gdax
- Simultaneously sell 1 BTC on Bitfinex
Postprocessing (steps needed to be able to repeat exploit):
- Transfer 5600€ from Bitfinex to Gdax
- Transfer 1 BTC from Gdax to Bitfinex
| Advantages | Disadvantages |
|---|