We have introduced two new fields to the Pyth Pro price payload for Spot feeds: emaPrice and emaConfidence. These fields deliver Exponential Moving Average (EMA) values, offering a refined, smoothed perspective on price and confidence metrics.
New Fields
| Field | Type | Description |
|---|---|---|
emaPrice |
i64 (optional, non-zero) |
Exponential moving average of the price, expressed as a mantissa. |
emaConfidence |
i64 (optional, positive) |
Exponential moving average of the confidence, expressed as a mantissa. |
Both fields share the same exponent as the standard price field:
decimal_ema_price = emaPrice × 10^exponent
Availability
These fields are optional—they appear only if explicitly requested in your subscription configuration. Existing integrations remain entirely unaffected.
Example Response
{
"parsed": {
"priceFeeds": [
{
"price": "11223843563091",
"exponent": -8,
"confidence": 1373488286,
"marketSession": "regular",
"feedUpdateTimestamp": 1758690761750000,
"emaPrice": "11223843563091",
"emaConfidence": 1347630281
}
]
}
}
Documentation
For comprehensive details, consult the updated Payload Reference.