Skip to content

Commit

Permalink
adding indian.md.
Browse files Browse the repository at this point in the history
See revision 0.71.0 (indian source)
  • Loading branch information
hug-sch committed Oct 5, 2024
1 parent 33b51a4 commit 50602b7
Show file tree
Hide file tree
Showing 9 changed files with 258 additions and 4 deletions.
1 change: 1 addition & 0 deletions config/en/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ nav:
- JSON: how-to/downloading-historical-prices/json.md
- Table on Website: how-to/downloading-historical-prices/table-website.md
- Import fund data from Morningstar: how-to/downloading-historical-prices/morningstar.md
- Indian ETF's: how-to/downloading-historical-prices/indian.md
- Handling a choice dividend: how-to/handling-choice-dividend.md
- Importing GBX priced securities: how-to/import-gbx.md
- Inspecting the source code: how-to/inspect-source-code.md
Expand Down
96 changes: 93 additions & 3 deletions docs/en/assets/demo-portfolio-03.backup-after-open.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<client>
<version>62</version>
<version>66</version>
<baseCurrency>EUR</baseCurrency>
<securities>
<security>
Expand Down Expand Up @@ -2829,8 +2829,52 @@
<price t="2024-07-17" v="2404000000"/>
<price t="2024-07-18" v="2426000000"/>
<price t="2024-07-19" v="2419000000"/>
<price t="2024-07-22" v="2431000000"/>
<price t="2024-07-23" v="2415000000"/>
<price t="2024-07-24" v="2402000000"/>
<price t="2024-07-25" v="2421000000"/>
<price t="2024-07-26" v="2424000000"/>
<price t="2024-07-29" v="2417000000"/>
<price t="2024-07-30" v="2409000000"/>
<price t="2024-07-31" v="2417000000"/>
<price t="2024-08-01" v="2396000000"/>
<price t="2024-08-02" v="2412000000"/>
<price t="2024-08-05" v="2379000000"/>
<price t="2024-08-06" v="2374000000"/>
<price t="2024-08-07" v="2392000000"/>
<price t="2024-08-08" v="2437000000"/>
<price t="2024-08-09" v="2461000000"/>
<price t="2024-08-12" v="2473000000"/>
<price t="2024-08-13" v="2476000000"/>
<price t="2024-08-14" v="2495000000"/>
<price t="2024-08-15" v="2500000000"/>
<price t="2024-08-16" v="2515000000"/>
<price t="2024-08-19" v="2522000000"/>
<price t="2024-08-20" v="2508000000"/>
<price t="2024-08-21" v="2500000000"/>
<price t="2024-08-22" v="2508000000"/>
<price t="2024-08-23" v="2519000000"/>
<price t="2024-08-26" v="2518000000"/>
<price t="2024-08-27" v="2533000000"/>
<price t="2024-08-28" v="2557000000"/>
<price t="2024-08-29" v="2571000000"/>
<price t="2024-08-30" v="2571000000"/>
<price t="2024-09-02" v="2588000000"/>
<price t="2024-09-03" v="2582000000"/>
<price t="2024-09-04" v="2612000000"/>
<price t="2024-09-05" v="2629000000"/>
<price t="2024-09-06" v="2602000000"/>
<price t="2024-09-09" v="2623000000"/>
<price t="2024-09-10" v="2611000000"/>
<price t="2024-09-11" v="2626000000"/>
<price t="2024-09-12" v="2657000000"/>
<price t="2024-09-13" v="2682000000"/>
<price t="2024-09-16" v="2691000000"/>
<price t="2024-09-17" v="2668000000"/>
<price t="2024-09-18" v="2647000000"/>
<price t="2024-09-19" v="2598000000"/>
</prices>
<latest t="2024-07-19" v="2419000000">
<latest t="2024-09-19" v="2598000000">
<high>-1</high>
<low>-1</low>
<volume>-1</volume>
Expand Down Expand Up @@ -4077,8 +4121,52 @@
<price t="2024-07-17" v="1098000000"/>
<price t="2024-07-18" v="1090500000"/>
<price t="2024-07-19" v="1070000000"/>
<price t="2024-07-22" v="1078500000"/>
<price t="2024-07-23" v="1077000000"/>
<price t="2024-07-24" v="1066000000"/>
<price t="2024-07-25" v="1077000000"/>
<price t="2024-07-26" v="1090000000"/>
<price t="2024-07-29" v="1088000000"/>
<price t="2024-07-30" v="1102500000"/>
<price t="2024-07-31" v="1247500000"/>
<price t="2024-08-01" v="1310500000"/>
<price t="2024-08-02" v="1288000000"/>
<price t="2024-08-05" v="1240500000"/>
<price t="2024-08-06" v="1243500000"/>
<price t="2024-08-07" v="1267500000"/>
<price t="2024-08-08" v="1259000000"/>
<price t="2024-08-09" v="1256000000"/>
<price t="2024-08-12" v="1256000000"/>
<price t="2024-08-13" v="1239500000"/>
<price t="2024-08-14" v="1239000000"/>
<price t="2024-08-15" v="1238500000"/>
<price t="2024-08-16" v="1229000000"/>
<price t="2024-08-19" v="1232500000"/>
<price t="2024-08-20" v="1227000000"/>
<price t="2024-08-21" v="1228000000"/>
<price t="2024-08-22" v="1208000000"/>
<price t="2024-08-23" v="1213500000"/>
<price t="2024-08-26" v="1225500000"/>
<price t="2024-08-27" v="1238000000"/>
<price t="2024-08-28" v="1227500000"/>
<price t="2024-08-29" v="1255000000"/>
<price t="2024-08-30" v="1248000000"/>
<price t="2024-09-02" v="1247000000"/>
<price t="2024-09-03" v="1218000000"/>
<price t="2024-09-04" v="1202000000"/>
<price t="2024-09-05" v="1159000000"/>
<price t="2024-09-06" v="1143500000"/>
<price t="2024-09-09" v="1141000000"/>
<price t="2024-09-10" v="1141000000"/>
<price t="2024-09-11" v="1135000000"/>
<price t="2024-09-12" v="1167000000"/>
<price t="2024-09-13" v="1167000000"/>
<price t="2024-09-16" v="1158500000"/>
<price t="2024-09-17" v="1176000000"/>
<price t="2024-09-18" v="1174500000"/>
<price t="2024-09-19" v="1181500000"/>
</prices>
<latest t="2024-07-19" v="1070000000">
<latest t="2024-09-19" v="1181500000">
<high>-1</high>
<low>-1</low>
<volume>-1</volume>
Expand Down Expand Up @@ -4318,6 +4406,7 @@
<taxonomies/>
<dashboards>
<dashboard name="Dashboard">
<id>0e5ff91a-ef64-4602-968b-fef693a17b11</id>
<configuration>
<entry>
<string>REPORTING_PERIOD</string>
Expand Down Expand Up @@ -4424,6 +4513,7 @@
</columns>
</dashboard>
<dashboard name="Benchmark">
<id>863e50cd-2763-4552-887b-7b42138d3aa0</id>
<columns>
<column>
<weight>1</weight>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions docs/en/how-to/downloading-historical-prices/indian.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
title: Indian ETF
---

Figure: Indian Quote Feed Providers. {class= align-right style="width:50%"}

![](./images/indian-quote-feed-providers.svg)


You are looking to invest in Indian securities, preferably ETFs quoted in Indian Rupees (INR). Access to historical quotes can be made easier through two available data feeds (see Figure 1):

- AMFI India: [Association of Mutual Funds of India](https://www.amfiindia.com/)
- MFAPI: [India's First Free Mutual Fund API](https://www.mfapi.in/).


## AMFI

To use this quote feed provider, you will need the ISIN code of the ETF. A complete list of available ETFs, along with their ISINs, can be found under the [Download NAV](https://www.amfiindia.com/nav-history-download) link. Click on `Download Complete NAV Report in Text Format` to access the data. For example, the ISIN code for the *Aditya Birla Sun Life Mutual Fund* is `INF209KA12Z1`. As of 4th October 2024, the latest quote is 107.2257 INR (see below). Please note that there are multiple schemes available (e.g., Regular Monthly, Regular Quarterly, etc.).

You will need to enter the ISIN code in the [Security Master Data](../../reference/file/new.md#security-master-data) panel.

!!! Note
The quote feed provider will only supply the latest price. If you require historical prices, you must download them as a text file. Select the ETF name from the drop-down box, specify the type and date range, and download the historical NAV. You can download data for a maximum of 90 days at a time.

Figure: List of ETF's at AMFI. {class=pp-figure}

![]()

```
Scheme Code;ISIN Div Payout/ ISIN Growth;ISIN Div Reinvestment;Scheme Name;Net Asset Value;Date
Open Ended Schemes(Debt Scheme - Banking and PSU Fund)
Aditya Birla Sun Life Mutual Fund
119551;INF209KA12Z1;INF209KA13Z9;Aditya Birla Sun Life Banking & PSU Debt Fund - DIRECT - IDCW;107.2257;04-Oct-2024
119552;INF209K01YM2;-;Aditya Birla Sun Life Banking & PSU Debt Fund - DIRECT - MONTHLY IDCW;115.4552;04-Oct-2024
119553;INF209K01YO8;-;Aditya Birla Sun Life Banking & PSU Debt Fund - Direct - Quarterly IDCW;102.8152;04-Oct-2024
108272;INF209K01LX6;INF209KA11Z3;Aditya Birla Sun Life Banking & PSU Debt Fund - REGULAR - IDCW;151.0032;04-Oct-2024
110282;INF209K01LU2;-;Aditya Birla Sun Life Banking & PSU Debt Fund - REGULAR - MONTHLY IDCW;111.6213;04-Oct-2024
108274;INF209K01LN7;-;Aditya Birla Sun Life Banking & PSU Debt Fund - REGULAR - Quarterly IDCW;101.1877;04-Oct-2024
110490;INF209K01LR8;-;Aditya Birla Sun Life Banking & PSU Debt Fund - retail - monthly IDCW;111.4018;04-Oct-2024
106157;INF209K01LS6;-;Aditya Birla Sun Life Banking & PSU Debt Fund - retail - quarterly IDCW;102.2589;04-Oct-2024
108273;INF209K01LV0;-;Aditya Birla Sun Life Banking & PSU Debt Fund - Regular Plan-Growth;345.5725;04-Oct-2024
103176;INF209K01LT4;-;Aditya Birla Sun Life Banking & PSU Debt Fund - Retail Plan-Growth;518.7508;04-Oct-2024
119550;INF209K01YN0;-;Aditya Birla Sun Life Banking & PSU Debt Fund- Direct Plan-Growth;357.7647;04-Oct-2024
Axis Mutual Fund
128952;INF846K01NF8;-;Axis Banking & PSU Debt Fund - Direct Plan - Bonus Option;1532.8272;14-Jun-2017
120437;-;INF846K01CU0;Axis Banking & PSU Debt Fund - Direct Plan - Daily IDCW;1038.5921;04-Oct-2024
120438;INF846K01CR6;-;Axis Banking & PSU Debt Fund - Direct Plan - Growth Option;2554.2888;04-Oct-2024
120439;INF846K01CT2;INF846K01CS4;Axis Banking & PSU Debt Fund - Direct Plan - Monthly IDCW;1034.0405;04-Oct-2024
120436;INF846K01CV8;INF846K01CW6;Axis Banking & PSU Debt Fund - Direct Plan - Weekly IDCW;1038.4695;04-Oct-2024
128953;INF846K01NG6;-;Axis Banking & PSU Debt Fund - Regular Plan - Bonus Option;1289.4075;18-May-2015
117447;-;INF846K01CC8;Axis Banking & PSU Debt Fund - Regular Plan - Daily IDCW;1038.5836;04-Oct-2024
117446;INF846K01CB0;-;Axis Banking & PSU Debt Fund - Regular Plan - Growth option;2482.1514;04-Oct-2024
117449;INF846K01CF1;INF846K01CG9;Axis Banking & PSU Debt Fund - Regular Plan - Monthly IDCW;1033.9605;04-Oct-2024
117448;INF846K01CD6;INF846K01CE4;Axis Banking & PSU Debt Fund - Regular Plan - Weekly IDCW;1038.4353;04-Oct-2024
Bajaj Finserv Mutual Fund
...
...
```

## MFAPI

On the [MFAPI](https://www.mfapi.in/) website, you can begin typing the name of a mutual fund in the search box, such as "Aditya Birla Sun Life". As you continue typing, a list of available ETFs will appear (see Figure 3).

Figure: List of ETFs on MFAPI. {class=pp-figure}

![](./images/indian-quote-feed-providers-MFAPI.svg)

Selecting a mutual fund will display the URL where you can find either the historical prices or the latest price.

To retrieve historical prices using Portfolio Performance, you will need the scheme code (the last six digits of the number), e.g. `119551`. This scheme code can also be obtained from the AMFI website; it is the first number listed before the ISIN code in the response (see Figure 2).

Figure: Quote Feed Provider for MFAPI website. {class=pp-figure}

![](./images/indian-quote-feed-providers-MFAPI-result.svg)

With some coding, you can achieve the same result using the JSON Quote Feed Provider. For example, the URL could be: [https://api.mfapi.in/mf/119551](https://api.mfapi.in/mf/119551). The path to the date and closing price is shown in Figure 4.

Figure: Retrieving the historical prices through the JSON Quote Feed Provider. {class=pp-figure}

![](./images/indian-quote-feed-providers-MFAPI-json.svg)
Binary file modified docs/en/reference/file/images/quote-feeds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/en/reference/file/new.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: File > New
todo: describe crypto, exchange Rate, Consumer Price Index, Taxonomy, Watchlist
---
# File &#10095; New

Expand Down

0 comments on commit 50602b7

Please sign in to comment.