Commit Graph

39 Commits

Author SHA1 Message Date
b4424a7782
Begin work on increasing position size 2023-02-28 07:20:12 +00:00
9d37e2bfb8
Integrate Lago with Stripe 2023-02-24 07:20:51 +00:00
682c42c0e8
Separate live tests for active management 2023-02-22 07:20:21 +00:00
9c537187f0
Finish AMS tests 2023-02-22 07:20:58 +00:00
ed63085e10
Implement updating protection 2023-02-22 07:20:37 +00:00
ba8eb69309
Begin protection checks 2023-02-20 23:57:20 +00:00
89ef8408e6
Amend asset filter matching to be more explicit 2023-02-20 07:20:01 +00:00
9e22abe057
Implement adjusting positions and begin writing live tests for AMS 2023-02-20 07:20:03 +00:00
a840be3834
Adjust initial balance in live tests 2023-02-20 07:20:37 +00:00
911ccde37b
Implement trade mutation pipeline and active management actions 2023-02-18 21:23:59 +00:00
ae104f446a
Start implementing active management actions 2023-02-18 17:55:39 +00:00
15a8bec105
Simplify active management by only specifying trade IDs for violations 2023-02-18 14:36:58 +00:00
466b17400f
Finish implementing active management hooks 2023-02-18 11:54:30 +00:00
3e35214e82
Fix open trades checks 2023-02-17 22:23:12 +00:00
d262f208b5
Write crossfilter, asset groups and max open trades implementation and tests 2023-02-17 22:11:46 +00:00
67117f0978
Write protection check tests 2023-02-17 17:05:52 +00:00
1dbb3fcf79
Add more hooks to active management 2023-02-17 07:20:15 +00:00
dd3b3521d9
Move more checks from market into checks library 2023-02-17 07:20:28 +00:00
da67177a18
Begin work on scheduling management command 2023-02-17 07:20:19 +00:00
b6952767d5
Fix asset filter 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
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
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
33d8e26c9b
Use cachalot to invalidate caches 2023-02-11 17:22:25 +00:00
23faeb6f71
Write tests for open trade checks 2023-01-11 19:55:09 +00:00
e55f903f42
Continue implementing live risk checks 2023-01-11 19:46:47 +00:00
93be9e6ffe
Check the max risk relative to the account balance 2023-01-06 07:20:55 +00:00
ae42d9b223
Fix profit/loss calculation 2023-01-06 08:52:15 +00:00
1bab2a729b
Fix SL polarity for losses 2023-01-05 23:58:13 +00:00
db870c39c6
Fix TP/SL calculation and make more tests for profit/loss 2023-01-05 23:37:50 +00:00
2dfaef324c
Add more tests for risk checking 2023-01-05 19:48:56 +00:00
483333bf28
Test checking maximum risk with market data 2023-01-05 19:46:18 +00:00
d3e2bc8648
Implement TP/SL price to percent conversion 2023-01-05 19:27:59 +00:00
a6f9e74ee1
Close all positions on demo account when exiting tests 2023-01-05 17:25:22 +00:00
9dda0e8b4a
Write live open/close and list trades tests 2023-01-02 18:42:55 +00:00
46aaff43c0
Begin writing live tests 2023-01-01 21:52:43 +00:00
b818e7e3f5
Write risk checking helpers and tests 2022-12-13 07:20:49 +00:00