Simple Finance Forecasting Ai. This Ai Model uses historical price data to forecast future prices. The model is trained on data downloaded from Yahoo Finance using the yfinance library, and predictions are made using a linear regression Ai model from sklearn. The model supports all the symbols supported by Yahoo Finance. https://finance.yahoo.com/lookup/ The model is trying to forecast prices for next 24h, 7 days, 1 month and 1 year.
For people who need Standalone Advanced Financial Forecast Ai that contains 18 different models for prediction in one, buy application for windows from here:
https://www.buymeacoffee.com/corvuscodex/e/170309
Before running the script, you need to install the necessary Python libraries. You can do this with pip: '''pip install yfinance sklearn'''
To run the script, simply navigate to the directory containing the script in your terminal and run: '''python FiAi.py'''
Support my work:
BTC: bc1q7wth254atug2p4v9j3krk9kauc0ehys2u8tgg3
ETH & BNB: 0x68B6D33Ad1A3e0aFaDA60d6ADf8594601BE492F0
Buy me a coffee: https://www.buymeacoffee.com/CorvusCodex
https://www.buymeacoffee.com/corvuscodex/membership
https://www.buymeacoffee.com/corvuscodex/wishlist
The code within this repository comes with no guarantee, the use of this code is your responsibility. I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK. Once again, ALL files available here are for EDUCATION and/or RESEARCH purposes ONLY.
Forecasting Financial prices is extremely complex and should not be done solely based on historical prices. Factors such as market trends, global economic indicators, and company financials should also be considered. This script is a very basic example and should and will be expanded upon for more accurate forecasts. Always consult with a financial advisor before making investment decisions. It is important to use FiAi responsibly and not rely on its predictions.
MIT License
Copyright (c) 2023 CorvusCodex
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.