From 59e825f521ed915382afd2195e3296478057ec3e Mon Sep 17 00:00:00 2001 From: Rahul Date: Thu, 13 Oct 2022 12:27:05 +0530 Subject: [PATCH] Added script for fetching real-time mutual funds data --- scripts/mutual_funds_data/README.md | 10 ++++++++++ scripts/mutual_funds_data/script.py | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 scripts/mutual_funds_data/README.md create mode 100644 scripts/mutual_funds_data/script.py diff --git a/scripts/mutual_funds_data/README.md b/scripts/mutual_funds_data/README.md new file mode 100644 index 0000000..b76ce69 --- /dev/null +++ b/scripts/mutual_funds_data/README.md @@ -0,0 +1,10 @@ +# Fetching Real-time Mutual Funds Data +This is a simple script that fetches real-time mutual funds data. + +## Improvements +Creating a GUI + +## Usage +1. Clone the repo +2. Insert the mutual fund scheme id +3. Run python script.py \ No newline at end of file diff --git a/scripts/mutual_funds_data/script.py b/scripts/mutual_funds_data/script.py new file mode 100644 index 0000000..e1d856a --- /dev/null +++ b/scripts/mutual_funds_data/script.py @@ -0,0 +1,8 @@ +from mftool import Mftool +obj = Mftool() +data = obj.get_scheme_quote('148629') +print(data) +obj.get_scheme_details("119551") +data = obj.get_scheme_historical_nav("119551") +print(data) +