drift-labs/driftpy

Historical data - how to fetch markets data?

Opened this issue · 1 comments

I am trying to fetch historical data for markets, specifically where type == Prediction (as described in the API docs).

I used the endpoint https://data.api.drift.trade/contracts but the response didn't include any Prediction markets. How can I query those?

I also tried the historical snapshots (on S3), but didn't succeed either.

This is related to #201 but not a duplicate.