A-Share Minute Data API: A Stock Gapped Up and Is Still Up at 10:00. Has It Given Back the Gap?

TickDB Research ·

A-Share Minute Data API: A Stock Gapped Up and Is Still Up at 10:00. Has It Given Back the Gap?

When an A-share stock opens higher and is still up on the day at 10:00, how much of the opening gap is left? In a November 24 replay, the same CNY 167.73 Hygon price was 2.27% above the previous close and 1.29% below the open. Use the two baselines and the worksheet below to separate continuation, a fading gap and missing observations on your own watchlist.

You open your watchlist at 10:00. A stock that gapped up still shows a gain on the day. Before sorting by gain, check what the column measures. The previous close usually anchors the daily change, so the opening gap can hide a later decline from the open.

On November 24, 2026, Hygon opened at CNY 169.92, up 3.61% from its previous close of CNY 164.00. For a 10:00 replay checkpoint, we used the close from the minute bar labelled 09:59, CNY 167.73. The stock remained above its previous close and had already lost part of its opening gap.

At the same Hygon check price of CNY 167.73, the stock was 2.27% above the previous close and 1.29% below the open

Hygon (688041.SH), November 24, 2026. Beijing time, unadjusted prices. 09:59 is the minute-bar label in the response.

The same price answers two different questions

The change from the previous close tells you how much of the daily gain remains. The change from the open tells you whether the checkpoint price is above or below the price at which the session began. Keep CNY 167.73 fixed. Compare it with 164.00 and then with 169.92. The return changes sign, from +2.27% to −1.29%. You can also check how much of the gap remains in yuan. The opening gap was CNY 5.92. At the checkpoint, CNY 3.73 remained, about 63% of the original gap.

Cambricon offers a useful comparison on the same day. It opened 2.75% higher, behind Hygon's 3.61% gap. At the checkpoint, Cambricon was above its own open while Hygon was below its open. Ranking by the opening gap answers a different question from ranking by the move since the open at a chosen checkpoint.

09:59 labelled bar closeVs previous closeVs open
Hygon at CNY 167.73+2.27%−1.29%
Cambricon at CNY 959.00+4.83%+2.02%

This is a historical replay of two stocks on one date. The comparisons show where the price stood at the checkpoint. Inspect the intervening bars to see the path it took.

Apply the check to your own watchlist

Fix the watchlist, session date and checkpoint. Fill in the following fields for each stock, keeping the market date, price convention and bar label consistent. Use the Hygon row as a check on your calculation.

FieldHygon example
Session date and symbol2026-11-24 · 688041.SH
Screen and checkpointOpen above prior close · 10:00 Beijing time
Previous close and openCNY 164.00 · CNY 169.92
Check price and sourceCNY 167.73 · close of the 09:59 labelled bar · unadjusted
Actual receive timeHistorical replay. Intraday arrival was not recorded
Vs previous close / vs open+2.27% / −1.29%
ClassificationPartial fade of the opening gap

Replace the right column with your data. Divide the check price by the previous close and by the open, subtract one from each result, and format both as percentages. Confirm the open was above the previous close before classifying the gap-up stocks.

  • At or above the open. Flag stocks still above their open. Mark an exact match as unchanged from the open.
  • Between the previous close and the open. Part of the opening gap has faded while the stock remains up from the previous close.
  • At or below the previous close. At the previous close, the entire gap is gone. Flag a price below it as down on the day.
  • Missing, nonpositive or incompatible prices. Mark the observation as unknown and review it separately from gap fades.

Try one illustrative record. With a prior close of 100, an open of 99 and a check price of 101, both changes are positive. The stock opened down and then recovered. A filter based on positive returns alone would put it in the wrong group.

Which fields come from daily and minute bars?

With TickDB, take the previous session's close and the current open from daily bars. Query minute bars by symbol, interval and time range under the same price convention for the check price. Save the original bar label for a replay. For a live check, also save when the completed bar reached you, and base the decision on observations already available. TickDB A-share market data API

To test whether these gaps tend to hold, define the universe, session range, checkpoint and meaning of continuation before running the study across more dates. For an entry rule, specify the observations available before an order and the execution and cost assumptions. This article uses two examples to verify the classification procedure.

FAQ

Can I use the bar labelled 10:00 as soon as the clock reaches 10:00?

Check how your feed labels bars. A start-labelled bar may still be forming. For a live decision, check that the period has ended and the data has arrived. This replay used the stored record labelled 09:59.

Can I compare with the unadjusted prior close on an ex-date?

Check the exchange's reference price first, or align the input prices under a consistent adjustment convention. Save the basis in your worksheet so that a mechanical price adjustment is not counted as a gap fade.

References

  • TickDB candlestick documentation and the original unadjusted daily and minute-bar responses for Hygon and Cambricon for the stated November 2026 dates.

This Week's Offer

Original TickDB Black Friday subscription campaign banner

TickDB Black Friday subscription week ends at 23:59 Beijing time on November 29, 2026. Save 15% on a six-month subscription and receive an additional half month. Save 20% on an annual subscription and receive an additional month. New paid subscriptions and renewals are eligible.

7 markets · 43,111 symbols

US stocks
14,809
Hong Kong market
3,354
China stocks, ETFs & bonds
7,576
Forex & metals
1,228
Indices
13,960
Futures
1,172
Crypto
1,012
11/27/2026

Related articles

A-share market data API: Why a 300-stock report still needs a trading-date check

An after-close job can receive all 300 quotes and still contain a quote from the wrong day. In a local replay of a real CSI 300 sample, complete input updated the date in the reader file to November 20. Removing a row or changing one quote to an older date left the file on November 19. The file contained the date and row count only.

TickDB Research ·

US stock kline API: How to check batch downloads for missing and duplicate bars

How do you verify coverage after downloading US daily bars in batches? A complete AAPL response contained 15 bars. The same window with limit=2 returned the final two. Splitting the 15 bars offline produced either an extra row or a missing date at the boundary. Here is how to distinguish those cases and check your downloaded batches against a trading calendar.

TickDB Research ·

Financial data in a backtest: When can you use earnings reported after the close?

If your stock screen runs at 4 p.m. New York time, when can it use Apple's latest quarterly net income? Using EDGAR acceptance as a proxy, the July 31 screen cannot use the figure, while the August 1 screen can. We verify the amount against TickDB's response and the SEC exhibit, then show a cutoff check you can run on your own records.

TickDB Research ·