switched print to logger.debug

This commit is contained in:
Gert Wohlgemuth 2018-05-13 15:27:31 -07:00
parent 40630875ab
commit 60b2b68bc3
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"fiat_display_currency": "USD", "fiat_display_currency": "USD",
"dry_run": false, "dry_run": false,
"trailing_stop": { "trailing_stop": {
"positive" : 0.01 "positive" : 0.005
}, },
"unfilledtimeout": 600, "unfilledtimeout": 600,
"bid_strategy": { "bid_strategy": {

View File

@ -224,7 +224,7 @@ class Analyze(object):
'positive' in self.config['trailing_stop'] and \ 'positive' in self.config['trailing_stop'] and \
current_profit > 0: current_profit > 0:
print("using positive stop loss mode: {} since we have profit {}".format( logger.debug("using positive stop loss mode: {} since we have profit {}".format(
self.config['trailing_stop']['positive'], current_profit)) self.config['trailing_stop']['positive'], current_profit))
stop_loss_value = self.config['trailing_stop']['positive'] stop_loss_value = self.config['trailing_stop']['positive']