Metadata-Version: 2.1
Name: tefas-wrapper
Version: 0.4.0
Summary: Tefas wrapper to fetch funds data from http://tefas.gov.tr/
Home-page: https://github.com/semudu/tefas-wrapper
Download-URL: https://github.com/semudu/tefas-wrapper/archive/v0.4.0.tar.gz
Author: Serhat Durmaz
Author-email: serhat.md@gmail.com
License: MIT
Keywords: TEFAS,WRAPPER,FUND,FON
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# 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")

    # ...
    


