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

Commit

Permalink
Merge pull request #74 from GoodDragon/profit-reporting
Browse files Browse the repository at this point in the history
Make profit reporting working again
  • Loading branch information
askmike committed Dec 9, 2013
2 parents 46bafeb + b6bec34 commit 76f3299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ Logger.prototype.trackProfits = function(what, price, meta) {
if(this.tracks === 1)
return;

if(!this.verbose && what === 'SELL' && !this.config.backtest)
if(!this.verbose && what === 'SELL' && !this.config.backtest.enabled)
this.report();
else if(this.verbose && !this.config.backtest)
else if(this.verbose && !this.config.backtest.enabled)
this.report();
}

Expand Down

0 comments on commit 76f3299

Please sign in to comment.