Commit Graph

97 Commits

Author SHA1 Message Date
Mark Veidemanis 7afdd39af7
Fix adding asset restrictions 2023-02-11 17:45:22 +00:00
Mark Veidemanis 8455d64e31
Reformat 2023-02-11 14:00:19 +00:00
Mark Veidemanis 1f43a00c7a
Add all models to admin site and tweak some documentation 2023-02-10 23:47:55 +00:00
Mark Veidemanis 010aba7f81
Implement storing asset restriction callbacks 2023-02-10 23:26:30 +00:00
Mark Veidemanis c283c6c192
Add asset restriction webhook API 2023-02-10 22:04:01 +00:00
Mark Veidemanis aa227c53ac
Remove unused function in callbacks 2023-02-10 21:16:27 +00:00
Mark Veidemanis 119acdd734
Use django-crud-mixins for CRUD helpers 2023-02-10 20:49:35 +00:00
Mark Veidemanis 659b73e695
Add mixins 2023-02-10 07:20:36 +00:00
Mark Veidemanis 8750e999b3
Remove unused log 2023-02-10 07:20:36 +00:00
Mark Veidemanis f81d632df3
Add asset groups and restrictions 2023-02-10 14:33:17 +00:00
Mark Veidemanis 7938bffc8d
Implement extra permission checks and mutations on restriction mixin 2023-02-10 14:32:51 +00:00
Mark Veidemanis 72055181bc
Implement CRUD for asset groups 2023-02-10 07:20:19 +00:00
Mark Veidemanis 3f05553c71
Add initial balance to template and adjust PL calculation to use initial balance 2023-01-11 20:43:11 +00:00
Mark Veidemanis b31a2d1464
Allow disabling accounts 2023-01-01 15:46:40 +00:00
Mark Veidemanis c81cb62aca
Finish implementing risk models 2022-12-13 07:20:49 +00:00
Mark Veidemanis 4e24ceac72
Add risk model and views 2022-12-21 21:35:59 +00:00
Mark Veidemanis a41a1e76a5
Refactor market into two files 2022-12-20 07:20:26 +00:00
Mark Veidemanis a96c99b9e4
Remove dot in notifications title 2022-12-19 07:20:56 +00:00
Mark Veidemanis 50820172b1
Send notification on new user creations 2022-12-18 17:49:42 +00:00
Mark Veidemanis 8de99c1bcd
Make variables passed to CRUD helpers consistent 2022-12-18 17:37:34 +00:00
Mark Veidemanis 246674b03e
Hide the cancel button and add title/subtitle to notification page 2022-12-18 17:27:40 +00:00
Mark Veidemanis 7ee698f457
Implement custom notification settings 2022-12-18 17:21:52 +00:00
Mark Veidemanis f4772a3c7d
Remove some comments from limits views 2022-12-18 16:37:27 +00:00
Mark Veidemanis 3a39181261
Implement viewing and altering trends 2022-12-18 15:10:28 +00:00
Mark Veidemanis 05f94e6e93
Rename trade action title 2022-12-08 07:20:46 +00:00
Mark Veidemanis a18572ebda
Add unrealized PL to profit screen 2022-12-08 07:20:46 +00:00
Mark Veidemanis cd89b11611
Pass account ID to trade CRUD helper 2022-12-08 07:20:46 +00:00
Mark Veidemanis 633894ae75
Make account required for trade information 2022-12-08 07:20:46 +00:00
Mark Veidemanis 312ddb4dc1
Adjust titles for CRUD panels 2022-12-08 07:20:46 +00:00
Mark Veidemanis 8840b04059
Use ObjectRead helper for all list and detail views 2022-12-08 07:20:46 +00:00
Mark Veidemanis 1e85e830b2
Fix positions CRUD 2022-12-08 07:20:07 +00:00
Mark Veidemanis d396abca84
Use CRUD helper for position list 2022-12-08 07:20:07 +00:00
Mark Veidemanis aa8ee887d3
Replace numbers with question marks in signal name 2022-12-07 07:20:05 +00:00
Mark Veidemanis 3b8e5dbdd1
Fix hook test method 2022-12-06 20:12:24 +00:00
Mark Veidemanis 6a549f3fd7
Allow spaces in signal name 2022-12-06 19:59:10 +00:00
Mark Veidemanis 242c9fbaed
Make a proper front page 2022-11-29 07:20:39 +00:00
Mark Veidemanis a39a5c3857
Implement profit view and fix auto refresh 2022-11-29 07:20:39 +00:00
Mark Veidemanis 2b13802009
Make more fields optional and fix crash 2022-11-29 07:20:39 +00:00
Mark Veidemanis b3bacde8df
Remove unnecessary fields from trade response 2022-12-02 07:20:37 +00:00
Mark Veidemanis 1ce6c3fafa
Implement closing positions 2022-12-02 07:20:37 +00:00
Mark Veidemanis 077768975d
Get the right signal name from the callback and fix position close schema 2022-12-02 07:20:37 +00:00
Mark Veidemanis bdae8ab093
Make callbacks handle signals 2022-12-01 19:32:50 +00:00
Mark Veidemanis 851d021af2
Make signals configurable 2022-11-29 07:20:21 +00:00
Mark Veidemanis f7242f4dd8
Fix off by one issue in OANDA 2022-11-29 07:20:39 +00:00
Mark Veidemanis f240c4b381
Improve navigating trades and positions by cross-linking 2022-11-29 07:20:39 +00:00
Mark Veidemanis 3a6c3cee1f
Fix login redirect 2022-11-28 20:05:48 +00:00
Mark Veidemanis 0fc7c5c712
Implement more advanced 2FA library 2022-11-28 19:45:22 +00:00
Mark Veidemanis 7a64759ceb
Implement permission checking in views and forms 2022-11-28 18:09:41 +00:00
Mark Veidemanis baa8e4fead
Implement configuration of trading times 2022-11-25 18:01:34 +00:00
Mark Veidemanis bcb3272064
Re-render invalid forms and fix space handling 2022-11-25 18:01:13 +00:00