@@ -1130,7 +1130,7 @@ class RecordHeader:
11301130 """
11311131 The publisher ID assigned by Databento, which denotes the dataset and venue.
11321132
1133- See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#prices .
1133+ See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#publishers-datasets-and-venues .
11341134
11351135 Returns
11361136 -------
@@ -1222,7 +1222,7 @@ class Record(SupportsBytes):
12221222 """
12231223 The publisher ID assigned by Databento, which denotes the dataset and venue.
12241224
1225- See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#prices .
1225+ See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#publishers-datasets-and-venues .
12261226
12271227 Returns
12281228 -------
@@ -1699,7 +1699,7 @@ class ConsolidatedBidAskPair:
16991699 """
17001700 The publisher ID indicating the venue containing the best bid.
17011701
1702- See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#prices .
1702+ See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#publishers-datasets-and-venues .
17031703
17041704 Returns
17051705 -------
@@ -1723,7 +1723,7 @@ class ConsolidatedBidAskPair:
17231723 """
17241724 The publisher ID indicating the venue containing the best ask.
17251725
1726- See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#prices .
1726+ See `Publishers` https://databento.com/docs/standards-and-conventions/common-fields-enums-types#publishers-datasets-and-venues .
17271727
17281728 Returns
17291729 -------
@@ -3495,6 +3495,36 @@ class InstrumentDefMsg(Record):
34953495
34963496 """
34973497
3498+ @property
3499+ def leg_count (self ) -> int :
3500+ """
3501+ The number of legs in the strategy or spread. Will be 0 for outrights.
3502+
3503+ Returns
3504+ -------
3505+ int
3506+
3507+ See Also
3508+ --------
3509+ leg_index
3510+
3511+ """
3512+
3513+ @property
3514+ def leg_index (self ) -> int :
3515+ """
3516+ The 0-based index of the leg.
3517+
3518+ Returns
3519+ -------
3520+ int
3521+
3522+ See Also
3523+ --------
3524+ leg_count
3525+
3526+ """
3527+
34983528 @property
34993529 def pretty_leg_price (self ) -> float :
35003530 """
@@ -3561,6 +3591,136 @@ class InstrumentDefMsg(Record):
35613591
35623592 """
35633593
3594+ @property
3595+ def leg_instrument_id (self ) -> int :
3596+ """
3597+ The numeric ID assigned to the leg instrument.
3598+ See [Instrument identifiers] https://databento.com/docs/standards-and-conventions/common-fields-enums-types#instrument-identifiers.
3599+
3600+ Returns
3601+ -------
3602+ int
3603+
3604+ See Also
3605+ --------
3606+ leg_raw_symbol
3607+
3608+ """
3609+
3610+ @property
3611+ def leg_ratio_price_numerator (self ) -> int :
3612+ """
3613+ The numerator of the price ratio of the leg within the spread.
3614+
3615+ Returns
3616+ -------
3617+ int
3618+
3619+ See Also
3620+ --------
3621+ leg_ratio_price_denominator
3622+
3623+ """
3624+
3625+ @property
3626+ def leg_ratio_price_denominator (self ) -> int :
3627+ """
3628+ The denominator of the price ratio of the leg within the spread.
3629+
3630+ Returns
3631+ -------
3632+ int
3633+
3634+ See Also
3635+ --------
3636+ leg_ratio_price_numerator
3637+
3638+ """
3639+
3640+ @property
3641+ def leg_ratio_qty_numerator (self ) -> int :
3642+ """
3643+ The numerator of the quantity ratio of the leg within the spread.
3644+
3645+ Returns
3646+ -------
3647+ int
3648+
3649+ See Also
3650+ --------
3651+ leg_ratio_qty_denominator
3652+
3653+ """
3654+
3655+ @property
3656+ def leg_ratio_qty_denominator (self ) -> int :
3657+ """
3658+ The denominator of the quantity ratio of the leg within the spread.
3659+
3660+ Returns
3661+ -------
3662+ int
3663+
3664+ See Also
3665+ --------
3666+ leg_ratio_qty_numerator
3667+
3668+ """
3669+
3670+ @property
3671+ def leg_underlying_id (self ) -> int :
3672+ """
3673+ The numeric ID of the leg instrument's underlying instrument.
3674+ See [Instrument identifiers] https://databento.com/docs/standards-and-conventions/common-fields-enums-types#instrument-identifiers.
3675+
3676+ Returns
3677+ -------
3678+ int
3679+
3680+ See Also
3681+ --------
3682+ instrument_id
3683+
3684+ """
3685+
3686+ @property
3687+ def leg_raw_symbol (self ) -> str :
3688+ """
3689+ The leg instrument's raw symbol assigned by the publisher.
3690+
3691+ Returns
3692+ -------
3693+ str
3694+
3695+ See Also
3696+ --------
3697+ leg_instrument_id
3698+
3699+ """
3700+
3701+ @property
3702+ def leg_instrument_class (self ) -> str | None :
3703+ """
3704+ The matching algorithm used for the instrument, typically **F**IFO.
3705+ See `Matching algorithm` https://databento.com/docs/schemas-and-data-formats/instrument-definitions#matching-algorithm.
3706+
3707+ Returns
3708+ -------
3709+ str | None
3710+
3711+ """
3712+
3713+ @property
3714+ def leg_side (self ) -> str | None :
3715+ """
3716+ The side taken for the leg when purchasing the spread.
3717+
3718+ Returns
3719+ -------
3720+ str | None
3721+
3722+ """
3723+
35643724class InstrumentDefMsgV2 (Record ):
35653725 """
35663726 Definition of an instrument in DBN version 2.
0 commit comments