Skip to content
Prev 7173 / 15274 Next

reqHistoricalData

The failure is that you aren't using the contract that succeeds in the reqContractDetails call, instead you are  constructing a new one - incorrectly. 

So the TWS is reporting correctly that there is no contract matching your request. 

Try keeping it simple first, and build upon past successes. You can even extract the correct contract from the reqContractDetails call using as.twsContract()



Hint: STK should be CFD (contract for difference).  

Best,
Jeff


Jeffrey Ryan    |    Founder    |    jeffrey.ryan at lemnica.com

www.lemnica.com
On Dec 23, 2010, at 1:48 PM, Stephen Choularton <stephen at organicfoodmarkets.com.au> wrote: