Re: timeout when connecting to TWS Gateway, but existing connection still works
This is likely your problem. TCP/IP socket connections that do not start the TWS API session conversation with a properly formatted "API \0" message or that send some other data. As you describe,
By
Jürgen Reinold
·
#53526
·
|
timeout when connecting to TWS Gateway, but existing connection still works
Hi,
I found this interesting phenomenon today when trying to connect with a
second client to a running TWS Gateway, that I'm getting a timeout error.
At the same time, the gateway has an active
By
?kos Maróy
·
#53525
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
My apologies. I use a (pimped) version of the ApiController class that ships with the TWS API. It implements a "controller pattern" and hides a lot of unnecessary TWS API details from the client. But
By
Jürgen Reinold
·
#53524
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
The Trade to Execution (Trade Report) relationship is definitely a "one to many". From the documentation:
Note if a correction to an execution is published it will be received as an additional
By
Jürgen Reinold
·
#53523
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
I do not have the callback functions tradeReports(...) + tradeReportEnd(...) . When i make the request with reqExecutions(...), i receive the information through execDetails(...) and
By
simon.meier1987@...
·
#53522
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
@Jürgen
I wonder if the 1:1 relation regarding Trade and CommisionReport is sufficient ...? 1:1 TradesReport and CommisionReport seems a better model. just my 2cents
By
Brocksdorff
·
#53521
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
Just to confirm that you are talking about historical tradeReports right after the call to reqExecutions and before the tradeReportEnd clall back. You are not talking about real-time reports right
By
Jürgen Reinold
·
#53520
·
|
Re: keeping subscriptions
I second this and also have never seen periodical inactivity for an instrument cause real time market data subscriptions to stop working. Just to be sure:
* Real time market data subscriptions
By
Jürgen Reinold
·
#53519
·
|
Re: fx about EUR.USD
IB never reported historical volume on Forex financial instruments. It was always reported as -1. This is by design.
If you want historical volume you need to request historical data for Forex
By
Orionn
·
#53518
·
|
Re: fx about EUR.USD
I believe IDEALPRO is IB's own FX execution service. What volume you're looking for? There's no single exchange trading FX.
By
bespalex
·
#53517
·
|
Re: keeping subscriptions
I am not sure streaming data inactivity cease is connected to general API inactivity in any way, as in my case, I keep recCurrentTime requesting as a beacon every second, also difference in local/TWS
By
bespalex
·
#53516
·
|
fx about EUR.USD
anyone know which exchange IB is trading for EUR.USD?
and for fx data, it is trading 24/5, so if i look at the daily data, what is the time point IB defines the Open and Close price?
i tried to
By
alan chau
·
#53515
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
Update:
i checked the version of the tws and its 10.30.1q, and i dont receive the executions until i open the dialog
By
simon.meier1987@...
·
#53514
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
Hi,
in my application there is already the request for the executions as you hinted and of course i am aware of the time limitation ( it is set to 7 days in my case ). I think there's a
By
simon.meier1987@...
·
#53513
·
|
Re: anyone know where I can find the IB maintenance timetable
Thank you Jurgen, the link to the system status is the one I was looking for. My script retries 10 times so my bet's on system maintenance. I'll try again now I know nothing is going on.
By
comicpilsen
·
#53512
·
|
Re: anyone know where I can find the IB maintenance timetable
There is the System Status ( https://www.interactivebrokers.com/en/software/systemStatus.php ) page that indicates current issues and lists the regular maintenance windows for the various
By
Jürgen Reinold
·
#53511
·
|
Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history
Quick update:
* Stable TWS was updated to 10.30.1q and does not show this behavior any longer.
* Latest TWS 10.32 (10.32.1k and 10.32.1l) do not show this behavior either.
The unsolicited sending of
By
Jürgen Reinold
·
#53510
·
|
Re: keeping subscriptions
I recently discovered that some streaming market data subscriptions would
randomly cease after 15-20 minutes if there were no activity over the API
in any direction (such as before stock market open).
By
ds-avatar
·
#53509
·
|
Re: Is it prohbited to share my own positions/orders on social media ?
Pretty sure its fine. There's a zillion streamers that do it. The only gray area is live streaming the market data if you don't have license to do it.
By
wordd
·
#53508
·
|
Re: Trail price movement callbacks?
Excellent thanks Orionn & Jürgen. Glad to know I'm not crazy thinking it should be in the status updates.
I'll have a closer look at the openOrder callbacks. Looking through the logs it didn't
By
wordd
·
#53507
·
|