Commit Graph

23 Commits

Author SHA1 Message Date
Mark Veidemanis 0321aff9d5
Implement checking direction with assetfilter 2023-02-13 17:47:47 +00:00
Mark Veidemanis dcfb963be6
Remove asset restrictions and make asset groups smarter 2023-02-13 07:20:40 +00:00
Mark Veidemanis da9f32e882
Send the user a message when an asset restriction is hit 2023-02-11 18:25:09 +00:00
Mark Veidemanis 313c7f79d0
Write tests for asset filter 2023-02-11 18:22:49 +00:00
Mark Veidemanis 33d8e26c9b
Use cachalot to invalidate caches 2023-02-11 17:22:25 +00:00
Mark Veidemanis 23faeb6f71
Write tests for open trade checks 2023-01-11 19:55:09 +00:00
Mark Veidemanis e55f903f42
Continue implementing live risk checks 2023-01-11 19:46:47 +00:00
Mark Veidemanis 93be9e6ffe
Check the max risk relative to the account balance 2023-01-06 07:20:55 +00:00
Mark Veidemanis ae42d9b223
Fix profit/loss calculation 2023-01-06 08:52:15 +00:00
Mark Veidemanis 1bab2a729b
Fix SL polarity for losses 2023-01-05 23:58:13 +00:00
Mark Veidemanis db870c39c6
Fix TP/SL calculation and make more tests for profit/loss 2023-01-05 23:37:50 +00:00
Mark Veidemanis 2dfaef324c
Add more tests for risk checking 2023-01-05 19:48:56 +00:00
Mark Veidemanis 483333bf28
Test checking maximum risk with market data 2023-01-05 19:46:18 +00:00
Mark Veidemanis d3e2bc8648
Implement TP/SL price to percent conversion 2023-01-05 19:27:59 +00:00
Mark Veidemanis a6f9e74ee1
Close all positions on demo account when exiting tests 2023-01-05 17:25:22 +00:00
Mark Veidemanis 9dda0e8b4a
Write live open/close and list trades tests 2023-01-02 18:42:55 +00:00
Mark Veidemanis 46aaff43c0
Begin writing live tests 2023-01-01 21:52:43 +00:00
Mark Veidemanis b818e7e3f5
Write risk checking helpers and tests 2022-12-13 07:20:49 +00:00
Mark Veidemanis a41a1e76a5
Refactor market into two files 2022-12-20 07:20:26 +00:00
Mark Veidemanis b882ba15d0
Write tests for crossfilter sub-functions 2022-12-12 19:53:32 +00:00
Mark Veidemanis bb7d6d1b41
Rename test 2022-11-28 17:09:53 +00:00
Mark Veidemanis 974deeafaa
Add missing space 2022-11-25 22:15:27 +00:00
Mark Veidemanis 4973582bdf
Implement trading time limits 2022-11-25 19:28:21 +00:00