Fix minor stylistic errors
This commit is contained in:
parent
e6766b9b82
commit
2bc9413be1
0
freqtrade/__main__.py
Normal file → Executable file
0
freqtrade/__main__.py
Normal file → Executable file
0
freqtrade/commands/analyze_commands.py
Executable file → Normal file
0
freqtrade/commands/analyze_commands.py
Executable file → Normal file
0
freqtrade/commands/hyperopt_commands.py
Executable file → Normal file
0
freqtrade/commands/hyperopt_commands.py
Executable file → Normal file
0
freqtrade/data/entryexitanalysis.py
Executable file → Normal file
0
freqtrade/data/entryexitanalysis.py
Executable file → Normal file
0
freqtrade/optimize/hyperopt_tools.py
Executable file → Normal file
0
freqtrade/optimize/hyperopt_tools.py
Executable file → Normal file
1
freqtrade/vendor/qtpylib/indicators.py
vendored
1
freqtrade/vendor/qtpylib/indicators.py
vendored
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# QTPyLib: Quantitative Trading Python Library
|
||||
|
0
freqtrade/worker.py
Executable file → Normal file
0
freqtrade/worker.py
Executable file → Normal file
0
scripts/ws_client.py
Normal file → Executable file
0
scripts/ws_client.py
Normal file → Executable file
0
tests/data/test_entryexitanalysis.py
Executable file → Normal file
0
tests/data/test_entryexitanalysis.py
Executable file → Normal file
@ -309,7 +309,7 @@ def exchange(request, exchange_conf):
|
||||
|
||||
@pytest.fixture(params=EXCHANGES, scope="class")
|
||||
def exchange_futures(request, exchange_conf, class_mocker):
|
||||
if not EXCHANGES[request.param].get('futures') is True:
|
||||
if EXCHANGES[request.param].get('futures') is not True:
|
||||
yield None, request.param
|
||||
else:
|
||||
exchange_conf = set_test_proxy(
|
||||
|
@ -214,12 +214,12 @@ def test_ignore_expired_candle(default_conf):
|
||||
|
||||
current_time = latest_date + timedelta(seconds=30 + 300)
|
||||
|
||||
assert not strategy.ignore_expired_candle(
|
||||
assert strategy.ignore_expired_candle(
|
||||
latest_date=latest_date,
|
||||
current_time=current_time,
|
||||
timeframe_seconds=300,
|
||||
enter=True
|
||||
) is True
|
||||
) is not True
|
||||
|
||||
|
||||
def test_assert_df_raise(mocker, caplog, ohlcv_history):
|
||||
|
Loading…
Reference in New Issue
Block a user