MarketDataBackfillJob
No description
type MarketDataBackfillJob implements Node {
id: ID!
exchange: String!
tradingMode: String!
pair: String!
timeframe: String!
kind: String!
gapKind: MarketDataBackfillJobGapKind!
requestID: String!
startMs: Int!
endMs: Int!
priority: Int!
status: MarketDataBackfillJobStatus!
attempts: Int!
lastError: String
notBefore: Time!
requestedBy: String
runnerFairnessKey: String!
claimedBy: String!
leaseExpiresAt: Time
createdAt: Time!
updatedAt: Time!
}
Fields
MarketDataBackfillJob.id ● ID! non-null scalar
MarketDataBackfillJob.exchange ● String! non-null scalar
MarketDataBackfillJob.tradingMode ● String! non-null scalar
MarketDataBackfillJob.pair ● String! non-null scalar
MarketDataBackfillJob.timeframe ● String! non-null scalar
MarketDataBackfillJob.kind ● String! non-null scalar
MarketDataBackfillJob.gapKind ● MarketDataBackfillJobGapKind! non-null enum
backfill = extending history backward; upfill = catching up forward to now
MarketDataBackfillJob.requestID ● String! non-null scalar
ULID grouping jobs enqueued together by one EnsureAvailable call.
MarketDataBackfillJob.startMs ● Int! non-null scalar
MarketDataBackfillJob.endMs ● Int! non-null scalar
MarketDataBackfillJob.priority ● Int! non-null scalar
Lower = higher priority. 0 = user-initiated, 10 = background.
MarketDataBackfillJob.status ● MarketDataBackfillJobStatus! non-null enum
MarketDataBackfillJob.attempts ● Int! non-null scalar
MarketDataBackfillJob.lastError ● String scalar
MarketDataBackfillJob.notBefore ● Time! non-null scalar
Earliest time this job is eligible to run (for backoff)
MarketDataBackfillJob.requestedBy ● String scalar
Free-form tag describing the requester (runner:uuid, backtest:uuid, etc.)
MarketDataBackfillJob.runnerFairnessKey ● String! non-null scalar
Fairness key for multi-writer claim ordering. Derived from requested_by (strip 'runner:' prefix if present). Interleaves jobs across runners so one runner's 10k-job enqueue doesn't starve another runner's 50-job enqueue.
MarketDataBackfillJob.claimedBy ● String! non-null scalar
Pod identity currently holding the lease on this row. Empty when the row is unclaimed or its lease has expired.
MarketDataBackfillJob.leaseExpiresAt ● Time scalar
Expiry of the current claim lease. Any worker may reclaim a row whose lease_expires_at is NULL or already past — covers crashed/SIGKILLed workers without a separate sweep.
MarketDataBackfillJob.createdAt ● Time! non-null scalar
MarketDataBackfillJob.updatedAt ● Time! non-null scalar
Interfaces
Node interface
An object with an ID. Follows the Relay Global Object Identification Specification
Member Of
MarketDataBackfillJobsPage object