derivitec.market_data.types.BondDataExternal¶
- class derivitec.market_data.types.BondDataExternal(bond_identifier=None, currency=None, traded_price=None, date=None, is_percentage_of_par=None, is_currency_per_bond_unit=None, fitting_mode=None)[source]¶
- __init__(bond_identifier=None, currency=None, traded_price=None, date=None, is_percentage_of_par=None, is_currency_per_bond_unit=None, fitting_mode=None)[source]¶
- Parameters:
bond_identifier – The bond identifier
currency – The currency
traded_price – The traded_price
date – The date
is_percentage_of_par – The is_percentage_of_par
is_currency_per_bond_unit – The currency_per_bond_unit
fitting_mode – The bond price fitting mode
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([bond_identifier, 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()