Tefas wrapper to fetch funds data from http://tefas.gov.tr/
Project description
tefas-wrapper
Fetch funds data from https://www.tefas.gov.tr
pip install tefas-wrapper
usage:
from tefaswrapper import Wrapper, FundType
# ...
tefas = Wrapper(FundType.YAT)
# single day
result = tefas.fetch("AFT", "25.11.2020", "25.11.2020")
# between two dates
result = tefas.fetch("AFT", "15.11.2020", "20.11.2020")
# from a cetain day until today
result = tefas.fetch("AFT", "15.11.2020")
# latest value
result = tefas.fetch("AFT")
# latest values of all funds
result = tefas.fetch()
# fetch detail a specific fund
detail = tefas.fetch_detail("AFT")
# ...
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
tefas-wrapper-0.5.1.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file tefas-wrapper-0.5.1.tar.gz
.
File metadata
- Download URL: tefas-wrapper-0.5.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56675257502b4248f68c85ba04790fdd682a92cca1c4abe01bc334d5444f4b5d |
|
MD5 | f6871c8cade091209a3de1ff5d83a9e8 |
|
BLAKE2b-256 | 927f35e9c5fdeda4d0b50aeb760865474de3b14258f19d115a767b2b15e7fbe0 |
File details
Details for the file tefas_wrapper-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: tefas_wrapper-0.5.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209aaff9b86d6c75058b9b3451512448a11c0a181bdd887d0405ba3882bcc72a |
|
MD5 | 778a7dadf00432e1130e39df849daa6e |
|
BLAKE2b-256 | d775ade2ffef78c714ff3321862872350a832f58ea7f9e16146d824ee66c68a9 |