Hong Kong
Posts: 10 since Feb 2012
Thanks Given: 7
Thanks Received: 4
|
i use IB as broker and windows Vista as operating system, everything is good, but i have a little problem on printing data print to log,
while im printing 1minute closing price, there is a problem when i print multi-instrument to the log on the same row,
for example, printing crude oil (IB: CLJ2) and E-mini S&P (ESH2),
duplicated rows come out like below,
910.00 106.57 2632.00
912.00 106.62 2632.75
913.00 106.62 2632.25
914.00 106.62 2632.25
915.00 106.63 2632.25
916.00 106.66 2632.25
916.00 106.66 2632.25
917.00 106.63 2632.50
917.00 106.63 2632.50
918.00 106.63 2632.00
918.00 106.63 2632.00
for historical data, no problem, but when run in real time, it keep on showing duplicated data,
then the indicator values make unnecessary changes,
just like above data, i start the program on 091530, then data before is fine, but not afterwards,
im not sure if the problem is because of the 2 products from different exchanges, so they have time gaps??
any suggestions how to settle this problem??
much appreciate,
ad
|