Learn › Glossary › Minute Bars

Minute Bars

Price history summarized per minute: open, high, low, close, volume for each 60-second slice. Minute resolution is fine enough to model intraday triggers, resting-order fills, and realistic entry prices, while remaining compact enough to backtest years in seconds — the practical sweet spot for retail systematic trading.

A minute bar is one row of price history for one 60-second slice of the trading day. It records the first trade price (open), the highest and lowest prices (high and low), the last price (close) and the number of shares traded (volume). A backtest that reads minute bars sees the market as a few hundred small steps a day. A backtest that reads daily bars sees one step.

DeployQuant's backtests run on minute-resolution consolidated US market data from 2021-01-04 to 2026-10-02, which covers 1,444 sessions. The rules in the 12 strategy templates decide once a day, but orders are filled on minute bars, so an entry at the open gets the price of an actual minute and not an assumed daily figure. Python strategies can also run on 1-second bars.

This entry explains what a minute bar holds, what it allows a backtest to model that a daily bar cannot, and where it stops being enough. It uses the measured behaviour of six funds in the library, SPY, QQQ, TLT, TQQQ, IWM and UVXY, to show how much happens inside a day.

What a minute bar contains

Each bar has five numbers. The open is the price of the first trade in the minute, and the close is the price of the last. The high and low are the extremes reached in between. Volume counts the shares that changed hands. A bar says nothing about the order in which the high and the low happened, and it hides every trade between them.

The data used here is consolidated, meaning it combines trades from all US exchanges and not one venue's feed. The glossary entry on consolidated market data covers the difference. A minute bar built from one exchange can show a thin volume and a price that other venues did not print, while a consolidated bar shows the whole market's volume for that minute.

Stacking bars gives every coarser view. Sixty minute bars make an hour and the bars of one session make a day, so a daily open, high, low and close can always be rebuilt from minute data, but minute data cannot be rebuilt from daily data. That one-way relationship is why a backtest on minutes can run daily rules, and a backtest on daily bars cannot test an intraday rule.

A short worked case helps. Suppose a template reads yesterday's close and decides to buy. The order goes in at the open. In a daily backtest the fill is whatever number the test assumes for that day. In a minute backtest the fill is the price of a specific bar, and the log of the trade records which one. Reading why every trade happened, with the prices and indicator values the strategy saw at that moment, is part of the product description, and minute data is what makes those prices concrete.

How minute bars set the fill price

The strategy templates in the library check their conditions once a day. A typical rule reads "WHEN the market opens, IF not invested AND RSI(2) is under 10, THEN buy with 98% of the sleeve". The condition uses yesterday's data. The order is then sent at the open, and the engine fills it on a minute bar. The fill price comes from a bar that existed, with a volume that was traded.

Daily-bar backtests have to guess here. They usually assume a fill at the day's open or close, and neither is a price a trader could be sure of getting. A minute bar gives the first minutes of the session, when the opening price is least stable. The method note on every backtest page says the same thing in one line: orders fill on minute bars, and the headline run has no fees or slippage. Cost runs of 5 and 10 basis points show how much a charge on every trade would take away.

The volume field matters for the same reason. The median minute on SPY carried 107,870 shares. On QQQ it was 77,976, on TLT 35,636, on IWM 46,034 and on TQQQ 285,786.5. UVXY's median minute carried 1,145 shares. A $10,000 order is small against the first group and may take a larger part of a minute on a thin fund. A minute bar records that volume, and a daily bar blurs it into one total.

Dollar volume gives the same ordering. The average daily dollar volume was $30,453,859,411 for SPY, $18,772,024,579 for QQQ, $5,885,548,447 for IWM, $4,150,045,180 for TQQQ, $2,159,787,473 for TLT and $458,284,172 for UVXY. Every one of these funds is deep enough for a $10,000 sleeve on a normal day. The difference shows up inside a minute, which is the unit the engine fills on, and in the largest moves, when a fund's volume and price both swing.

How much happens inside a day

The average intraday range, the distance between the day's high and low, was 1.15% for SPY, 1.58% for QQQ, 0.94% for TLT, 1.75% for IWM, 4.74% for TQQQ and 7.03% for UVXY. A daily bar keeps these two extremes but not their order. A minute series says whether the low came first or the high did, and a trigger such as "sell at +7%" depends on that order.

Average up days and down days show the same scale. SPY's average up day was 0.74% and down day -0.74%. QQQ's were 1.01% and -1.06%. TQQQ's were 3.01% and -3.22%, and UVXY's were 5.15% and -4.02%. For a fund that moves 3% on a normal day, an entry at the open and an entry an hour later can differ by more than a typical strategy's average trade.

Overnight gaps are part of the picture. The average gap between one close and the next open was 0.44% for SPY, 0.59% for QQQ, 0.54% for TLT, 0.61% for IWM, 1.78% for TQQQ and 2.53% for UVXY. A rule that trades at the open sits right after the gap, and a minute backtest shows the price of the first minute after it.

Size and volatility put these ranges in context. Annualized volatility over the window was 16.41% for SPY, 15.33% for TLT, 22.39% for QQQ, 22.35% for IWM, 67.11% for TQQQ and 103.95% for UVXY. The deepest drawdowns from a daily peak were -24.51% for SPY, -35% for QQQ, -44.06% for TLT, -31.92% for IWM, -81.68% for TQQQ and -99.95% for UVXY. UVXY's total return was -99.94% and TQQQ's was 291.92%. Funds with a wide intraday range are the ones where a rule's fill time moves the result most, and the minute series is what records it.

Overnight and intraday returns

Minute and daily data both allow a split of total return into the part earned overnight (close to next open) and the part earned during the session (open to close). Over the window the overnight share of total return was 62.46% for SPY, 64.64% for QQQ and 74.87% for TQQQ. For UVXY it was 45.66%, with 54.34% intraday.

TLT and IWM show how odd the split can look. TLT's overnight share was 136.58% and its intraday share was -36.58%, which means the fund lost money during sessions and the whole gain came overnight, on a fund that lost 40.49% in total. IWM's overnight share was 165.24% and its intraday share -65.24%, while the fund gained 55.8%. A share above 100% is not an error. It marks a fund where the session itself subtracted from the return.

The split matters for a minute-bar system because it sets how much a rule can capture. A rule that buys at the open and sells at the close, an intraday rule, owns only the session part. On IWM that part was negative across the window. A rule that holds overnight owns the gap. The templates in the library hold for days, and an entry at the open takes the gap as already priced. Whether a given fund's return came mostly from nights or mostly from sessions is one of the first things a minute-bar study can show.

Why minute backtests can still be fast

Minute data sounds heavy. The engine's published benchmark ran four event-driven engines on SPY minute bars from 2021-01-04 to 2026-06-09, about 530,000 bars, and DQengine finished a strategy that does nothing in 1.80 seconds and a crossover strategy with 66 trades in 2.66 seconds. It processed about 199,000 bars a second on one CPU core. The reference run that places 520 fills over 1,364 sessions took 1.90 seconds.

Those numbers are why the product can offer a multi-year minute backtest in seconds. The compactness in the definition above is the practical point: years of minute history fit in memory, and a rule can be tested, changed and tested again in quick succession.

Which strategies lean on minute detail

The 12 templates in the library fall into two groups by trade count. The ones that trade often depend more on fill quality, and the ones that trade rarely depend less. The median round trips per fund across the 59 funds were 166 for the RSI(2) snapback, 106 for the weekly 7% target and 69 for the monthly cycle. The EMA 12/26 trend made 22, the 200-day regime filter 18, the SMA 10/50 trend 17, RSI mean reversion 15 and 3-month momentum 12.

At the other end, the momentum breakout made 6, the trend with a trailing stop 4, the golden cross 3 and the dip buyer 2. A rule with 3 trades in 5.74 years barely notices whether a fill came at the open or a few minutes later. A rule with 166 notices every cent, because each of its trades earns a small amount and the entry and exit prices come from minute bars.

The median CAGRs show a link, with one caveat. The weekly 7% target had a median CAGR of 6.61%, the monthly cycle 5.46% and the RSI(2) snapback 4.74%, all high-turnover rules. The golden cross had 2.05% and the dip buyer 1.33%. Turnover and return moved together here, but the table cannot show that the reason is fill detail. It shows only that the high-trade rules are the ones where minute-level fills matter most.

What a minute bar leaves out

A minute bar is a summary, not a record of every trade. Two limits apply to every result in the library.

The first is order inside the bar. If a bar's low is below a stop and its high is above a target, the bar does not say which was touched first. A backtest has to pick a rule for that case, and different engines pick differently. Tick data resolves it, and 1-second bars narrow it.

The second is slippage and fees. The headline backtests charge nothing. A fill at a minute bar's price assumes the order found the volume at that price, and larger orders on thinner funds would not. The cost runs add 5 and 10 basis points per trade to show the effect, and the effect grows with the number of trades. That is also why the volume figures above are listed: a median minute of 1,145 shares on UVXY is a different fill problem from 107,870 on SPY.

Minute data also does not remove the in-sample limit. A backtest is evidence, and not proof. The related entry on backtesting covers that point. A finer data resolution makes the fills more realistic and does nothing about overfitting, one window or hypothetical results.

A last point concerns the window. Minute history is available from 2021-01-04, which is about 5.7 years and 1,444 sessions. That span includes the 2022 decline and the recoveries that followed, but a single window is still a single window. A strategy that looks sound on 1,444 sessions of minute bars has been tested on a lot of bars and not on a lot of independent market regimes, and the bar count should not be read as the sample size.

Minute bars or daily bars

The library's answer on minute versus daily data goes through the choice in detail. The short version from the data above: a rule that checks once a month depends less on the path inside a day. A rule that trades every few days, or one with a stop, a target or a time-of-day condition, depends on that path, and only minute data records it.

The cost of minute data is storage and run time, and the engine numbers above show that the run time is small. The data also needs to be consolidated and adjusted for splits and dividends, since trade prices in the lists on the backtest pages are adjusted ones and sit below the quotes printed at the time.

Frequently asked questions

What is a minute bar?

A minute bar is a summary of trading in one 60-second slice: the open, high, low and close prices and the volume. It is the data unit DeployQuant's backtests run on, over 1,444 sessions from 2021-01-04 to 2026-10-02.

How many minute bars are in a backtest?

The engine benchmark used about 530,000 SPY minute bars from 2021-01-04 to 2026-06-09. DQengine processed about 199,000 bars a second on one CPU core, so a run of that size takes a few seconds.

Do the strategies trade every minute?

No. The 12 templates decide once a day and send orders at the open. The orders fill on minute bars, so the fill price comes from a real minute of trading.

Is minute data more accurate than daily data?

It is more detailed. It shows the path inside the day, which matters for stops, targets and entry timing. It does not remove fees, slippage or the limits of testing on one window.

Why does volume per minute matter?

Volume says how much could trade at a price. The median minute carried 107,870 shares on SPY and 1,145 on UVXY, so the same order is a very different size against each.

Can I test shorter bars than one minute?

Python strategies on DeployQuant can run on 1-second bars. The block and template strategies use the minute data described here.

Run a strategy that uses this yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

BacktestingSimulating a strategy's rules against historical market data to estima…Consolidated Market DataThe combined stream of quotes and trades from all US exchanges (the co…

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.