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
|
23cf9f47b0
|
chore: move protection validation to protectionManager
|
2024-09-29 15:06:15 +02:00 |
|
Matthias
|
6bfe7aa72d
|
ruff format: plugins/protections
|
2024-05-13 07:10:25 +02:00 |
|
Matthias
|
accc1b509b
|
Simplify class setups without inheritance
|
2023-06-29 12:16:10 +00:00 |
|
Matthias
|
994c1c5ea0
|
use Config typing in more places
|
2022-09-18 13:31:52 +02:00 |
|
Matthias
|
737bdfe844
|
Use "side" parameter when calling Pairlocks
|
2022-04-24 14:33:24 +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
|
1da091dea3
|
ProtectionManager should return the lock just created
|
2021-09-19 19:41:19 +02:00 |
|
Matthias
|
e1010ff592
|
Don't load protections from config if strategy defines a property
|
2021-06-18 19:55:53 +02:00 |
|
Matthias
|
98c88fa58e
|
Prepare protections for backtesting
|
2020-12-07 11:39:01 +01:00 |
|
Matthias
|
64d6c7bb65
|
Update developer docs
|
2020-12-07 11:17:11 +01:00 |
|
Matthias
|
5e3d2401f5
|
Only call stop methods when they actually support this method
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
e29d918ea5
|
Avoid double-locks also in per pair locks
|
2020-12-07 08:23:10 +01:00 |
|
Matthias
|
fc97266dd4
|
Add "now" to lock_pair 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
|
5133675988
|
Apply all stops in the list, even if the first would apply already
|
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 |
|