pythainav

a Python interface to pull thai mutual fund NAV


Keywords
financial-data, hacktoberfest, python
License
MIT
Install
pip install pythainav==0.2.1

Documentation

PythaiNAV: ทำให้การดึงข้อมูลกองทุนไทยเป็นเรื่องง่าย

All Contributors

FOSSA Status Tests codecov Codacy Badge

cover image

อยากชวนทุกคนมาร่วมพัฒนา ติชม แนะนำ เพื่อให้ทุกคนเข้าถึงข้อมูลการง่ายขึ้น เริ่มต้นได้ที่นี้ หรือเข้ามา Chat ใน Discord ได้เลย 😊

📖 Documentation is here. คู่มือการใช้งานอยู่ที่นี่ https://pythainav.nutchanon.org/

Get Started - เริ่มต้นใช้งาน

$ pip install pythainav
import pythainav as nav

nav.get("KT-PRECIOUS")
> Nav(value=4.2696, updated='20/01/2020', tags={'latest'}, fund='KT-PRECIOUS')

nav.get("TISTECH-A", date="1 week ago")
> Nav(value=12.9976, updated='14/01/2020', tags={}, fund='TISTECH-A')

nav.get_all("TISTECH-A", range="MAX")
> [Nav(value=12.9976, updated='21/01/2020', tags={}, fund='TISTECH-A'), Nav(value=12.9002, updated='20/01/2020', tags={}, fund='TISTECH-A'), ...]

nav.get_all("KT-PRECIOUS", asDataFrame=True)
> pd.DataFrame [2121 rows x 4 columns]

Source of Data - ที่มาข้อมูล

ดูจาก https://pythainav.nutchanon.org/datasource/

Disclaimer

เราไม่รับประกันความเสียหายใดๆทั้งสิ้นที่เกิดจาก แหล่งข้อมูล, library, source code,sample code, documentation, library dependencies และอื่นๆ

Contributors

Thanks goes to these wonderful people (emoji key):


Nutchanon Ninyawee

💻 🚇

sctnightcore

💻 📢 🤔

angonyfox

💻 ⚠️

Pongpira Upra

💻

namv2012

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

FOSSA Status