FAQ

What’s the difference between Base- and Quote asset?

The baseAsset of an order or signal is the asset that will be bought or sold. The quoteAsset is the asset that will be paid (when buying the base asset) or received (when selling the base asset). So, the below order body describes an order to buy BTC with a limit price of 47000 USDT. Selling BTC for USDT only requires the side of the order to be changed; no switching of base- and quoteAsset is required.

{
"signalProvider": "MyBot", 
"signalProviderKey": "MyKey", 
"extId": "MyExtId", 
"exchange": "binance", 
"baseAsset": "BTC", 
"quoteAsset": "USDT", 
"limitPrice": "47000", 
"qtyPct": "40", 
"side": "buy", 
"ttlType": "secs", 
"ttlSecs": "30", 
"type": "limit", 
"responseType": "ACK"
}

Why do I get a ‘Forbidden’ response?

In general, a ‘forbidden’ response results from making a call with an unknown signalProvider and/or signalProviderKey. Bot names and keys are case sensitive, so check it carefully.
Also make sure you’re using the right url:
When developing/testing your bots, you should use: https://signal.revenyou.io/paper/api/signal/v2
Once your bot comes out of quarantine use: https://signal.revenyou.io/production/api/signal/v2