GMX Setup

This page lists the key differences that are specific to GMX v2 setup.

Please deploy the latest version of the tool if you've ever used it before

https://tv-connector.gitbook.io/docs/setup/faq#how-to-deploy-the-latest-version-of-the-tool

  • At the moment, it supports only GMX v2 on Arbitrum

  • Prepare enough amount of ETH to pay gas fee(>0.05ETH) and collateral token in your wallet.

  • Set "gmx" to "exchange" field in Tradingview alert message.

Sample alert template:

{
"exchange": "gmx",
"strategy":"testStrategy",
"market":"BTC_USD",
"sizeUsd":"10000",
"reverse":false,
"order":"{{strategy.order.action}}",
"position":"{{strategy.market_position}}",
"price":"{{strategy.order.price}}"
}

By default, the tool uses native USDC(https://arbiscan.io/token/0xaf88d065e77c8cc2239327c5edb3a432268e5831) as collateral token.

If you want to use another token as collateral, specify token symbol(e.g. "BTC, "ETH", "LINK") in "collateral" field.

Also, collateral except for USDC can be only used to trade the same market. Let's say if you use BTC as collateral, you can trade only for BTC_USD. (You can't ETH long/short with BTC collateral.

sample alert template:

{
"exchange": "gmx",
"strategy":"testStrategy",
"market":"BTC_USD",
"sizeUsd":"10000",
"reverse":false,
"order":"{{strategy.order.action}}",
"position":"{{strategy.market_position}}",
"price":"{{strategy.order.price}}",
"collateral": "BTC"
}

Last updated