MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / backtesting_config

Function backtesting_config

packages/copy/tests/python/conftest.py:37–44  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

35
36@pytest_asyncio.fixture
37async def backtesting_config(request):
38 config = test_config_module.load_test_config()
39 config[backtesting_constants.CONFIG_BACKTESTING] = {}
40 config[backtesting_constants.CONFIG_BACKTESTING][commons_constants.CONFIG_ENABLED_OPTION] = True
41 if hasattr(request, "param"):
42 ref_market = request.param
43 config[commons_constants.CONFIG_TRADING][commons_constants.CONFIG_TRADER_REFERENCE_MARKET] = ref_market
44 return config
45
46
47@pytest_asyncio.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected