Skip to main content

Crate sig_types

Crate sig_types 

Source
Expand description

Core types for sigc signal compiler

This crate defines the fundamental types used across the sigc ecosystem.

Structs§

ArchivedBacktestMetrics
An archived BacktestMetrics
ArchivedBacktestPlan
An archived BacktestPlan
ArchivedBacktestReport
An archived BacktestReport
ArchivedBenchmarkMetrics
An archived BenchmarkMetrics
ArchivedDataDecl
An archived DataDecl
ArchivedIr
An archived Ir
ArchivedIrMetadata
An archived IrMetadata
ArchivedIrNode
An archived IrNode
ArchivedParamDecl
An archived ParamDecl
ArchivedShape
An archived Shape
ArchivedTypeAnnotation
An archived TypeAnnotation
BacktestMetrics
Performance metrics from a backtest
BacktestMetricsResolver
The resolver for an archived BacktestMetrics
BacktestPlan
Configuration for a backtest run
BacktestPlanResolver
The resolver for an archived BacktestPlan
BacktestReport
Results from a backtest execution
BacktestReportResolver
The resolver for an archived BacktestReport
BenchmarkMetrics
Benchmark-relative performance metrics
BenchmarkMetricsResolver
The resolver for an archived BenchmarkMetrics
BuiltinMacros
Built-in macro definitions that can be used in sigc programs
DataDecl
Data source declaration
DataDeclResolver
The resolver for an archived DataDecl
DataError
Structured error for data loading/processing failures
InferredType
Inferred type information for an expression
Ir
Intermediate representation of a compiled signal
IrMetadata
Metadata for IR provenance
IrMetadataResolver
The resolver for an archived IrMetadata
IrNode
A node in the intermediate representation
IrNodeResolver
The resolver for an archived IrNode
IrResolver
The resolver for an archived Ir
OpSignature
Operator type signature for type checking
OperatorError
Structured error for operator execution failures
ParamDecl
Parameter declaration
ParamDeclResolver
The resolver for an archived ParamDecl
PositionHistory
Daily position history for export and analysis
Shape
Shape information for tensor-like data
ShapeResolver
The resolver for an archived Shape
TypeAnnotation
Type annotation combining dtype and shape
TypeAnnotationResolver
The resolver for an archived TypeAnnotation
TypeError
Type error with location information

Enums§

ArchivedDType
An archived DType
ArchivedOperator
An archived Operator
DType
Data types supported by sigc
DTypeResolver
The resolver for an archived DType
OpArity
Operator arity (number of arguments)
Operator
Operator types in the IR
OperatorResolver
The resolver for an archived Operator
OutputType
How to derive output type from inputs
SigcError
Errors that can occur in sigc
TypeCategory
Type category for sigc expressions
TypeRequirement
Type requirement for an input

Traits§

CalendarProvider
Trait for calendar providers
DataSource
Trait for data source connectors
SecretsResolver
Trait for secrets resolution

Functions§

format_error_with_context
Format a source error with line context

Type Aliases§

Result