dYdX (v3 & v4 Perpetuals)
dYdX Historical Data Export Guide
Practice DeFi perpetual price discovery on your local desktop.
#01Raw Platform Data Specifications
Default File Format
JSON / CSV (indexer exports)
Timestamp Precision
ISO-8601 (2025-01-01T00:00:00.000Z)
Default Timezone
UTC
Volume Column Support
Yes (OHLCV)
#02How to Export Historical Data from dYdX (v3 & v4 Perpetuals)
1
Export candle datasets from dYdX indexer or public archive repositories.
2
Format ISO-8601 timestamps to readable datetime strings.
3
Save as clean CSV and import into BarionQuant.
#03Raw Header vs Standardized Header Mapping
| Raw Platform Column | Target Standard Column | Conversion Notes |
|---|---|---|
| startedAt (ISO string) | time | Strip T and Z indicators or let BarionQuant auto-detect ISO format. |
#04Common Import Pitfalls & File Glitches
⚠️File Trap 01
ISO-8601 strings with trailing 'Z' may require clean string parsing.
#05Frequently Asked Questions
Why practice dYdX perpetual setups offline?+
You can replay the exported candles offline. The desktop does not show resting bids and asks, and it does not guard an exchange position.