Implement closing positions
This commit is contained in:
@@ -143,6 +143,11 @@ urlpatterns = [
|
||||
positions.Positions.as_view(),
|
||||
name="positions",
|
||||
),
|
||||
path(
|
||||
"positions/close/<str:account_id>/<str:side>/<str:symbol>/",
|
||||
positions.PositionAction.as_view(),
|
||||
name="position_action",
|
||||
),
|
||||
path(
|
||||
"positions/<str:type>/<str:account_id>/<str:symbol>/",
|
||||
positions.PositionAction.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user