set_up_simulated_ethereum_generic_execution#

API documentation for tradeexecutor.testing.simulated_execution_loop.set_up_simulated_ethereum_generic_execution Python function.

set_up_simulated_ethereum_generic_execution(*, web3, decide_trades, universe, routing_model, pricing_model, valuation_model, state, hot_wallet)[source]#

Set up a simulated execution loop for generic routing.

Parameters:
  • web3 (Web3) –

  • decide_trades (DecideTradesProtocol) –

  • universe (StrategyExecutionUniverse) –

  • routing_model (GenericRouting) –

  • pricing_model (GenericPricing) –

  • valuation_model (GenericValuation) –

  • state (State) –

  • hot_wallet (HotWallet) –

Return type:

ExecutionLoop