Skip to main content

FreeBacktestAllowance

The read half of the Free plan's lifetime backtest gate.

These are the same numbers EnsureFreeBacktestAllowance refuses on, resolved by the same function (billing.ResolveFreeAllowance), so a counter rendered from this cannot disagree with the refusal a user gets.

A run is one DISPATCH — one thing the user pressed — not one container.

type FreeBacktestAllowance {
limit: Int!
used: Int!
remaining: Int!
}

Fields​

FreeBacktestAllowance.limit ● Int! non-null scalar​

The lifetime allowance currently in force. Runtime-tunable (VOLATICLOUD_FREE_BACKTESTS_LIFETIME), never a compiled-in constant, so do not cache it as one.

FreeBacktestAllowance.used ● Int! non-null scalar​

How many runs this user has already dispatched against the allowance.

FreeBacktestAllowance.remaining ● Int! non-null scalar​

limit - used, floored at zero.

Member Of​

SubscriptionInfo object