HK.6862/HKD
OfflineHAIDILAO INTL HLDG LTD / HONG KONG DOLLAR · Equity
Price
$13.89
Confidence (±)
±$0.0258
±0.1859%
Last Update
7960h ago
Quote
HKD
Confidence Band
Pyth Feed ID
0x8e903923e626102f307fd407ac7c95969ff5bc6e72ef083c5515038dca77def5
About the HK.6862/HKD Pyth feed
The HK.6862/HKD feed (HAIDILAO INTL HLDG LTD / HONG KONG DOLLAR) is an aggregated equity price published on-chain by the Pyth Network — a first-party oracle sourcing quotes from institutional publishers including exchanges, market makers and trading firms. Each update carries a confidence interval (±), an exponent and a publish timestamp, currently around $13.89. PythFeeds streams this feed live from the Hermes API and surfaces its staleness so you can see exactly how fresh the oracle price is.
On-chain (Solidity)
// Read HK.6862/HKD on-chain with the Pyth pull oracle
bytes32 constant 6862-HK_USD =
0x8e903923e626102f307fd407ac7c95969ff5bc6e72ef083c5515038dca77def5;
PythStructs.Price memory p =
pyth.getPriceNoOlderThan(6862-HK_USD, 60); // revert if >60s stale
// real price = p.price * 10 ** p.expoOff-chain (Hermes API)
// Fetch the latest HK.6862/HKD price off-chain (Hermes REST)
const id = "0x8e903923e626102f307fd407ac7c95969ff5bc6e72ef083c5515038dca77def5";
const res = await fetch(
`https://hermes.pyth.network/v2/updates/price/latest?ids[]=${id}&parsed=true`
);
const { parsed } = await res.json();
const p = parsed[0].price;
const price = Number(p.price) * 10 ** p.expo;