Commit 3a93de60 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 7b5dc1f9
......@@ -187,7 +187,7 @@ async function sleep(millis) {
function createfileADV(count,data) {
// console.log(data)
return new Promise(function (resolve, reject) {
fs.writeFile('ymta/'+pair+'/'+pair+count+'.csv', data, 'utf8', function (err) {
fs.writeFile('ymta/'+pair+'/'+pair+count+'.txt', data, 'utf8', function (err) {
if (err) reject(err);
else resolve(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