Skip to main content

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)

Uploaded Source

Built Distribution

pygst-0.0.4-py2-none-any.whl (2.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page