dYdX v4 Setup

This page lists the key differences that are specific to dYdX v4 setup.

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


Export your secret phrase(a set of 24 words) from dxdx website, then put it in .env file


This is official way provided by dYdX core team to execute trade via bot.


Set "dydxv4" to "exchange" field in Tradingview alert message.

Sample alert template:

"exchange": "dydxv4",

  • Please deposit collateral(USDC) in advance. Otherwise you get error when you send request to the tool.

  • Default validator&indexer URLs are specified in config file

Please replace them if you want to use another one.(after forking the repo)

Last updated