diff --git a/index.html b/index.html index 108cae1..37604d0 100644 --- a/index.html +++ b/index.html @@ -3531,13 +3531,13 @@
No ping messages are sent from the websocket server. Unsolicited ping messages are allowed and will receive pongs back.
Snapshots are collected by parsing on-chain transaction logs. For convience the below are parsed logs collected, stored as a CSV, and stored off-chain (~99% of records).
+Snapshots are collected by parsing on-chain transaction logs. For convience the below are parsed logs collected, stored as a CSV, and stored off-chain (~99% of records). Records are updated once per day.
Please share any transaction signatures or time ranges you believe might be missing in Drift Protocol Discord.
mainnet-beta: https://drift-historical-data.s3.eu-west-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/
mainnet-beta: https://drift-historical-data-v2.s3.eu-west-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/
devnet: https://drift-historical-data.s3.us-east-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/
trades | -user/${accountKey}/trades/${year}/${month} |
+user/${accountKey}/tradeRecords/${year}/${year}${month}${day} |
|
market-trades | -market/${marketSymbol}/trades/${year}/${month}/${day} |
+market/${marketSymbol}/tradeRecords/${year}/${year}${month}${day} |
|
funding-rates | -market/${marketSymbol}/funding-rates/${year}/${month} |
+market/${marketSymbol}/fundingRateRecords/${year}/${year}${month}${day} |
|
funding-payments | -user/${accountKey}/funding-payments/${year}/${month} |
+user/${accountKey}/fundingPaymentRecords/${year}/${year}${month}${day} |
|
deposits | -user/${accountKey}/deposits/${year}/${month} |
+user/${accountKey}/depositRecords/${year}/${year}${month}${day} |
|
liquidations | -user/${accountKey}/liquidations/${year}/${month} |
+user/${accountKey}/liquidationRecords/${year}/${year}${month}${day} |
|
candles | -market/${marketSymbol}/candles/${year}/${month}/resolution/${candleResolution} |
+settle-pnl | +user/${accountKey}/settlePnlRecords/${year}/${year}${month}${day} |
settle-pnl-records | -user/${accountKey}/settlePnls/${year}/${month} |
+lp | +user/${accountKey}/lpRecord/${year}/${year}${month}${day} |
+
insurance-fund-stake | +authority/${authorityAccountKey}/insuranceFundStakeRecords/${year}/${year}${month}${day} |
import requests
-outcsv = requets.get('https://drift-historical-data.s3.eu-west-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/user/2dy78vpWpquDgAoLB8w8Ewfns9WXYzQx4CGt3HSgZLEe/trades/2023/4')'
-
curl https://drift-historical-data.s3.eu-west-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/user/2dy78vpWpquDgAoLB8w8Ewfns9WXYzQx4CGt3HSgZLEe/trades/2023/4 --output out.csv.gz
+outcsv = requets.get('https://drift-historical-data-v2.s3.eu-west-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/user/FrEFAwxdrzHxgc7S4cuFfsfLmcg8pfbxnkCQW83euyCS/tradeRecords/2023/20230201')'
+
curl https://drift-historical-data-v2.s3.eu-west-1.amazonaws.com/program/dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH/user/FrEFAwxdrzHxgc7S4cuFfsfLmcg8pfbxnkCQW83euyCS/tradeRecords/2023/20230201 --output out.csv.gz