Re: TWS API | Options market data request issue.
TWS API team?buried in the research of the problem...
I'm currently ignore that error as a warning, and it seems
market data comes after some time.
By
Mikhail Ershov
·
#46149
·
|
Using old versions of TWS
Occasionally members decide they want to use a version of TWS or Gateway that is no longer supported by IB. A prime example of this is version 972: this was the last 'stable' version that did not
By
Richard L King
·
#46148
·
|
Re: Trading in the Last Minute of the Market
This is a very interesting addition to the thread. My IB API code has not
changed in about 10 years now, placing since then millions of orders. And I
have never encountered a missing orderStatus. I
By
Edward
·
#46147
·
|
Re: Trading in the Last Minute of the Market
You *should* receive an openOrder callback for each transmitted order for
the connected client. You *may* receive orderStatus callbacks for each
status change of the order.
By
ds-avatar
·
#46146
·
|
Re: Find stock with ISIN given (VBA)
First, you absolutely need to understand how to use the Object Browser, which enables you to examine all the API classes, and their methods and properties in great detail.
Also when you're typing
By
Richard L King
·
#46145
·
|
Re: Find stock with ISIN given (VBA)
Hello,
I finally found the time to check out this method but I haven?t been successful yet.
Below you can see the code I used to get the stock information with the ISIN given.
By
ApiMadness
·
#46144
·
|
Re: Trading in the Last Minute of the Market
I agree with Nick - it is up to you to select the desired implementation.
I don't have any timers for the Market order and I'm handling following
status changes:
here is the list of statuses I
By
Edward
·
#46143
·
|
Re: Trading in the Last Minute of the Market
You will find that different people use different methods to keep track of orders and execs.
I never use order status and only use exec details. I don't care what IB's internal order flow is, I only
By
Nick <news1000@...>
·
#46142
·
|
Re: Trading in the Last Minute of the Market
Hi Ed,
Do you have a timer on your wait for orderStatus()? And are you submitting MKT orders with transmit=true?
The reason I ask is because the code I have earlier on in my program uses orders with
By
David Armour
·
#46141
·
|
Re: Trading in the Last Minute of the Market
Yes, I've rechecked in my code. I use only orderStatus events. The
execDetails event (callback) in my code exists but commented out.
[email protected]> wrote:
By
Edward
·
#46140
·
|
Re: Trading in the Last Minute of the Market
Frankly, I don¡¯t remember my TWS code, but I¡¯m quite sure that I don¡¯t use
execDetails. As far as I remember I ¡°sit¡± on the orderStatus.
Ed Gonen
By
Edward
·
#46139
·
|
Re: Trading in the Last Minute of the Market
Actually it is the placing that is giving me the problem but I think it is a "feature" of the TWS API.
I am entering MKT orders and I am expecting an orderStatus() callback but none comes within 5
By
David Armour
·
#46138
·
|
Re: Trading in the Last Minute of the Market
Your question leave place to a plausible confusion between: having placed the order and having it executed.
"Placing" is not an issue, for me at least, it's more an I/O issue. "Execution" is a very
By
Gordon Eldest
·
#46137
·
|
Re: Help with differentiating output from multiple reqMktData calls
May have been answered below, no sure, not clear
"reqid" is whatever you want.
The ONLY constraint is not re-use one that are already in use (IBKR complain with an explicit error message aboutit, you
By
Gordon Eldest
·
#46136
·
|
Re: remove Client 0
Got it. Sorry for all the messages. The port was wrong. I was trying different accounts and paper/live settings in the config, and this recent problem is that a port number was hardcoded in
By
tbrown122387@...
·
#46135
·
|
Re: remove Client 0
I think the ports/ips are all messed up with the forwarding stuff going on. Judging by the messages above, it's failing when it calls connect(). The (nearly-)default connect() method calls eConnect()
By
tbrown122387@...
·
#46134
·
|
Re: remove Client 0
I was requesting data for **last year's** MES March contract... woops
Now I get the 2-factor pop-up on my phone. That's good. However, there's still a problem. Logs below.
And thanks, yes, I'm
By
tbrown122387@...
·
#46133
·
|
Re: querying the cash remaining @ IB account
Read the 'Account & Portfolio Data' section in the IB documentation at
https://interactivebrokers.github.io/tws-api/account_portfolio.html,
particularly the 'Account Updates' and 'Account Summary'
By
Richard L King
·
#46131
·
|
Re: remove Client 0
You say the IBC logs are empty, but as I told you yesterday in my reply to your similar issue on the IBC GitHub repository (https://github.com/IbcAlpha/IBC/issues/108), the IBC log file is only
By
Richard L King
·
#46130
·
|
querying the cash remaining @ IB account
Hi,
Currently I am using this code (provided by the group) to list the current open positions in my paper-trading account at IB.
My question is, what would I need to add to this query to find out
By
Stuart Cracraft <smcracraft@...>
·
#46129
·
|