perform_test_trade#
- perform_test_trade(id=<typer.models.OptionInfo object>, strategy_file=<typer.models.OptionInfo object>, private_key=<typer.models.OptionInfo object>, trading_strategy_api_key=<typer.models.OptionInfo object>, state_file=<typer.models.OptionInfo object>, cache_path=<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>)[source]#
Perform a small test swap.
Tests that the private wallet and the exchange can trade by making 1 USD trade using the routing configuration from the strategy.
The trade will be recorded on the state as a position.