stable/freqtrade/utils/get_sides.py

6 lines
137 B
Python
Raw Normal View History

2021-09-15 05:10:10 +00:00
from typing import Tuple
def get_sides(is_short: bool) -> Tuple[str, str]:
return ("sell", "buy") if is_short else ("buy", "sell")