-
Notifications
You must be signed in to change notification settings - Fork 3.9k
export useful info in backtestResultExporter #2509
Conversation
merge v0.6.4
merge v0.6.4
check portfolio data before calculating report (askmike#2369)
- Retry insufficient balance due to server update delay - Enhanced getPorfolio - getOrder now return fees
Updated luno
export useful info in backtestResultExporter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea! I have something similar in my own code that I am planning to release soon, but I would love your contribution!
As part of a bigger renaming, would you mind updating the names above? Thanks!
plugins/backtestResultExporter.js
Outdated
@@ -89,6 +89,9 @@ BacktestResultExporter.prototype.processPerformanceReport = function(performance | |||
|
|||
BacktestResultExporter.prototype.finalize = function(done) { | |||
const backtest = { | |||
watch: config.watch, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you mind renaming this to market
?
plugins/backtestResultExporter.js
Outdated
@@ -89,6 +89,9 @@ BacktestResultExporter.prototype.processPerformanceReport = function(performance | |||
|
|||
BacktestResultExporter.prototype.finalize = function(done) { | |||
const backtest = { | |||
watch: config.watch, | |||
tradingAdvisor: config.tradingAdvisor, | |||
strategy: config[config.tradingAdvisor.method], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you mind renaming this to strategyParameters
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure :)
Woa, apologies for the late merge! |
Added some useful config info to export file. Should help if you review your tests results at later time.