screener

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Uri = utils.BaseUri + "screener.ashx"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New added in v0.0.2

func New() *Client

func (*Client) Get

func (c *Client) Get() (*Table, error)

type Entry

type Entry struct {
	No        uint32
	Ticker    string
	Company   string
	Sector    string
	Industry  string
	Country   string
	MarketCap string
	PE        float64
	Price     float64
	Change    float64
	Volume    uint32
}

type Exchange

type Exchange string
const (
	AMEX   Exchange = "exch_amex"
	NASDAQ Exchange = "exch_nasd"
	NYSE   Exchange = "exch_nyse"
)

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

func (Filter) String

func (f Filter) String() string

type Parser

type Parser struct {
}

func (*Parser) Parse

func (p *Parser) Parse(t *html.Tokenizer) (v *Table, err error)

type PriceTarget

type PriceTarget string
const (
	Above50 PriceTarget = "targetprice_a50"
	Below50 PriceTarget = "targetprice_b50"
)

type Sorting

type Sorting string
const (
	EPSgrowththisyear         Sorting = "epsyoy"
	EPSgrowthnextyear         Sorting = "epsyoy1"
	EPSgrowthpast5years       Sorting = "eps5years"
	EPSgrowthnext5years       Sorting = "estltgrowth"
	Salesgrowthpast5years     Sorting = "sales5years"
	EPSgrowthqtroverqtr       Sorting = "epsqoq"
	Salesgrowthqtroverqtr     Sorting = "salesqoq"
	SharesOutstanding         Sorting = "sharesoutstanding2"
	SharesFloat               Sorting = "sharesfloat"
	InsiderOwnership          Sorting = "insiderown"
	InsiderTransactions       Sorting = "insidertrans"
	InstitutionalOwnership    Sorting = "instown"
	InstitutionalTransactions Sorting = "insttrans"
	ShortInterestShare        Sorting = "shortinterestshare"
	ShortInterestRatio        Sorting = "shortinterestratio"
	EarningsDate              Sorting = "earningsdate"
	ReturnonAssets            Sorting = "roa"
	ReturnonEquity            Sorting = "roe"
	ReturnonInvestment        Sorting = "roi"
	CurrentRatio              Sorting = "curratio"
	QuickRatio                Sorting = "quickratio"
	LTDebtEquity              Sorting = "ltdebteq"
	TotalDebtEquity           Sorting = "debteq"
	GrossMargin               Sorting = "grossmargin"
	OperatingMargin           Sorting = "opermargin"
	NetProfitMargin           Sorting = "netmargin"
	AnalystRecommendation     Sorting = "recom"
	PerformanceWeek           Sorting = "perf1w"
	PerformanceMonth          Sorting = "perf4w"
	PerformanceQuarter        Sorting = "perf13w"
	PerformanceHalfYear       Sorting = "perf26w"
	PerformanceYear           Sorting = "perf52w"
	PerformanceYearToDate     Sorting = "perfytd"
	Beta                      Sorting = "beta"
	AverageTrueRange          Sorting = "averagetruerange"
	VolatilityWeek            Sorting = "volatility1w"
	VolatilityMonth           Sorting = "volatility4w"
	SMARelative20Day          Sorting = "sma20"
	SMARelative50Day          Sorting = "sma50"
	SMARelative200Day         Sorting = "sma200"
	HighRelative50Day         Sorting = "high50d"
	LowRelative50Day          Sorting = "low50d"
	HighRelative52Week        Sorting = "high52w"
	LowRelative52Week         Sorting = "low52w"
	RelativeStrengthIndex14   Sorting = "rsi"
	AverageVolume3Month       Sorting = "averagevolume"
	RelativeVolume            Sorting = "relativevolume"
	Change                    Sorting = "change"
	ChangefromOpen            Sorting = "changeopen"
	Gap                       Sorting = "gap"
	Volume                    Sorting = "volume"
	Price                     Sorting = "price"
	TargetPrice               Sorting = "targetprice"
	IPODate                   Sorting = "ipodate"
)

func (Sorting) Desc

func (s Sorting) Desc() Sorting

type Table

type Table struct {
	Entries []*Entry
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL