Units and general

This commit is contained in:
2026-07-28 05:12:43 +02:00
parent 7b5f03ef3c
commit 5f2ff55d35
2 changed files with 45 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
from pwp import pwp, pwp_enum
import units
@pwp_enum
class MarketTrend:
class Bullish: pass
class Bearish: pass
class Neutral: pass
@pwp_enum
class LogKind:
class Info: pass
class Warn: pass
class Err: pass
class Debug: pass
@pwp_enum
class Signal:
symbol: str
kind: units.Direction
confidence: float
size: float
price: units.USD
take_profit: units.USD
stop_loss: units.USD