removed print statements

This commit is contained in:
Gert Wohlgemuth 2018-06-14 16:32:37 -07:00
parent a5ce533b35
commit fc86d32f12
6 changed files with 0 additions and 8 deletions

View File

@ -501,7 +501,6 @@ with limit `{buy_limit:.8f} ({stake_amount:.6f} \
continue continue
ordertime = arrow.get(order['datetime']).datetime ordertime = arrow.get(order['datetime']).datetime
print(order)
# Check if trade is still actually open # Check if trade is still actually open
if (int(order['filled']) == 0) and (order['status'] == 'open'): if (int(order['filled']) == 0) and (order['status'] == 'open'):
if order['side'] == 'buy' and ordertime < buy_timeoutthreashold: if order['side'] == 'buy' and ordertime < buy_timeoutthreashold:

View File

@ -71,7 +71,6 @@ def file_dump_json(filename, data, is_zip=False) -> None:
:param data: JSON Data to save :param data: JSON Data to save
:return: :return:
""" """
print(f'dumping json to "{filename}"')
if is_zip: if is_zip:
if not filename.endswith('.gz'): if not filename.endswith('.gz'):

View File

@ -80,8 +80,6 @@ class Backtesting(object):
for pair in data: for pair in data:
result = results[results.currency == pair] result = results[results.currency == pair]
print(result)
print(result.profit_BTC)
tabular_data.append([ tabular_data.append([
pair, pair,
len(result.index), len(result.index),

View File

@ -222,9 +222,7 @@ class Hyperopt(Backtesting):
results['result'], results['result'],
results['loss'] results['loss']
) )
print(log_msg)
else: else:
print('.', end='')
sys.stdout.flush() sys.stdout.flush()
def calculate_loss(self, total_profit: float, trade_count: int, trade_duration: float) -> float: def calculate_loss(self, total_profit: float, trade_count: int, trade_duration: float) -> float:

View File

@ -520,7 +520,6 @@ def test_get_order(default_conf, mocker):
order = MagicMock() order = MagicMock()
order.myid = 123 order.myid = 123
exchange._DRY_RUN_OPEN_ORDERS['X'] = order exchange._DRY_RUN_OPEN_ORDERS['X'] = order
print(exchange.get_order('X', 'TKN/BTC'))
assert exchange.get_order('X', 'TKN/BTC').myid == 123 assert exchange.get_order('X', 'TKN/BTC').myid == 123
default_conf['dry_run'] = False default_conf['dry_run'] = False

View File

@ -63,7 +63,6 @@ def test_scripts_options() -> None:
arguments = Arguments(['-p', 'ETH/BTC'], '') arguments = Arguments(['-p', 'ETH/BTC'], '')
arguments.scripts_options() arguments.scripts_options()
args = arguments.get_parsed_arg() args = arguments.get_parsed_arg()
print(args.pair)
assert args.pair == 'ETH/BTC' assert args.pair == 'ETH/BTC'