The minimal broker write interface the OrderEngine drives: place / modify / cancel. OpenAlgoTradeFeed implements this. Distinct from the base-tier TradeFeed (a higher-level place + subscribe shape in openalgo-charts): implement OrderFeed for the engine's write path.

interface OrderFeed {
    cancel(orderId: string): Promise<void>;
    modify(orderId: string, patch: ModifyPatch): Promise<void>;
    place(
        req: PlaceRequest & { mode: TradeMode },
    ): Promise<{ orderId: string }>;
}

Implemented by

Methods