You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each price feed in the `priceFeeds` array represents real-time market data for a specific trading pair (e.g., BTC/USD, ETH/USD). Think of a price feed as a comprehensive snapshot of market conditions for that asset.
45
45
46
-
### Example Price Feed Response
47
-
48
46
Here's what a typical price feed looks like in a Lazer response:
49
47
50
48
```json
@@ -72,23 +70,6 @@ Here's what a typical price feed looks like in a Lazer response:
72
70
}
73
71
```
74
72
75
-
### Price Feed Structure
76
-
77
-
Each price feed object contains the following fields:
@@ -187,7 +164,6 @@ Timestamp when funding rate was last calculated or applied
187
164
-**Type**: `optional u64` (microseconds)
188
165
-**Availability**: Only for FeedKind::FundingRate feeds, only if requested in subscription
189
166
-**Invariants**: Valid Unix timestamp in microseconds when present
190
-
-**Business Value**: Critical for funding payment timing and schedule management
191
167
192
168
#### Funding Update Interval - `funding_interval`
193
169
@@ -197,9 +173,8 @@ Duration between consecutive funding rate calculations
197
173
-**Availability**: Only for FeedKind::FundingRate feeds, only if requested in subscription
198
174
-**Invariants**: Positive value when present
199
175
-**Typical Values**: 28,800,000,000 microseconds (8 hours) for major exchanges
200
-
-**Business Value**: Used for funding cost calculations and payment scheduling
201
176
202
-
## Available Properties by Use Case
177
+
## Available Properties by Feed Types
203
178
204
179
Based on the [API documentation](https://pyth-lazer.dourolabs.app/docs), you can request specific properties when subscribing:
205
180
@@ -237,12 +212,6 @@ Lazer offers multiple delivery channels to match your latency and frequency requ
237
212
|`fixed_rate@50ms`| Updates every 50 milliseconds | Low-latency trading systems |
238
213
|`fixed_rate@200ms`| Updates every 200 milliseconds | Standard trading applications |
239
214
240
-
<Callouttype="default">
241
-
**Channel Selection**: Most production applications use `real_time` for
242
-
maximum freshness. Fixed-rate channels provide predictable update timing for
243
-
applications requiring consistent intervals.
244
-
</Callout>
245
-
246
215
## Signature Schemes and Binary Formats
247
216
248
217
Lazer provides multiple cryptographic formats to support different blockchain ecosystems. When you subscribe, you can request specific binary formats in the `chains` parameter:
0 commit comments