I'd like to use a variable in onBookSnapshot() to keep the 5 previous
values of an indicator.
onBookSnapshot() is triggered every second but I'd like to get the 5
previous values of an indicator every minute synched with the ntp
clock.

Example :
10:00 -> 3.2
10:01 -> 3.3
10:02 -> 3.4
10:03 -> 3.5
10:04 -> 3.6
I'd like to get these 3.2 3.3 3.4 3.5 and 3.6 values.

Any ideas how to do that in a simple way ?

-- 
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