Parametrized test_persistence

This commit is contained in:
Sam Germain
2021-09-14 23:10:10 -06:00
parent d77ab337bf
commit 5fcb69a0b5
4 changed files with 244 additions and 503 deletions

View File

@@ -0,0 +1,3 @@
# flake8: noqa: F401
from freqtrade.utils.get_sides import get_sides

View File

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