Variable ParamKindConst

ParamKind: {
    CashFlow: "CashFlow";
    Fee: "Fee";
    Leverage: "Leverage";
    Notional: "Notional";
    Pnl: "Pnl";
    PositionSize: "PositionSize";
    Price: "Price";
    Quantity: "Quantity";
    Volume: "Volume";
} = ...

Parameter type attached to numeric validation and arithmetic errors. Mirrors the core ParamKind discriminant.

Type declaration

  • ReadonlyCashFlow: "CashFlow"

    Cash-flow parameter.

  • ReadonlyFee: "Fee"

    Fee parameter.

  • ReadonlyLeverage: "Leverage"

    Leverage parameter.

  • ReadonlyNotional: "Notional"

    Order notional parameter.

  • ReadonlyPnl: "Pnl"

    Profit-and-loss parameter.

  • ReadonlyPositionSize: "PositionSize"

    Signed position-size parameter.

  • ReadonlyPrice: "Price"

    Price parameter.

  • ReadonlyQuantity: "Quantity"

    Quantity parameter.

  • ReadonlyVolume: "Volume"

    Traded volume parameter.