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.4.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for tefas_wrapper-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf59583a9be2eccb77aaa6e07ceb9cee35f5e8f7792e4c24f67d70dac44b2f8 |
|
MD5 | 65f73297f5bded3e2f1a2041e7393e30 |
|
BLAKE2b-256 | 1c7e07d73446820f5402d0261d6326ed857ee49621d051f15d000f2bb2b7d605 |