screamer.js
    Preparing search index...

    Interface BacktestOHLCOrdersOptions

    The settings of BacktestOHLCOrders by name, for BacktestOHLCOrders({ ... }).

    interface BacktestOHLCOrdersOptions {
        fill?: string;
        makerFee?: number;
        makerFeePerContract?: number;
        maxPosition?: number;
        minPosition?: number;
        multiplier?: number;
        participationRatio?: number;
        slippage?: number;
        slippageUnit?: string;
        takerFee?: number;
        takerFeePerContract?: number;
        tickSize?: number;
    }
    Index
    fill?: string

    Fill rule. "touch" fills when the bar's low/high reaches your quote price; "breach" requires the bar to trade through it.

    "touch"

    makerFee?: number

    Fractional fee on a passive (resting) fill; negative for a rebate.

    0.0

    makerFeePerContract?: number

    Fixed fee (or rebate when negative) charged per contract on maker fills.

    0.0

    maxPosition?: number

    Inventory ceiling; buy fills are capped so the position never exceeds it. The default, inf, is no bound.

    Infinity

    minPosition?: number

    Inventory floor; sell fills are capped so the position never falls below it. The default, -inf, is no bound.

    -Infinity

    multiplier?: number

    Contract multiplier applied to mark-to-market PnL, fill slippage, and proportional fees.

    1.0

    participationRatio?: number

    Fraction of the quoted size captured on each fill (front-of-queue at 1.0).

    1.0

    slippage?: number

    Adverse price offset on every taker (market) fill, read in slippage_unit. A buy fills higher and a sell lower; resting limit fills never slip.

    0.0

    slippageUnit?: string

    Unit of slippage: "fraction" of the reference price (5 bps = 5e-4), "ticks" of tick_size, or "price" (an absolute amount).

    "fraction"

    takerFee?: number

    Fractional fee on a marketable (taker) fill.

    0.0

    takerFeePerContract?: number

    Fixed fee (or rebate when negative) charged per contract on taker fills.

    0.0

    tickSize?: number

    Instrument price grid (0 = continuous). Slippage offsets round up to whole ticks; the "ticks" slippage unit counts in this step.

    0.0