Commit 32796d0c authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 257b054b
...@@ -111,11 +111,11 @@ async function updateVars(name) { ...@@ -111,11 +111,11 @@ async function updateVars(name) {
let lastData = lastFile[lastFile.length - 2] let lastData = lastFile[lastFile.length - 2]
if (lastData.includes('Buy')) { if (lastData.includes('Buy')) {
zignaly.exitAndCanlcelAll(longToken, 'ETHUSDT', longId) zignaly.exitAndCanlcelAll(longToken, 'ETHUSDT', longId)
zignaly.createNewOrderNew(shortToken,'ETH',shortSide,5,shortId) // zignaly.createNewOrderNew(shortToken,'ETH',shortSide,5,shortId)
} else { } else {
zignaly.exitAndCanlcelAll(shortToken, 'ETHUSDT', shortId) zignaly.exitAndCanlcelAll(shortToken, 'ETHUSDT', shortId)
zignaly.createNewOrderNew(longToken,'ETH',longSide,5,longId) // zignaly.createNewOrderNew(longToken,'ETH',longSide,5,longId)
} }
let data = grabData([lastData]) let data = grabData([lastData])
// console.log(data) // console.log(data)
......
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