IB java api

Discussion in 'Trading Software' started by flaviufechete, Nov 23, 2007.

  1. Hi, I don't know if this could be a good thread position but I am trying to do some request on Historical data with the java api TWS from IB. The point is that, IB is giving the user the possibility to connect to their servers with java sockets, from which you can read data after you connect and request some historical data. My problem is that what I get is open, high, low, close values, but with 4 decimals after the comma. The values are double of course, and on the charts, if I open one, I can see the values with 6 decimals, how can I use the java api (or configure the TWS) to give me more decimals after the comma. example, on the chart I have 2.06645 value and I get with java socket read stream only 2.0664 double value.

    Thanks