0

Bittrex Restricted Markets (US)


Avatar
rle0n

Note: This is NOT critical to the bot's behavior and does NOT affect trading in any way. It might just help clean the logs a little.

When using Bittrex with US-based accounts, most of the markets are restricted, so the exchange API will throw back an "INVALID_RESTRICTED_ACCOUNT" message. For new bot users, this might be confusing if they are not aware of these restrictions.

I don't know what the right approach might be good here in order to ignore CBS signals that are restricted in the US markets, OR maybe the right approach is to do nothing and just include a built-in message in the logs with something similar to "this market is restricted for XX accounts".

For reference, Bittrex does return the restricted markets in their API within the "GET /markets" call {"prohibitedIn": ["string"]}, with the "US" string in this case.

Hope this might help to improve the error log screen, but again, it is NOT critical, it is just a small suggestion for newcomers to better interpret this error.


A