Commit Graph

247 Commits

Author SHA1 Message Date
bc60eabb05
Fix caching with different types 2023-02-15 07:20:53 +00:00
b6952767d5
Fix asset filter 2023-02-14 07:20:47 +00:00
0a89d96b86
Log assetfilter messages to console 2023-02-14 07:20:47 +00:00
73cf56c50e
Use correct template for position details 2023-02-14 07:20:47 +00:00
b6126a8454
Remove subtitle for positions 2023-02-14 07:20:47 +00:00
7a593b902b
Add help texts to AssetRule 2023-02-14 07:20:47 +00:00
74fdd8a735
Fix asset_group reference 2023-02-14 07:20:47 +00:00
f4ae8fbc5f
Check equality with None instead of truthfulness 2023-02-14 07:20:47 +00:00
27de8090de
Add instruments to account readout 2023-02-14 07:20:47 +00:00
1fc969177d
Send all precision errors to the user 2023-02-14 07:20:47 +00:00
68a33cea7d
Send the user a more detailed precision error message 2023-02-14 07:20:47 +00:00
c915fd1e41
Improve get precision error messages 2023-02-14 07:20:47 +00:00
507708574c
Add original status 2023-02-14 07:20:47 +00:00
6385339b7b
Don't print the JSON of webhooks 2023-02-14 07:20:47 +00:00
6464b6de05
Filter for enabled accounts 2023-02-13 21:02:59 +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
0321aff9d5
Implement checking direction with assetfilter 2023-02-13 17:47:47 +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
da9f32e882
Send the user a message when an asset restriction is hit 2023-02-11 18:25:09 +00:00
313c7f79d0
Write tests for asset filter 2023-02-11 18:22:49 +00:00
ce0b75ae2d
Make account on AssetGroup optional 2023-02-11 18:18:07 +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
33d8e26c9b
Use cachalot to invalidate caches 2023-02-11 17:22:25 +00:00
dea1cfe889
Use Hiredis 2023-02-11 16:01:26 +00:00
7d693ad1fa
Vary cache on URL 2023-02-11 15:48:53 +00:00
a0c94b2097
Cache all object list templates 2023-02-11 14:52:00 +00:00
0acddb2048
Remove comments from settings 2023-02-11 14:04:21 +00:00
8455d64e31
Reformat 2023-02-11 14:00:19 +00:00
57078c10c1
Optimise performance with caching 2023-02-11 14:00:09 +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
0b7dc001bf
Add a warning about hooks to the asset restriction form 2023-02-10 21:14:17 +00:00
1d01368570
Add webhook ID to asset restriction model 2023-02-10 21:13:12 +00:00
101a4933c9
Make long IDs copyable 2023-02-10 21:13:00 +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
e00cdc906e
Update pre-commit versions 2023-02-09 07:20:17 +00:00
f4ef280f80
Fix circular import 2023-01-11 21:12:43 +00:00
70d1fdbbd3
Adjust comment 2023-01-11 20:53:04 +00:00
7d0f979a96
Check risk management when opening trades with strategies 2023-01-11 20:48:17 +00:00
3f05553c71
Add initial balance to template and adjust PL calculation to use initial balance 2023-01-11 20:43:11 +00:00