Skip to main content

GoLivePreflight

The go-live pre-flight of a dry-run bot (T-P6-JRN-05, decision #3900 §10, #3904 Q8): what the person reads on the Journey's last step before the existing go-live flow and its step-up. Reading it changes nothing and asks for no step-up; going live still does.

type GoLivePreflight {
botID: ID!
botName: String!
strategyName: String!
exchange: GoLivePreflightExchange
backtest: GoLivePreflightBacktest
dryRun: GoLivePreflightDryRun
reviewed: Boolean!
reviewDays: Int!
stakeCurrency: String!
stakeAmount: Float
maxOpenTrades: Int
fundsRequired: Float
maxDrawdownAmount: Float
balanceStatus: GoLivePreflightBalanceStatus!
balanceFree: Float
balanceEnough: Boolean
}

Fields​

GoLivePreflight.botID ● ID! non-null scalar​

GoLivePreflight.botName ● String! non-null scalar​

GoLivePreflight.strategyName ● String! non-null scalar​

GoLivePreflight.exchange ● GoLivePreflightExchange object​

The exchange it would go live on; null when none is connected.

GoLivePreflight.backtest ● GoLivePreflightBacktest object​

Null when the strategy has no completed backtest.

GoLivePreflight.dryRun ● GoLivePreflightDryRun object​

Null when the bot has reported no results yet.

GoLivePreflight.reviewed ● Boolean! non-null scalar​

True when the dry-run ran the review's 7 days; otherwise the go-live is not reviewed.

GoLivePreflight.reviewDays ● Int! non-null scalar​

Days of dry-run the review clock reads.

GoLivePreflight.stakeCurrency ● String! non-null scalar​

The stake currency; empty when unknown.

GoLivePreflight.stakeAmount ● Float scalar​

Stake per trade; null when unlimited or unknown.

GoLivePreflight.maxOpenTrades ● Int scalar​

Max open trades; null when unlimited or unknown.

GoLivePreflight.fundsRequired ● Float scalar​

Funds required: stake × max open trades × 1.01 (a 1% buffer for fees and slippage), in the stake currency; null when either is unknown.

GoLivePreflight.maxDrawdownAmount ● Float scalar​

The backtest's max drawdown applied to the funds required, in the stake currency.

GoLivePreflight.balanceStatus ● GoLivePreflightBalanceStatus! non-null enum​

GoLivePreflight.balanceFree ● Float scalar​

Free balance in the stake currency on the exchange, when READ.

GoLivePreflight.balanceEnough ● Boolean scalar​

Whether the free balance covers the funds required; null when either is unknown.

Returned By​

goLivePreflight query