From 969a778a3e835f6bf5c9cc953e8ec6c0bea9b7e0 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Tue, 28 Jul 2026 06:07:12 +0200 Subject: [PATCH] General --- src/general.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/general.py b/src/general.py index 49af437..e73d3a9 100644 --- a/src/general.py +++ b/src/general.py @@ -15,7 +15,7 @@ class LogKind: class Err: pass class Debug: pass -@pwp_enum +@pwp class Signal: symbol: str kind: units.Direction @@ -24,3 +24,15 @@ class Signal: price: units.USD take_profit: units.USD stop_loss: units.USD + +@pwp +class EventLog: + kind: LogKind + name: str + message: str + +class Position: + symbol: units.Symbol + size: f64 + entry_price: units.USD + profit: units.USD \ No newline at end of file