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
When I tried to parallelize the backtesting, I found two different kinds of error
First, seems VectorBT Portfolio is not (built-in) pickable AttributeError: Can't pickle local object 'cached_method.<locals>.decorator.<locals>.wrapper.<locals>.partial_func' (but somehow it can be saved as pickle pf.save())
Seconds, if use a package like pathos to bypass the pickling issue, seems the extended VectorBT stuff may not initialize normally AttributeError: 'Config' object has no attribute '_readonly_'
When I tried to parallelize the backtesting, I found two different kinds of error
First, seems VectorBT Portfolio is not (built-in) pickable
AttributeError: Can't pickle local object 'cached_method.<locals>.decorator.<locals>.wrapper.<locals>.partial_func'
(but somehow it can be saved as picklepf.save()
)Seconds, if use a package like
pathos
to bypass the pickling issue, seems the extended VectorBT stuff may not initialize normallyAttributeError: 'Config' object has no attribute '_readonly_'
vectorbt/vectorbt/utils/config.py
Lines 482 to 485 in 67da37e
Here is how to reproduce the error
Version
The text was updated successfully, but these errors were encountered: