Skip to content

Commit

Permalink
typo fixed according to askmike#220
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Mar 3, 2014
1 parent 9bea7ab commit e09460d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions core/portfolioManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ var Manager = function(conf) {
}

Manager.prototype.init = function(callback) {
log.debug('getting balance & fee from', this.exchange.name);
log.debug('Getting balance & fee from', this.exchange.name);
var prepare = function() {
this.starting = false;

log.info('trading at', this.exchange.name, 'ACTIVE');
log.info('Trading at', this.exchange.name, 'ACTIVE');
log.info(this.exchange.name, 'trading fee will be:', this.fee * 100 + '%');
this.logPortfolio();

Expand Down Expand Up @@ -189,7 +189,7 @@ Manager.prototype.buy = function(amount, price) {
// if not suficient funds
if(amount > availabe) {
return log.info(
'wanted to buy but insufficient',
'Wanted to buy but insufficient',
this.currency,
'(' + availabe + ')',
'at',
Expand All @@ -200,17 +200,17 @@ Manager.prototype.buy = function(amount, price) {
// if order to small
if(amount < minimum) {
return log.info(
'wanted to buy',
'Wanted to buy',
this.asset,
'but the amount is to small',
'but the amount is too small',
'(' + amount + ')',
'at',
this.exchange.name
);
}

log.info(
'attempting to BUY',
'Attempting too BUY',
amount,
this.asset,
'at',
Expand All @@ -234,7 +234,7 @@ Manager.prototype.sell = function(amount, price) {
// if not suficient funds
if(amount < availabe) {
return log.info(
'wanted to buy but insufficient',
'Wanted to buy but insufficient',
this.asset,
'(' + availabe + ')',
'at',
Expand All @@ -245,17 +245,17 @@ Manager.prototype.sell = function(amount, price) {
// if order to small
if(amount < minimum) {
return log.info(
'wanted to buy',
'Wanted to buy',
this.currency,
'but the amount is to small',
'but the amount is too small',
'(' + amount + ')',
'at',
this.exchange.name
);
}

log.info(
'attempting to SELL',
'Attempting to SELL',
amount,
this.asset,
'at',
Expand Down

0 comments on commit e09460d

Please sign in to comment.