Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kernc/backtesting.py
/ AttrDict
Class
AttrDict
backtesting/backtesting.py:1486–1488 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1484
f
"optimization values: {k}={v}"
)
1485
1486
class
AttrDict(dict):
1487
def
__getattr__(self, item):
1488
return
self[item]
1489
1490
def
_grid_size():
1491
size = int(np.prod([len(_tuple(v))
for
v in kwargs.values()]))
Callers
3
_grid_size
Method · 0.85
_optimize_grid
Method · 0.85
cons
Method · 0.85
Calls
no outgoing calls
Tested by
3
_grid_size
Method · 0.68
_optimize_grid
Method · 0.68
cons
Method · 0.68