Skip to main content

StrategyIntentInput

What a user wants from a new strategy, in the terms they would say out loud. There is deliberately no configuration here: the server picks the nearest curated template by structure and assembles the rest.

input StrategyIntentInput {
ownerID: String!
name: String!
goal: String!
indicators: [String!]
direction: PositionMode
timeframe: String
riskPosture: StrategyRiskPosture
entryThreshold: Float
exitThreshold: Float
}

Fields​

StrategyIntentInput.ownerID ● String! non-null scalar​

Organization or workspace the strategy will belong to.

StrategyIntentInput.name ● String! non-null scalar​

The strategy's name. It also becomes the Python class name.

StrategyIntentInput.goal ● String! non-null scalar​

What the strategy does, in one or two sentences. Stored as its description.

StrategyIntentInput.indicators ● [String!] list scalar​

Indicators the user named ("Ichimoku", "RSI"). Two only for one crossing the other.

StrategyIntentInput.direction ● PositionMode enum​

Which way it trades. Defaults to LONG_ONLY; shorting moves it to futures.

StrategyIntentInput.timeframe ● String scalar​

Candle interval ("15m", "1h"). Omitted keeps the template's own.

StrategyIntentInput.riskPosture ● StrategyRiskPosture enum​

How tight the stop and targets are. Defaults to BALANCED.

StrategyIntentInput.entryThreshold ● Float scalar​

Level an oscillator must reach to enter. Ignored by crossing rules, with a note.

StrategyIntentInput.exitThreshold ● Float scalar​

Level an oscillator must reach to exit.

Member Of​

draftStrategyFromIntent mutation