refactor to generic classes
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user