_KWArgs#
- class rateslib.instruments.protocols._KWArgs(user_args, default_args=None, meta_args=None, spec=NoInput.blank)#
Bases:
objectClass to manage keyword argument population of Leg based Instruments.
This will first populate any provided
specarguments if given. Second, the user input arguments that are specific values will overwrite these. Thridly, systemdefaultswil be populated. Finally, any remaining NoInput arguments of leg2 that are set to inherit or negate will derive their values from leg1.Attributes Summary
Keyword arguments pass to construction of Leg1.
Keyword arguments pass to construction of Leg2.
Meta keyword arguments associated with the Instrument.
Attributes Documentation
- leg1#
Keyword arguments pass to construction of Leg1.
- leg2#
Keyword arguments pass to construction of Leg2.
- meta#
Meta keyword arguments associated with the Instrument.