CryptoMF / frostybot-js

Frostybot-JS is a cryptocurrency trading API endpoint, designed to execute webhook or REST requests as orders on a variety of well-known exchanges. While primarily designed to automate your Tradingview strategies, Frostybot can also be integrated with any other software using webhooks or REST. Bitmex, FTX, Deribit and Binance are supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FTX symbol mapping issue

cryptomius opened this issue · comments

For some reason the standard / usual FTX symbols (ie LUNA-PERP or LUNAPERP) are not working anymore.

ie firing this webhook from Tradingview fails:

trade:ftx:stoploss symbol=LUNA-PERP stoptrigger={{plot_0}} reduce=true
trade:ftx:stoploss symbol=LUNAPERP stoptrigger={{plot_0}} reduce=true

I think the only way to get this to work is to use Frostybot's internal arbitrary symbol LUNA/USD:USD which is not intuitive. I used to be able to use LUNA-PERP ...

2022-04-16T20:00:06.000Z │ DEBUG │ Execute permission granted using standard permission set: trade:stoploss => [core, singleuser]
2022-04-16T20:00:06.000Z │ ERROR │ Unknown Market: LUNA-PERP. Please ensure that the market symbol is listed in 'trade::markets'.
2022-04-16T20:00:06.000Z │ NOTICE │ Command Parameters: {command: trade:stoploss, symbol: LUNAPERP, stoptrigger: 79.89738496573875, reduce: true, stub: ftx}
2022-04-16T20:00:06.000Z │ NOTICE │ Command Parameters:
2022-04-16T20:00:06.000Z │ NOTICE │ ├─ command: trade:stoploss
2022-04-16T20:00:06.000Z │ NOTICE │ ├─ symbol: LUNAPERP
2022-04-16T20:00:06.000Z │ NOTICE │ ├─ stoptrigger: 79.89738496573875
2022-04-16T20:00:06.000Z │ NOTICE │ ├─ reduce: true
2022-04-16T20:00:06.000Z │ NOTICE │ └─ stub: ftx
2022-04-16T20:00:06.000Z │ DEBUG │ Execute permission granted using standard permission set: trade:stoploss => [core, singleuser]
2022-04-16T20:00:07.000Z │ ERROR │ Unknown Market: LUNAPERP. Please ensure that the market symbol is listed in 'trade::markets'.
2022-04-16T21:45:02.000Z │ NOTICE │ Whitelist verification is disabled
2022-04-16T21:45:02.000Z │ NOTICE │ Command Parameters: {command: trade:stoploss, symbol: LUNA-PERP, stoptrigger: 79.9761797923669, reduce: true, stub: ftx}
2022-04-16T21:45:02.000Z │ NOTICE │ Command Parameters:
2022-04-16T21:45:02.000Z │ NOTICE │ ├─ command: trade:stoploss
2022-04-16T21:45:02.000Z │ NOTICE │ ├─ symbol: LUNA-PERP
2022-04-16T21:45:02.000Z │ NOTICE │ ├─ stoptrigger: 79.9761797923669
2022-04-16T21:45:02.000Z │ NOTICE │ ├─ reduce: true
2022-04-16T21:45:02.000Z │ NOTICE │ └─ stub: ftx