Python global stock time
Project description
pygst (Python global stock time)
This lib will tell you what is current market status of your stock.
Holiday is coming soon.
Example
from pygst import get_market_status, MarketStatus
status = get_market_status("AAPL")
if status == MarketStatus.PRE or status == MarketStatus.POST:
print("Extended time")
else:
print(f"{status.name.lower()} time")
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
pygst-0.0.3.tar.gz
(2.0 kB
view details)
Built Distribution
pygst-0.0.3-py2-none-any.whl
(2.4 kB
view details)
File details
Details for the file pygst-0.0.3.tar.gz
.
File metadata
- Download URL: pygst-0.0.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2900defa8b656a59e7d019b9ff3a383b25af583082e18f1ee489d94b16f7434 |
|
MD5 | 9c520c0a1906272d60976787fe529500 |
|
BLAKE2b-256 | 64243c4979c869a3a59cab1853b847cad288ef4c75f6d2ecd8aece347803958b |
File details
Details for the file pygst-0.0.3-py2-none-any.whl
.
File metadata
- Download URL: pygst-0.0.3-py2-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c407a0447ea44461cd175b40359ee85a6f3e56d500fcabaf61aa795f911e8a |
|
MD5 | ecfd4bf85ebc4dc2fb8f7f787377cff1 |
|
BLAKE2b-256 | 82f28103abe8c7c4f1fe8f009d8aa953c7baa3a675398734e4df194c09c60908 |