investfly.models.strategy.OptionLegSpec
One leg in a runtime-selected option structure.
@dataclass
class
OptionLegSpec:
Specification for a single leg of an option strategy. See Java OptionLegSpec for the canonical contract; both languages share the same JSON shape.