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
Release files for pythainav 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pythainav-0.4.0.tar.gz | 722.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pythainav-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 733.6 kB