Skip to content

Commit

Permalink
remove minSize 0.01 validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bitrinjani committed Dec 3, 2017
1 parent 2a1652f commit cb04d92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ConfigValidatorImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default class ConfigValidatorImpl implements ConfigValidator {
this.mustBePositive(config.maxRetryCount, 'maxRetryCount');
this.mustBeGreaterThanZero(config.maxSize, 'maxSize');
this.mustBeGreaterThanZero(config.minSize, 'minSize');
this.throwIf(config.minSize < 0.01, 'minSize must be greater than 0.01.');
this.mustBeGreaterThanZero(config.minTargetProfit, 'minTargetProfit');
this.mustBePositive(config.orderStatusCheckInterval, 'orderStatusCheckInterval');
this.mustBePositive(config.positionRefreshInterval, 'positionRefreshInterval');
Expand Down

0 comments on commit cb04d92

Please sign in to comment.