Commit 5310c892 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 0b64b2e6
...@@ -614,7 +614,7 @@ function grabData(start, end) { ...@@ -614,7 +614,7 @@ function grabData(start, end) {
let startIndex=(start -candles[0].t)/timeFrame let startIndex=(start -candles[0].t)/timeFrame
let endIndex=(end -candles[0].t)/timeFrame let endIndex=(end -candles[0].t)/timeFrame
console.log(startIndex) console.log(startIndex)
console.log(endIndex) console.log('line:'+endIndex +' with end'+end)
for (let i = startIndex; i <= endIndex; i++) { for (let i = startIndex; i <= endIndex; i++) {
if (indexStart && candles[i].t <= end) if (indexStart && candles[i].t <= end)
arr.push(candles[i]) arr.push(candles[i])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment