Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #10

Merged
merged 9 commits into from
Aug 8, 2018
Next Next commit
rm space in backtest export file location
  • Loading branch information
askmike committed Aug 4, 2018
commit 2d6745bff0017f48937bb84d795e7fcfb7e2ff92
2 changes: 1 addition & 1 deletion plugins/backtestResultExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ BacktestResultExporter.prototype.finalize = function(done) {
};

BacktestResultExporter.prototype.writeToDisk = function(backtest, next) {
const now = moment().format('YYYY-MM-DD HH-mm-ss');
const now = moment().format('YYYY-MM-DD_HH-mm-ss');
const filename = `backtest-${config.tradingAdvisor.method}-${now}.json`;
fs.writeFile(
util.dirs().gekko + filename,
Expand Down