> For the complete documentation index, see [llms.txt](https://guide.moontrader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.moontrader.com/en-moontrader-docs/getting-started/working-with-exchanges/exchange-sub-accounts.md).

# Exchange Sub-accounts

### What Are Sub-accounts

**Sub-accounts** are separate trading accounts within your main exchange account. Each works independently: it has its own balance, orders, positions, and trading history. All sub-accounts are managed through the main account.

### Why Use Sub-accounts

* **Strategy separation** — run different algorithms on separate accounts without mutual interference
* **Risk management** — limit potential losses within a single sub-account
* **Convenient accounting** — track statistics for each strategy separately
* **Testing** — test new algorithms without affecting main capital
* **Team collaboration** — provide different traders access to your sub-accounts

### How to Create a Sub-account

1. Log in to your main account on the exchange
2. Go to "Sub-accounts" section (usually in the profile menu)
3. Click "Create Sub-account"
4. Enter a meaningful sub-account name
5. Configure access rights if needed
6. Fund the sub-account through internal transfer from the main account

### API Keys for Sub-accounts

**Important:** each sub-account requires separate API keys. Main account keys will not work.

#### Creating Keys for a Sub-account:

1. Switch to the required sub-account in the exchange interface
2. Go to "API Management" section
3. Create keys with necessary permissions (trading, balance viewing)
4. Use these keys in MoonTrader to connect to the sub-account

### Fund Management

Transfers between the main account and sub-accounts are instant and commission-free:

* **Funding sub-account** — transfer funds from the main account
* **Withdrawing profits** — move earnings back to the main account
* **Redistribution** — move capital between sub-accounts

### Benefits of Using Sub-accounts

✅ **Risk isolation** — losses from one algorithm don't affect others

✅ **Clear reporting** — see results of each strategy separately

✅ **Flexible management** — quickly stop unprofitable strategies

✅ **Scalability** — add new strategies without reworking existing ones

***

Sub-accounts are a professional tool for structured trading. They allow efficient management of multiple strategies simultaneously, control risks, and analyze results.


---

# 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://guide.moontrader.com/en-moontrader-docs/getting-started/working-with-exchanges/exchange-sub-accounts.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.
