From b23aef3a9947d4d3d8e87b595ecf547159df7289 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 18:36:18 +0900 Subject: feat(shared): add conviction, stop_loss, take_profit to Signal model --- shared/src/shared/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/src') diff --git a/shared/src/shared/models.py b/shared/src/shared/models.py index 0e8ca44..70820b5 100644 --- a/shared/src/shared/models.py +++ b/shared/src/shared/models.py @@ -45,6 +45,9 @@ class Signal(BaseModel): price: Decimal quantity: Decimal reason: str + conviction: float = 1.0 # 0.0 to 1.0, signal strength/confidence + stop_loss: Optional[Decimal] = None # Price to exit at loss + take_profit: Optional[Decimal] = None # Price to exit at profit created_at: datetime = Field(default_factory=lambda: datetime.now(timezone.utc)) -- cgit v1.2.3