Commit 0b64b2e6 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 48e76c43
......@@ -613,6 +613,8 @@ function grabData(start, end) {
let indexStart = false
let startIndex=(start -candles[0].t)/timeFrame
let endIndex=(end -candles[0].t)/timeFrame
console.log(startIndex)
console.log(endIndex)
for (let i = startIndex; i <= endIndex; i++) {
if (indexStart && candles[i].t <= end)
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