Implement asset rules as Asset Group children objects
This commit is contained in:
@@ -19,7 +19,7 @@ log = logs.get_logger(__name__)
|
||||
# Trend directions
|
||||
class TrendDirectionList(LoginRequiredMixin, ObjectList):
|
||||
list_template = "partials/trend-direction-list.html"
|
||||
page_title = "List of trend directions for a strategy."
|
||||
page_title = "List of trend directions for a strategy"
|
||||
page_subtitle = None
|
||||
|
||||
context_object_name_singular = "trend direction"
|
||||
@@ -86,7 +86,7 @@ class TrendDirectionDelete(LoginRequiredMixin, ObjectNameMixin, View):
|
||||
class TradingTimeList(LoginRequiredMixin, ObjectList):
|
||||
list_template = "partials/trading-time-list.html"
|
||||
model = TradingTime
|
||||
page_title = "List of allowed trading times. Used as options for a strategy."
|
||||
page_title = "List of allowed trading times, used as options for a strategy"
|
||||
page_subtitle = "Add times here in order to permit trading."
|
||||
|
||||
list_url_name = "tradingtimes"
|
||||
|
||||
Reference in New Issue
Block a user