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
·
|
Re: Entry that triggers OCO with TP and SL
Here's one of mine. Can't figure out how to fix the indents though.
def place_trailing_oca_bracket_order ( self , order_details ):
"""
Place a bracket-type OCA order with a trailing stop loss and an
By
wordd
·
#53652
·
|
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
This is a pretty tall ask, ajn. You send 2,000++ lines of source code that you ask us to run. That will generally require us to read and understand the code before we can even consider running against
By
Jürgen Reinold
·
#53651
·
|
reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
Dear Twsapi experts,
Since 10.30 gateway/tws looks like reqMktData cannot be relied upon and I am often not getting the data I am asking for. And I am talking about basic bid/ask/last etc data for
By
ajn
·
#53650
·
|
Entry that triggers OCO with TP and SL
Would anyone have a template for the following order:
Entry that triggers OCO for Take Profit and Stop Loss?
Regards,
Javed
By
ebtrader
·
#53649
·
|