Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronServer ¶
type CronServer struct { Config *config.CronConfig // contains filtered or unexported fields }
func New ¶
func New(cronConfig *config.CronConfig) *CronServer
func (*CronServer) GetStockOverview ¶
func (c *CronServer) GetStockOverview()
func (*CronServer) Init ¶
func (c *CronServer) Init() error
func (*CronServer) Start ¶
func (c *CronServer) Start() error
type StockOverview ¶
type StockOverview struct { Symbol string `json:"Symbol"` AssetType string `json:"AssetType"` Name string `json:"Name"` Description string `json:"Description"` CIK string `json:"CIK"` Exchange string `json:"Exchange"` Currency string `json:"Currency"` Country string `json:"Country"` Sector string `json:"Sector"` Industry string `json:"Industry"` Address string `json:"Address"` FiscalYearEnd string `json:"FiscalYearEnd"` LatestQuarter string `json:"LatestQuarter"` MarketCapitalization int64 `json:"MarketCapitalization,string"` EBITDA string `json:"EBITDA"` PERatio string `json:"PERatio"` PEGRatio float32 `json:"PEGRatio,string"` BookValue float32 `json:"BookValue,string"` DividendYield string `json:"DividendYield"` EPS float32 `json:"EPS,string"` ProfitMargin float32 `json:"ProfitMargin,string"` OperatingMarginTTM float32 `json:"OperatingMarginTTM,string"` ReturnOnAssetsTTM float32 `json:"ReturnOnAssetsTTM,string"` ReturnOnEquityTTM float32 `json:"ReturnOnEquityTTM,string"` RevenueTTM int64 `json:"RevenueTTM,string"` GrossProfitTTM int64 `json:"GrossProfitTTM,string"` DilutedEPSTTM float32 `json:"DilutedEPSTTM,string"` QuarterlyEarningsGrowthYOY float32 `json:"QuarterlyEarningsGrowthYOY,string"` QuarterlyRevenueGrowthYOY float32 `json:"QuarterlyRevenueGrowthYOY,string"` AnalystTargetPrice float32 `json:"AnalystTargetPrice,string"` TrailingPE string `json:"TrailingPE"` ForwardPE string `json:"ForwardPE"` PriceToSalesRatioTTM float32 `json:"PriceToSalesRatioTTM,string"` PriceToBookRatio float32 `json:"PriceToBookRatio,string"` EVToRevenue float32 `json:"EVToRevenue,string"` EVToEBITDA string `json:"EVToEBITDA"` Beta string `json:"Beta"` FiftyTwoWeekHigh float32 `json:"52WeekHigh,string"` FiftyTwoWeekLow float32 `json:"52WeekLow,string"` FiftyDayMovingAverage float32 `json:"50DayMovingAverage,string"` TwoHundredDayMovingAverage float32 `json:"200DayMovingAverage,string"` DividendDate string `json:"DividendDate"` ExDividendDate string `json:"ExDividendDate"` }
Click to show internal directories.
Click to hide internal directories.