derivitec.market_data.types.BondData¶
- class derivitec.market_data.types.BondData(bond_id=None, close=None, contributor=None, currency=None, date=None, high=None, low=None, open=None, liquidity_score=None, provider_id=None, **kwargs)[source]¶
- __init__(bond_id=None, close=None, contributor=None, currency=None, date=None, high=None, low=None, open=None, liquidity_score=None, provider_id=None, **kwargs)[source]¶
- Parameters:
bond_id – The bond id
close – The close
contributor – The contributor
currency – The currency
date – The date
high – The high
low – The low
open – The open
provider_id – The provider id
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([bond_id, close, contributor, ...])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()