Portfolio tracker

Import your Ghostfolio activities

Ghostfolio exports your activities as a JSON file, not a CSV. Sonar reads that file directly, with no conversion and no spreadsheet in between.

Updated November 23, 2026

Whether your Ghostfolio is self-hosted or the hosted one, the export is the same file. For how the two products differ, see Sonar as a Ghostfolio alternative.

Where the export is in Ghostfolio

Ghostfolio lists importing and exporting transactions among its features, but its documentation doesn't spell out the menu. Look for the export option in the activities area of your instance. The download is a .json file.

Ghostfolio describes its export on its own help page. Menus change, so if a name here no longer matches, that page is the one to trust.

What the file contains

A JSON document with your accounts and a list of activities. Each activity has a date, a type (BUY, SELL, DIVIDEND, FEE, INTEREST or LIABILITY), a symbol with its dataSource, a quantity, a unitPrice, a fee and a currency.

Import it into Sonar

  1. Open Import and pick Ghostfolio, or just upload the .json file. Sonar recognizes it by its contents.
  2. Check the matched fields. Any of them can be re-matched by hand.
  3. Read the preview: the positions the import will create, and every activity left out, with the reason.
  4. Name the import and save it.

What comes across, and what doesn't

Comes across:

  • BUY and SELL activities, replayed into positions.
  • Account names, read from the file's list of accounts, so holdings stay grouped as they were.
  • A cost where the currency is USD: quantity times unit price, plus the fee.
  • Dividends in US dollars, as income.

Doesn't, or not fully:

  • Activities in euros, francs or other currencies: quantities come across and the cost is left blank.
  • Symbols come across as Ghostfolio stores them. A Yahoo pair such as BTC-USD is read as BTC; a manual asset or a CoinGecko id may not match, and is then listed as not recognized.
  • FEE and INTEREST activities are cash and are passed over. LIABILITY and valuables aren't listed assets and are shown as unclassified.

What to check afterwards

  • Compare the quantities in the preview with the holdings Ghostfolio shows.
  • Look at the list of assets that weren't recognized after importing, and match or remove them.
  • Look for positions with a blank cost. You can add a cost by hand, or leave it blank.

Try it with your own file

File import works during the 14-day free trial and stays available afterwards, with or without a plan. You see the preview before anything is saved, so trying your own file costs nothing. See pricing, or read how CSV import works and the full list of import sources.

FAQ

Do I have to convert the JSON to a CSV first?

No. Upload the .json file as it was downloaded.

Does it work with a self-hosted Ghostfolio?

Yes. The export file is the same wherever Ghostfolio runs, and nothing connects to your instance.

Does Sonar get access to my Ghostfolio account?

No. You export a file and upload it. Sonar never signs in to Ghostfolio and can't move anything. From each import it keeps the positions and transactions, and the row number for reference, not the original rows.

How do I update the import later?

Export a fresh file and import it under the same name. It replaces that import's positions.