Coder Social home page Coder Social logo

arul67800 / forecasting-1.0 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kennedyczar/forecasting-1.0

0.0 0.0 0.0 16.68 MB

Predictive algorithm for forecasting the mexican stock exchange. Machine Learning approach to forecast price and Indicator behaviours of MACD, Bollinger and SuperTrend strategy

License: MIT License

Python 100.00%

forecasting-1.0's Introduction

FORECASTING 1.0 HitCount

forthebadge made-with-python

Forecasting 1.0 is an intelligent model for time-series prediction and forecasting. Implemented using ensemble models, Boosting Model and Recurrent Neural Network.

The General idea is to be able to predict important features available from stock data.

The algorithm is also capable of forecasting future market prices by filtering out bank holidays and weekend before digesting the data.

This project is similar to the Facebook prophet except we havent compared the result that much to see which is better for forecasting. Our algo is infact capable of forecasting accurately the weekly prices. beyond that, the accuracy of forecasting reduces. Note that it also serves as a signal generator.

HOW TO USE

 git clone https://github.com/kennedyCzar/FORECASTING-1.0

Data collector

  • Open the SCRIPT FOLDER and run | Use the command python Data_Collector.py
  • Note that this has been tailored to first download ticks from xm before downloading EOD data using yahoo API

STOCK class

  • This class contains the technical indicators used required for generating signals and forecasting

Forecast OHLC of Nextdays

  • Still in the SCRIPT folder you will find OHLC_OHLC.py. Specify the days forward you will like to forecast on line 422 | Use the command python OHLC_OHLC.py

Forecast OHLC of Nextdays

  • This script responsible for forecasting OHLC for specific stocks. Specidy the days forward you will like to forecast on line 420 | Use the command python OHLC_Specific.py
  • Update the name of the stocks you want to forecast on line 468

Forecast Open, High, Low or Close of Nextdays

  • OHLC_Single.py is Specifically for this purpose. the days forward you will like to forecast on line 425 | Use the command python OHLC_Single.py
  • This script is only used to predict either of the four features(OHLC) at a time

Forecast OHLC of all STOCKS in the dataset

  • This script is responsible for forecasting OHLC for all stocks in the DATASET FOLDER |
  • Use the command python OHLC_Forecaster_All.py
  • Note that this a not the mult-threaded version, so it would take some considerable abount of time.

Signal Generator

  • This script to generate signals for specific stock |
  • Use the command python Signal_generator.py
  • Edit name of stock on line 326
  • The generated signals is saved in the PREDICTED FOLDER

Signal Generator Forecaster

  • Script to generate signals and forecast future signals |
  • Use the command python Signal_Gen_Forecaster.py
  • Edit name of stock on line 735
  • The generated signals is saved in the PREDICTED FOLDER

OUTPUT IMAGES

Image of AC Image of Axtel Image of img Image of img2 Image of Axtel

forecasting-1.0's People

Contributors

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