another run of autopep8

This commit is contained in:
Janne Sinivirta 2018-01-10 11:29:41 +02:00
parent 02fcbbb6d2
commit c11102cf4a
3 changed files with 8 additions and 9 deletions

View File

@ -15,10 +15,10 @@ def hyperopt_optimize_conf() -> dict:
'stake_currency': 'BTC', 'stake_currency': 'BTC',
'stake_amount': 0.01, 'stake_amount': 0.01,
"minimal_roi": { "minimal_roi": {
'40': 0.0, '40': 0.0,
'30': 0.01, '30': 0.01,
'20': 0.02, '20': 0.02,
'0': 0.04, '0': 0.04,
}, },
'stoploss': -0.10, 'stoploss': -0.10,
"bid_strategy": { "bid_strategy": {

View File

@ -20,10 +20,10 @@ def default_conf():
"fiat_display_currency": "USD", "fiat_display_currency": "USD",
"dry_run": True, "dry_run": True,
"minimal_roi": { "minimal_roi": {
"40": 0.0, "40": 0.0,
"30": 0.01, "30": 0.01,
"20": 0.02, "20": 0.02,
"0": 0.04 "0": 0.04
}, },
"stoploss": -0.10, "stoploss": -0.10,
"unfilledtimeout": 600, "unfilledtimeout": 600,

View File

@ -18,7 +18,6 @@ from freqtrade.misc import State, get_state
from freqtrade.persistence import Trade from freqtrade.persistence import Trade
def test_parse_args_backtesting(mocker): def test_parse_args_backtesting(mocker):
""" Test that main() can start backtesting or hyperopt. """ Test that main() can start backtesting or hyperopt.
and also ensure we can pass some specific arguments and also ensure we can pass some specific arguments