Skip to main content

MarketAlertDraft

A compiled market alert. Nothing has been created.

type MarketAlertDraft {
ready: Boolean!
name: String!
conditions: Map!
input: Map
notes: [String!]!
missing: [String!]!
}

Fields​

MarketAlertDraft.ready ● Boolean! non-null scalar​

True when the text compiled to a valid condition and input is set.

MarketAlertDraft.name ● String! non-null scalar​

A rule name derived from the condition.

MarketAlertDraft.conditions ● Map! non-null scalar​

The condition read so far, as the rule's conditions map.

MarketAlertDraft.input ● Map scalar​

The createAlertRule input to send verbatim. Null unless ready.

MarketAlertDraft.notes ● [String!]! non-null scalar​

Defaults the compiler applied, as sentences to show the user.

MarketAlertDraft.missing ● [String!]! non-null scalar​

Condition fields the text did not supply, or why the condition is invalid.

Returned By​

draftMarketAlert query