The settings by name, each one optional where the positional form's is.
https://screamer.readthedocs.io/en/latest/functions_fin/BacktestOHLCOrders.html for the full reference.
Backtest a two-sided order poster on OHLC bars, posting resting bids and asks that fill when the bar's range reaches them.
OptionalmakerFee: number
Fractional fee on a passive (resting) fill; negative for a rebate.
OptionaltakerFee: number
Fractional fee on a marketable (taker) fill.
Optionalfill: string
Fill rule. "touch" fills when the bar's low/high reaches your quote price; "breach" requires the bar to trade through it.
OptionalparticipationRatio: number
Fraction of the quoted size captured on each fill (front-of-queue at 1.0).
OptionaltickSize: number
Instrument price grid (0 = continuous). Slippage offsets round up to whole ticks; the "ticks" slippage unit counts in this step.
OptionalminPosition: number
Inventory floor; sell fills are capped so the position never falls below it. The default, -inf, is no bound.
OptionalmaxPosition: number
Inventory ceiling; buy fills are capped so the position never exceeds it. The default, inf, is no bound.
Optionalmultiplier: number
Contract multiplier applied to mark-to-market PnL, fill slippage, and proportional fees.
OptionalmakerFeePerContract: number
Fixed fee (or rebate when negative) charged per contract on maker fills.
OptionaltakerFeePerContract: number
Fixed fee (or rebate when negative) charged per contract on taker fills.
Optionalslippage: 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.
OptionalslippageUnit: string
Unit of slippage: "fraction" of the reference price (5 bps = 5e-4), "ticks" of tick_size, or "price" (an absolute amount).
https://screamer.readthedocs.io/en/latest/functions_fin/BacktestOHLCOrders.html for the full reference.
Backtest a two-sided order poster on OHLC bars, posting resting bids and asks that fill when the bar's range reaches them.