Implement viewing and altering trends
This commit is contained in:
15
app/urls.py
15
app/urls.py
@@ -193,4 +193,19 @@ urlpatterns = [
|
||||
limits.TradingTimeDelete.as_view(),
|
||||
name="tradingtime_delete",
|
||||
),
|
||||
path(
|
||||
"trend_directions/<str:strategy_id>/flip/<str:symbol>/",
|
||||
limits.TrendDirectionFlip.as_view(),
|
||||
name="trenddirection_flip",
|
||||
),
|
||||
path(
|
||||
"trend_directions/<str:strategy_id>/delete/<str:symbol>/",
|
||||
limits.TrendDirectionDelete.as_view(),
|
||||
name="trenddirection_delete",
|
||||
),
|
||||
path(
|
||||
"trend_directions/<str:type>/view/<str:strategy_id>/",
|
||||
limits.TrendDirectionList.as_view(),
|
||||
name="trenddirections",
|
||||
),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user