mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-13 12:00:16 +08:00
script. Adds an option kwarg to TradingAlgorithm named 'algo_filename' that represents the file where the algoscript came from (if any). The run_algo.py script will pass this argument with the value passed to the '-f' flag. The default name is '<string>' to represent that the script is coming from a string in python and not a file. This matches the behavior of exec and the python convention for compiling code objects.