> For the complete documentation index, see [llms.txt](https://robotrade-ai.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://robotrade-ai.gitbook.io/untitled/guides/dydx.md).

# /dydx

Visit <https://t.me/RobotradeAI_Bot> to begin!

Upon clicking the link above, you'll be directed to our telegram bot!

**Start your dYdX journey**:&#x20;

* Open a chat with the bot on Telegram and send the `/dydx` command.&#x20;

**Create a wallet:**

* Select Create Wallet to generate a new dYdX wallet.
* Copy this public address for later.

<figure><img src="/files/wInBPEU7YuPPn9bMAlEZ" alt=""><figcaption></figcaption></figure>

**Setup your strategy:**

* Type /dydx again, and select 'Setup Trading' to build your strategy
* It will query your wallets public address and show current balance.&#x20;
* Pick your coin, strategy of choice and the timeframe you want to trade on.
* Pick your leverage, from 0-11x in increments of 0.1.&#x20;
* Then set the allocation of your portfolio you want to trade, from 1-100%.
* type 'confirm' to save to the database.

<figure><img src="/files/LwBdboAkB09FqdI9LIvI" alt=""><figcaption></figcaption></figure>

**Fund your dYdX account**

* Now copy and paste your private key into Metamask.
* You can find your private key by typing /dydx, then 'Show Wallet Details'.
* Once you import into Metamask, you can send yourself Ethereum to this address.
* Then go to <https://trade.dydx.exchange/portfolio/overview?utm_source=dydx-website>
* Bridge ethereum to dYdX v3 with this link. Your account will now be automatically traded by our trading systems.&#x20;

**For a follow along demo please follow this video:**

{% embed url="<https://youtu.be/Iia9IlKncN8>" %}

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://robotrade-ai.gitbook.io/untitled/guides/dydx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
