pub fn parse_struct_signal_row(
ca: &StructChunked,
i: usize,
) -> Result<(f64, Option<HashMap<String, f64>>), BacktestError>Expand description
Parse one Polars Struct signal row into exposure + metadata (quantwave-cr6v.11).
Supported fields (clean-room 06sz contract):
exposure(f64): signed units, preferred when presentlong/short(bool): direction when exposure absentpole_height,pole_height_atr,pole_length_atr(f64): sizing + metadatafraction_at_risk,strength, and other numeric fields → metadata