setup_discord_logging#

API documentation for tradeexecutor.cli.log.setup_discord_logging Python function.

setup_discord_logging(name, webhook_url, avatar_url=None)[source]#

Setup Discord logger.

Any log with level logging.TRADE is echoed to Discord channel given in the URL.

https://pypi.org/project/discord-logger/

Parameters:
Returns: