Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

export useful info in backtestResultExporter #2509

Merged
merged 36 commits into from
Oct 7, 2018
Merged

Conversation

hiyan
Copy link
Contributor

@hiyan hiyan commented Sep 6, 2018

Added some useful config info to export file. Should help if you review your tests results at later time.

hiyan added 30 commits July 19, 2018 16:56
check portfolio data before calculating report (askmike#2369)
- Retry insufficient balance due to server update delay
- Enhanced getPorfolio
- getOrder now return fees
Copy link
Owner

@askmike askmike left a 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!

@@ -89,6 +89,9 @@ BacktestResultExporter.prototype.processPerformanceReport = function(performance

BacktestResultExporter.prototype.finalize = function(done) {
const backtest = {
watch: config.watch,
Copy link
Owner

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?

@@ -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],
Copy link
Owner

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure :)

@askmike
Copy link
Owner

askmike commented Oct 7, 2018

Woa, apologies for the late merge!

@askmike askmike merged commit 827be89 into askmike:develop Oct 7, 2018
This was referenced Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants