merge upstream

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி
2022-05-18 02:27:40 +05:30
parent 3dd03151a5
commit 7bdaa797ec
3 changed files with 4 additions and 3 deletions

View File

@@ -1474,7 +1474,7 @@ class Exchange:
price_side = price_map[(side, 'short' if is_short else 'long', price_side)]
return price_side
def get_rate(self, pair: str, refresh: bool, # noqa: max-complexity: 13
def get_rate(self, pair: str, refresh: bool,
side: EntryExit, is_short: bool,
order_book: Optional[dict] = None, ticker: Optional[dict] = None) -> float:
"""