Interface IMCPPositionOpenCommand

Command payload for MCP.commitPositionOpen (MCP — Model Context Protocol). Opens a moonbag position (fixed 50% TP, grid-snapped hard SL) for a symbol enabled in live trading for the schema's strategy.

interface IMCPPositionOpenCommand {
    mcpName: string;
    note: string;
    position: "long" | "short";
    symbol: string;
}

Properties

mcpName: string

Name of the registered MCP (Model Context Protocol) schema issuing the command

note: string

Human-readable reason attached to the created signal

position: "long" | "short"

Trade direction: "long" (buy) or "short" (sell)

symbol: string

Trading pair symbol (e.g., "BTCUSDT")