Giter Site home page Giter Site logo

forecaster's Introduction

Forecaster Logo

Forecaster

A trading software that uses various algorithms to predict trend in regolar time spans and make transaction to Trading212 broker service using the Trading212 APIs (that I've made before). In other branches it uses XTBApi (another api built by me) and different algorithm tested with Foreanalyser. There's a lot of work to do here, if you like you can help me build this. Contact me at [email protected].

Behavior

Algorithm

One of the many algorithms I used is the Mean Reversion with this formula:

Forecaster Logo

with avg as a price average, mult for a costant and dev for a deviation. In my tests I found most effective the use of a linear regression as price average and a finantial index named Average True Range (that defines volatility) as deviation.

How to install

Install just with pip:

   cd Forecaster/
   pip install -e .

Then run setup.sh to save the tokens needed by the software.

   chmod +x setup.sh
   ./setup.sh

Developing

Will be used these Design Patterns:

  • creational: singleton, factory method
  • structural: Proxy, Adapter, Decorator
  • behavioral: Chain of responsability, Mediator, Strategy

Main Libraries

  • Telegram API
  • Trading212 API

The Bot uses Telegram APIs to communicate with the user news and receive commands (asyncronously) and Trading212 API to make transactions and drive predictive algorithms.

Backlog

To-Do list before the v1.0 release.

  • Tidy up code
  • Add thread handler
  • Add more telegram commands
  • Add market closure time watcher
  • Add database integration

forecaster's People

Contributors

federico123579 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.