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

Function backtesting_trader

packages/copy/tests/python/conftest.py:114–120  ·  view source on GitHub ↗
(backtesting_config, backtesting_exchange_manager)

Source from the content-addressed store, hash-verified

112
113@pytest_asyncio.fixture
114async def backtesting_trader(backtesting_config, backtesting_exchange_manager):
115 trader_instance = octobot_trading.exchanges.TraderSimulator(
116 backtesting_config,
117 backtesting_exchange_manager,
118 )
119 await trader_instance.initialize()
120 return backtesting_config, backtesting_exchange_manager, trader_instance
121
122
123@pytest_asyncio.fixture

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected