Commit 1d09cdbf authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 831ae8cc
...@@ -19,11 +19,12 @@ async function init() { ...@@ -19,11 +19,12 @@ async function init() {
for (let i = 0; i < com.length; i++) { for (let i = 0; i < com.length; i++) {
let t = com[i].platform let t = com[i].platform
t = t.split('_') t = t.split('_')
let p=t[t.length-1].split('.')
p=parseFloat(p[0])
let pair = t[3].replace('USDT', '').replace('USD', '') let pair = t[3].replace('USDT', '').replace('USD', '')
pairs=pair pairs=pair
let p=t[t.length-1].split('.')
p=p.split(pairs)[1]
let lp = t[4] let lp = t[4]
let f=found(pair, lp) let f=found(pair, lp)
f.period=p f.period=p
......
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