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
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.2.1.tar.gz
(6.5 kB
view details)
Built Distribution
pymaya-0.2.1-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file pymaya-0.2.1.tar.gz
.
File metadata
- Download URL: pymaya-0.2.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cd8dd364bfe711c7b1dbb7ae87d362b0233e16f05c9debb687655352356d1cf |
|
MD5 | a720ce82bbef2fa69a8620ddd9d07ca4 |
|
BLAKE2b-256 | 2e572fe2dc406db35399133c6fccb939a5f2df1ebb80fd98a66cbc568c27031c |
File details
Details for the file pymaya-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pymaya-0.2.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3126f3e6b181793cfd2120562cfc124431d93ff72380beaed2b0355c5742b0bc |
|
MD5 | fc09379f093cc4131acfd7377ec406f4 |
|
BLAKE2b-256 | 5d0738a6261e78a3a8e572fde7addfeb2c95a53d92ea4098969c7ba068f7fc59 |