How can I take sample of the last 60sec in 1 second interval using date and time functions?
History data is only scaled down to one Minute, you can't calculate smaller timeframes for the history..
You agree to website policy and terms of use
i.e. (the date and time now is Dec 18, 2010 @ 12:30:27')
price at time[0] - (price at time current), which is 12:30:27'
price at time[1] - (price at time current minus 1 second), which is 12:30:26'
price at time[3] - (price at time current minus 2 second), which is 12:30:25'
and so on ...
Anyone could code this???
Thanks!