Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
I
Method · 0.85
strategy_I
Function · 0.85
wrap_func
Function · 0.85
Calls
no outgoing calls
Tested by
1
I
Method · 0.68