141
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 12, 2017, 10:41:16 AM »
Priority ALLPAIRS-params.js vs poloniex-BTC_XXX-config.js changes after starting GUNBOT.
Tested: gunthy-linuxx64 - only with poloniex
ALLPAIRS-params.js:
poloniex-BTC_XXX-config.js:
>>> STARTING
When starting the bot (./gunthy-linuxx64 BTC_XXX poloniex) it prioritizes ALLPAIRS-params.js over poloniex-BTC_XXX-config.js.
Output:
>>> RUNNING
Changing the ALLPAIRS-params.js while the bot is running will have no effect. Looks like the file is not watched.
But changing poloniex-BTC_XXX-config.js while the bot is running, triggers the reconfiguration and now it prioritizes poloniex-BTC_XXX-config.js over ALLPAIRS-params.js.
Changing poloniex-BTC_XXX-config.js to:
Output:
Suggestions:
- Watch both configs (ALLPAIRS-params.js and market-BTC_XXX-config.js) for changes.
- In any case (starting and running) prioritize the specific config (market-BTC_XXX-config.js) over the general config (ALLPAIRS-params.js).
Tested: gunthy-linuxx64 - only with poloniex
ALLPAIRS-params.js:
Code: [Select]
...
BOT_SLEEP_DELAY:(1000) * 22
BOT_ON_FAIL_DELAY:(1000) * 55
...
poloniex-BTC_XXX-config.js:
Code: [Select]
...
BOT_SLEEP_DELAY:(1000) * 44
BOT_ON_FAIL_DELAY:(1000) * 55
...
>>> STARTING
When starting the bot (./gunthy-linuxx64 BTC_XXX poloniex) it prioritizes ALLPAIRS-params.js over poloniex-BTC_XXX-config.js.
Output:
Code: [Select]
next delay will be 22s
>>> RUNNING
Changing the ALLPAIRS-params.js while the bot is running will have no effect. Looks like the file is not watched.
But changing poloniex-BTC_XXX-config.js while the bot is running, triggers the reconfiguration and now it prioritizes poloniex-BTC_XXX-config.js over ALLPAIRS-params.js.
Changing poloniex-BTC_XXX-config.js to:
Code: [Select]
...
BOT_SLEEP_DELAY:(1000) * 44
BOT_ON_FAIL_DELAY:(1000) * 99 // <-- changed
...
Output:
Code: [Select]
next delay will be 44s
Suggestions:
- Watch both configs (ALLPAIRS-params.js and market-BTC_XXX-config.js) for changes.
- In any case (starting and running) prioritize the specific config (market-BTC_XXX-config.js) over the general config (ALLPAIRS-params.js).