Commit e289b0f0 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 3a93de60
......@@ -86,7 +86,7 @@ await removeAll()
function createfileADV(data) {
// console.log(data)
return new Promise(function (resolve, reject) {
fs.writeFile('ohlc/'+pair+'/last.csv', data, 'utf8', function (err) {
fs.writeFile('ohlc/'+pair+'/'+pair+'-'+timeframe+'.csv', 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