Commit 257b054b authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 352d5379
......@@ -64,7 +64,7 @@ async function createNewOrderNew(token, pair, side, positionSize, signalId) {
qs.signalId = signalId
qs.type = 'entry'
qs.orderType = constant.market
console.log('try create order for ',pair,side)
return doRequest(token, qs)
......@@ -90,7 +90,7 @@ async function doRequest(token, body) {
};
console.log(options)
// console.log(options)
//bot.sendMessage('-1001310060634', JSON.stringify(options, null, 2))
......@@ -98,7 +98,7 @@ async function doRequest(token, body) {
request(options, function (error, response, body) {
if (error) {
console.log(error)
// console.log(error)
reject('Problem With Request Dynu')
}
resolve(true)
......
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