Giter Site home page Giter Site logo

singlesip's Introduction

SingleSip

SingleSip: open-source and free next-gen trading bot for hundreds of cryptocurrencies. Integrated backtesting, data acquisition, evaluation, A/B testing and trading.

Intro

SingleSip is organized into backtesting, A/B testing and evaluation. Some Python, Tensorflow and finance experience is required to get the most out of the project. If you have the required knowledge and spend some time adjusting settings, the model should work well. That being said, this project is not plug-and-play, due to the complexity of the technologies used and the dynamic nature of financial markets.

Setting up

The setup is somewhat complicated. You will want to sign up for CoinAPI and Poloniex, as well as create a Telegram bot for live info on trading and testing. Next, follow these steps:

  1. Create a new Conda environment with Python 3.10.14. I personally recommend using Miniconda
  2. Run pip install -r requirements.txt in the main folder
  3. Create the configuration file by running python dryrun.py
  4. Explore and populate the configuration values. They are documented in CONFIG.md
  5. Run dryrun.py again to train your model. The model should be in the models folder
  6. Change the model configuration setting in config.yaml to the model path that you just trained on
  7. Run evaluation.py to determine if the model is profitable on average. If it is not, consider adjusting settings in config.yaml until it is.
  8. Run run.py to start trading. You will have to run /start on the Telegram bot and authenticate for live trading updates.

Project files

  • telegram_test.py - Probably not needed for most use cases - you can test if the Telegram bot is working by running this file
  • evaluation.py - Used to evaluate a singular model and find the average profit and outperform statistics for a selected model
  • dryrun.py - Used to backtest and train a singular model
  • testing.py - Used for A/B testing. Comes with an integration with Telegram
  • run.py - Used for live trading. Comes with an integration with Telegram

Third Party Software

Several technologies were used in the making of this project. Here is a non-exaustive list of the major ones:

  • polosdk - Poloniex SDK
  • Tensorflow - Used to train the models
  • python-telegram-bot - Wrapper for Telegram, used for the integration with trading
  • PyTorch Lightning - An integration with PyTorch Lightning (via pytorch_forecasting) is still in development

Bugs

If you would like to report a bug, feel free to report it in our Issues tracker.

Integration with your business

If you are looking for specific help with your integration of SingleSip, please contact me through the contacts on my profile.

singlesip's People

Contributors

jibsil avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.