screamer.js
    Preparing search index...

    Function BacktestTradesOrders

    • Backtest a two-sided order poster against the trade tape, filling resting quotes when prints cross them, into a costed equity curve.

      Parameters

      • makerFee: number = 0.0

        Fractional fee on a maker fill; negative for a rebate.

      • takerFee: number = 0.0

        Fractional fee on a taker fill (a market order that sweeps any print).

      • fill: string = "touch"

        Fill rule for a trade at your price. "touch" fills a participation partial; "breach" fills only on a trade through.

      • participationRatio: number = 1.0

        Fraction of an at-price trade's size captured (front-of-queue at 1.0).

      • tickSize: number = 0.0

        Accepted for interface uniformity; currently unused on the tape (see Limitations).

      • minPosition: number = -Infinity

        Inventory floor; sell fills are capped so the position never falls below it.

      • maxPosition: number = Infinity

        Inventory ceiling; buy fills are capped so the position never exceeds it.

      • multiplier: number = 1.0

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

      • makerFeePerContract: number = 0.0

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

      • takerFeePerContract: number = 0.0

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

      Returns ScreamerOp

      https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.