Closed ChristianCoenen closed 2 years ago
Mark price and index price in perpetual futures tickers API are cached for 100ms. The cache is applied field-wise. You might see other fields like volume or price 24h ago are cached with a longer time, but price fields are updated in near realtime.
While searching for the best endpoint to retrieve index and mark prices for perpetual futures, I came across the tickers endpoint (
GET /futures/{settle}/tickers
). Unfortunately, it seems that the response does not include any timestamp information.Is there any way to retrieve both the index and mark prices for a perpetual futures contract in addition to the exact timestamp for when the index and mark price was calculated?
edit: As long as there is no timestamp, it would be good to know whether the index and mark prices are cached like the order books (if so, for how long?) or if I can be sure to always receive the current index and mark prices when my request is processed.