Thank you.

On Monday, July 16, 2012 4:13:23 AM UTC-7, nonlinear wrote:
>
> Yes, the equivalent in JBT is onBookSnapshot(). It is called every second. 
>
> On 7/16/12, Ali wrote: 
> > Greetings, 
> > Is there an onMarketChange() method (in Strategy) in JBookTrader similar 
> to 
> > 
> > the one in JSystemTrader? I am trying to use the the price of the last 
> > market trade to calculate the profit/loss for my current position in 
> real 
> > time. 
> > 
> > Is onBookSnapshot() the equivalent in JBT? With something like: 
> > price = marketbook.getSnapshot().getPrice(); 
> > 
> > Thanks. 
> > 
> > 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/jbooktrader/-/ROEG3OtSSo4J.
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