does not execute webhook commands
aaqqjj opened this issue · comments
First of all thanks for the bot. I created an api of futures usd c in binance, but when I send the alert this appears and it does not run, I would like to know if when you send the buy alert it automatically closes the one that had been opened in short.
Hi. I'm getting a similar error for Binance Futures and I don't know how to fix it. @CryptoMF
Here is how the log looks like:
2023-02-06T16:30:01.000Z │ DEBUG │ Execute permission granted using standard permission set: trade:close => [core]
2023-02-06T16:30:01.000Z │ NOTICE │ Whitelist verification is enabled
2023-02-06T16:30:01.000Z │ NOTICE │ API Access Granted: 52.32.178.7 is whitelisted
2023-02-06T16:30:01.000Z │ NOTICE │ Command Parameters: {command: trade:long, size: 1000, symbol: ETHUSDTPERP, stub: tradeszxyks}
2023-02-06T16:30:01.000Z │ NOTICE │ Command Parameters:
2023-02-06T16:30:01.000Z │ NOTICE │ ├─ command: trade:long
2023-02-06T16:30:01.000Z │ NOTICE │ ├─ size: 1000
2023-02-06T16:30:01.000Z │ NOTICE │ ├─ symbol: ETHUSDTPERP
2023-02-06T16:30:01.000Z │ NOTICE │ └─ stub: tradeszxyks
2023-02-06T16:30:01.000Z │ DEBUG │ Execute permission granted using standard permission set: trade:long => [core]
2023-02-06T16:30:02.000Z │ ERROR │ Unknown Market: ETHUSDTPERP. Please ensure that the market symbol is listed in 'trade::markets'.
2023-02-06T16:30:03.000Z │ ERROR │ Unknown Market: ETHUSDTPERP. Please ensure that the market symbol is listed in 'trade::markets'.
This is how it is configured on tradingview:
long_cmd = "trade:" + stub + ":long size=1000 symbol=" + syminfo.ticker
short_cmd = "trade:" + stub + ":short size=1000 symbol=" + syminfo.ticker
takeprofit_cmd = "trade:" + stub + ":close size=100% symbol=" + syminfo.ticker
close_cmd = "trade:" + stub + ":close size=100% symbol=" + syminfo.ticker
Not sure what I'm doing wrong. Any help is appreciated
I fixed the issue by mapping ETHUSDTPERP to ETC/USDT