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
Release history Release notifications | RSS feed
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.2.tar.gz
(7.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pymaya-0.5.2-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file pymaya-0.5.2.tar.gz.
File metadata
- Download URL: pymaya-0.5.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a39f4a0faf742214a5c1ff2b2fd2274a5920ef5af9ac9435b2fc5ececff17b77
|
|
| MD5 |
f7e2dd15d4de6d9bbd20e407eafb6d7b
|
|
| BLAKE2b-256 |
65ba2dd7a2980a5820d563d31d99f23b1827b040aa0f7a58467e673c873959f6
|
File details
Details for the file pymaya-0.5.2-py3-none-any.whl.
File metadata
- Download URL: pymaya-0.5.2-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aa9198ed998784de38d3dae0414e57ade80a6f4e2d9faccf52a9b58af5ebede
|
|
| MD5 |
38a7b8e190a03dda07f0554b3b05ac2a
|
|
| BLAKE2b-256 |
73fbf86925b3c93cef480d7fa7ea69c77a04f41ae2d6f6b6544f431fbaf4a7ae
|