You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm learning vectorbt atm and i'm rinning in a warning over and over again.
`
C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\data\base.py:527: UserWarning: Symbols have mismatching index. Dropping missing data points.
data = cls.align_index(data, missing=missing_index)
Traceback (most recent call last):
File "C:\Users\sjaak\OneDrive\Bureaublad\Python\backtesting\main.py", line 10, in
rsi = vbt.RSI.run(df, window=14)
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 13, in run
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 2860, in _run
results = run_pipeline(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 1881, in run_pipeline
output = _call_custom_func(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 1821, in _call_custom_func
return custom_func(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 3333, in custom_func
cache = cache_func(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\numba\core\dispatcher.py", line 468, in _compile_for_args
error_rewrite(e, 'typing')
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\numba\core\dispatcher.py", line 409, in error_rewrite
raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
non-precise type array(pyobject, 2d, F)
During: typing of argument at C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\nb.py (105)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm learning vectorbt atm and i'm rinning in a warning over and over again.
`
C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\data\base.py:527: UserWarning: Symbols have mismatching index. Dropping missing data points.
data = cls.align_index(data, missing=missing_index)
Traceback (most recent call last):
File "C:\Users\sjaak\OneDrive\Bureaublad\Python\backtesting\main.py", line 10, in
rsi = vbt.RSI.run(df, window=14)
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 13, in run
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 2860, in _run
results = run_pipeline(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 1881, in run_pipeline
output = _call_custom_func(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 1821, in _call_custom_func
return custom_func(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\factory.py", line 3333, in custom_func
cache = cache_func(
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\numba\core\dispatcher.py", line 468, in _compile_for_args
error_rewrite(e, 'typing')
File "C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\numba\core\dispatcher.py", line 409, in error_rewrite
raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
non-precise type array(pyobject, 2d, F)
During: typing of argument at C:\Users\sjaak\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\nb.py (105)
File "........\anaconda3\envs\backtesting\lib\site-packages\vectorbt\indicators\nb.py", line 105:
def rsi_cache_nb(close: tp.Array2d, windows: tp.List[int], ewms: tp.List[bool],
It happens when I give the YFData.download a list of symbols. It does not happend whit a single value....
Someone here who can help me out?
Kind regards
Beta Was this translation helpful? Give feedback.
All reactions