shame on me

This commit is contained in:
hroff-1902 2019-02-13 03:17:54 +03:00 committed by GitHub
parent f551fb5ff7
commit 91629807f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ class FreqtradeBot(object):
self.state = State.STOPPED
return state_changed
def get_target_bid(self, pair: str, test_ticker: Dict[str, float]) -> float:
def get_target_bid(self, pair: str, test_ticker: Dict[str, float] = None) -> float:
"""
Calculates bid target between current ask price and last price
:param test_ticker: Ticker to use for getting Ask and Last Price; left for tests