From ac6d25c8f42280f5cd42090f9da8ef82e83327bf Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Fri, 8 Sep 2017 08:45:27 +0300 Subject: [PATCH 1/3] set stake_amount minimum to match minimum bid in Bittrex --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index e7bb006fd..e2f362937 100644 --- a/utils.py +++ b/utils.py @@ -15,7 +15,7 @@ _conf_schema = { 'properties': { 'max_open_trades': {'type': 'integer'}, 'stake_currency': {'type': 'string'}, - 'stake_amount': {'type': 'number'}, + 'stake_amount': {'type': 'number', 'minimum': 0.0005}, 'dry_run': {'type': 'boolean'}, 'minimal_roi': { 'type': 'object', From 768eae31e886a2e33dcb9fb19e250337dffaaede Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Fri, 8 Sep 2017 08:49:50 +0300 Subject: [PATCH 2/3] set minimum of max_open_trades to 1 --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index e2f362937..e4ca5850e 100644 --- a/utils.py +++ b/utils.py @@ -13,7 +13,7 @@ _cur_conf = None _conf_schema = { 'type': 'object', 'properties': { - 'max_open_trades': {'type': 'integer'}, + 'max_open_trades': {'type': 'integer', 'minimum': 1}, 'stake_currency': {'type': 'string'}, 'stake_amount': {'type': 'number', 'minimum': 0.0005}, 'dry_run': {'type': 'boolean'}, From a3b318cb0393bd4f14103f02d83dc6101b24f277 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Fri, 8 Sep 2017 08:51:10 +0300 Subject: [PATCH 3/3] set stake_currency to be an enum of available markets in Bittrex --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index e4ca5850e..c5d85a5ab 100644 --- a/utils.py +++ b/utils.py @@ -14,7 +14,7 @@ _conf_schema = { 'type': 'object', 'properties': { 'max_open_trades': {'type': 'integer', 'minimum': 1}, - 'stake_currency': {'type': 'string'}, + 'stake_currency': {'type': 'string', 'enum': ['BTC', 'ETH', 'USDT']}, 'stake_amount': {'type': 'number', 'minimum': 0.0005}, 'dry_run': {'type': 'boolean'}, 'minimal_roi': {