| 
	    
         Hi all, I am trying to get bars close prices from history, like this:
  IBar bar=history.getBar(instrument, Period.DAILY, OfferSide.BID, i); double p=bar.getClose(); console.getOut().println(String.format("price=%.5f",p));
  problem is this code gives absolutely wrong results - Daily candle close prices do not match ones getbar returns. It is not bid\ask problem - prices are really wrong - sometimes 10-15 pips away, sometimes absolutely in other dimension. What is wrong? 
          
  
	 |