Replies: 1 comment
-
Yeah, the opex contracts act somewhat differently and there's no friday intraday 0DTE NDX available. If you enable full logging it should print all the alternative possibilities to the log. Just make sure it's all showing with something like: import logging
ib_async.util.logToConsole(logging.INFO) The difference you are probably looking for is the
Basically you just need to add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying to develop some strategies on 0DTE options using ib_async, it does work fine for four days a week, but on Wednesday the code breaks.
It gives me the error saying
the reason that I have identified is that on Wednesday there are two options trading for 0DTE, one that expires at the end of that trading session, and the other that expires at next day opening, in TWS it is marked as an 'AM' option.
Is there a way to deal whit this ambiguity?
Beta Was this translation helpful? Give feedback.
All reactions