-
Notifications
You must be signed in to change notification settings - Fork 14
-
I don't think this is an intermittent error in IB data ( previously seen) as it happens every time I run the code. This is me sending the wrong call somehow. I "think" I have read the IB docs https://interactivebrokers.github.io/tws-api/basic_contracts.html correctly but it's not working. Any help appreciated.
in line
ALWAYS getting the below on the call. What am I doing wrong?
|
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments · 10 replies
-
Most likely some spurious data coming from IB. Recently I changed the code to be more tolerant towards these occurences. Incidentally, the way the official IB API handles these events is to silently replace the data with zeros, which may or may not be ideal. |
Beta Was this translation helpful? Give feedback.
All reactions
-
will do on the sync. I don't use github so to sync do i just rerun the install? I am new to github as well.
thank you for modifying the code I know you were hesistant to do it
Sent from the future
… On Mar 10, 2022, at 9:55 AM, lbilli ***@***.***> wrote:
Most likely some spurious data coming from IB.
Recently I changed the code to be more tolerant towards these occurences.
If you sync to the latest Jib.jl, these exceptions will be just shown but won't stop the program and can be safely ignored.
Incidentally, the way the official IB API handles these events is to silently replace the data with zeros, which may or may not be ideal.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Within Julia julia> ] up should suffice.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
thank you. so much to learn but you are REALLY helping.
Sent from the future
… On Mar 10, 2022, at 11:27 AM, lbilli ***@***.***> wrote:
Within Julia
julia> ] up
should suffice.
Otherwise, on the terminal, go to the Jib.jl directory and issue
> git pull
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the report. 8a13bf1 should take care of issue. julia> ] up Jib and see how it goes. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Did the update and mixed results. The api calls from both cases ( 1 and 2) look the same I can't find where the dataframe error ( df[column] is not supported use df[!, column] instead | ) is coming from as the stacktrace is mangled. here is the HARD CODED version that works perfectly ( well done on the fix)
results in
BUT the DataFrame code gets me back to our old friend.
here is the code. I am checking the submissions to the api call and they "seem" to be exactly the same. s.Sym ( from the enumeration loop) is a String7 ie "SPX" Giving
which is exactly the same as the HARD CODED contract which works.
Gets me back to
|
Beta Was this translation helpful? Give feedback.
All reactions
-
That's a syntax error in file |
Beta Was this translation helpful? Give feedback.
All reactions
-
I'll certainly check that out. I am finding it REALLY hard to read the STACKTRACE. Will get back to you when I sort this out. Sorry to have messed you around on this. I REALLY have to get to grips using the debugger as you suggested! have an excellent weekend and well done on the new release. |
Beta Was this translation helpful? Give feedback.
All reactions
-
OUTSTANDING!!! sorry to have been so slow. Just ran it ( market closed ) and it worked like a champ. Thanks for sticking with me on this. I can't see how to mark the ANSWER to this thread? |
Beta Was this translation helpful? Give feedback.
Most likely some spurious data coming from IB.
Recently I changed the code to be more tolerant towards these occurences.
If you sync to the latest
Jib.jl
, these exceptions will be just shown but won't stop the program and can be safely ignored.Incidentally, the way the official IB API handles these events is to silently replace the data with zeros, which may or may not be ideal.