Sequence Execution
This commit is contained in:
1 parent
39493642f7
commit
ee06702216
17 files changed
+257
-181
No files matched your search
@@ -38,8 +38,8 @@ exports.getStrategy = async function () {
|
||||
global.STRATEGY = strategizerResponse.data.data.strategizer_TradingSystemByFb.data;
|
||||
} else {
|
||||
let fileLocation = process.env.CONFIG_PATH + 'userConfig.json'
|
||||
let strategy = await readFileAsync(fileLocation, { encoding: 'utf8' })
|
||||
global.STRATEGY = JSON.parse(strategy)
|
||||
let userConfig = await readFileAsync(fileLocation, { encoding: 'utf8' })
|
||||
global.STRATEGY = JSON.parse(userConfig).strategy
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user