Skip to main content

draftMarketAlert

Compile a sentence into a market_condition alert rule: exchange, pair, direction, percent move and time window. Creates nothing; send the returned input to createAlertRule to create it. The alerts page offers the same compile and edits the result like any other rule.

draftMarketAlert(
input: MarketAlertIntentInput!
): MarketAlertDraft!

Arguments​

draftMarketAlert.input ● MarketAlertIntentInput! non-null input​

Type​

MarketAlertDraft object​

A compiled market alert. Nothing has been created.