vectorbt
vectorbt copied to clipboard
portfolio['some_ticker'].stats() : call in parallel
Hi,
Once the portfolio is created, I need to iterate each column/ticker and call .stats on it individually. This is really slow and takes ages if the number of tickers is large. Is there any way to optimize this, to get the .stats for all the columns in one operation? I read somewhere that we can use 'use_ray=True', but I have no clue where or how to use that in this context
pf.stats(agg_func=None)
Free vectorbt doesn’t support parallelization.
This issue is stale because it has been open for 90 days with no activity.