setup_custom_log_levels# API documentation for tradeexecutor.cli.log.setup_custom_log_levels Python function. setup_custom_log_levels()[source]# Create a new logging level TRADE that is between INFO and WARNING. This level is used to log trade execution to Discord etc. trader followed stream.