Market data API guides

Explore market integration tutorials, field definitions and examples, from your first quote to historical bars.

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

How to reconcile an ex-dividend price change before the dividend arrives

Microsoft closed \$8.69 lower per share on November 20, 2025, its ex-dividend date. For an eligible holder, adding the \$0.91 gross dividend entitlement gives a price-plus-dividend change of −\$7.78. Here is how to reconcile the price, entitlement and eventual cash receipt.

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.

TickDB Research ·

U.S. Trading Calendar API: How to Schedule After-Close Backfills on Holidays and Early Closes

When scheduling U.S. stock reports or minute-bar backfills, skip confirmed closures, adjust the window on early-close days, and flag failed calendar checks for review. Using an actual calendar response and the 2026 Thanksgiving exchange schedules, we calculate the 210-minute window for November 27 and lay out four scheduling states you can implement.

TickDB Research ·

Hong Kong Stock API: How to Check a Trade Against the Order Book After the Close

When a trade and the best ask show the same price on your Hong Kong watchlist after the close, start with the timestamps. In three actual Tencent API responses, the latest price, most recent trade and best ask all showed HK$337.40. The book was stamped nearly five hours after the trade. Use the checklist below to spot the same mismatch on your own dashboard.

TickDB Research ·