Commit 227cec08 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a0abd222
This diff is collapsed.
let t='12,2019.10.22 12:00:00.000,Buy,BNC_BTCUSDT,8276.170,7425.960,2019.10.23 16:00:00.000,-10.27,0.26,-10.59' let t='last.json-220818084032_O1_BNC_BTCUSDT_Lp302_33BTC2.csv'
t=t.split(',') t = t.split('_')
console.log(t) let pair = t[3].replace('usdt', '').replace('usd', '')
let lp = t[4].replace('lp', 'Lp')
let p = t[t.length - 1].split('.')
p = p[0].split(pair)[0]
console.log(pair,lp,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