removed print statements
This commit is contained in:
parent
a5ce533b35
commit
fc86d32f12
@ -501,7 +501,6 @@ with limit `{buy_limit:.8f} ({stake_amount:.6f} \
|
||||
continue
|
||||
ordertime = arrow.get(order['datetime']).datetime
|
||||
|
||||
print(order)
|
||||
# Check if trade is still actually open
|
||||
if (int(order['filled']) == 0) and (order['status'] == 'open'):
|
||||
if order['side'] == 'buy' and ordertime < buy_timeoutthreashold:
|
||||
|
@ -71,7 +71,6 @@ def file_dump_json(filename, data, is_zip=False) -> None:
|
||||
:param data: JSON Data to save
|
||||
:return:
|
||||
"""
|
||||
print(f'dumping json to "{filename}"')
|
||||
|
||||
if is_zip:
|
||||
if not filename.endswith('.gz'):
|
||||
|
@ -80,8 +80,6 @@ class Backtesting(object):
|
||||
for pair in data:
|
||||
result = results[results.currency == pair]
|
||||
|
||||
print(result)
|
||||
print(result.profit_BTC)
|
||||
tabular_data.append([
|
||||
pair,
|
||||
len(result.index),
|
||||
|
@ -222,9 +222,7 @@ class Hyperopt(Backtesting):
|
||||
results['result'],
|
||||
results['loss']
|
||||
)
|
||||
print(log_msg)
|
||||
else:
|
||||
print('.', end='')
|
||||
sys.stdout.flush()
|
||||
|
||||
def calculate_loss(self, total_profit: float, trade_count: int, trade_duration: float) -> float:
|
||||
|
@ -520,7 +520,6 @@ def test_get_order(default_conf, mocker):
|
||||
order = MagicMock()
|
||||
order.myid = 123
|
||||
exchange._DRY_RUN_OPEN_ORDERS['X'] = order
|
||||
print(exchange.get_order('X', 'TKN/BTC'))
|
||||
assert exchange.get_order('X', 'TKN/BTC').myid == 123
|
||||
|
||||
default_conf['dry_run'] = False
|
||||
|
@ -63,7 +63,6 @@ def test_scripts_options() -> None:
|
||||
arguments = Arguments(['-p', 'ETH/BTC'], '')
|
||||
arguments.scripts_options()
|
||||
args = arguments.get_parsed_arg()
|
||||
print(args.pair)
|
||||
assert args.pair == 'ETH/BTC'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user