# Historical Prices Discrepancy

**URL:** <https://forum.alpaca.markets/t/historical-prices-discrepancy/12252>\
**Category:** Alpaca Trading\
**Created:** [April 25, 2023, 8:07am UTC](https://forum.alpaca.markets/t/historical-prices-discrepancy/12252 "2023-04-25T08:07:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_W](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/steve_w/32/5323_2.png) [@Steve\_W](https://forum.alpaca.markets/u/Steve_W)\
**Post date:** [April 25, 2023, 8:07am UTC](https://forum.alpaca.markets/t/historical-prices-discrepancy/12252/1 "2023-04-25T08:07:10Z")

</div>

Hi I’ve noticed that there might be discrepancies between daily and per-minute historical prices. I’m looking at the prices for SPY on 2022-12-22 using the following:

```auto
request_params = StockBarsRequest(
                        symbol_or_symbols=["SPY"],
                        timeframe=TimeFrame.Minute,
                        start="2022-12-22 09:30:00",
                        end="2022-12-22 10:00:00"
                 )
bars = client.get_stock_bars(request_params)
bars_df = bars.df

```

The opening price at 0930 is 386.69 and close 386.69. However, the daily high for that day is 386.2134 and open 383.05:

```auto
request_params = StockBarsRequest(
                        symbol_or_symbols=["SPY"],
                        timeframe=TimeFrame.Day,
                        start="2022-12-22 00:00:00",
                        end="2022-12-23 00:00:00"
                 )
bars = client.get_stock_bars(request_params)
bars_df = bars.df

```

How come the daily high is lower than the per-minute open price at 0930?

Any advice appreciated.
