derivitec.market_data.types.StockData

class derivitec.market_data.types.StockData(close=None, currency=None, date=None, high=None, identifier=None, low=None, open=None, provider_id=None, split_factor=None, volume=None)[source]
__init__(close=None, currency=None, date=None, high=None, identifier=None, low=None, open=None, provider_id=None, split_factor=None, volume=None)[source]
Parameters:
  • close – The close

  • currency – The currency

  • date – The date

  • high – The high

  • identifier – The identifier

  • low – The low

  • open – The open

  • provider_id – The provider id

  • split_factor – The split factor

  • volume – The volume

Methods

IsKeyValuePairListType(key_class_instance, ...)

__init__([close, currency, date, high, ...])

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