OpenBB-finance / openbb-forecast

Forecasting extension for OpenBB Platform
GNU Affero General Public License v3.0
7 stars 3 forks source link

Guide need #3

Open Manish-k723 opened 1 month ago

Manish-k723 commented 1 month ago

I was exploring openbb but found it difficult to understand openbb-forecast part. Googled for it even asked to chatGpt but didn't found much useful things for getting started with openbb-forecast. Can anyone pls help me with something useful in this regard.

HemuManju commented 1 week ago

Hello @Manish-k723, here is a minimal example of forecasting using autoarima. Please follow the README.md for installation instructions. After installation you run autoarima forecasting model as show below. The output.results.forecast contains a list of forecasted values.

from openbb import obb

data = obb.equity.price.historical(symbol="AAPL")

output = obb.forecast.statistical.autoarima(data=data.results)
print(output.results.forecast)