mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update bt_output types
This commit is contained in:
parent
dd469944c9
commit
03d2d5dc5d
|
@ -1,5 +1,5 @@
|
||||||
import logging
|
import logging
|
||||||
from typing import Any, Dict, List
|
from typing import Any, Dict, List, Union
|
||||||
|
|
||||||
from tabulate import tabulate
|
from tabulate import tabulate
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ def _get_line_floatfmt(stake_currency: str) -> List[str]:
|
||||||
|
|
||||||
|
|
||||||
def _get_line_header(
|
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]:
|
) -> List[str]:
|
||||||
"""
|
"""
|
||||||
Generate header lines (goes in line with _generate_result_line())
|
Generate header lines (goes in line with _generate_result_line())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user