Currency pairs prices from IB using Python API

Please give me the *full* code you're running and the exact error trace that comes back.

GAT

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
 
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

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
 
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

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
 
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

Okay will have a look. Many thanks!
 
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


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!
 
Back
Top