stable/freqtrade/utils/get_sides.py
2021-09-15 18:29:17 -06:00

6 lines
137 B
Python

from typing import Tuple
def get_sides(is_short: bool) -> Tuple[str, str]:
return ("sell", "buy") if is_short else ("buy", "sell")