Code Monkey home page Code Monkey logo

beibo's Introduction

Beibo, predict the stock market πŸ’Έ



Beibo logo

Quickstart



Beibo is a Python library that uses several AI prediction models to predict stocks returns over a defined period of time.

It was firstly introduced in one of my previous package called Empyrial.

Disclaimer: Information is provided 'as is' and solely for informational purposes, not for trading purposes or advice.

How to install πŸ“₯

pip install beibo

How to use πŸ’»

from beibo import oracle
  
oracle(
      portfolio=["TSLA", "AAPL", "NVDA", "NFLX"], #stocks you want to predict
      start_date = "2020-01-01", #date from which it will take data to predict
      weights = [0.3, 0.2, 0.3, 0.2], #allocate 30% to TSLA and 20% to AAPL...(equal weighting  by default)
      prediction_days=30 #number of days you want to predict
)
  

Output


Beibo output

About Accuracy

MAPE Interpretation
<10 Highly accurate forecasting πŸ‘Œ
10-20 Good forecasting πŸ†—
20-50 Reasonable forecasting πŸ˜”
>50 Inaccurate forecasting πŸ‘Ž

Models available

Models Availability
Exponential Smoothing βœ…
Facebook Prophet βœ…
ARIMA βœ…
AutoARIMA βœ…
Theta βœ…
4 Theta βœ…
Fast Fourier Transform (FFT) βœ…
Naive Drift βœ…
Naive Mean βœ…
Naive Seasonal βœ…

Stargazers over time

θΏ½ζ˜Ÿζ—ηš„ζ—Άι—΄

Contribution and Issues

Beibo uses GitHub to host its source code. Learn more about the Github flow.

For larger changes (e.g., new feature request, large refactoring), please open an issue to discuss first.

Smaller improvements (e.g., document improvements, bugfixes) can be handled by the Pull Request process of GitHub: pull requests.

  • To contribute to the code, you will need to do the following:

  • Fork Beibo - Click the Fork button at the upper right corner of this page.

  • Clone your own fork. E.g., git clone https://github.com/ssantoshp/Beibo.git
    If your fork is out of date, then will you need to manually sync your fork: Synchronization method

  • Create a Pull Request using your fork as the compare head repository.

You contributions will be reviewed, potentially modified, and hopefully merged into Beibo.

Contributions of any kind are welcome!

Acknowledgments

  • Unit8 for Darts
  • @ranroussi for yfinance
  • This random guy on Python's Discord server who helped me
  • @devnull10 on Reddit who warned me when I called the package The Oracle

Contact

You are welcome to contact us by email at [email protected] or in Beibo's discussion space

License

MIT

beibo's People

Contributors

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