Skip to main content

a Python interface to pull thai mutual fund NAV

Project description

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

All Contributors

FOSSA Status Test 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

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

pythainav-0.4.0.tar.gz (722.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythainav-0.4.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pythainav-0.4.0.tar.gz.

File metadata

  • Download URL: pythainav-0.4.0.tar.gz
  • Upload date:
  • Size: 722.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pythainav-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dc1388cf0400aa97af8177f83cabe583f7b7441f357ef0ccb4a6b5a5d3505c6c
MD5 f18bc9beedd1f3cf639ae78c39bd0934
BLAKE2b-256 33930e8aa33ebd6369a707c8399db57ea0eaa5e480de7a055b6d4847e57b17bc

See more details on using hashes here.

File details

Details for the file pythainav-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pythainav-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pythainav-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c79f4a36c6f8b8e2864937c8e42d42b882dead9e07ef904c9fd3776e6a0efccb
MD5 3b032b898851e42bef0e85f8ab70ce11
BLAKE2b-256 e996a4a1e48fbf9c6043e4abca7c6b96cbc7db889c815c73c42533a9ca90f989

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page