Continuous Execution
Operates 24/7, monitoring the market and executing trades instantly. Ensures efficient position management on dYdX.
Gunbot / dYdX (defi) automation
Self-custody trading automation
This solution enables customizable strategies and reliable performance on dYdX. Backed by active development, it helps you trade smarter in the DeFi derivatives market.
Meet the Gunbot workspace. Build your strategy, manage trading pairs, and follow execution from one interface.
Connect through the exchange API and keep funds in your account.
Choose a built-in strategy or develop custom JavaScript logic.
Keep pairs, strategy settings and trading activity within reach.
From account to automation
Deployment is efficient. Connect your dYdX v4 API key, and automate trades across unlimited pairs. This ensures your strategies execute consistently, allowing you to diversify and optimize time management in DeFi trading.
Explore accounts and pair management →
Strategy and execution
Simplify trading on dYdX with tools designed for all futures pairs. Use pre-built logic or custom scripts to match your style. Advanced options like grid setups and programmable strategies allow for deeper market engagement. Built-in risk management features, including automated stop limits and DCA, handle both volatility and accumulation. The bot handles execution, letting you focus on strategy optimization for better dYdX results.

Automation tools
Operates 24/7, monitoring the market and executing trades instantly. Ensures efficient position management on dYdX.
Select from existing DeFi strategies or create custom logic to fit dYdX’s unique environment. Provides the tools to maintain an edge.
Avoids emotional decision-making, adhering strictly to the plan for consistent, algorithmic execution.
A simple interface allows you to oversee trades and adjust settings from any device, including mobile access.
Connect Gunbot to dYdX for sophisticated, automated strategy execution on a leading decentralized derivatives exchange. Both v3 and v4 protocols are supported.
dYdX offers high performance and deep liquidity on its perpetual markets, an ideal environment for grid strategies. Gunbot connects directly to your dYdX account (v3 or v4), managing a grid of orders with precision. Its dynamic trailing and automatic profit target features help adapt the grid to dYdX's fast-moving order book, while you retain full self-custody of your funds.
Grid trading is designed to place a series of buy (long) and sell (short) orders within a defined range. It systematically trades price fluctuations, aiming to capture profits from market volatility without needing to predict the overall direction.
Get started with dYdX (defi)
Follow the exchange setup guide and configure the API permissions required for trading. Keep withdrawal access disabled where applicable.
Read the setup guide →Choose the pairs and strategy you want to run. Review order sizes, exposure limits and entry and exit settings before enabling automation.
Explore strategy tools →Monitor orders and trading activity, then adjust settings as conditions change. Automation follows your rules; it does not remove market risk.
See Gunbot in action →Guides and tools for trading on dYdX
These resources provide practical advice for optimizing your results on dYdX. Whether optimizing strategies or learning backtesting basics, find the necessary information here.
Review backtesting data to evaluate strategy performance on dYdX. Use these insights to refine your setup.
See results →Learn to craft and apply unique trading setups for dYdX using JavaScript.
Start coding →Select approaches that align with your objectives on dYdX. This guide details your available options.
See strategy choices →View the full list of supported exchanges, including details on dYdX compatibility.
See exchange support →Before you connect
Gunbot Unlimited combines the hosted workspace shown in the overview with self-hosted trading cores. API secrets and order execution stay on the cores you run.
Connect an exchange →Review each exchange’s supported markets, minimum order sizes and API requirements. Strategy settings should fit the selected pair and market; backtesting and past results do not guarantee live results.
Check exchange support →Your next step