Add restricted markets snippet to documentation

This commit is contained in:
Matthias 2019-11-11 07:16:35 +01:00
parent 59fa02e11a
commit e810597eec
2 changed files with 24 additions and 6 deletions

View File

@ -20,7 +20,7 @@ Binance has been split into 3, and users must use the correct ccxt exchange ID f
* [binance.us](https://www.binance.us/) US based users- ccxt id: `binanceus` * [binance.us](https://www.binance.us/) US based users- ccxt id: `binanceus`
* [binance.je](https://www.binance.je/) Trading FIAT currencies - ccxt id: `binanceje` * [binance.je](https://www.binance.je/) Trading FIAT currencies - ccxt id: `binanceje`
### Kraken ## Kraken
### Historic Kraken data ### Historic Kraken data
@ -33,3 +33,25 @@ To download data for the Kraken exchange, using `--dl-trades` is mandatory, othe
```shell ```shell
$ pip3 install web3 $ pip3 install web3
``` ```
## Bittrex
### Restricted markets
Bittrex split its exchange into US and International versions.
The International version has more pairs available, however the API always returns all pairs, so there is currently no automated way to detect if you're affected by the restriction.
If you have restricted pairs in your whitelist, you'll get a warning message in the log on FreqTrade startup for each restricted pair.
If you're an "International" Customer on the Bittrex exchange, then this warning will probably not impact you.
If you're a US customer, the bot will fail to create orders for these pairs, and you should remove them from your Whitelist.
You can get a list of restricted markets by using the following snipptet:
``` python
import ccxt
ct = ccxt.bittrex()
_ = ct.load_markets()
res = [ f"{x['MarketCurrency']}/{x['BaseCurrency']}" for x in ct.publicGetMarkets()['result'] if x['IsRestricted']]
print(res)
```

View File

@ -48,12 +48,8 @@ You can use the `/forcesell all` command from Telegram.
### I get the message "RESTRICTED_MARKET" ### I get the message "RESTRICTED_MARKET"
Currently known to happen for US Bittrex users. Currently known to happen for US Bittrex users.
Bittrex split its exchange into US and International versions.
The International version has more pairs available, however the API always returns all pairs, so there is currently no automated way to detect if you're affected by the restriction.
If you have restricted pairs in your whitelist, you'll get a warning message in the log on FreqTrade startup for each restricted pair. Read [the Bittrex section about restricted markets](exchanges.md#Restricted markets) for more information.
If you're an "International" Customer on the Bittrex exchange, then this warning will probably not impact you.
If you're a US customer, the bot will fail to create orders for these pairs, and you should remove them from your Whitelist.
### How do I search the bot logs for something? ### How do I search the bot logs for something?