sim_setups
Simultaneous setups (before the break): a concentration of setup bars in one direction across a basket of symbols. A technical signals screener on your own data, any timeframe.
Docs: "A concentration of signals in the same sector or index identifies a potential
simultaneous break: it fires if all of the signals go in force." Returns a ranked list per
direction: count, % of basket, symbols, each with trigger, target and level of reclaim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | Current time, ISO 8601. Decides if the last bar is still open. Default: the server clock. | |
| as_of | No | Optional ISO time. Use only bars that start at or before this time (replay a past bar). | |
| basket | Yes | Bars per symbol on ONE timeframe, oldest first: {"XLE": [...], "XOM": [...], ...}. Same bar format as find_signals. Limits: 60 symbols, 500 bars per symbol (10 to 50 are enough). Swing: a sector ETF + its holdings on W. Intraday: SPY QQQ DIA IWM on 30 or 60. | |
| timeframe | No | Timeframe of the bars: 5, 15, 30, 60, D, W, M, Q or Y. | W |
| strict_setup_bar | No | True (default): count only the setup bars on the owner list (2d green / 2d hammer for longs, 2u red / 2u shooter for shorts, inside bars both ways). False: any docs reversal setup. |