Hi everyone,
It seems like that when I do an API call to TickMarketDepthData with a list of identifiers, I don't get/see all identifiers in the API response. Could there be that some identifiers don't trade on specific days, so there is no price change and hence there are no mentions of those identifiers in the results? If that is the case, is there a way I could get the Opening price for each identifier for each trading day through some other API endpoints?
Example of the issue I mentioned above:
list_of_identifiers = [{'Identifier': 'ES1000C8', 'IdentifierType': 'Ric'},
{'Identifier': 'ES1000F8', 'IdentifierType': 'Ric'},
{'Identifier': 'ES1000I7', 'IdentifierType': 'Ric'}]
result = trth.extractions.tick_market_depth_data(
identifiers=list_of_identifiers,
fields=['Ask Price', 'Bid Price'],
start=dt.datetime(2017, 9, 14),
end=dt.datetime(2017, 9, 15)
levels=3,
)
print(result.text) => this will return only market data for {'Identifier': 'ES1000I7', 'IdentifierType': 'Ric'}