derivitec.tradables.types.CmdtyOption¶
- class derivitec.tradables.types.CmdtyOption(option_claim_type=None, currency=None, expiration_date=None, futures_expiration_date=None, identifier=None, premium_paid_up_front=None, strike=None, underlyer=None, **kwargs)[source]¶
- __init__(option_claim_type=None, currency=None, expiration_date=None, futures_expiration_date=None, identifier=None, premium_paid_up_front=None, strike=None, underlyer=None, **kwargs)[source]¶
- Parameters:
option_claim_type – The claim type
currency – The currency
expiration_date – The expiration date
futures_expiration_date – The futures expiration date
identifier – The security identifier
premium_paid_up_front – The premium paid up front
strike – The strike
underlyer – The underlyer
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([option_claim_type, currency, ...])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()