log#
API documentation for tradeexecutor.cli.log Python module in Trading Strategy.
Module description#
High-grade logging facilities.
We have a custom level logging.TRADE that we use to log trade execution to Discord and such.
Functions#
|
Create a new logging level TRADE that is between INFO and WARNING. |
|
Setup Discord logger. |
|
Create log file output. |
|
|
|
Setup root logger and quiet some levels. |
|
Setup Logstash logger. |
|
Setup logger in notebook / backtesting environments. |
|
Setup logger in pytest environment. |
|
Setup logging for backtesting. |
|
Setup Telegram logger. |