mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 13:13:59 +00:00
* feat: add autoarima model * Revert "feat: add autoarima model" This reverts commita1d0f08a18. * Revert "Revert "feat: add autoarima model"" This reverts commitc3e25eff0d. * hooks * feat: update autoarima example * fix: code style * fix: remove unused file * SDK : Checkout files from main * SDK : update forecasting map * Linting * fix: merge formatting Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com> Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
19 lines
463 B
Python
19 lines
463 B
Python
import pytest
|
|
|
|
try:
|
|
from openbb_terminal.forecast import autoarima_view
|
|
except ImportError:
|
|
pytest.skip(allow_module_level=True)
|
|
|
|
|
|
def test_display_autoarima_forecast(tsla_csv):
|
|
with pytest.raises(AttributeError):
|
|
autoarima_view.display_autoarima_forecast(
|
|
tsla_csv,
|
|
target_column="close",
|
|
seasonal_periods=3,
|
|
n_predict=1,
|
|
start_window=0.5,
|
|
forecast_horizon=1,
|
|
)
|