Promote production portfolio strategy
This commit is contained in:
@@ -34,5 +34,5 @@ class PaperTrade(Base):
|
||||
)
|
||||
close_price: Mapped[float | None] = mapped_column(Float, nullable=True)
|
||||
closed_at: Mapped[datetime | None] = mapped_column(DateTime(timezone=True), nullable=True)
|
||||
# How the trade was closed: "trailing" | "stop" | "target" | "manual".
|
||||
# How the trade was closed: "time" | "trailing" | "stop" | "target" | "manual".
|
||||
close_reason: Mapped[str | None] = mapped_column(String(10), nullable=True)
|
||||
|
||||
@@ -30,6 +30,10 @@ class TradeSetup(Base):
|
||||
# time. Since July 2026 this is residual 12-1 momentum when benchmark data is
|
||||
# available, with raw 12-1 as a fallback.
|
||||
momentum_percentile: Mapped[float | None] = mapped_column(Float, nullable=True)
|
||||
# Production ordering score. July 2026 promotion: residual momentum remains
|
||||
# the gate, while this rank blends residual momentum with realized volatility.
|
||||
strategy_rank: Mapped[float | None] = mapped_column(Float, nullable=True)
|
||||
volatility_percentile: Mapped[float | None] = mapped_column(Float, nullable=True)
|
||||
targets_json: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
conflict_flags_json: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
recommended_action: Mapped[str | None] = mapped_column(String(20), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user