Commit Graph

22 Commits

Author SHA1 Message Date
Mark Veidemanis b4afa32a6e
Move order settings to OrderSettings 2023-02-15 18:41:08 +00:00
Mark Veidemanis 1974b19157
Move risk model to strategy 2023-02-15 18:15:36 +00:00
Mark Veidemanis 0a89d96b86
Log assetfilter messages to console 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 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 0321aff9d5
Implement checking direction with assetfilter 2023-02-13 17:47:47 +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 f4ef280f80
Fix circular import 2023-01-11 21:12:43 +00:00
Mark Veidemanis 70d1fdbbd3
Adjust comment 2023-01-11 20:53:04 +00:00
Mark Veidemanis 7d0f979a96
Check risk management when opening trades with strategies 2023-01-11 20:48:17 +00:00
Mark Veidemanis 9a69120695
Remove leftover comments and debug statements 2023-01-11 19:59:27 +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 d3e2bc8648
Implement TP/SL price to percent conversion 2023-01-05 19:27:59 +00:00
Mark Veidemanis b31a2d1464
Allow disabling accounts 2023-01-01 15:46:40 +00:00
Mark Veidemanis 52ddef4c8f
Simplify protection options and allow none 2022-12-20 23:20:07 +00:00
Mark Veidemanis a41a1e76a5
Refactor market into two files 2022-12-20 07:20:26 +00:00