General
This commit is contained in:
+13
-1
@@ -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
|
||||
Reference in New Issue
Block a user