Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

SockTrader v2 Open Source Cryptocurrency Trading Bot


100%

Recommended Posts

  • Administrator

Overview

SockTrader is an open-source cryptocurrency trading bot that enables users to automate the buying and selling of cryptocurrencies based on a user-defined strategy. Your strategy consists of a set of rules that dictate when and how the bot should operate in the cryptocurrency market. These rules can be based on technical analysis or simply specify particular price levels at which the bot should execute trades. The flexibility of SockTrader allows you to determine the rules of engagement fully!

The name "SockTrader" is derived from its use of websocket technology for trading, which facilitates a real-time connection to the exchange. This connection allows the bot to react swiftly to changes in the market with minimal latency.

Important Note

For those looking for SockTrader v1, please be aware that the current dashboard is incompatible with SockTrader v2. You will need to use SockTrader v1 instead.

Features

  • 🚀 Real-time, ultra-fast websocket trading.
  • 📈 Over 50 technical indicators available. (see documentation)
  • 🌈 Developed in TypeScript!
  • 🌿 Source code is unit tested.
  • 📝 Ability to paper trade strategies using live exchange data.
  • 🏡 Comprehensive backtesting engine utilizing local data.
  • 🚢 Option to run SockTrader within a Docker container.
  • Additional features are coming soon!

Getting Started

Quick Start Guide

  1. Clone the repository:

     
  • git clone [email protected]:SockTrader/SockTrader.git && cd SockTrader
        
  • Install Node.js dependencies:

     
  • npm install
        
  • Copy the configuration file:

     
  • cp config/default.json config/local.json
        
  • Edit the configuration in config/local.json as needed.

  • Start the PostgreSQL database using Docker:

     
  • docker-compose up
        
  • Run the Moving Average Strategy on Local Exchange:

     
  1. npm run start:backtest
        

Connect Your Binance Account

Once you feel confident your strategy is ready for production, follow these steps to connect your SockTrader strategy to your Binance account:

  1. Duplicate the configuration file:

     
  1. cp config/default.json config/local.json
        
  2. In your Binance account, navigate to API Management and create a new API key.

  3. Add the apiKey and apiSecret to config/local.json.

  4. Ensure you change the exchange in your strategy to new Binance() to complete the setup!

API Key Restrictions

By default, newly created API keys only allow read access and do not permit order placements. To enable trading:

  1. Log in to your Binance account.
  2. Under API restrictions, enable Spot & Margin Trading.

Feel free to modify any parts of the text further if needed!

 

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

Spoiler

Author - cwouter

 

Link to comment
Share on other sites


  • 100% changed the title to SockTrader v2 Open Source Cryptocurrency Trading Bot

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...