Skip to content

How do I read the Gap Index?

Use GET /api/v1/gap-index. It returns GapIndexDto.

Terminal window
curl https://api.squeeze.plus/api/v1/gap-index
FieldTypeMeaning
tsnumberReading time, Unix seconds
valuenumber or nullDepth-weighted mean gap size, percent
meanSignednumber or nullSame, with the sign kept
countComparablenumberStocks in the reading
countAbove, countBelownumberStocks above or below base
depthUsdnumber or nullTotal weight, USD
freshPairs24hnumberMeme pairs made in 24 hours
pairsTotalnumberAll stock pairs ever found
widestobject or nullsymbol, gapPct, depthUsd
methodologyVersionnumberMethod version, 1 today
dataStatusobjectstate and notes

dataStatus.state is old when the reading is over 60 seconds old.

Use GET /api/v1/gap-index/history?range=24h for history. It returns GapIndexPointDto[]. range can be 1h, 6h, 24h, or 7d. At most 600 points come back. Each point has ts, value, meanSigned, and countComparable.

value: null with countComparable: 0 means no stock was usable. Do not draw it as zero.

List the pairs.