Mt5pro-bot2/python/core/models.py

10 lines
228 B
Python

from dataclasses import dataclass
@dataclass
class Signal:
symbol: str
side: str # "buy" | "sell"
sl_distance: float # en prix
tp_distance: float # en prix
strategy: str
comment: str = ""