Skip to main content

MarketDataFileHandle

Presigned handle for a single market data file living in the data lake.

type MarketDataFileHandle {
exchange: String!
tradingMode: MarketDataTradingMode!
pair: String!
timeframe: CandleTimeframe!
kind: MarketDataKind!
s3Key: String!
freqtradePath: String!
presignedGetUrl: String
sizeBytes: Float!
sizeBytesUncompressed: Float!
sizeBytesCompressed: Float
compressed: Boolean!
fromMs: Float!
toMs: Float!
rowCount: Int!
expiresAt: Time!
}

Fields​

MarketDataFileHandle.exchange ● String! non-null scalar​

MarketDataFileHandle.tradingMode ● MarketDataTradingMode! non-null enum​

MarketDataFileHandle.pair ● String! non-null scalar​

MarketDataFileHandle.timeframe ● CandleTimeframe! non-null enum​

MarketDataFileHandle.kind ● MarketDataKind! non-null enum​

MarketDataFileHandle.s3Key ● String! non-null scalar​

MarketDataFileHandle.freqtradePath ● String! non-null scalar​

Relative path freqtrade expects under user_data/data/.

MarketDataFileHandle.presignedGetUrl ● String scalar​

Presigned GET URL of the file as one object. Null when the file has no single object to sign: a dataset stored as time-partitioned chunks, in readyFiles of an availability answer. requestMarketDataDownload always fills it.

MarketDataFileHandle.sizeBytes ● Float! non-null scalar​

MarketDataFileHandle.sizeBytesUncompressed ● Float! non-null scalar​

Uncompressed object size in bytes (alias of sizeBytes for clarity).

MarketDataFileHandle.sizeBytesCompressed ● Float scalar​

Compressed object size in bytes; null for legacy uncompressed files.

MarketDataFileHandle.compressed ● Boolean! non-null scalar​

Whether the underlying S3 object is gzip-compressed.

MarketDataFileHandle.fromMs ● Float! non-null scalar​

MarketDataFileHandle.toMs ● Float! non-null scalar​

MarketDataFileHandle.rowCount ● Int! non-null scalar​

MarketDataFileHandle.expiresAt ● Time! non-null scalar​

Member Of​

MarketDataAvailability object ● MarketDataDownloadPlan object