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.3.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.3-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file pymaya-0.5.3.tar.gz.
File metadata
- Download URL: pymaya-0.5.3.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 |
4fad94ff1a6758025eae00603929ea26175ebf13a8959f384b975a20f6dde0ec
|
|
| MD5 |
dcadf6c5c531657bd801fee0a233faa5
|
|
| BLAKE2b-256 |
c66672a07f2ba24c5b762ba7f25a48f71fd1086b4645f3ba0fbda4809f728b6d
|
File details
Details for the file pymaya-0.5.3-py3-none-any.whl.
File metadata
- Download URL: pymaya-0.5.3-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 |
d1d7ba89bb8bf35e20b883136b84aff246aece888835f358c653d67509894e97
|
|
| MD5 |
27d63fa14f3ef0a4bfcbdcafdaeeed48
|
|
| BLAKE2b-256 |
a7672eccedf27b6f5283d4bcaa8a20461f7917e65cf1f01713a5ff5341a4a55a
|