开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Re: No definition for SPX option using LocalSymbol
Yes, I mentioned that I can use TradingClass to separate monthly and weekly options. The problem is that it is supposed to be generic method that I could use to form a contract for any security type,
By Andy Sanders · #53673 ·
Re: No definition for SPX option using LocalSymbol
The Contract Inspector shows you the actual local symbol to use. US options and European options have different local symbol formats: you’ve tried to use the European format for a US option.
By Richard L King · #53672 ·
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
Hi AJN. First off: note that `Contract.primaryExch` is not the same as `Contract.Exchange`. You might be constructing invalid Contract objects. About reqMktData: just for fun I checked my code and
By Daniel Ferreira · #53670 ·
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
Pull it out and make it stand alone. Get rid of **ALL SUPERFLUOUS** things like colorization constants... or no one will want to help you.
By buddy · #53669 ·
Re: No definition for SPX option using LocalSymbol
For SPX OPT you have to set up `Contract.TradingClass` as `SPX` for monthlies and `SPXW` for daily/weekly expiration. Do not define `LocalSymbol`. For naked SPX options, just do `Symbol`,
By Daniel Ferreira · #53668 ·
Re: Entry that triggers OCO with TP and SL
Create 3 separate orders. TP and SL orders will have property "OrderId" that should be the same as the main order ID. The first two orders will have property "Transmit" set to false, the last one is
By Andy Sanders · #53667 ·
No definition for SPX option using LocalSymbol
Could somebody advise why I'm getting "No security definition" error for a contract with this local symbol : *C SPX 20241218 5945 W* Security: SPX index Strike: 5945 Side: Call Expiration:
By Andy Sanders · #53666 ·
API dev available
Hello, all, I am available for API dev work if anyone needs an extra hand
By peteraspiro@... · #53665 ·
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
I created a second version where I removed all code which is not absolutely necessary It is roughly 150 line of code which one easily sees comparing Program.py from samples to *Program_get_bid.py*. As
By ajn · #53664 ·
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
I have implemented reqContractDetails and start constructing contract using conId I received. so instead of this Like this It made no difference, unfortunately. still not receiving some data
By ajn · #53663 ·
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
This would be greatly appreciated. If you can make the test case as small and simple as humanly possible... this will help people (esp. IBKR internal developers, who need extra help because they're
By buddy · #53662 ·
Re: IB's New automated trading system questionnaire
There are many ways you can handle this. @wordd already mentioned sending messages to slack channels, for example. All large cloud providers have services that are called something like "Simple
By Jürgen Reinold · #53661 ·
Re: IB's New automated trading system questionnaire
[nullmailer](https://wiki.debian.org/nullmailer#Installation_Examples_-_GMail) can still work with Gmail "app passwords" if you aren't running a full MTA on your system.
By buddy · #53660 ·
Re: Entry that triggers OCO with TP and SL
Just fyi, you can use ["Github markdown"](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) for
By buddy · #53659 ·
Re: IB's New automated trading system questionnaire
This doesn't exactly answer your question.. but to satisfy those requirements I'm sending a message to a slack channel then have configured that channel to alert me on any new messages. It's free and
By wordd · #53658 ·
Re: Entry that triggers OCO with TP and SL
No prob!
By wordd · #53657 ·
Re: IB's New automated trading system questionnaire
Forgot to mention, C++ (2nd choice C#) two factor code for Google or Yahoo sample is preferred.
By Frank Bell · #53656 ·
IB's New automated trading system questionnaire
I logged on to my account and found a must complete questionnaire about how I'm monitoring my automated api.? It wanted to know 1) Did I write it or is it commercial and if so the vendor? 2) Is the
By Frank Bell · #53655 ·
Re: Entry that triggers OCO with TP and SL
This is incredibly helpful. Thank you so much! Let me know if you ever need anything help from my end. Javed [email protected]> wrote:
By ebtrader · #53654 ·
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
Thanks Jürgen, very valid points. I was really afraid that complexity of this bug will cause problems. So I didn't write code from scratch but did least possible modifications the the official sample
By ajn · #53653 ·