thibaultyou / tradingview-alerts-processor

Minimalist service designed to execute TradingView webhooks and process them to cryptocurrencies exchanges.
MIT License
79 stars 23 forks source link

Kraken web hook message #18

Closed shimuldn closed 3 years ago

shimuldn commented 3 years ago

Hi, I am doing order on kraken spot.

{ "stub": "kraken", "direction": "long", "symbol": "ADA/USD", "size": "100" }

Getting error message: - Failed to open position on ADA/USD. -> {"name":"InvalidOrder"} "direction": "buy" also error.

Doing ADAUSD - Failed to open position on ADAUSD.

What I am doing wrong?

oldrich-safar commented 3 years ago

Same with Binance @thibaultyou .

shimuldn commented 3 years ago

Same with Binance.

Binance is working fine. Use this formate for Binance future. { "stub": "stub", "direction": "long", "symbol": "ETH/USDT", "size": "100" }

oldrich-safar commented 3 years ago

Sorry my fault, yes its working. I used: "symbol": "ETHUSDT"

shimuldn commented 3 years ago

Sorry my fault, yes its working. I used: "symbol": "ETHUSDT"

Formatting need to be as per exchange. Not your fault documentation is the thing here.

thibaultyou commented 3 years ago

Hello there, yeah I'm sorry I need to update the documentation to be more explicit, you need to use per exchange format for symbols. As this tool has initially been written for FTX the documentation is using FTX symbols for now.

You can check exchange symbols with the /markets route.

shimuldn commented 3 years ago

If anyone in future looking for this issue just use { "stub": "kraken", "direction": "long", "symbol": "ADA/USD", "size": "20" } and make sure you are using size more than minimum for the exchange for that coin.