Documentation ¶
Index ¶
Constants ¶
View Source
const PEURL = "https://www.legulegu.com/api/stockdata/index-basic"
Variables ¶
This section is empty.
Functions ¶
func SingleFundHandler ¶
Types ¶
type IndustryPETrend ¶
type IndustryPETrend struct {
Data s
}
func (*IndustryPETrend) Fetch ¶
func (i *IndustryPETrend) Fetch() error
func (*IndustryPETrend) Render ¶
func (i *IndustryPETrend) Render() (interface{}, error)
type PERecord ¶
type PERecord struct { AVGPETTM util.TolerantFloat `json:"ttmPe" ld:"avg_pe_ttm"` // 等权滚动 pe WeightedPETTM util.TolerantFloat `json:"addTtmPe" ld:"weighted_pe_ttm"` // 加权滚动 pe Date util.CustomDate `json:"date" ld:"date"` AVGPETTMQuantile util.TolerantFloat `json:"ttmPeQuantile" ld:"avg_pe_ttm_quantile"` // 等权 pe 分位数 WeightedPETTMQuantile util.TolerantFloat `json:"addTtmPeQuantile" ld:"weighted_pe_ttm_quantile"` // 加权 pe 分位数 ClosePrice util.TolerantFloat `json:"close" ld:"close_price"` MarketCode dataGroup `json:"industryCode" ld:"market_code"` }
type PERecordSeries ¶
type PERecordSeries [][]*PERecord
func (PERecordSeries) Len ¶
func (p PERecordSeries) Len() int
func (PERecordSeries) Less ¶
func (p PERecordSeries) Less(i, j int) bool
func (PERecordSeries) Swap ¶
func (p PERecordSeries) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.