diff options
Diffstat (limited to 'openbb_platform/extensions/technical/openbb_technical/technical_router.py')
-rw-r--r-- | openbb_platform/extensions/technical/openbb_technical/technical_router.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbb_platform/extensions/technical/openbb_technical/technical_router.py b/openbb_platform/extensions/technical/openbb_technical/technical_router.py index 3dbf2e3df84..14701c4135f 100644 --- a/openbb_platform/extensions/technical/openbb_technical/technical_router.py +++ b/openbb_platform/extensions/technical/openbb_technical/technical_router.py @@ -53,7 +53,7 @@ router = Router(prefix="", description="Technical Analysis tools.") code=[ "crypto_data = obb.crypto.price.historical(" + " symbol='BTCUSD,ETHUSD,SOLUSD', start_date='2021-01-01', provider='yfinance')", - "rr_data = obb.technical.relative_rotation(data=crypto_data.results, benchmark='BTCUSD'," + "rr_data = obb.technical.relative_rotation(data=crypto_data.results, benchmark='BTC-USD'," + " long_period=365, short_period=30, window=30, trading_periods=365)", ], ), @@ -146,7 +146,6 @@ async def relative_rotation( rs_momentum : list[Data] The normalized relative strength momentum data. """ - params = RelativeRotationQueryParams( data=data, benchmark=benchmark, |