junta / tradingview-alert-connector

Integrating TradingView strategy alert and executing automated trading for futures DEXes
https://tv-connector.gitbook.io/docs/
MIT License
76 stars 42 forks source link

GMX: creating orders when no available liquidity #26

Open in33dngrok opened 7 months ago

in33dngrok commented 7 months ago

currently, for GMX, an order is created and sent to the network regardless of the amount of available liquidity in the market.

the gmx-interface does not allow the user to create an order transaction if there is no available liquidity for the specific side of the market.

this should behave similarly, otherwise it just wastes gas.