Meng Xiangzhuo
|
41b725714f
|
chore: bump ruff target-version to 3.10
|
2024-11-08 04:37:33 +08:00 |
|
Matthias
|
d8e41fa8b1
|
chore: update plugins to modern typing syntax
|
2024-10-04 07:02:20 +02:00 |
|
Matthias
|
dcc9d20cca
|
Remove unnecessary statement
|
2024-07-16 07:31:11 +02:00 |
|
Matthias
|
be3fcd90e2
|
Remove unneeded property
|
2024-07-16 07:14:33 +02:00 |
|
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
|
1e36bc98b9
|
chore: Remove unused method
|
2024-07-16 06:35:32 +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
|
af505b346c
|
Fixed an access on the config by a wrong config key
|
2024-07-05 22:17:40 +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
|
a9732c6195
|
Fix odd formatting by ruff format
|
2024-05-13 07:10:25 +02:00 |
|
Matthias
|
6bfe7aa72d
|
ruff format: plugins/protections
|
2024-05-13 07:10:25 +02:00 |
|
Christian Clauss
|
99b4767bf4
|
Fix typos discovered by codespell
|
2024-04-18 22:51:25 +02:00 |
|
Matthias
|
c303d47f26
|
Ensure stop_duration is converted to int
closes #9099
|
2023-08-23 15:16:14 +02:00 |
|
Matthias
|
667853c504
|
Use Alias to type config objects
|
2022-09-18 13:20:55 +02:00 |
|
Matthias
|
fc201bb4ff
|
implement pairlock side further
|
2022-04-24 14:33:24 +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
|
ad0e4a8567
|
Add BooleanParameter
|
2021-08-04 20:52:56 +02:00 |
|
Matthias
|
091bf7c4d2
|
Output protection space
|
2021-08-04 06:50:14 +02:00 |
|
Matthias
|
53a57f2c81
|
Change some types
Fix types of new model object
|
2021-02-27 09:33:00 +01:00 |
|
Matthias
|
0e2a43ab4d
|
Add duration_explanation functions
|
2020-12-07 11:12:09 +01:00 |
|
Matthias
|
d4799e6aa3
|
Implement *candle definitions
|
2020-12-07 10:54:26 +01:00 |
|
Matthias
|
eb952d77be
|
Move lookback_period to parent __init__
|
2020-12-07 08:27:14 +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
|
59091ef2b7
|
Add helper method to calculate protection until
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
2a66c33a4e
|
Add locks per pair
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
56975db2ed
|
Add more tests
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
816703b8e1
|
Improve protections work
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
f39a534fc0
|
Implement global stop (First try)
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
3447f1ae53
|
Implement first stop method
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
a0bd2ce837
|
Add first version of protection manager
|
2020-12-07 08:23:10 +01:00 |
|