chore: add docstring to rpc_status_table

This commit is contained in:
Matthias
2024-12-25 16:30:52 +01:00
parent 9e30e5c34c
commit 79f35bb553

View File

@@ -280,6 +280,9 @@ class RPC:
def _rpc_status_table(
self, stake_currency: str, fiat_display_currency: str
) -> tuple[list, list, float]:
"""
:return: list of trades, list of columns, sum of fiat profit
"""
trades: list[Trade] = Trade.get_open_trades()
nonspot = self._config.get("trading_mode", TradingMode.SPOT) != TradingMode.SPOT
if not trades: