Replaces the O(N) database operations in the `TradeExecutor`'s `execute_decisions` SELL loop with a single `batch_remove_holdings` call to the repository. The new repository method calculates updates in memory, resolves duplicate operations on the same ticker, and issues the updates via newly implemented `psycopg2.extras.execute_batch` routines on the `SupabaseClient`. Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| dataflows | ||
| graph | ||
| llm_clients | ||
| pipeline | ||
| portfolio | ||
| __init__.py | ||
| daily_digest.py | ||
| default_config.py | ||
| notebook_sync.py | ||
| observability.py | ||
| report_paths.py | ||