Skip to main content

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)

Uploaded Source

Built Distribution

tefas_wrapper-0.5.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page