MCPcopy Index your code
hub / github.com/kernc/backtesting.py / func

Function func

backtesting/lib.py:285–286  ·  view source on GitHub ↗
(x, *_, **__)

Source from the content-addressed store, hash-verified

283 """
284 if func is None:
285 def func(x, *_, **__):
286 return x
287 assert callable(func), 'resample_apply(func=) must be callable'
288
289 if not isinstance(series, (pd.Series, pd.DataFrame)):

Callers 3

IMethod · 0.85
strategy_IFunction · 0.85
wrap_funcFunction · 0.85

Calls

no outgoing calls

Tested by 1

IMethod · 0.68