0

我想使用 C++ Interactive Brokers API 来请求历史数据。但是文档真的很糟糕,我找不到 Type TagValueListSPtr (最后一个参数)的示例。

 contract.symbol="USD";
 contract.secType="CASH";
 contract.currency = "EUR";
 contract.exchange = "IDEALPRO";

 m_pClient->reqHistoricalData(1, contract, "20140920 00:00:00", "1 D", "1 day", "TRADES" 0, 2, ????);

该文档位于此处https://www.interactivebrokers.com/en/software/api/apiguide/c/reqhistoricaldata.htm

4

0 回答 0