summaryrefslogtreecommitdiff
path: root/app/trading/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-07-20 21:49:09 -0400
committerluxagraf <sng@luxagraf.net>2021-07-20 21:49:09 -0400
commit4e64ac45ad91b79b9fc0cd80abab51fc50e8be76 (patch)
tree0f84543e0d7eb538dbd47ca45cd3b340704a5e7f /app/trading/urls.py
parent538481a01b39a73f1590cf9910b3c884270bd204 (diff)
trad: added options tracking and calculator
Diffstat (limited to 'app/trading/urls.py')
-rw-r--r--app/trading/urls.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/trading/urls.py b/app/trading/urls.py
index 986339a..2a70e13 100644
--- a/app/trading/urls.py
+++ b/app/trading/urls.py
@@ -6,11 +6,21 @@ app_name = "luxtrade"
urlpatterns = [
path(
- 'model',
+ 'trade-calc',
views.TradeModelFormView.as_view(),
name='testtrade'
),
path(
+ 'options-calc',
+ views.OptionsModelFormView.as_view(),
+ name='testoptions'
+ ),
+ path(
+ 'trade/options/<pk>',
+ views.LuxOptionsTradeDetailView.as_view(),
+ name='optiondetail'
+ ),
+ path(
'trade/<pk>',
views.LuxTradeDetailView.as_view(),
name='detail'