SockTrader
π Websocket based trading bot for π°cryptocurrencies π
System Structure
μ μ₯μλ³ μ λ΅/μ€ν 쑰건 νμΈ νμ
κ±°λμ API κΈ°λ° μλ μ£Όλ¬Έ μ€ν
Editor Summaryμ μ₯μ μ€λͺ κ³Ό κ³΅κ° λ©νλ°μ΄ν° κΈ°μ€μΌλ‘ μνΈνν κ±°λ λ΄, κ±°λμ API/νλ μμν¬, λ°±ν μ€νΈ, κΈ°μ μ λΆμ μ±κ²©μ νλ‘μ νΈλ‘ νμ νμ΅λλ€. νμΈ κ·Όκ±°λ README, μ μ₯μ ν ν½, μ μ₯μ μ€λͺ , GitHub μ§ν, νμ΄νλΌμΈ νλμ΄λ©°, μ£Όμ λ°μ΄ν°λ Binance, OHLCV/νΈκ°/체결 λ°μ΄ν°μ λλ€. μ λ΅/μ€ν 쑰건μ μ μ₯μλ³ λ¬Έμμ μ½λ νμΈμ΄ νμνλ©°, μ€ν λ°©μμ "κ±°λμ API κΈ°λ° μλ μ£Όλ¬Έ μ€ν"λΌκ³ 보μμ μΌλ‘ κΈ°λ‘νμ΅λλ€. GitHub μ§νλ λ³ 461κ°, ν¬ν¬ 66κ°μ λλ€.
| Repository | SockTrader/SockTrader |
|---|---|
| Creator | SockTrader |
| Stars / Forks | β 461 / 66 |
| License | GPL-3.0 |
| Last Updated | 2023-12-01 |
| Snapshot Date | 2026-07-08 (README below is a copy from this date) |
This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.
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