derivitec.tradables.types.FxOption

class derivitec.tradables.types.FxOption(option_claim_type=None, currency=None, expiration_date=None, fx_pair=None, identifier=None, premium_currency=None, settlement_date=None, option_settlement_type=None, strike=None, cutoff=None, is_listed=None, **kwargs)[source]
__init__(option_claim_type=None, currency=None, expiration_date=None, fx_pair=None, identifier=None, premium_currency=None, settlement_date=None, option_settlement_type=None, strike=None, cutoff=None, is_listed=None, **kwargs)[source]
Parameters:
  • option_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

  • option_settlement_type – The settlement type

  • strike – The strike

  • cutoff – The cutoff

  • is_listed – The is listed flag

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()