Skip to main content

Module types

Module types 

Source
Expand description

Signal and fact types

Structs§

AnomalyDetection
Outcome of the anomaly test behind a factor. Fields are empty for factors that did not run one.
AnomalyThresholds
Thresholds an anomaly test was scored against.
FactDataSource
Where a fact came from.
FactFactor
One factor that contributed to a fact.
FactNlInfo
The natural-language rendering of a fact, in the caller’s language.
FactSymbol
A security a fact is about.
NlTag
One {tag, value} entry from a natural-language field.
SecurityFact
A fact (catalyst) event: something that happened to a security, with the factors, sources and prose behind it.
SecurityFactsOptions
Options for crate::SignalContext::security_facts
Signal
One signal: a strategy’s take on a security, triggered by a catalyst.
SignalsOptions
Options for crate::SignalContext::signals
SignalsResponse
A page of signals returned by crate::SignalContext::signals

Enums§

FactDirection
Side a fact or factor points to.
FactType
Kind of fact, and of the source that produced it.
Outlook
Direction a strategy expects the security to take.
SignalStatus
Where a signal is in its lifecycle.