All right.
values.getElement(1) is the value 2 minutes before.

Another issue :
I want the current price. So :
MarketSnapshot marketSnapshot = marketBook.getSnapshot();
double currentPrice = marketSnapshot.getPrice();

I got :
marketBook has private access in
com.jbooktrader.platform.strategy.Strategy

How can I solve that ? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en.

Reply via email to