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