Skip to content

REST API to predict the forecast of any given company stock.

Notifications You must be signed in to change notification settings

Hiteshsaai/ML_StockPrediction_API

Repository files navigation

ML StockPrediction API

About

It is a REST API which predicts the future stock values of company. This API return a JSON file which contains,

  • Company Name
  • Stock price Date *(From 2018/01/01 - Current Date)
  • Predicted Stock values (Based on Mentioned duration)
  • Exisiting Stock values

Technique Used

We have use ARIM (Auto regression Intergrated Moving Avreage) & Prophet model methods to predict the stock values with normalization.

How to use?

Use the following link below

https://ml-stockprediction-hitesh.herokuapp.com/

To get the stock predicted values for different companies, you have to mention the company-name and prediction duration.

Take a look at some Examples,

Example1

  • https://stockprediction-ml.herokuapp.com/tesla/100
    • This link will tempt to return stock predictions for TESLA for the next 100 working days.

Example2

  • If the company name has two names or space between names mention the company name with space itself or else api wont be able to recognize, like below,

    + Do this: https://ml-stockprediction-hitesh.herokuapp.com/general motors/365
    - Not this: https://ml-stockprediction-hitesh.herokuapp.com/generalmotors/365
    • The above example link will tempt to return stock predictions for General Motors for the next 365 working days.

Releases

No releases published

Packages

No packages published