> For the complete documentation index, see [llms.txt](https://docs.b2copy.b2broker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2copy.b2broker.com/admin-guide/configure-b2copy/link-open-positions.md).

# Link open positions

You can link open positions on copy-trading investment accounts with the corresponding positions opened on master accounts. Positions can be linked if they are opened for identical symbols.

This may be useful in the following cases:

* when migrating data from a third-party platform to the B2COPY investment platform
* when it’s needed to open a position on an investment account later than the corresponding position is opened on a master account

{% hint style="info" %}
Before linking open positions on an investment account with the positions on a master account, make sure that the investment account is subscribed to the master account.
{% endhint %}

Link positions as follows:

{% stepper %}
{% step %}
Go to **Investment Platform** and expand the required platform instance.
{% endstep %}

{% step %}
Go to **B2COPY** > **Admin Tools** > **Link Positions**.

<figure><img src="/files/bRYv9S7Mdi7vJ83PHCap" alt="Link positions"><figcaption><p>Link positions</p></figcaption></figure>
{% endstep %}
{% endstepper %}

## Link individual positions

In the **Investor position ticket** and **Master position ticket** fields, enter tickets of the positions that you want to link and click the **Link** button.

If no errors are displayed, the specified positions are successfully linked.

To link another pair of positions, click **Add**, enter position tickets in the displayed fields, and then click the **Link** button.

To unlink a pair of positions that you previously linked, click the **bin** icon.

## Link multiple positions at once

To link multiple positions at once, use bulk linking:

{% stepper %}
{% step %}
Click **Download CSV template**.
{% endstep %}

{% step %}
In the downloaded CSV template, enter pairs of position tickets that you want to link in the following format:

`Investor position ticket,Master position ticket`\
`1001,1002`\
`1003,1004`
{% endstep %}

{% step %}
Save the updated CSV file.
{% endstep %}

{% step %}
Click **Select file**, and then navigate to and select the CSV file on your computer.
{% endstep %}

{% step %}
Click the **Link** button to link the positions specified in the CSV file.
{% endstep %}
{% endstepper %}

If no errors are displayed, the positions specified in the CSV file are successfully linked.

After linking, open positions on investment accounts will be closed when the corresponding positions with which they are linked are closed on master accounts.


---

# 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://docs.b2copy.b2broker.com/admin-guide/configure-b2copy/link-open-positions.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.
