@socktrader/core
v2.0.3
Published
SockTrader core is a realtime websocket based trading bot framework focused on trading cryptocurrencies
Downloads
516
Maintainers
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.
Sounds interesting?
We have 2 easy options to get you started, choose below:
Start quick demo app
- Git clone
git clone [email protected]:SockTrader/SockTrader.git && cd SockTrader
- Install NodeJS dependencies.
npm i
- Copy
config/default.json
toconfig/local.json
and edit. - Start postgres database
docker-compose up
- Run the MovingAverageStrategy on LocalExchange.
npm run start:backtest
Run SockTrader in your own project
Start using the SockTrader CLI. More info can be found on @socktrader/cli or on the main SockTrader GitHub page