log#
tradeexecutor.cli.log Python module in Trading Strategy framework.
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. |
|
|
|
|
|
Setup root logger and quiet some levels. |
|
Setup Logstash logger. |
|
Setup logger in notebook / backtesting environments. |
|
Setup logger in pytest environment. |