Skip to content

Commit 5ff95db

Browse files
committed
move the example of blacklist to Programmatic Use card
1 parent e131527 commit 5ff95db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/rest-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ This method will work for all arguments - check the "show" command for a list of
140140
# Get the status of the bot
141141
ping = client.ping()
142142
print(ping)
143+
144+
# Add pairs to blacklist
145+
client.blacklist("BTC/USDT", "ETH/USDT")
146+
# Add pairs to blacklist by supplying a list
147+
client.blacklist(*listPairs)
143148
# ...
144149
```
145150

@@ -167,11 +172,6 @@ blacklist
167172
Show the current blacklist.
168173
169174
:param add: List of coins to add (example: "BNB/BTC")
170-
171-
Example:
172-
ftclient.blacklist("BTC/USDT")
173-
ftclient.blacklist("BTC/USDT", "ETH/USDT", "BNB/USDT")
174-
ftclient.blacklist(*listPairs)
175175
176176
cancel_open_order
177177
Cancel open order for trade.

0 commit comments

Comments
 (0)