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

git pu

parent 996eb4bc
......@@ -10,16 +10,8 @@ let longToken = 'a7d9ab4de89d2717f54182e008f62cd2'
let shortToken = '268267180105f463a69d8933a498fadc'
let longId = 'ETHLONG'
let shortId = 'ETHSHORT'
let datas = [{pair: 'link', key: 'VarRunupZeroDrawDown', value: -4},
{pair: 'lrc', key: 'VarRunupZeroProfitDrawDown', value: -0.5},
{pair: 'ltc', key: 'VarRunupZeroProfitDrawDown', value: -0.5},
{pair: 'omg', key: 'VarProfitDrawDownZeroProfitDrawDown', value: -0.5},
{pair: 'xlm', key: 'VarRunupZeroProfitDrawDown', value: -0.5},
{pair: 'ont', key: 'VarRunupZeroProfitDrawDown', value: -0.5},
{pair: 'bnb', key: 'allLossProfit', value: -0.5},
{pair: 'trx', key: 'VarRunupZeroDrawDown', value: -0.5},
{pair: 'zec', key: 'RunUpDrawDownAllLossProfit', value: -2},
{pair: 'eth', key: 'VarProfitDrawDownZeroProfit', value: -1.5}
let datas = [
]
......@@ -28,7 +20,7 @@ run()
async function run() {
let files = await fs.readdirSync(path)
for (let i = 0; i < files.length; i++) {
if (!files[i].includes('Lp2'))
if (!files[i].includes('220518212916_O1_ETHUSDT_Lp1_ETH'))
continue
......@@ -81,7 +73,7 @@ function grabData(data) {
// name=name.split('\\')
// name=name[name.length-1]
// console.log('%s changed.', name);
// if (name.includes('Lp2'))
// if (name.includes('220518212916_O1_ETHUSDT_Lp1_ETH'))
// updateVars(name)
//
// });
......@@ -91,7 +83,7 @@ async function checker() {
let arr = []
let files = await fs.readdirSync(path)
for (let i = 0; i < files.length; i++) {
if (!files[i].includes('Lp2'))
if (!files[i].includes('220518212916_O1_ETHUSDT_Lp1_ETH'))
continue
arr.push(make(files[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