mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
removed default to refresh argument in get_buy_rate and get_sell_rate
This commit is contained in:
parent
47874a4527
commit
f6db784a85
|
@ -234,7 +234,7 @@ class FreqtradeBot:
|
|||
|
||||
return trades_created
|
||||
|
||||
def get_buy_rate(self, pair: str, refresh: bool = True, tick: Dict = None) -> float:
|
||||
def get_buy_rate(self, pair: str, refresh: bool, tick: Dict = None) -> float:
|
||||
"""
|
||||
Calculates bid target between current ask price and last price
|
||||
:return: float: Price
|
||||
|
@ -615,7 +615,7 @@ class FreqtradeBot:
|
|||
|
||||
return trades_closed
|
||||
|
||||
def get_sell_rate(self, pair: str, refresh: bool = True) -> float:
|
||||
def get_sell_rate(self, pair: str, refresh: bool) -> float:
|
||||
"""
|
||||
Get sell rate - either using get-ticker bid or first bid based on orderbook
|
||||
The orderbook portion is only used for rpc messaging, which would otherwise fail
|
||||
|
|
Loading…
Reference in New Issue
Block a user