Implements comprehensive portfolio state management: - Holding dataclass with long/short support and P&L calculations - CashBalance for multi-currency cash management - PortfolioState class with: - Real-time mark-to-market valuation - Multi-currency support with exchange rate conversion - Thread-safe state updates - Position tracking with average cost calculation - Portfolio snapshots for historical tracking - PriceProvider and ExchangeRateProvider protocols - Serialization/deserialization support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| e2e | ||
| fixtures | ||
| integration | ||
| unit | ||
| CHROMADB_COLLECTION_TESTS.md | ||
| TRADE_MODEL_TEST_REFERENCE.md | ||
| __init__.py | ||
| conftest.py | ||