Skip to content

bandprotocol/gogst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gogst (Golang global stock time)

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

Example

import "github.com/bandprotocol/gogst/markets"

...

status, _ := markets.GetMarketStatusByMarket(markets.US_STOCK)
if status == markets.PRE || status == markets.POST {
    fmt.Println("Extended time")
} else {
    fmt.Printf("%s time\n", status)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages