From 5ff95db9e10be2259008f6b25eac04dd0b7b5f1a Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 16 Sep 2025 08:17:35 +0900 Subject: [PATCH] move the example of blacklist to Programmatic Use card --- docs/rest-api.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/rest-api.md b/docs/rest-api.md index d7a356798..796f84c4f 100644 --- a/docs/rest-api.md +++ b/docs/rest-api.md @@ -140,6 +140,11 @@ This method will work for all arguments - check the "show" command for a list of # Get the status of the bot ping = client.ping() print(ping) + + # Add pairs to blacklist + client.blacklist("BTC/USDT", "ETH/USDT") + # Add pairs to blacklist by supplying a list + client.blacklist(*listPairs) # ... ``` @@ -167,11 +172,6 @@ blacklist Show the current blacklist. :param add: List of coins to add (example: "BNB/BTC") - - Example: - ftclient.blacklist("BTC/USDT") - ftclient.blacklist("BTC/USDT", "ETH/USDT", "BNB/USDT") - ftclient.blacklist(*listPairs) cancel_open_order Cancel open order for trade.