refactor to generic classes

This commit is contained in:
null
2024-03-09 20:13:30 +01:00
parent ae707720bc
commit 1399cdacca
9 changed files with 29 additions and 218 deletions
+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