Merge pull request #2505 from freqtrade/bittrex_restricted_markets
Add restricted markets snippet to documentation
This commit is contained in:
commit
c5ed004c9e
@ -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.je](https://www.binance.je/) Trading FIAT currencies - ccxt id: `binanceje`
|
||||
|
||||
### Kraken
|
||||
## Kraken
|
||||
|
||||
### Historic Kraken data
|
||||
|
||||
@ -33,3 +33,32 @@ To download data for the Kraken exchange, using `--dl-trades` is mandatory, othe
|
||||
```shell
|
||||
$ 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.
|
||||
|
||||
The warning message will look similar to the following:
|
||||
|
||||
``` output
|
||||
[...] Message: bittrex {"success":false,"message":"RESTRICTED_MARKET","result":null,"explanation":null}"
|
||||
```
|
||||
|
||||
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)
|
||||
|
||||
```
|
||||
|
@ -48,12 +48,8 @@ You can use the `/forcesell all` command from Telegram.
|
||||
### I get the message "RESTRICTED_MARKET"
|
||||
|
||||
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.
|
||||
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.
|
||||
Read [the Bittrex section about restricted markets](exchanges.md#Restricted markets) for more information.
|
||||
|
||||
### How do I search the bot logs for something?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user