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

Method __init__

backtesting/_util.py:258–264  ·  view source on GitHub ↗
(self, *args, track: bool = True, **kwargs)

Source from the content-addressed store, hash-verified

256 __lock = Lock()
257
258 def __init__(self, *args, track: bool = True, **kwargs):
259 self._track = track
260 if track:
261 return super().__init__(*args, **kwargs)
262 with self.__lock:
263 with patch(_mprt, 'register', lambda *a, **kw: None):
264 super().__init__(*args, **kwargs)
265
266 def unlink(self):
267 if _mpshm._USE_POSIX and self._name:

Callers

nothing calls this directly

Calls 2

patchFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected