diff --git a/docs/behavior.html b/docs/behavior.html index cd79695..5be9374 100644 --- a/docs/behavior.html +++ b/docs/behavior.html @@ -62,6 +62,7 @@

How µFunds works

In a few words, µFunds works by fetching an HTML page from the chosen data source, parsing the asked data in it and just returning it back to you. More concretely, the performed steps are the following:

  1. The user calls the muFunds function from a Google Sheets spreadsheet for a certain option (asset attribute), id (asset identifier) and source (website where fetch data from).
  2. +
  3. If source is explicitly given by the user, then µFunds plans to fetch a the asset detail page for that id. Otherwise, µFunds plans to fetch a Morningstar page in generic mode (morningstar).
  4. If the page is cached by Google Apps Script's cache from the last 2 hours, then no external call is performed. Otherwise, the page is fetched and saved in Google Apps Script's cache for the next 2 hours.
  5. The asked attribute is parsed from the Morningstar page's HTML and returned.
diff --git a/docs/compatibility.html b/docs/compatibility.html index 936ced9..2e159e9 100644 --- a/docs/compatibility.html +++ b/docs/compatibility.html @@ -452,6 +452,13 @@

Compatibility list

Morningstar (Australia) morningstar-au APIR + + + Austria + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Austria @@ -459,6 +466,13 @@

Compatibility list

Morningstar (Austria) morningstar-at ISIN
Morningstar ID + + + Belgium + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Belgium @@ -466,6 +480,13 @@

Compatibility list

Morningstar (Belgium) morningstar-be ISIN
Morningstar ID + + + Denmark + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Denmark @@ -473,6 +494,13 @@

Compatibility list

Morningstar (Denmark) morningstar-dk ISIN
Morningstar ID + + + Finland + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Finland @@ -480,6 +508,13 @@

Compatibility list

Morningstar (Finland) morningstar-fi ISIN
Morningstar ID + + + France + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID France @@ -487,6 +522,13 @@

Compatibility list

Morningstar (France) morningstar-fr ISIN
Morningstar ID + + + Germany + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Germany @@ -494,6 +536,27 @@

Compatibility list

Morningstar (Germany) morningstar-de ISIN
Morningstar ID + + + Hong Kong + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID + + + Hong Kong + ETFs + Morningstar (generic) + morningstar + ISIN
Morningstar ID
SEHK Stock Code + + + Iceland + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Iceland @@ -508,6 +571,13 @@

Compatibility list

Google Finance MUTF_IN: + ticker + + + Ireland + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Ireland @@ -515,6 +585,13 @@

Compatibility list

Morningstar (Ireland) morningstar-ie ISIN
Morningstar ID + + + Italy + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Italy @@ -522,6 +599,13 @@

Compatibility list

Morningstar (Italy) morningstar-it ISIN
Morningstar ID + + + Norway + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Norway @@ -529,6 +613,13 @@

Compatibility list

Morningstar (Norway) morningstar-no ISIN
Morningstar ID + + + Netherlands + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Netherlands @@ -543,6 +634,13 @@

Compatibility list

Morningstar (Australia) morningstar-au APIR + + + Portugal + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Portugal @@ -550,6 +648,34 @@

Compatibility list

Morningstar (Portugal) morningstar-pt ISIN
Morningstar ID + + + Singapore + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID + + + Singapore + ETFs + Morningstar (generic) + morningstar + ISIN
Morningstar ID
SGX Stock Code + + + Singapore + Insurance Linked Funds + Morningstar (generic) + morningstar + Morningstar ID + + + South Africa + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID South Africa @@ -557,6 +683,13 @@

Compatibility list

Morningstar (South Africa) morningstar-za ISIN
Morningstar ID + + + Spain + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Spain @@ -564,6 +697,20 @@

Compatibility list

Morningstar (Spain) morningstar-es ISIN
Morningstar ID + + + Spain + ETFs + Morningstar (generic) + morningstar + ISIN
Morningstar ID
BME Ticker + + + Spain + Pension plans + Morningstar (generic) + morningstar + Morningstar ID Spain @@ -578,6 +725,13 @@

Compatibility list

Quefondos.com quefondos DGS Code + + + Switzerland + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID Switzerland @@ -585,6 +739,13 @@

Compatibility list

Morningstar (Switzerland) morningstar-ch ISIN
Morningstar ID + + + United Kingdom + Mutual funds + Morningstar (generic) + morningstar + ISIN
Morningstar ID United Kingdom @@ -592,6 +753,13 @@

Compatibility list

Morningstar (United Kingdom) morningstar-gb ISIN
Morningstar ID + + + United States + Mutual funds + Morningstar (generic) + morningstar + ISIN
Ticker
CUSIP United States diff --git a/docs/troubleshooting.html b/docs/troubleshooting.html index 6f921c7..689e1f5 100644 --- a/docs/troubleshooting.html +++ b/docs/troubleshooting.html @@ -69,11 +69,6 @@

Troubleshooting

Error: Asset identifier is empty.

Please check that you introduced an asset identifier (string) as the second argument of the muFunds function.

-
  • -

    Data source is required as third argument. Please see www.mufunds.com/usage.html

    -

    Please check that you introduced a valid data source as the third argument of the muFunds function. Check the Usage and examples documentation page to learn about the available options.

    -

    Note: The data source argument is required from June 24, 2022, since country-agnostic Morningstar reports from quotes.morningstar.com (used when no source was explicitly defined) stopped working on June 23, 2022.

    -
  • Error: Source is not compatible. Please check the documentation for the compatibility list.

    Please check the Usage and examples and Compatibility list documentation pages to verify that the data source is compatible with µFunds. Remember that, if you want to obtain data from Google Finance, you should use the Google Finance function included in Google Sheets instead.

    @@ -81,10 +76,12 @@

    Troubleshooting

  • Error: Wrong combination of asset identifier and source. Please check the accepted ones at the documentation.

    Please check the Compatibility list documentation pages to verify that the asset is compatible with the data source you have chosen. This error is due to an exception when fetching the data page, for example a Not Found (404) code.

    +

    If you were using a generic Morningstar (morningstar) call, consider using a country-specific page (morningstar-**).

  • Error: (A certain option) is not available for this asset and source. Please try another data source.

    Some data sources do not offer all the data options that are possible to call via µFunds. In this case, consider using an alternative data source for your same asset, as sometimes more than one source is compatible at the same time.

    +

    If you were using a generic Morningstar (morningstar) call, consider using a country-specific page (morningstar-**).

  • Error: Morningstar ID search failed. Try using the asset's Morningstar ID or another compatible data source.

    diff --git a/docs/usage.html b/docs/usage.html index ba26b48..43291e6 100644 --- a/docs/usage.html +++ b/docs/usage.html @@ -60,18 +60,9 @@
    List of guides

    Usage and examples

    -
    -

    - Important: Country-agnostic Morningstar reports from quotes.morningstar.com stopped working on June 23, 2022. Therefore, from June 24, 2022, µFunds requires a data source as the third argument of the function call. -

    - -

    - You should now call µFunds with =muFunds(option, id, "morningstar-**"), where ** represents the 2-letter code of a country where your asset is available for sale. In most cases, you can just use the country where you live. Please check the list of available countries and codes in the Data sources section below. -

    -
    Function call
    -

    µFunds makes you able to use the muFunds function in any cell within your spreadsheet. This function will return the asked value based on three arguments, so you can call it as

    -

    =muFunds(option, id, source) (if you use a period as decimal separator)

    +

    µFunds makes you able to use the muFunds function in any cell within your spreadsheet. This function will return the asked value based on three arguments, so you can call it as

    +

    =muFunds(option, id, source) (if you use a period as decimal separator)

    =muFunds(option; id; source) (if you use a comma as decimal separator)

    where option is a valid returned data option, id is an asset identifier (e.g. ISIN, ticker or Morningstar ID) and source is an identifier for the data source where you want to get the data from.

    This function call will return the latest information available from the chosen source. Most of these sources don't offer historical values, which makes comparisons and backtesting difficult. If interested, you can consider saving a history of daily data to your own spreadsheet using a Google Apps Script function and a time-driven trigger (link to guide).

    @@ -129,7 +120,13 @@
    Asset identifiers (id)

    Data sources (source)

    Although µFunds was originally designed to import data from Morningstar, now it is compatible with other information sources that potentially offer more updated or reliable data in certain cases. This is performed, as of now, via HTML parsing.

    +

    If no source is defined, then the asked information will be loaded from Morningstar in generic mode.