> ## Documentation Index
> Fetch the complete documentation index at: https://docs.guito.pt/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Trading 212

> Connect your Trading 212 account to guito to sync positions and transactions.

This page shows how to connect your Trading 212 account to guito. Once connected, guito automatically syncs positions, cash, dividends, deposits, and order history, which then appear alongside the rest of your net worth with no manual entry. This feature is available on the Plus plan.

<Note>
  guito has read-only access. It never places orders or moves money in your Trading 212 account.
</Note>

## Connect your account

You'll need a personal API key (a Key ID and a Key secret) generated in Trading 212. Each key covers one account (Invest or ISA).

<Steps>
  <Step title="Open the connections page">
    Go to **Connections** in the sidebar, or directly at `/connections`.
  </Step>

  <Step title="Connect Trading 212">
    Click **New connection** and, in the list of institutions, select **Trading 212**.
  </Step>

  <Step title="Generate an API key in Trading 212">
    Follow the instructions in the dialog: in your Trading 212 account, go to **Settings > API (Beta)**, enable access, and generate a key with all read permissions enabled: Account, Portfolio, History, Metadata, Orders, and Pies.
  </Step>

  <Step title="Paste the key and confirm">
    Paste the **Key ID** and **Key secret** into the matching fields and confirm.
  </Step>

  <Step title="Wait for the sync">
    guito returns to the Connections page and shows a **Syncing** indicator on the Trading 212 row while it fetches positions, orders, dividends, and Pies.
  </Step>
</Steps>

<Tip>
  To connect both accounts (Invest and ISA), generate a key in each one and add two separate connections.
</Tip>

## Keep your data up to date

You don't have to do anything to keep the account current. guito syncs Trading 212 every 4 hours in the background and, whenever you open the Connections or Investments page, triggers a new sync if the last one was more than 1 hour ago. There's no manual sync button: to force an update, just visit one of those pages.

<Note>
  guito imports your full Trading 212 history, not just recent activity, by reading the statement export Trading 212 provides. Trading 212 may email or notify you each time guito downloads that export to keep your data current; these notifications are expected and come from Trading 212, not guito.
</Note>

## What guito syncs

<CardGroup cols={2}>
  <Card title="Positions" icon="https://mintcdn.com/guito/Z2-mKthyIORVPFl5/icons/chart-line.svg?fit=max&auto=format&n=Z2-mKthyIORVPFl5&q=85&s=cf550edb08c858b12e2d7f0b5d18ee20" width="24" height="24" data-path="icons/chart-line.svg">
    Your positions appear in your portfolio with the average cost computed from the imported orders.
  </Card>

  <Card title="Cash" icon="https://mintcdn.com/guito/Z2-mKthyIORVPFl5/icons/wallet.svg?fit=max&auto=format&n=Z2-mKthyIORVPFl5&q=85&s=fe7531f58f311ad5a6aad3bb2cfe062e" width="24" height="24" data-path="icons/wallet.svg">
    The balance shown is your total Trading 212 wallet: free cash, cash in Pies, and cash reserved for limit orders.
  </Card>

  <Card title="Dividends and interest" icon="https://mintcdn.com/guito/qyCDktPAmiF08sQd/icons/coins.svg?fit=max&auto=format&n=qyCDktPAmiF08sQd&q=85&s=d1d1eba874bd25515843d79238b73d17" width="24" height="24" data-path="icons/coins.svg">
    Dividends and interest are imported and classified under the Investments category.
  </Card>

  <Card title="Deposits and fees" icon="https://mintcdn.com/guito/Z2-mKthyIORVPFl5/icons/arrow-left-right.svg?fit=max&auto=format&n=Z2-mKthyIORVPFl5&q=85&s=40dcd9f3b41b775fc907ffd01c3261e1" width="24" height="24" data-path="icons/arrow-left-right.svg">
    Deposits and withdrawals come in as Transfers; fees go under Fees and charges.
  </Card>
</CardGroup>

### Pies (automatic portfolios)

Each Pie appears as a separate portfolio in your portfolio list, named **Trading 212: \[Pie name]**. If you hold the same asset inside a Pie and outside it, you'll see two separate positions with independent average cost, grouped under the same ticker in the overview.

### Multiple currencies

If your Trading 212 account holds cash in more than one currency (for example euros and dollars), guito treats each currency as its own cash account ("Trading 212 (USD)", "Trading 212 (GBP)"), each with its own history in the original currency and converted to euros in your totals. Currency conversions appear as a transfer between those accounts, with the fee recorded separately under Fees and charges.

### Quotes

Trading 212 provides the current price of each position on every sync, and guito stores that price as an intraday reference. Price history continues to come from the market-data provider. For assets without market coverage, the chart shows only the data since you connected your Trading 212 account.

### How movements are classified

Each movement arrives with the right category already set, derived from the event type Trading 212 sends:

* Buys and sells go under **Investments**.
* Dividends and interest also go under **Investments**.
* Broker deposits and withdrawals are **Transfers**.
* Fees go under **Fees and charges**.

Buys, sells, and dividends show the company logo for the ticker and a description with the product name and ticker ("Buy 10 Apple Inc. (AAPL)"). On the detail of an imported buy, sell, or dividend, you'll find an **Investment** field with a **View in portfolio** link that takes you straight to the asset's page.

## Corporate actions and special cases

<AccordionGroup>
  <Accordion title="Splits, stock dividends, and FOP">
    guito automatically processes stock splits, dividends paid in shares, and free-of-payment transfers (FOP).
  </Accordion>

  <Accordion title="Acquisitions">
    An acquisition (for example, one company acquiring another) appears with both legs, and guito shows a review suggestion to transfer the average cost manually.
  </Accordion>

  <Accordion title="Return of capital">
    The cash received lands in your account but isn't treated as a dividend, because it isn't income. guito suggests adjusting the position's average cost manually.
  </Accordion>

  <Accordion title="Conflicts with manual transactions">
    If you had manually recorded a buy or sell that Trading 212 now also imports, guito suggests the match on the Connections page so you can accept or dismiss it.
  </Accordion>

  <Accordion title="Assets new to guito">
    When a position has an ISIN that guito doesn't yet know, a new product is created automatically from the market-data provider. If there's no match, the product has no market coverage: the current price comes from Trading 212 and the chart shows only the data since you connected.
  </Accordion>
</AccordionGroup>

## Disconnect, reconnect, and update the key

In the action menu on the connection card, choose **Disconnect**. The cash account is archived and the API key is deleted from the vault. Historical transactions, positions, and Pies stay visible.

If you generate a new key in Trading 212 (or the previous one was revoked), just go back to **Connect Trading 212** with the new key. guito recognizes it's the same account, replaces the key in the vault, and keeps all the history (transactions, positions, Pies). The same applies after a disconnect: reconnecting the same account reactivates it in its previous state instead of creating a new account.

<Warning>
  If a sync fails (revoked key or problems at Trading 212), the connection is marked as **Error**. You can reconnect from the Connections page.
</Warning>

## Limitations

* Only real Invest and ISA accounts. Demo (paper trading) and CFD accounts are not supported.
* Only Trading 212 accounts with a EUR base currency can be connected. Within a EUR account, cash held in other currencies (USD, GBP) syncs as separate cash accounts.
* Available on the Plus plan only.

## Related pages

<CardGroup cols={2}>
  <Card title="Net worth overview" icon="https://mintcdn.com/guito/Z2-mKthyIORVPFl5/icons/house.svg?fit=max&auto=format&n=Z2-mKthyIORVPFl5&q=85&s=94cc77f0619465f49834864f88fc8397" href="/en/features/net-worth-overview" width="24" height="24" data-path="icons/house.svg">
    See how your Trading 212 positions and cash join the rest of your net worth.
  </Card>
</CardGroup>
