Re: TWS: freezing, data not being received?
A bit of a tangent, I have a "freeze" occur when a Gateway instance has been running for 2 weeks or so. I attribute it to a garbage collection/memory leak-ish issue with Java. IB has asked me to
By
fantasy football
·
#35634
·
|
Re: TWS: freezing, data not being received?
?
I use IB gateway I didn't notice anything during day time. but my historical data collection program didn't get anything
Friday night 10pm EST :
?
waiting for TWS reply on AUD
By
ce <zadig_1@...>
·
#35633
·
|
Re: TWS: freezing, data not being received?
IB usually restarts/maintains its servers from Friday Close to Saturday morning.
Should work now.
S
---In TWSAPI@..., <keithjmiklas@...> wrote :
Anyone else experiencing:
- TWS
By
souqmate@...
·
#35632
·
|
TWS: freezing, data not being received?
Anyone else experiencing:
- TWS freezing? I try to log in to live trading, and it just hangs.
- Data not being received? I logged into paper trading, and new data are not being received.
- 2nd
By
keithjmiklas@...
·
#35631
·
|
Re: Placing Orders via API
Walter,
Yes I believe the Adaptive algo is available:
order.AlgoStrategy("Adaptive");
order.algoParams(new ArrayList<TagValue>());
order.algoParams().add(new
By
Josh
·
#35630
·
|
Re: easiest way to tell if contract is trading today?
contractDetails returned from reqContractDetails has the total hours a contract is trading for the current day. It should say "CLOSED" if it's not trading, unfortunately it's not 100% reliable.
Josh
By
Josh
·
#35629
·
|
Re: reqExecutions not returning any data when used in IBGW
Yes I just meant that the current days executions are available with either IB Gateway or TWS and reqExecutions.
Additionally with TWS the prior weeks executions can be found by choosing "Show trades
By
Josh
·
#35628
·
|
Re: easiest way to tell if contract is trading today?
thanks for the replies. Just thought it would be cleaner if it was available from api instead of maintaining a calendar that needs to be periodically updated. Also, looked at NewContractDetails,
By
andrewdavischan@...
·
#35627
·
|
Re: reqExecutions not returning any data when used in IBGW
Actually, it was easy to test using a python notebook. It does return executions for the current day only.
This is the warning in the new docs, I think this is new as we used to be able to get
By
btw12342001 <no_reply@...>
·
#35626
·
|
Re: reqExecutions not returning any data when used in IBGW
reqExecutions will only return data for days which are checked in the trade log window. Obviously Gateway has no way to set these. I was under the impression that the current day was always checked.
By
btw12342001 <no_reply@...>
·
#35625
·
|
Re: reqExecutions not returning any data when used in IBGW
Realtime execution information is returned in the exec details and order status callbacks.
reqExecutions amounts to a request for historical trade executions. You don't need this at all if you
By
Nick <news1000@...>
·
#35624
·
|
Re: reqExecutions not returning any data when used in IBGW
Hi Josh,
So are you saying IB Gateway doesn't record trade executions at all? I was
going to rely on that feature to process successful BUY and SELL orders.
How else would I retrieve information
By
Matt Wlazlo <mwlazlo@...>
·
#35623
·
|
Re: reqExecutions not returning any data when used in IBGW
Hi Matt,
The API is designed to return executions from the current day using reqExecutions. It does have a peculiar feature whereby if connected to TWS with the trade log open with all days checked
By
Josh
·
#35622
·
|
reqExecutions not returning any data when used in IBGW
Hi,
I have code which returns trade data when connected to TWS, but not with IB
Gateway.
Anyone ever seen this before? I'm thinking it could be a settings problem
but I can't put my finger on
By
Matt Wlazlo <mwlazlo@...>
·
#35621
·
|
Re: easiest way to tell if contract is trading today?
agree w Nick.
Below are useful details:
Gd luck
S
NYSE holidays:
Jan 1, 3rd Mon of Jan (luther-king day), 3rd Mon of Feb (Washiongton b-day), good friday, last Mon of May (memorial day), Jul 4, 1st
By
souqmate@...
·
#35619
·
|
Re: easiest way to tell if contract is trading today?
Info returned in NewContractDetails includes market availability.
?
By
Joseph Higgs
·
#35620
·
|
Re: easiest way to tell if contract is trading today?
If you are talking about cme futures, there aren't many holidays in a year. You can create a list of holidays and have the program check the list. It's low-tech but pretty reliable.
By
Nick <news1000@...>
·
#35618
·
|
easiest way to tell if contract is trading today?
What is the easiest why to tell if a contract's markets are open today?
I'm just beginning to use the API and was think of writing a loop that every day check's to see if the market for a
By
andrewdavischan@...
·
#35617
·
|
Re: Placing Orders via API
Thanks for the response. I just read that section. So it¡¯s just a convenience this feature provides. I was hoping they would price the commission on the ¡°combined group¡± number of shares to get
By
walter stevenson
·
#35616
·
|
Re: Just got notice of new API documentation on GitHub - V 9.72
In regards to the new documentation guide-
I haven't personally seen any problems with the bandwidth on Github. If you would like a hard copy of the documentation guide though I think it would be
By
Josh
·
#35615
·
|