Add more hooks to active management
This commit is contained in:
22
app/urls.py
22
app/urls.py
@@ -30,6 +30,7 @@ from core.views import (
|
||||
limits,
|
||||
notifications,
|
||||
ordersettings,
|
||||
policies,
|
||||
positions,
|
||||
profit,
|
||||
risk,
|
||||
@@ -306,4 +307,25 @@ urlpatterns = [
|
||||
ordersettings.OrderSettingsDelete.as_view(),
|
||||
name="ordersettings_delete",
|
||||
),
|
||||
# Active Management Policies
|
||||
path(
|
||||
"ams/<str:type>/",
|
||||
policies.ActiveManagementPolicyList.as_view(),
|
||||
name="ams",
|
||||
),
|
||||
path(
|
||||
"ams/<str:type>/create/",
|
||||
policies.ActiveManagementPolicyCreate.as_view(),
|
||||
name="ams_create",
|
||||
),
|
||||
path(
|
||||
"ams/<str:type>/update/<str:pk>/",
|
||||
policies.ActiveManagementPolicyUpdate.as_view(),
|
||||
name="ams_update",
|
||||
),
|
||||
path(
|
||||
"ams/<str:type>/delete/<str:pk>/",
|
||||
policies.ActiveManagementPolicyDelete.as_view(),
|
||||
name="ams_delete",
|
||||
),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user