Skip to content

taobun/pygst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygst (Python global stock time)

This lib will tell you what is current market status of your stock.

Holiday is coming soon.

Installing

Install via pip

pip install pygst

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")

About

Python lib to get current market status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages