mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-17 13:21:15 +00:00
chore: add docstring to rpc_status_table
This commit is contained in:
@@ -280,6 +280,9 @@ class RPC:
|
|||||||
def _rpc_status_table(
|
def _rpc_status_table(
|
||||||
self, stake_currency: str, fiat_display_currency: str
|
self, stake_currency: str, fiat_display_currency: str
|
||||||
) -> tuple[list, list, float]:
|
) -> tuple[list, list, float]:
|
||||||
|
"""
|
||||||
|
:return: list of trades, list of columns, sum of fiat profit
|
||||||
|
"""
|
||||||
trades: list[Trade] = Trade.get_open_trades()
|
trades: list[Trade] = Trade.get_open_trades()
|
||||||
nonspot = self._config.get("trading_mode", TradingMode.SPOT) != TradingMode.SPOT
|
nonspot = self._config.get("trading_mode", TradingMode.SPOT) != TradingMode.SPOT
|
||||||
if not trades:
|
if not trades:
|
||||||
|
|||||||
Reference in New Issue
Block a user