derivitec.tradables.types.FxDoubleKnockin¶
- class derivitec.tradables.types.FxDoubleKnockin(barrier_end_date=None, barrier_start_date=None, claim_type=None, currency=None, cutoff=None, expiration_date=None, fx_pair=None, identifier=None, lower_barrier=None, premium_currency=None, settlement_date=None, settlement_type=None, strike=None, upper_barrier=None, **kwargs)[source]¶
- __init__(barrier_end_date=None, barrier_start_date=None, claim_type=None, currency=None, cutoff=None, expiration_date=None, fx_pair=None, identifier=None, lower_barrier=None, premium_currency=None, settlement_date=None, settlement_type=None, strike=None, upper_barrier=None, **kwargs)[source]¶
- Parameters:
barrier_end_date – The barrier end date
barrier_start_date – The barrier start date
claim_type – The claim type
currency – The currency
cutoff – The cutoff
expiration_date – The expiration date
fx_pair – The fx pair
identifier – The security identifier
lower_barrier – The lower barrier
premium_currency – The premium currency
settlement_date – The settlement date
settlement_type – The settlement type
strike – The strike
upper_barrier – The upper barrier
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([barrier_end_date, ...])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()