RBC Direct Investing: importing your activity
A portfolio tracker for RBC Direct Investing accounts. Import the account activity file and get positions, options, dividends and Canadian cost basis, with RBC's file quirks handled.
RBC Direct Investing shows what an account holds and a book cost for each holding. It doesn't show a position from its first buy to its last sale, what the options sold on a stock have earned, or the cost of US shares in Canadian dollars at the rate of the day you bought them.
myTraderDash builds those from the account activity file RBC lets you download. No RBC password is asked for: you export a file, you import it.
The account activity, not the order history
Most trackers ask for the order history: the list of orders you placed. It has no dividends, no exercised options and no journals between the Canadian and US sides of the account, so positions built from it go wrong and show no income.
myTraderDash reads the full activity export, as an Excel file (XLSX), with every kind of activity included and not only trades.
Several files can be imported at once, in any order, and a row that appears in two files is only counted once. Go back as far as the account goes: a position bought before your first file can't be matched to its purchase and is flagged as an issue until the earlier activity is imported.
The columns it reads
Date, Activity, Symbol, Symbol Description, Quantity, Price, Settlement Date,
Account, Value, Currency, Description
The app recognizes the file by those headings, so there is nothing to configure. Leave the file as RBC made it: the lines above the headings are expected.
| In the RBC file | In myTraderDash |
|---|---|
Buy, Sell | Stock and option trades |
Dividends | Dividends on the stock that paid them |
Transfers to or from U$ / C$ | Shares journaled between the CAD and USD sides, as one move |
Reorganization on an exercised option | The option closed, and the shares it produced tied to it |
| Deposits, withdrawals, foreign exchange | Cash movements |
RBC's quirks, handled
- Lines before the headings. An RBC export starts with several lines about the export itself. They are skipped, and the headings are found where RBC puts them.
- Dates as Excel numbers. A date arrives as a number such as
45426; it is read as the day it stands for (May 17, 2024). - Options under internal codes. An option's
Symbolis a code such as8NTLSY9. The real contract is in its description, which is read for the underlying stock, the expiry, call or put and the strike. - No commission column. RBC puts the commission inside the
Valueof the trade. The app works it out as the difference between that value and quantity × price, so fees are in your results. - Journals in two rows. Moving shares between currencies is a
Transfersrow leaving one side (TRANSFER TO U$) and one arriving on the other (TRANSFER FROM C$). The pair becomes one move, and the shares keep their cost. See Journaling shares between listings. - An exercise in two rows. The option side is a
Reorganization, the share side aBuymarked "EXERCISE OF OPTION". They are tied together, and the option's cost goes into the shares. - Dividends as totals. The dividend's amount is in
Value; quantity and price are empty.
Not read yet
Support is built from real files, so what a file never showed isn't read. Listed so you know what to check, not hidden:
| In the file | Today |
|---|---|
| Options that expired | No file has shown one yet, so it isn't read. |
| Options assigned | No file has shown one yet, so it isn't read. |
| Dividend reinvestment | No file has shown one yet, so it isn't read. |
| Tax withheld on a dividend | No file has shown one yet, so it isn't read. |
| Return of capital | No file has shown one yet, so it isn't read. |
| A dividend reversed or cancelled | No file has shown one yet, so it isn't read. |
| Positions transferred in or out | Skipped. The shares are missing from the account until their purchase is added by hand. |
| Mergers and acquisitions | Skipped. What it did to the position is to be entered by hand. |
| Spinoffs | Skipped. What it did to the position is to be entered by hand. |
| Tender offers and buybacks | No file has shown one yet, so it isn't read. |
| Name and symbol changes | Skipped. What it did to the position is to be entered by hand. |
| Short sales of stock | No file has shown one yet, so it isn't read. |
Stock splits are applied from market data, whatever the file says. Every skipped row is shown in the import preview with its reason, before anything is saved. If your file has something on this list, it is the file that gets it supported: How support gets added.
What you get
- Positions from first buy to final sale.
- Option trades beside the shares, grouped into strategies where the file shows how each option ended. An option RBC's file doesn't close (see the list above) stays open until you record how it ended. See Strategy detection.
- Dividends beside the trades, with projections of what is still to come.
- A Canadian tax estimate: an average cost (ACB) pooled across your taxable accounts, each purchase and sale at the Bank of Canada rate of its own day, superficial losses flagged, and an Excel export with every lot. A T5008 can be uploaded to compare RBC's figures with the report's.
If your shares arrived at RBC from another broker, or left it for one, the cost basis is the part to check: ACB after an in-kind transfer.
Getting started
- On Accounts & Data, choose Add Account with RBC Direct Investing as the broker.
- Import that account's activity files. The preview names the broker format it detected and lists what will be added, and what is skipped, before anything is saved.
- Repeat for each account.
Every step of the import, and what each part of the preview means: Import a broker file.
Another broker of yours isn't listed? How support gets added.
myTraderDash is an independent product. It is not affiliated with, endorsed by or connected to RBC or RBC Direct Investing.