fix: no tradeID only returns open trades

This commit is contained in:
David Arena
2024-12-17 18:32:27 +01:00
parent ef3a7d5c92
commit 47613b1cf9
2 changed files with 3 additions and 2 deletions
@@ -477,6 +477,7 @@ class FtRestClient:
def list_custom_data(self, trade_id=None, key=None):
"""Lists custom_data of the running bot.
Without a tradeid, returns all custom_data from open trades.
:param tradeid: Optional keyword argument - Id of the trade (can be received via status command)
:param key: Optional keyword argument - Key of the custom data