SockTrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
시스템 구조
저장소별 전략/실행 조건 확인 필요
거래소 API 기반 자동 주문 실행
에디터 요약저장소 설명과 공개 메타데이터 기준으로 암호화폐 거래 봇, 거래소 API/프레임워크, 백테스트, 기술적 분석 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Binance, OHLCV/호가/체결 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 461개, 포크 66개입니다.
| 저장소 | SockTrader/SockTrader |
|---|---|
| 제작자 | SockTrader |
| 스타 / 포크 | ★ 461 / 66 |
| 라이선스 | GPL-3.0 |
| 최근 업데이트 | 2023-12-01 |
| 스냅샷 시점 | 2026-07-08 (아래 README는 이 시점의 사본입니다) |
아래는 제3자가 작성·공개한 오픈소스 코드입니다. QuantField는 해당 코드의 동작과 안전성을 보증하지 않으며, 설치·실행 전 코드를 직접 검토하시기 바랍니다.
README
What is "SockTrader"?
SockTrader is an open source cryptocurrency trading bot. You can use it to automatically buy and/or sell cryptocurrencies based on a strategy that you've programmed. The strategy basically contains a set of rules that will define when and how the bot should act in the cryptocurrency market. These rules can be based on technical analysis (what is technical analysis?) or you could simply tell the bot to buy/sell at certain price levels. In fact, it's up to you to decide the rules of the game!
The name "SockTrader" comes from websocket based trading bot. Which means that SockTrader will try to make use of a realtime connection with the exchange. This has the advantage that one can act very quickly in a changing market with low latency.
Looking for SockTrader v1?
The dashboard is currently incompatible with SockTrader v2. Use SockTrader v1 instead
Features
- 🚀 Realtime super-fast websocket trading.
- 📈 50+ Technical indicators. (docs)
- 🌈 Written in TypeScript!
- 🌿 Unit tested source code.
- 📝 Paper trading a strategy on LIVE exchange data.
- 🏡 Backtesting engine with local data.
- 🚢 Run SockTrader inside a docker container.
- More features soon..
Getting started
Quickstart
- Git clone
git clone git@github.com:SockTrader/SockTrader.git && cd SockTrader - Install NodeJS dependencies.
npm i - Copy
config/default.jsontoconfig/local.jsonand edit. - Start postgres database
docker-compose up - Run the MovingAverageStrategy on LocalExchange.
npm run start:backtest
Connect your Binance account
You feel like your strategy is production ready? Good! We'll help you to connect your SockTrader strategy to your Binance account.
- Copy `confi