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

git pu

parent 28311a52
...@@ -124,7 +124,7 @@ async function updateVars(name) { ...@@ -124,7 +124,7 @@ async function updateVars(name) {
let vars = ai.run(data, getVarsFromName(name)) let vars = ai.run(data, getVarsFromName(name))
console.log('VarProfitDrawDownZeroProfit :', vars.VarProfitDrawDownZeroProfit) console.log('VarProfitDrawDownZeroProfit :', vars.VarProfitDrawDownZeroProfit)
if (vars.VarProfitDrawDownZeroProfit < -0.1) { if (vars.VarProfitDrawDownZeroProfit < -0.01) {
if (lastData.includes('Buy')) { if (lastData.includes('Buy')) {
// zignaly.exitAndCanlcelAll(longToken, 'ETHUSDT', longId) // zignaly.exitAndCanlcelAll(longToken, 'ETHUSDT', longId)
zignaly.createNewOrderNew(shortToken, 'ETH', shortSide, 7, shortId) zignaly.createNewOrderNew(shortToken, 'ETH', shortSide, 7, shortId)
......
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