OptionalcallbacksLifecycle callbacks (all optional)
OptionalgetRenders the portfolio snapshot into messages for the MCP (Model Context Protocol) agent (default: text per symbol)
Unique MCP (Model Context Protocol) identifier for the schema registry
OptionalminuteEstimated time in minutes for a position to reach its TP or SL.
OptionalpermissionsPer-method grants for the agent; each permission name gates the agent-facing MCP (Model Context Protocol) method of the same name. Default: all of them
OptionalpositionEntry cost in USD for opened positions. Default: GLOBAL_CONFIG.CC_POSITION_ENTRY_COST
OptionalstrategyStrategy whose live instances this MCP (Model Context Protocol) observes and trades. Optional: defaults to the single registered strategy; ambiguous (2+ registered) requires it
Registration schema of an MCP (Model Context Protocol) instance.
Binds an MCP name to a strategy: status and position commands operate on every live instance of that strategy.