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.2.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

pymaya-0.2.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymaya-0.2.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for pymaya-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cb12f814d34a4baca459fe31c63fdbbfa1f85f520acbac3c2572631474f0724b
MD5 999530ce79b8727b4e83634c636e5fe7
BLAKE2b-256 aa20ae1ced4e5eb0b0faef3b8b587becc87b9caddb428a0a4ff0f44f387a30ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymaya-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for pymaya-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8333749b1617577447a6de5be4d6c5bf38fb6e8fb61440fe6df85c88debd996a
MD5 e0b101c400d6f6ab8c68c8a20a92a288
BLAKE2b-256 f6f74de5153ec74028e30e64f7807513ac04cbb3198bb894dc21efc784fa6655

See more details on using hashes here.

Supported by

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