Hi GAT, I have made so many amendments here and there and the whole .py file currently looks untidy and difficult to follow. Please bear with me. I will look at it and tidy it up properly later tonight when I come back form work and if it still does not work, will post the whole code for your attention. Many thanks for assisting; I am most grateful
GAT is right about getting the symbols right. The symbol naming convention in the IB API can be quite tricky.
I'm not reading through all that crap - not for free. Can you please create "a minimum executable example" - a fragment of code that produces the error and doesn't need any other imports? i.e. just a few lines to create the contract and try and get the price. GAT
I just created this gist using my standard market data example. https :// gist.github.com/robcarver17/4b09c440ea56e1011d1528f6ccfc266b [I've edited the web address because ET keeps trying to render it as media - take the spaces out] It worked perfectly. The contract is created at line 397 GAT
Hello GAT, just an update with regards to my quest as you spared part of your precious time to try and help. Did check out your gist, but found it overwhelming I have managed, however, to sort out the issue. Many thanks for your assistance!