Skip to main content

Python client to interact with maya.tase.co.il

Project description

pymaya intract with

pip install pymaya example:

from datetime import date

from pymaya.maya import Maya


def main():
    maya = Maya()
    all_securities = maya.get_all_securities()
    print(all_securities)

    maya.get_details("739037")
    historical_prices = maya.get_price_history(security_id="739037", from_data=date(2017, 12, 31))
    for fund_object in historical_prices:
        print(fund_object)

    maya.get_details("5118393")
    historical_prices = maya.get_price_history(security_id="5118393", from_data=date(2017, 12, 31))
    for fund_object in historical_prices:
        print(fund_object)


if __name__ == "__main__":
    main()

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

pymaya-0.1.3.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

pymaya-0.1.3-py3-none-any.whl (10.0 kB view hashes)

Uploaded py3

Supported by

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