Commit 7b5dc1f9 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 3e2f506b
......@@ -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+'/'+count+'.csv', data, 'utf8', function (err) {
fs.writeFile('ymta/'+pair+'/'+pair+count+'.csv', data, 'utf8', function (err) {
if (err) reject(err);
else resolve(data);
});
......
node fileGenerator.js
\ No newline at end of file
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