start#
API documentation for tradeexecutor.cli.commands.start.start Python function.
- start(id=<typer.models.OptionInfo object>, name=<typer.models.OptionInfo object>, short_description=<typer.models.OptionInfo object>, long_description=<typer.models.OptionInfo object>, badges=<typer.models.OptionInfo object>, icon_url=<typer.models.OptionInfo object>, strategy_file=<typer.models.OptionInfo object>, asset_management_mode=<typer.models.OptionInfo object>, vault_address=<typer.models.OptionInfo object>, vault_adapter_address=<typer.models.OptionInfo object>, vault_payment_forwarder_address=<typer.models.OptionInfo object>, trading_strategy_api_key=<typer.models.OptionInfo object>, http_enabled=<typer.models.OptionInfo object>, http_port=<typer.models.OptionInfo object>, http_host=<typer.models.OptionInfo object>, http_username=<typer.models.OptionInfo object>, http_password=<typer.models.OptionInfo object>, http_wait_good_startup_seconds=<typer.models.OptionInfo object>, json_rpc_binance=<typer.models.OptionInfo object>, json_rpc_polygon=<typer.models.OptionInfo object>, json_rpc_ethereum=<typer.models.OptionInfo object>, json_rpc_avalanche=<typer.models.OptionInfo object>, json_rpc_arbitrum=<typer.models.OptionInfo object>, json_rpc_anvil=<typer.models.OptionInfo object>, gas_price_method=<typer.models.OptionInfo object>, confirmation_block_count=<typer.models.OptionInfo object>, confirmation_timeout=<typer.models.OptionInfo object>, private_key=<typer.models.OptionInfo object>, min_gas_balance=<typer.models.OptionInfo object>, gas_balance_warning_level=<typer.models.OptionInfo object>, discord_webhook_url=<typer.models.OptionInfo object>, logstash_server=<typer.models.OptionInfo object>, file_log_level=<typer.models.OptionInfo object>, telegram_api_key=<typer.models.OptionInfo object>, telegram_chat_id=<typer.models.OptionInfo object>, port_mortem_debugging=<typer.models.OptionInfo object>, clear_caches=<typer.models.OptionInfo object>, unit_testing=<typer.models.OptionInfo object>, reset_state=<typer.models.OptionInfo object>, max_cycles=<typer.models.OptionInfo object>, debug_dump_file=<typer.models.OptionInfo object>, backtest_start=<typer.models.OptionInfo object>, backtest_end=<typer.models.OptionInfo object>, backtest_candle_time_frame_override=<typer.models.OptionInfo object>, backtest_stop_loss_time_frame_override=<typer.models.OptionInfo object>, test_evm_uniswap_v2_router=<typer.models.OptionInfo object>, test_evm_uniswap_v2_factory=<typer.models.OptionInfo object>, test_evm_uniswap_v2_init_code_hash=<typer.models.OptionInfo object>, max_slippage=<typer.models.OptionInfo object>, approval_type=<typer.models.OptionInfo object>, stop_loss_check_frequency=<typer.models.OptionInfo object>, cycle_offset_minutes=<typer.models.OptionInfo object>, stats_refresh_minutes=<typer.models.OptionInfo object>, cycle_duration=<typer.models.OptionInfo object>, position_trigger_check_minutes=<typer.models.OptionInfo object>, max_data_delay_minutes=<typer.models.OptionInfo object>, trade_immediately=<typer.models.OptionInfo object>, strategy_cycle_trigger=<typer.models.OptionInfo object>, key_metrics_backtest_cut_off_days=<typer.models.OptionInfo object>, check_accounts=<typer.models.OptionInfo object>, sync_treasury_on_startup=<typer.models.OptionInfo object>, visualisation=<typer.models.OptionInfo object>, run_single_cycle=<typer.models.OptionInfo object>, simulate=<typer.models.OptionInfo object>, log_level=<typer.models.OptionInfo object>, state_file=<typer.models.OptionInfo object>, backtest_result=<typer.models.OptionInfo object>, notebook_report=<typer.models.OptionInfo object>, html_report=<typer.models.OptionInfo object>, cache_path=<typer.models.OptionInfo object>)[source]#
Launch Trade Executor instance.
- Parameters:
id (str) –
strategy_file (Path) –
asset_management_mode (AssetManagementMode) –
trading_strategy_api_key (str) –
http_enabled (bool) –
http_port (int) –
http_host (str) –
http_username (str) –
http_password (str) –
http_wait_good_startup_seconds (int) –
gas_price_method (Optional[GasPriceMethod]) –
confirmation_block_count (int) –
confirmation_timeout (int) –
port_mortem_debugging (bool) –
clear_caches (bool) –
unit_testing (bool) –
reset_state (bool) –
max_cycles (int) –
backtest_candle_time_frame_override (Optional[TimeBucket]) –
backtest_stop_loss_time_frame_override (Optional[TimeBucket]) –
max_slippage (float) –
approval_type (ApprovalType) –
stop_loss_check_frequency (Optional[TimeBucket]) –
cycle_offset_minutes (int) –
stats_refresh_minutes (int) –
cycle_duration (CycleDuration) –
position_trigger_check_minutes (int) –
max_data_delay_minutes (int) –
trade_immediately (bool) –
strategy_cycle_trigger (StrategyCycleTrigger) –
key_metrics_backtest_cut_off_days (float) –
check_accounts (bool) –
sync_treasury_on_startup (bool) –
visualisation (bool) –
run_single_cycle (bool) –
simulate (bool) –
log_level (str) –