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_date=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_date=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.5.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymaya-0.5.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file pymaya-0.5.1.tar.gz.

File metadata

  • Download URL: pymaya-0.5.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pymaya-0.5.1.tar.gz
Algorithm Hash digest
SHA256 64aed7f378f976a0d357009535fbe6cd186ff2819695fc0c40a70db194a9aa5d
MD5 2af007988aefe67c20980dfdc8839c9b
BLAKE2b-256 c7fcf5377434e19746a3f7556f68ba2bbcb655d6f463ed54f148ffe8a4144176

See more details on using hashes here.

File details

Details for the file pymaya-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pymaya-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pymaya-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44693be79c7eff0f702656cdf4fa46ab1a74b068ef583177a462f680c43a3aaa
MD5 dca7e4bcd9d8286713972a4e51f3e328
BLAKE2b-256 278d169dad6e1bf334db6eaedb7342bb4825e8d2a4c8e4657443fdbac3cb0370

See more details on using hashes here.

Supported by

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