derivitec.tradables.types.FxOptionAmerican¶
- class derivitec.tradables.types.FxOptionAmerican(claim_type=None, currency=None, expiration_date=None, fx_pair=None, identifier=None, premium_currency=None, settlement_date=None, settlement_type=None, strike=None, cutoff=None, is_listed=None, **kwargs)[source]¶
- __init__(claim_type=None, currency=None, expiration_date=None, fx_pair=None, identifier=None, premium_currency=None, settlement_date=None, settlement_type=None, strike=None, cutoff=None, is_listed=None, **kwargs)[source]¶
- Parameters:
claim_type – The claim type
currency – The currency
expiration_date – The expiration date
fx_pair – The fx pair
identifier – The security identifier
premium_currency – The premium currency
settlement_date – The settlement date
settlement_type – The settlement type
strike – The strike
cutoff – The cutoff
is_listed – The is listed flag
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([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()