derivitec.tradables.types.BondOption¶
- class derivitec.tradables.types.BondOption(identifier=None, option_claim_type=None, currency=None, expiration_date=None, premium_paid_up_front=None, strike=None, bond_future=None, **kwargs)[source]¶
- __init__(identifier=None, option_claim_type=None, currency=None, expiration_date=None, premium_paid_up_front=None, strike=None, bond_future=None, **kwargs)[source]¶
- Parameters:
identifier – The security identifier
option_claim_type – The claim type
currency – The currency
expiration_date – The expiration date
premium_paid_up_front – The premium paid up front
strike – The strike
bond_futuer – The underlyer
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([identifier, option_claim_type, ...])json_params()JSON param names.
rebuild(content)Recursive rebuild.
recursive_decompose(item)Helper function to recursively convert some types to a suitable format for json.
to_dict()typename()