Skip to main content

CreateBotRunnerInput

CreateBotRunnerInput is used for create BotRunner object. Input was generated by ent.

input CreateBotRunnerInput {
public: Boolean
name: String!
type: BotRunnerRunnerType
config: Map
dataDownloadConfig: Map
backupGracePeriodSeconds: Int
s3Config: Map
ownerID: String!
billingEnabled: Boolean
cpuPricePerCoreHour: Float
memoryPricePerGBHour: Float
networkPricePerGB: Float
storagePricePerGB: Float
minimumChargePerBacktest: Float
minimumChargePerHyperopt: Float
minimumChargePerBotStart: Float
createdAt: Time
updatedAt: Time
botIDs: [ID!]
backtestIDs: [ID!]
hyperoptIDs: [ID!]
}

Fields​

CreateBotRunnerInput.public ● Boolean scalar​

Whether this resource is publicly visible to all authenticated users

CreateBotRunnerInput.name ● String! non-null scalar​

Runner display name

CreateBotRunnerInput.type ● BotRunnerRunnerType enum​

Runner environment type (docker, kubernetes, local)

CreateBotRunnerInput.config ● Map scalar​

Runner connection configuration (host, port, credentials, etc.)

CreateBotRunnerInput.dataDownloadConfig ● Map scalar​

Data download configuration: {exchanges: [{name, enabled, timeframes, pairs, days, tradingMode, featuredPairs}]}

CreateBotRunnerInput.backupGracePeriodSeconds ● Int scalar​

Seconds k8s waits for pod termination so a final backup can complete. Defaults to 60; bots with large DBs on slow networks may need more.

CreateBotRunnerInput.s3Config ● Map scalar​

S3 config: {endpoint, bucket, accessKeyId, secretAccessKey, region, forcePathStyle, useSSL}

CreateBotRunnerInput.ownerID ● String! non-null scalar​

Group ID (organization) that owns this bot runner

CreateBotRunnerInput.billingEnabled ● Boolean scalar​

Whether usage tracking and billing is enabled for this runner

CreateBotRunnerInput.cpuPricePerCoreHour ● Float scalar​

Price per core-hour in USD (only used if billing_enabled)

CreateBotRunnerInput.memoryPricePerGBHour ● Float scalar​

Price per GB-hour in USD (only used if billing_enabled)

CreateBotRunnerInput.networkPricePerGB ● Float scalar​

Price per GB of network transfer in USD (only used if billing_enabled)

CreateBotRunnerInput.storagePricePerGB ● Float scalar​

Price per GB of disk I/O in USD (only used if billing_enabled)

CreateBotRunnerInput.minimumChargePerBacktest ● Float scalar​

Minimum charge in CREDITS for one backtest on this runner (floor, only used if billing_enabled)

CreateBotRunnerInput.minimumChargePerHyperopt ● Float scalar​

Minimum charge in CREDITS for one hyperopt on this runner (floor, only used if billing_enabled)

CreateBotRunnerInput.minimumChargePerBotStart ● Float scalar​

Charge in CREDITS applied each time a bot starts on this runner (only used if billing_enabled)

CreateBotRunnerInput.createdAt ● Time scalar​

CreateBotRunnerInput.updatedAt ● Time scalar​

CreateBotRunnerInput.botIDs ● [ID!] list scalar​

CreateBotRunnerInput.backtestIDs ● [ID!] list scalar​

CreateBotRunnerInput.hyperoptIDs ● [ID!] list scalar​

Member Of​

createBotRunner mutation ● createBotRunnerWithPassphrase mutation