File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
investing_algorithm_framework/app Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,12 @@ class TradingStrategy:
1616 strategy is a set of rules that defines when to buy or sell an asset.
1717
1818 Attributes:
19- id (string): the unique id for your combined strategy instances
19+ algorithm_id (string): the unique id for your
20+ combined strategy instances. An algorithm consists out of one or
21+ more strategy instances that run together. The algorithm_id
22+ is used to uniquely indentify the combined strategy instances.
23+ This is id is used in various places in the framework, e.g. for
24+ backtesting results, logging, monitoring etc.
2025 time_unit (TimeUnit): the time unit of the strategy that defines
2126 when the strategy should run e.g. HOUR, DAY, WEEK, MONTH
2227 interval (int): the interval of the strategy that defines how often
@@ -34,7 +39,7 @@ class TradingStrategy:
3439 store additional information about the strategy, such as its
3540 author, version, description, params etc.
3641 """
37- id : str
42+ algorithm_id : str
3843 time_unit : TimeUnit = None
3944 interval : int = None
4045 worker_id : str = None
You can’t perform that action at this time.
0 commit comments