Commit Graph

283 Commits

Author SHA1 Message Date
Mark Veidemanis fb5521c9f7
Migrate user id to UUID 2023-02-24 07:20:31 +00:00
Mark Veidemanis 682c42c0e8
Separate live tests for active management 2023-02-22 07:20:21 +00:00
Mark Veidemanis 9c537187f0
Finish AMS tests 2023-02-22 07:20:58 +00:00
Mark Veidemanis ed63085e10
Implement updating protection 2023-02-22 07:20:37 +00:00
Mark Veidemanis ba8eb69309
Begin protection checks 2023-02-20 23:57:20 +00:00
Mark Veidemanis 314d4022ea
Add description to AMS policy form 2023-02-20 17:21:33 +00:00
Mark Veidemanis 89ef8408e6
Amend asset filter matching to be more explicit 2023-02-20 07:20:01 +00:00
Mark Veidemanis 9e22abe057
Implement adjusting positions and begin writing live tests for AMS 2023-02-20 07:20:03 +00:00
Mark Veidemanis a840be3834
Adjust initial balance in live tests 2023-02-20 07:20:37 +00:00
Mark Veidemanis 8bb5c2c91b
Remove empty functions from checks 2023-02-20 07:20:22 +00:00
Mark Veidemanis db58fb34eb
Ensure an account only has one strategy with active management 2023-02-18 21:42:56 +00:00
Mark Veidemanis ea0a6f21ce
Remove some comments 2023-02-18 21:39:06 +00:00
Mark Veidemanis 8d9fe15346
Fix returning the balance 2023-02-18 21:36:46 +00:00
Mark Veidemanis 2b6f00a889
Run checks and actions from the management command 2023-02-18 21:36:38 +00:00
Mark Veidemanis 0bf3329b61
Remove comment 2023-02-18 21:25:11 +00:00
Mark Veidemanis 911ccde37b
Implement trade mutation pipeline and active management actions 2023-02-18 21:23:59 +00:00
Mark Veidemanis ae104f446a
Start implementing active management actions 2023-02-18 17:55:39 +00:00
Mark Veidemanis 15a8bec105
Simplify active management by only specifying trade IDs for violations 2023-02-18 14:36:58 +00:00
Mark Veidemanis 466b17400f
Finish implementing active management hooks 2023-02-18 11:54:30 +00:00
Mark Veidemanis 3e35214e82
Fix open trades checks 2023-02-17 22:23:12 +00:00
Mark Veidemanis d262f208b5
Write crossfilter, asset groups and max open trades implementation and tests 2023-02-17 22:11:46 +00:00
Mark Veidemanis 67117f0978
Write protection check tests 2023-02-17 17:05:52 +00:00
Mark Veidemanis 1dbb3fcf79
Add more hooks to active management 2023-02-17 07:20:15 +00:00
Mark Veidemanis dd3b3521d9
Move more checks from market into checks library 2023-02-17 07:20:28 +00:00
Mark Veidemanis da67177a18
Begin work on scheduling management command 2023-02-17 07:20:19 +00:00
Mark Veidemanis ffdbcecc8d
Do profit calculation the right way around 2023-02-16 07:20:41 +00:00
Mark Veidemanis c0f266da73
Add signals and active management to strategy list 2023-02-15 20:04:23 +00:00
Mark Veidemanis 3854bdcc7d
Add signals trading enabled 2023-02-15 20:02:38 +00:00
Mark Veidemanis 5c090433a3
Add migration to remove order settings from strategies 2023-02-15 19:13:16 +00:00
Mark Veidemanis eefd704800
Add user field to all list templates 2023-02-15 18:44:19 +00:00
Mark Veidemanis b4afa32a6e
Move order settings to OrderSettings 2023-02-15 18:41:08 +00:00
Mark Veidemanis 69cf8dcc10
Add order settings to strategy 2023-02-15 18:35:46 +00:00
Mark Veidemanis 660aca44db
Begin adding order settings 2023-02-15 18:33:38 +00:00
Mark Veidemanis 1974b19157
Move risk model to strategy 2023-02-15 18:15:36 +00:00
Mark Veidemanis 9a5ed32be9
Add Lago 2023-02-15 07:20:53 +00:00
Mark Veidemanis b37c62f5f1
Fix delete confirmation 2023-02-15 07:20:53 +00:00
Mark Veidemanis bc60eabb05
Fix caching with different types 2023-02-15 07:20:53 +00:00
Mark Veidemanis b6952767d5
Fix asset filter 2023-02-14 07:20:47 +00:00
Mark Veidemanis 0a89d96b86
Log assetfilter messages to console 2023-02-14 07:20:47 +00:00
Mark Veidemanis 73cf56c50e
Use correct template for position details 2023-02-14 07:20:47 +00:00
Mark Veidemanis b6126a8454
Remove subtitle for positions 2023-02-14 07:20:47 +00:00
Mark Veidemanis 7a593b902b
Add help texts to AssetRule 2023-02-14 07:20:47 +00:00
Mark Veidemanis 74fdd8a735
Fix asset_group reference 2023-02-14 07:20:47 +00:00
Mark Veidemanis f4ae8fbc5f
Check equality with None instead of truthfulness 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 1fc969177d
Send all precision errors to the user 2023-02-14 07:20:47 +00:00
Mark Veidemanis 68a33cea7d
Send the user a more detailed precision error message 2023-02-14 07:20:47 +00:00
Mark Veidemanis c915fd1e41
Improve get precision error messages 2023-02-14 07:20:47 +00:00
Mark Veidemanis 507708574c
Add original status 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