In the doc they pass just a TagValueListSPtr() object (?) created on the stack it seemsOn this page http://interactivebrokers.github.io...Client.html#a5b7d2f3048b2be5c9c3a87c18fb01dd3
the reqMktData() method is described, but unfortunately what the last parameter (mktDataOptions) is supposed to have is not described :-(
void reqMktData(int tickerId,
Contract contract,
string genericTickList,
bool snapshot,
List< TagValue > mktDataOptions
)
OTOH the genericTickList values are IMO very useful (HV, IV, RT HV etc. besides many other values like Volume etc.)
. Reason I don't know yet
.Hmm maybe it is just a pointer as the suffix might indicate (but the signature doesn't expect a pointer or a reference, funny, maybe they are using some magic macro stuff or operator overloading...):
m_pClient->reqMktData(1001, ContractSamples::StockComboContract(), "", false, TagValueListSPtr());
Hmm... need to study the stuff deeper...
Last edited: