pyocf.types.conversion_mechanisms.ratioconversionmechanism

Sets forth inputs and conversion mechanism of a ratio conversion (primarily used to describe conversion from one stock class (e.g. Preferred) into another (e.g. Common)

pydantic model pyocf.types.conversion_mechanisms.ratioconversionmechanism.RatioConversionMechanism

Sets forth inputs and conversion mechanism of a ratio conversion (primarily used to describe conversion from one stock class (e.g. Preferred) into another (e.g. Common)

field conversion_price: Annotated[Monetary, FieldInfo(annotation=NoneType, required=True, description='What is the effective conversion price per share of this stock class?')] [Required]

What is the effective conversion price per share of this stock class?

field ratio: Annotated[Ratio, FieldInfo(annotation=NoneType, required=True, description='One share of this stock class converts into this many target stock class shares')] [Required]

One share of this stock class converts into this many target stock class shares

field rounding_type: Annotated[RoundingType, FieldInfo(annotation=NoneType, required=True, description='How should fractional shares be rounded?')] [Required]

How should fractional shares be rounded?

field type: Annotated[Literal['RATIO_CONVERSION'], FieldInfo(annotation=NoneType, required=True, description='')] = 'RATIO_CONVERSION'