Commit 6b504743 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent eaee4965
...@@ -151,14 +151,14 @@ async function init() { ...@@ -151,14 +151,14 @@ async function init() {
client.on('error', (err) => console.log('Redis Client Error', err)); client.on('error', (err) => console.log('Redis Client Error', err));
await client.connect(); await client.connect();
info = await fs.readFileSync('info2.json', 'utf8'); // info = await fs.readFileSync('info2.json', 'utf8');
info = JSON.parse(info) // info = JSON.parse(info)
exchange = new ccxt.bybit({ // exchange = new ccxt.bybit({
apiKey: info.apiKey, // apiKey: info.apiKey,
secret: info.secret, // secret: info.secret,
enableRateLimit: true, // enableRateLimit: true,
//
}) // })
// exchange.urls['api'] = exchange.urls['test']; // exchange.urls['api'] = exchange.urls['test'];
...@@ -184,7 +184,7 @@ console.log(e) ...@@ -184,7 +184,7 @@ console.log(e)
async function run() { async function run() {
console.log('hi0')
let files = await fs.readdirSync(path) let files = await fs.readdirSync(path)
for (let i = 0; i < files.length; i++) { for (let i = 0; i < files.length; i++) {
// if (files[i] !=='btc1&1&1&1_btcLp1819RZDD75_0.1_-0.1_RunupZeroDrawDown_0.01.csv') // if (files[i] !=='btc1&1&1&1_btcLp1819RZDD75_0.1_-0.1_RunupZeroDrawDown_0.01.csv')
...@@ -226,7 +226,7 @@ async function run() { ...@@ -226,7 +226,7 @@ async function run() {
// checker() // checker()
console.log('hi')
console.log(datas) console.log(datas)
} }
......
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