Re: ReqHistoricalTicks() & Futures Data Limitations, Rolling Expiring Contracts
My tool is extremely similar to yours, so no bottlenecks in code either.
By
Brendan Lydon
·
#51787
·
|
Re: ReqHistoricalTicks() & Futures Data Limitations, Rolling Expiring Contracts
I am doing this from my sim account. I should probably switch to my live
account to hopefully get better times?
<TwsApiOnGroupsIo@...> wrote:
By
Brendan Lydon
·
#51786
·
|
Re: ReqHistoricalTicks() & Futures Data Limitations, Rolling Expiring Contracts
Just after 15:10 US/Central this afternoon, I request Historical TickByTickLast data for Friday's NQZ3 session (20230928 17:00 through 20230929 16:00 US/Central):
* I received 451,009 TickByTickLast
By
Jürgen Reinold
·
#51785
·
|
Re: APIPending status?
First of all, order status ApiPending is not an error condition. It is the state of your order(s) right after you placed them. And the Placing Orders (
By
Jürgen Reinold
·
#51784
·
|
Re: APIPending status?
I'm now having a seemingly identical problem using IB's python client -- I can only imagine I'm doing something boneheaded, but without documentation on the error, I'm a bit stuck.
Running on v177, I
By
Colin Beveridge <unclekensson@...>
·
#51783
·
|
Re: ReqHistoricalTicks() & Futures Data Limitations, Rolling Expiring Contracts
Running a script right now to get 2 years of tick data for NQ. Seems to be restricting my request limits to every 6 seconds. Are there times when this could improve? It is Sunday @ 2:30 p.m. where I
By
Brendan Lydon
·
#51782
·
|
Re: C++ preventing EReader reading when socket is closed
You may see this as a wart but I, personally, won't comment with regard to how intuitive things are or any design aesthetic. I _will_ say that consideration should be given to backward compatibility
By
buddy
·
#51781
·
|
Re: C++ preventing EReader reading when socket is closed
I agree with everything you said although I am not entirely happy with my final solution. I do not feel that destroying the EReader object is the correct way to disconnect. It is certainly not
By
David Armour
·
#51780
·
|
Re: C++ preventing EReader reading when socket is closed
You're welcome. I think you've found an interesting oversight.
Yeah, superficially and at first blush it would _seem_ that way. But it'd be a mistake to think so. I can understand how that initial
By
buddy
·
#51779
·
|
Re: C++ preventing EReader reading when socket is closed
Thanks for your comment Buddy.
I agree that the logic would seem that setting m_isAlive to false during the ~EReader() call should prevent the code trying to read from the socket.
I tried playing
By
David Armour
·
#51778
·
|
Re: C++ preventing EReader reading when socket is closed
I guess the assumption is that using ```std::atomic<bool> m_isAlive;``` turns the following into a critical section:
```
void EReader::readToQueue() {
//EMessage *msg = 0;
while (m_isAlive) {
if
By
buddy
·
#51777
·
|
Re: C++ preventing EReader reading when socket is closed
After much deliberation, I think I figured out the problem.
In my opinion it is a bug in the TWS API for C++.
I would like someone's help to go thru' my logic and confirm it.
The
By
David Armour
·
#51776
·
|
C++ preventing EReader reading when socket is closed
I have faced a problem with my code for a long time that only occurs during the call to EClientSocket::eDisconnect()
I have a separate message processing thread running which looks like this:
I
By
David Armour
·
#51775
·
|
Re: TWS api multiple similar orders submission delays
Do you wait for the "Submit" status before submitting your next order? Can you submit orders without waiting for the status update? How do you measure time?
I placed 8 orders (3 bracket orders) for 8
By
amar
·
#51774
·
|
Re: IB's own SAMPLE Excel files still refer to de-supported order attributes so they don't work at all -- how do I bypass / fix??
Thank you for taking the time to step through the VBA code. If I'm understanding correctly, you're saying that the problem exists in the separate ddedll.dll library file, which is a black box /
By
grooooper
·
#51773
·
|
Re: did something change on 9/21/22 getting 366 on a feed that "WAS" working well.
Jürgen wrote: "TWS/IBGW actually memorizes the highest orderId for each clientId and each account. I did not know this either for the longest time, but I think it was JG who made a comment related to
By
J G
·
#51772
·
|
Re: Erratic results from live data requests
I just posted about RT Vol and bad ticks.? The last 2 days have been bad but still usable with filtering out extreme values for price.
By
btw
·
#51771
·
|
Re: did something change on 9/21/22 getting 366 on a feed that "WAS" working well.
@Richard
I know that you were not trying to suggest one should use the same numerical ids for different request types. I just wanted to add another reason why one should not do it.
Looks like we
By
Jürgen Reinold
·
#51770
·
|
Erratic results from live data requests
I request live data with generic ticks set to RT Trade Volume (#375) which returns a trade volume string in addition to the regular default tick data (bid, ask, size etc).? ?Lately I've been getting
By
Millie Joyner
·
#51769
·
|
Re: did something change on 9/21/22 getting 366 on a feed that "WAS" working well.
I never got a first nextValidID? < 100.
Got things like "117", why ? never look at the why, I don't know of any zombie process and it works, so ...
Your absolutely right, rules are more relax, and I
By
Gordon Eldest
·
#51768
·
|