Commit Graph

109 Commits

Author SHA1 Message Date
Mark Veidemanis ac4c248175
Begin implementing billing 2023-02-24 07:20:31 +00:00
Mark Veidemanis 1dbb3fcf79
Add more hooks to active management 2023-02-17 07:20:15 +00:00
Mark Veidemanis ffdbcecc8d
Do profit calculation the right way around 2023-02-16 07:20:41 +00:00
Mark Veidemanis 660aca44db
Begin adding order settings 2023-02-15 18:33:38 +00:00
Mark Veidemanis b6126a8454
Remove subtitle for positions 2023-02-14 07:20:47 +00:00
Mark Veidemanis 27de8090de
Add instruments to account readout 2023-02-14 07:20:47 +00:00
Mark Veidemanis 6385339b7b
Don't print the JSON of webhooks 2023-02-14 07:20:47 +00:00
Mark Veidemanis 6ff5f718ba
Implement asset rules as Asset Group children objects 2023-02-13 20:45:23 +00:00
Mark Veidemanis b48af50620
Rename pairs to assets 2023-02-13 17:50:46 +00:00
Mark Veidemanis dcfb963be6
Remove asset restrictions and make asset groups smarter 2023-02-13 07:20:40 +00:00
Mark Veidemanis 287facbab2
Allow changing the asset filter list 2023-02-11 18:46:26 +00:00
Mark Veidemanis bdf8f04210
Re-add property fields 2023-02-11 18:07:05 +00:00
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