开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: Tick Encoding/Decoding
Yes its java, your tools sound quite interesting.. The time lag was simply the local time when I get a IB response, in milliseconds. The lag I meant was the time lag between when i get tickPrice and
By unatnahs57 <no_reply@...> · #29141 ·
Re: Tick Encoding/Decoding
Richard, Thank you for your detailed reply and for sharing your encoder 1. It seems to me that we get the last traded price(on a change as u say) and the all tickSize are useful and represent trade
By unatnahs57 <no_reply@...> · #29140 ·
Re: Connect to TWS in main not in Thread (Java)
Hi btw12342001, thanks so much for the tip! That actually helps me a lot. I still did not completely understood your earlier reply on how to handle returned data. In which method is the returned
By twsapi <no_reply@...> · #29148 ·
Re: Upcoming stock earnings dates
I found that subscribing to Wall Street Horizon (2.5usd) there are available upcoming earnings dates in TWS. They are also available for the API. Though testing this shows it seems not really
By ramdukof <ramdukof@...> · #29139 ·
Re: Tick Encoding/Decoding
The time in your log is from your computer and the RTV time is a timestamp, I'm guessing from the exchange. You have to have your clock accurate in order to measure the delay till when you get the
By btw12342001 <newguy@...> · #29138 ·
Re: Tick Encoding/Decoding
I would just add that the whole issue of timing under Windows is rather a mess. If you want to get resolution higher than the default you'll have to research a bit to find the implications and
By Ed <news1000@...> · #29137 ·
Re: Tick Encoding/Decoding
rwk, your 'understanding' that Windows cannot accurately measure time intervals shorter than 65 msec is completely erroneous. If you're programming directly to the Windows API, you can
By Richard L King · #29136 ·
C# Option Contract Details
You should be able to get all options by calling reqContractDetailsEx(). Just leave strike, right, and possibly expiry blank/zero. [rwk] --- "andrewcmeier" <andrewcmeier@...> wrote:
By rwk2095 <r@...> · #29134 ·
Re: Tick Encoding/Decoding
Your original post (OP) makes more sense now. I was unfamiliar with TickUtils.jar because it appears to be Java, and I don't speak Java. It sounds like I am doing something similar to
By rwk2095 <r@...> · #29133 ·
C# Option Contract Details
I am not sure if anyone has answered your question to your satisfaction yet but I wanted to give you what I have figured out for options. using request market data you would have something like
By t0ksik · #29135 ·
Re: problem with contract details
Good news... the problem will be fixed on 7/18. We just need to include the full expiration in the format of YYYYMMDD when invoking the reqContractDeta ils( ) method.
By dairen62 <no_reply@...> · #29132 ·
Re: Tick Encoding/Decoding
I'm the author of the TickUtils.jar you're referring to. (For others reading this thread, this jar can be found in the Files section of this group. It provides encoding and decoding facilities to
By Richard L King · #29131 ·
C# Option Contract Details
Excellent, it worked, had to change a couple of other fields but it was definitely the contractID, thank you. The final code I used is: AAAA = new Contract(0, "AAPL", SecurityType.Option,
By andrewcmeier <andrewcmeier@...> · #29130 ·
Re: C# Option Contract Details
contractId is IB's own unique identifier for a contract. If you know this id for a specific contract, you can use it in a contract details request and not supply any of the other fields. Setting
By Richard L King · #29129 ·
Re: Tick Encoding/Decoding
1. I am making data request as: mClientSocket.reqMktData(id, contract, "", false); which returns the "last price and quantity in separate callbacks". So, using the post #24461 that you suggested I
By unatnahs57 <no_reply@...> · #29128 ·
Re: C# Option Contract Details
I've given this a quick try, no luck yet, will try again when I get a chance.
By andrewcmeier <andrewcmeier@...> · #29127 ·
C# Option Contract Details
I've tried both dates, no luck.
By andrewcmeier <andrewcmeier@...> · #29126 ·
C# Option Contract Details
I've had a look, it looks great, however, I still can't seem to fix my problem. The way you set up a contract in VB is: contract.conId = Convert.ToInt32(ss(2))
By andrewcmeier <andrewcmeier@...> · #29125 ·
Re: Tick Encoding/Decoding
It's not clear from your question what you're trying to accomplish. If you're interested in market microstructure, i.e. very short term, you might have a look at TickString. See this old
By rwk2095 <r@...> · #29124 ·
option expiry [was: C# Option Contract Details]
The expiry is as it always was, a friday for US stock options. The OSI symbol, introduced a couple years ago, is always one day later than the expiry. If you are using the OSI symbol use saturday;
By Kurt Bigler · #29122 ·