Update bt_output types

This commit is contained in:
Matthias 2024-06-13 06:42:42 +02:00
parent dd469944c9
commit 03d2d5dc5d

View File

@ -1,5 +1,5 @@
import logging
from typing import Any, Dict, List
from typing import Any, Dict, List, Union
from tabulate import tabulate
@ -20,7 +20,7 @@ def _get_line_floatfmt(stake_currency: str) -> List[str]:
def _get_line_header(
first_column: str, stake_currency: str, direction: str = "Trades"
first_column: Union[str, List[str]], stake_currency: str, direction: str = "Trades"
) -> List[str]:
"""
Generate header lines (goes in line with _generate_result_line())