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 hashes)
Built Distribution
Close
Hashes for tefas_wrapper-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209aaff9b86d6c75058b9b3451512448a11c0a181bdd887d0405ba3882bcc72a |
|
MD5 | 778a7dadf00432e1130e39df849daa6e |
|
BLAKE2b-256 | d775ade2ffef78c714ff3321862872350a832f58ea7f9e16146d824ee66c68a9 |