What the menu asks a host to do when an order row is picked.

interface OrderRequest {
    paneIndex: number;
    price: null | number;
    side: "BUY" | "SELL";
    type: "MARKET" | "LIMIT" | "SL";
}

Properties

paneIndex: number
price: null | number

The price under the pointer, not snapped to the instrument's tick or tick schedule, which the widget does not know; round it (validatePrice does) before sending. Null for a market order raised off the plot.

side: "BUY" | "SELL"
type: "MARKET" | "LIMIT" | "SL"