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

git pull

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