refactor to generic classes

This commit is contained in:
null committed 2024-03-09 20:13:30 +01:00
1 parent ae707720bc
commit 1399cdacca
9 files changed
+29 -218

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
from dataclasses import dataclass
from .Strategy import Strategy
@dataclass
class conditions(Strategy):
id: str
symbol: str
condition: str
value: float
disabled: bool