create_execution_and_sync_model#
- create_execution_and_sync_model(asset_management_mode, private_key, web3config, confirmation_timeout, confirmation_block_count, max_slippage, min_gas_balance, vault_address, vault_adapter_address, vault_payment_forwarder_address, routing_hint=None)[source]#
Set up the wallet sync and execution mode for the command line client.
- Parameters:
asset_management_mode (AssetManagementMode) –
private_key (str) –
web3config (Web3Config) –
confirmation_timeout (timedelta) –
confirmation_block_count (int) –
max_slippage (float) –
routing_hint (Optional[TradeRouting]) –
- Return type:
Tuple[ExecutionModel, SyncModel, ValuationModelFactory, Callable[[ExecutionModel, StrategyExecutionUniverse, RoutingModel], PricingModel]]