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.4.tar.gz
(2.0 kB
view hashes)
Built Distribution
pygst-0.0.4-py2-none-any.whl
(2.4 kB
view hashes)