Currently, we use printing for logging things that happen while running. This is simple, but has the drawback that terminals sometimes delete stuff after a number of lines. Additionally, if too much is printed to a terminal, it becomes cluttered.
If we use log files, we can print a lot more of the small things that happen.
Ideas:
Use a separate log file for the model, trading, retrieval, etc.
Store most important operations in a log file
Start a new log for each trade session
Deal with existing log files, or log files that get very large, since if we print a lot they can fill up quickly.
Currently, we use printing for logging things that happen while running. This is simple, but has the drawback that terminals sometimes delete stuff after a number of lines. Additionally, if too much is printed to a terminal, it becomes cluttered. If we use log files, we can print a lot more of the small things that happen. Ideas: