fix(ledger): disjoint unified action schema and refresh req-001 traceability docs

Co-authored-by: genichin <4282227+genichin@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-09 13:34:50 +00:00
committed by GitHub
co-authored by genichin
parent e261a41b7f
commit 42297030ca
4 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ class LedgerHistoryItem(BaseModel):
ledger_entry_id: int
portfolio_id: str
source: str
action: str
action: Literal["INVEST", "BUFFER_OUT", "BUFFER_IN", "WITHDRAW", "PROFIT", "BUY", "SELL", "REVERSAL"]
recorded_at: datetime
executed_at: datetime | None = None
order_id: str | None = None