Matthias
|
26aa336450
|
Combine "until" logic into calculate_lock_end
|
2024-07-16 07:05:42 +02:00 |
|
Matthias
|
d13f47ec0b
|
align wording to simplify "locking for" element
|
2024-07-16 06:48:30 +02:00 |
|
Matthias
|
16dd86e732
|
_unlock_at should be private
|
2024-07-16 06:31:12 +02:00 |
|
simwai
|
be894664ef
|
Fixed building of wrong reason texts
Removed unnecessary method set_unlock_at_as_stop_duration()
|
2024-07-14 21:47:43 +02:00 |
|
simwai
|
77b4689ac8
|
Fixed implementation of unlock_at and updated unit tests
|
2024-07-05 22:14:35 +02:00 |
|
simwai
|
2b456cbdeb
|
Added unlock_at field for protection config
|
2024-07-04 10:29:13 +02:00 |
|
Matthias
|
6bfe7aa72d
|
ruff format: plugins/protections
|
2024-05-13 07:10:25 +02:00 |
|
Matthias
|
667853c504
|
Use Alias to type config objects
|
2022-09-18 13:20:55 +02:00 |
|
Matthias
|
f5f599c7f0
|
Add LowProfitPairs only_per_side option
|
2022-05-07 15:25:15 +02:00 |
|
Matthias
|
7c79d937e0
|
Properly type "side" parameter
|
2022-04-24 14:33:24 +02:00 |
|
Matthias
|
b7cada1edd
|
Convert ProtectionReturn to dataclass
|
2022-04-24 14:33:24 +02:00 |
|
Matthias
|
9e199165b4
|
Update protection-interface to support per-side locks
|
2022-04-24 14:33:24 +02:00 |
|
Matthias
|
53a57f2c81
|
Change some types
Fix types of new model object
|
2021-02-27 09:33:00 +01:00 |
|
Matthias
|
98c88fa58e
|
Prepare protections for backtesting
|
2020-12-07 11:39:01 +01:00 |
|
Matthias
|
0e2a43ab4d
|
Add duration_explanation functions
|
2020-12-07 11:12:09 +01:00 |
|
Matthias
|
eb952d77be
|
Move lookback_period to parent __init__
|
2020-12-07 08:27:14 +01:00 |
|
Matthias
|
089c463cfb
|
Introduce max_drawdown protection
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
4351a26b4c
|
Move stop_duration to parent class
avoids reimplementation and enhances standardization
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
8f958ef723
|
Improve login-mixin structure
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
5e3d2401f5
|
Only call stop methods when they actually support this method
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
8ebd6ad200
|
Rename login-mixin log method
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
2e5b9fd4b2
|
format profit in low_profit_pairs
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
59091ef2b7
|
Add helper method to calculate protection until
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
9484ee6690
|
Test for low_profit_pairs
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
bb06365c50
|
Improve protection documentation
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
00d4820bc1
|
Add low_profit_pairs
|
2020-12-07 08:23:10 +01:00 |
|