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.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for tefas_wrapper-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa8b51395d35415ac614d4f04bae5388ba589faf355902240f485857244ac1c7 |
|
MD5 | a48ff6fe9c87d5da486289fd07718acc |
|
BLAKE2b-256 | 47f6d040284d33c63ba58c98fe48ec4ea383fcdd6d9c0132a1eb12d0a965d9ea |