Bulk importing historical buy and sell trades via CSV file
Note that if you have changed broker and have had your historical trades transfer to your new broker, these historical trades will not be on your CSV file download from your new broker. You will need to download the CSV from the original broker or adding the holdings and trades in manually.
The first row of your file must contain a header for each column. The file must contain the compulsory fields and it is important that the column headers and data values match the format supplied in the CSV File - Column Headers section to ensure that your data is imported correctly.
Most online stock brokers will enable you to download your historical trade history in a csv format
Download the following template files to complete if required:
Step by step guide to bulk importing your buy and sell trades via a CSV file:
1 – Login to your broker or portfolio tracking provider and download you historical trades as a CSV file.
2 – Open the downloaded CSV file and check it has the Compulsory Fields, headings and format required for the Manual importer feature.
3 – Login to Sharesight.
4 – On the ‘Let’s get started with Sharesight’ page, select the ‘Import from a file’ tile.
5 – Select ‘Choose file’.
6 – From the ‘Open file’ window, find and select your download historical trade CSV file. The file will likely be in your downloads folder. Make sure it is a Comma Separated Values file. If necessary, convert your XLS or XLSX file to CSV format.
7 – Click ‘Open’.
8 – Select you are importing ‘trades’ from the dropdown menu.
9 – Click ‘Upload’.
10 – Select the date format preference. International: DD/MM/YYYY or USA MM/DD/YYYY.
11 – On the ‘Bulk Trade Importer - Column Selection’ page; the left side column titles in blue are your CSV file uploading titles. On the right is the Sharesight fields. Sharesight will automatically suggest Sharesight fields. To change the selections, select from the dropdown menu to match the Sharesight Field to your CSV column content. Make sure the Compulsory Fields are selected. If a field isn’t required select ‘skip this column’.
12 – Once all columns have been matched with the correct Sharesight field or ‘Skip this column’. Click ‘Start import now’.
13 – The ‘Trades to import into Portfolio:’ page will show an itemised list of all trades imported from the CSV file. Verify and edit the trade data as required. If trades appear in red, this means that Sharesight can’t upload the trade or the trade will cause errors in your portfolio. The solutions to common errors can be found here.
14 – Once you have verified the trade data, click ‘Save all transactions’.
15 – Once the trades are saved, your Sharesight portfolio will be populated and the portfolio overview page will load.
Your holdings will be calculated by Sharesight’s performance calculation methodology which is a money-weighted return methodology, meaning the investment performance takes account of the size and timing of cash flows. Sharesight will automatically create dividends and corporate actions for the holdings you have imported.
|Column Header||Description||Accepted Values||Example|
|Trade Date||The date of the trade||dd/mm/yyyy (must be in this order,use 4 digits for year)||22/05/2005|
|Instrument Code||The instrument code (stock ticker, fund name, etc)||code||TLS|
|Market Code||The market code||ASX, NZX, LSE, NYSE, NASDAQ, FUNDS NZ, FUNDS AU||ASX|
|Quantity||The quantity of shares bought or sold||Integer (should be a positive value)||1000|
|Price in Dollars||The price per share in the currency of the market||Decimal (up to 6dp)||12.123456|
|Transaction Type||Whether the trade was a buy or sell||BUY, SELL||BUY|
|Column Header||Description||Accepted Values||Example||Notes|
|Combined Code||The Instrument Code and Market Code separated by a period.||InstrumentCode.MarketCode||TLS.ASX||Can be used instead of individual columns for Instrument Code and Market Code|
|Exchange Rate||The exchange rate to be applied to the share price (and brokerage if applicable) - quoted as the amount of foreign currency that equals $1 of local currency||Decimal (up to 6dp)||1.123456||If not specified, will default to the closing exchange rate on the trade date|
|Brokerage||The brokerage fee paid per share in the Brokerage Currency specified||Decimal (up to 2dp)||39.95||If not specified, will default to zero|
|Brokerage Currency||The currency code that the brokerage was paid in. It must be either your local currency or the currency of the market||ISO 4217 format||AUD||Optional, If not specified will default to the market currency|
|Comments||Comments to be stored in the comments field for the transaction||text||Recommended by Market Analysis newsletter||-|
- Instrument name – Sharesight data provide this information from the instruction and market codes
- Total amount of holding bought or sold – Sharesight calculates this by the Share price and quality.
Other supported files
The Sharesight file import feature also directly supports export files from the following systems:
- Direct Broking Limited
- Sharesight All Trades Report Export
Would you like us to support other export files?
If you would like support for other export files, please let us know by ‘sharing an idea’ on the community forum. If someone else has already suggested that we add your broker, please click the ‘+1’ button to add your vote. This will allow us to prioritise support for additional brokers.
Important note on useage limits – Sharesight is designed for investors. Due to the real-time nature of our performance calculations, Sharesight is not suitable for active traders with large trading volumes. Sharesight is limited to a maximum of 300 trades per holding and works best with less than 3000 trades per portfolio. Our CSV import tool allows a maximum of 500 trades per CSV file.
Last modified on July 10, 2019 UTC