Skip to content

SerializedInsight

QuantConnect.Algorithm.Framework.Alphas.Serialization.SerializedInsight

SerializedInsight()
SerializedInsight(insight: Insight)

Bases: Object

DTO used for serializing an insight that was just generated by an algorithm. This type does not contain any of the analysis dependent fields, such as scores and estimated value

Signature descriptions:

  • Initializes a new default instance of the SerializedInsight class

  • Initializes a new instance of the SerializedInsight class by copying the specified insight

Parameters:

Name Type Description Default
insight Optional[Insight]

The insight to copy

None

id

id: str

See Insight.id

group_id

group_id: str

See Insight.group_id

source_model

source_model: str

See Insight.source_model

generated_time

generated_time: float

Pass-through for created_time

Deprecated as of 2020-01-23. Please use the CreatedTime property instead.

created_time

created_time: float

See Insight.generated_time_utc

close_time

close_time: float

See Insight.close_time_utc

symbol

symbol: str

See Insight.symbol The symbol's security identifier string

ticker

ticker: str

See Insight.symbol The symbol's ticker at the generated time

type

See Insight.type

reference_value

reference_value: float

See Insight.reference_value

reference_value_final

reference_value_final: float

See Insight.reference_value_final

direction

direction: InsightDirection

See Insight.direction

period

period: float

See Insight.period

magnitude

magnitude: Optional[float]

See Insight.magnitude

confidence

confidence: Optional[float]

See Insight.confidence

weight

weight: Optional[float]

See Insight.weight

score_is_final

score_is_final: bool

See InsightScore.is_final_score

score_magnitude

score_magnitude: float

See InsightScore.magnitude

score_direction

score_direction: float

See InsightScore.direction

estimated_value

estimated_value: float

See Insight.estimated_value

tag

tag: str

See Insight.tag

old_created_time

old_created_time: float

See Insight.generated_time_utc

old_close_time

old_close_time: float

See Insight.close_time_utc