docs: account separation, BarStore auto-caching, running state display, stop idempotency
- Theory-of-Operation: per-account plugin registry path (~/.ib_plugin_store_<id>.db)
- CLI: plugin stop idempotency note; plugin list/status output format with 'running' and UUID
- Plugin-Design: state diagram display note; account-keyed state; get_bars_cached and
subscribe_live_bars sections under Market Data
- Bar-Store: add insert_bar() API section; rewrite "Using BarStore in a Plugin" with
preferred get_bars_cached and subscribe_live_bars patterns
- Plugin-Manual: state diagram display note; stop idempotency note; get_bars_cached
and subscribe_live_bars sections under §9; updated TOC
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
docs: plugin instance registry, auto-reload, and export/import (§7.1, §7.2)
Adds two new subsections to §7 State Persistence:
§7.1 Plugin Instance Registry — plugin_registry table schema and DDL,
lifecycle status tracking table, auto-reload behaviour on engine start,
config property, and full PluginStore registry API reference
(upsert_registry, get_registry_entry, list_registry, delete_registry_entry).
§7.2 Export / Import — complete export document format, import_instance
force-unloaded rule, PluginStore and PluginExecutive API, CLI workflow.
Updates §7 intro to reflect SQLite backend (schema v3) and corrects the
outdated state.json description. Sidebar updated with direct links to
§7.1 and §7.2.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
docs: abandon command, market data type warning, paper test runner
- §17: document the abandon system command (cancel open orders, zero
holdings, unload); note it is engine-intercepted — no plugin impl needed
- §14 market data type: replace bare code snippet with full explanation;
add warning that order test plugins must run sequentially due to the
global reqMarketDataType toggle in OrderTestPluginBase._fetch_price
- §21 (new): paper test runner — market-hours requirement, CLI flags
including --restart-engine, _fetch_price three-tier price strategy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sync Plugin-Manual.md from updated PLUGIN_MANUAL.md
Add Plugin Manual (full authoring reference)