| Crates.io | tesser-portfolio |
| lib.rs | tesser-portfolio |
| version | 0.9.3 |
| created_at | 2025-11-19 06:23:49.62459+00 |
| updated_at | 2025-12-04 04:53:00.284584+00 |
| description | Portfolio accounting, P&L, and risk controls for Tesser |
| homepage | |
| repository | https://github.com/tesserspace/tesser |
| max_upload_size | |
| id | 1939504 |
| size | 84,726 |
Portfolio accounting primitives: tracks cash, positions, and realized/unrealized PnL.
Portfolio applies fills, updates entries/exits, and produces equity snapshots.PortfolioState so live trading can persist and reload.PortfolioConfig for setting initial equity and future risk parameters.apply_fill_positions and then feed the resulting ledger entries through apply_ledger_entries whenever orders settle.Portfolio::positions() via the StrategyContext.portfolio.snapshot() and restores with Portfolio::from_state.cargo test -p tesser-portfolio