first commit
This commit is contained in:
commit
aa7869eb33
386 files changed
+69375
No files matched your search
@@ -0,0 +1,15 @@
|
||||
var config = require('../../core/util.js').getConfig();
|
||||
|
||||
var watch = config.watch;
|
||||
var exchangeLowerCase = watch ? watch.exchange.toLowerCase() : watch = {}; // Do not crash on this, not needed to read from db
|
||||
|
||||
var settings = {
|
||||
exchange: watch.exchange,
|
||||
pair: [watch.currency, watch.asset],
|
||||
historyCollection: `${exchangeLowerCase}_candles`,
|
||||
adviceCollection: `${exchangeLowerCase}_advices`
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
settings
|
||||
};
|
||||
Reference in new issue
Block a user