a Python interface to pull thai mutual fund NAV
Project description
PythaiNAV: ทำให้การดึงข้อมูลกองทุนไทยเป็นเรื่องง่าย
อยากชวนทุกคนมาร่วมพัฒนา ติชม แนะนำ เพื่อให้ทุกคนเข้าถึงข้อมูลการง่ายขึ้น เริ่มต้นได้ที่นี้ หรือเข้ามา 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters