Skip to content

Commit 79f35bb

Browse files
committed
chore: add docstring to rpc_status_table
1 parent 9e30e5c commit 79f35bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

freqtrade/rpc/rpc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ def _rpc_trade_status(self, trade_ids: list[int] | None = None) -> list[dict[str
280280
def _rpc_status_table(
281281
self, stake_currency: str, fiat_display_currency: str
282282
) -> tuple[list, list, float]:
283+
"""
284+
:return: list of trades, list of columns, sum of fiat profit
285+
"""
283286
trades: list[Trade] = Trade.get_open_trades()
284287
nonspot = self._config.get("trading_mode", TradingMode.SPOT) != TradingMode.SPOT
285288
if not trades:

0 commit comments

Comments
 (0)