Implement profit view and fix auto refresh
This commit is contained in:
@@ -28,6 +28,7 @@ from core.views import (
|
||||
hooks,
|
||||
limits,
|
||||
positions,
|
||||
profit,
|
||||
signals,
|
||||
strategies,
|
||||
trades,
|
||||
@@ -137,6 +138,7 @@ urlpatterns = [
|
||||
trades.TradeDeleteAll.as_view(),
|
||||
name="trade_delete_all",
|
||||
),
|
||||
path("profit/<str:type>/", profit.Profit.as_view(), name="profit"),
|
||||
path("positions/<str:type>/", positions.Positions.as_view(), name="positions"),
|
||||
path(
|
||||
"positions/<str:type>/<str:account_id>/",
|
||||
|
||||
Reference in New Issue
Block a user