Skip to content

Ghostfolio-feeder extends Ghostfolio by adding market data via internal APIs

Notifications You must be signed in to change notification settings

marco-ragusa/ghostfolio-feeder

Repository files navigation

Ghostfolio Data Feeder

Ghostfolio-feeder extends the functionality of Ghostfolio by automatically adding data via internal APIs. The sources of the data are taken by scraping financial websites.

Supported sources

data_source Description
boerse_frankfurt Frankfurt Stock Exchange
corriere Italian finance site
byblos Italian pension fund
fondofonte Italian pension fund
mediafond Italian pension fund
previcoop Italian pension fund
cometa Italian pension fund
cfs Australian Super fund
mvis Crypto indices used by Bitpanda
local CSV and JSON files stored locally

Configuration

The configurations can be found in the path app/data/ and are structured in the following format:

[
    {
        "symbol": "21BC.DE",
        "profile_data": {
            "assetClass": "EQUITY",
            "assetSubClass": "CRYPTOCURRENCY",
            "comment": "",
            "currency": "EUR",
            "name": "21Shares Bitcoin Core ETP",
            "scraperConfiguration": {},
            "symbolMapping": {}
        },
        "data_source": {
            "name": "boerse_frankfurt",
            "ticker": "XETR:CH1199067674",
            "start_date": "2020-01-01"
        }
    }
]

Build and run

Make your own copies of the environment and configured stocks, and edit them. To run this alongside a local ghostfolio docker installation:

  • Set HOST to http://host.docker.internal:3333
  • Set ACCESS_TOKEN to your access token for docker.
cp .env.example .env
# Modify the env file before executing
# vi .env
cp app/data/profiles.json.example app/data/profiles.json
# Modify the profiles.json file before executing
# vi app/data/profiles.json
docker compose up -d --build --force-recreate

About

Ghostfolio-feeder extends Ghostfolio by adding market data via internal APIs

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •