Commit 90fe79f1 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 355e4b2b
......@@ -38,7 +38,7 @@ function grabData(data)
{
// console.log(data)
let arr=[]
for (let i=1;i<data.length;i++)
for (let i=0;i<data.length;i++)
{
try {
......@@ -46,6 +46,8 @@ function grabData(data)
let profit = parseFloat(d[7])
let runUp= parseFloat(d[8])
let drawDown=parseFloat(d[9])
if (profit ===null)
continue
arr.push({profit,runUp,drawDown})
}
catch (e)
......
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