Commit Graph

106 Commits

Author SHA1 Message Date
660aca44db Begin adding order settings 2023-02-15 18:33:38 +00:00
b6126a8454 Remove subtitle for positions 2023-02-14 07:20:47 +00:00
27de8090de Add instruments to account readout 2023-02-14 07:20:47 +00:00
6385339b7b Don't print the JSON of webhooks 2023-02-14 07:20:47 +00:00
6ff5f718ba Implement asset rules as Asset Group children objects 2023-02-13 20:45:23 +00:00
b48af50620 Rename pairs to assets 2023-02-13 17:50:46 +00:00
dcfb963be6 Remove asset restrictions and make asset groups smarter 2023-02-13 07:20:40 +00:00
287facbab2 Allow changing the asset filter list 2023-02-11 18:46:26 +00:00
bdf8f04210 Re-add property fields 2023-02-11 18:07:05 +00:00
7afdd39af7 Fix adding asset restrictions 2023-02-11 17:45:22 +00:00
8455d64e31 Reformat 2023-02-11 14:00:19 +00:00
1f43a00c7a Add all models to admin site and tweak some documentation 2023-02-10 23:47:55 +00:00
010aba7f81 Implement storing asset restriction callbacks 2023-02-10 23:26:30 +00:00
c283c6c192 Add asset restriction webhook API 2023-02-10 22:04:01 +00:00
aa227c53ac Remove unused function in callbacks 2023-02-10 21:16:27 +00:00
119acdd734 Use django-crud-mixins for CRUD helpers 2023-02-10 20:49:35 +00:00
659b73e695 Add mixins 2023-02-10 07:20:36 +00:00
8750e999b3 Remove unused log 2023-02-10 07:20:36 +00:00
f81d632df3 Add asset groups and restrictions 2023-02-10 14:33:17 +00:00
7938bffc8d Implement extra permission checks and mutations on restriction mixin 2023-02-10 14:32:51 +00:00
72055181bc Implement CRUD for asset groups 2023-02-10 07:20:19 +00:00
3f05553c71 Add initial balance to template and adjust PL calculation to use initial balance 2023-01-11 20:43:11 +00:00
b31a2d1464 Allow disabling accounts 2023-01-01 15:46:40 +00:00
c81cb62aca Finish implementing risk models 2022-12-13 07:20:49 +00:00
4e24ceac72 Add risk model and views 2022-12-21 21:35:59 +00:00
a41a1e76a5 Refactor market into two files 2022-12-20 07:20:26 +00:00
a96c99b9e4 Remove dot in notifications title 2022-12-19 07:20:56 +00:00
50820172b1 Send notification on new user creations 2022-12-18 17:49:42 +00:00
8de99c1bcd Make variables passed to CRUD helpers consistent 2022-12-18 17:37:34 +00:00
246674b03e Hide the cancel button and add title/subtitle to notification page 2022-12-18 17:27:40 +00:00
7ee698f457 Implement custom notification settings 2022-12-18 17:21:52 +00:00
f4772a3c7d Remove some comments from limits views 2022-12-18 16:37:27 +00:00
3a39181261 Implement viewing and altering trends 2022-12-18 15:10:28 +00:00
05f94e6e93 Rename trade action title 2022-12-08 07:20:46 +00:00
a18572ebda Add unrealized PL to profit screen 2022-12-08 07:20:46 +00:00
cd89b11611 Pass account ID to trade CRUD helper 2022-12-08 07:20:46 +00:00
633894ae75 Make account required for trade information 2022-12-08 07:20:46 +00:00
312ddb4dc1 Adjust titles for CRUD panels 2022-12-08 07:20:46 +00:00
8840b04059 Use ObjectRead helper for all list and detail views 2022-12-08 07:20:46 +00:00
1e85e830b2 Fix positions CRUD 2022-12-08 07:20:07 +00:00
d396abca84 Use CRUD helper for position list 2022-12-08 07:20:07 +00:00
aa8ee887d3 Replace numbers with question marks in signal name 2022-12-07 07:20:05 +00:00
3b8e5dbdd1 Fix hook test method 2022-12-06 20:12:24 +00:00
6a549f3fd7 Allow spaces in signal name 2022-12-06 19:59:10 +00:00
242c9fbaed Make a proper front page 2022-11-29 07:20:39 +00:00
a39a5c3857 Implement profit view and fix auto refresh 2022-11-29 07:20:39 +00:00
2b13802009 Make more fields optional and fix crash 2022-11-29 07:20:39 +00:00
b3bacde8df Remove unnecessary fields from trade response 2022-12-02 07:20:37 +00:00
1ce6c3fafa Implement closing positions 2022-12-02 07:20:37 +00:00
077768975d Get the right signal name from the callback and fix position close schema 2022-12-02 07:20:37 +00:00