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.2.1.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for tefas_wrapper-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75e3ebcb54d894d3d6c8205608f743e13073c5aadbec271acb0c69c7cbf4221 |
|
MD5 | 9a105e58375eeec083e4bd44458bdf6e |
|
BLAKE2b-256 | 438c71392422dee01973caa87e1d4bf444c2c4929ff2937ffd8966412111ad8f |