Documentation ¶
Index ¶
Constants ¶
View Source
const (
EastmoneyGdfxHoldingAnalysePageSize = 500
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CirculatingShareholder ¶ added in v1.3.27
type CirculatingShareholder struct {}
CirculatingShareholder Top10CirculatingShareholders
func FreeHoldingAnalyse ¶ added in v1.1.6
func FreeHoldingAnalyse(pageNumber ...int) ([]CirculatingShareholder, int, error)
type DfcfHistory ¶
type DfcfHistory struct { // date 时间 Date string `json:"date" array:"0"` // open 开盘价 Open float64 `json:"open" array:"1"` // high 最高价 High float64 `json:"high" array:"3"` // low 最低价 Low float64 `json:"low" array:"4"` // close 收盘价 Close float64 `json:"close" array:"2"` // volume 成交量, 单位股, 除以100为手 Volume int64 `json:"volume" array:"5"` }
func GetHistory ¶
func GetHistory(fullCode string, datalen int) ([]DfcfHistory, error)
GetHistory sina获取历史数据的唯一方法
type EastmoneyApi ¶
type EastmoneyApi struct{}
func (*EastmoneyApi) Name ¶
func (this *EastmoneyApi) Name() string
type HoldNumChangeState ¶ added in v1.3.27
type HoldNumChangeState = int
const ( HoldNumDampened HoldNumChangeState = -1 // 减少 HoldNumUnChanged HoldNumChangeState = 0 // 不变 HoldNumNewlyAdded HoldNumChangeState = 1 // 新进/新增 HoldNumIncrease HoldNumChangeState = 2 // 增加 HoldNumUnknownChanges HoldNumChangeState = -9 // 未知变化 )
type HoldingAnalyse ¶ added in v1.1.6
type HoldingAnalyse struct { SECUCODE string `json:"SECUCODE"` // "股票代码", SECURITY_NAME string `json:"SECURITY_NAME_ABBR"` // "股票简称", END_DATE string `json:"END_DATE"` // "报告期", UPDATE_DATE string `json:"UPDATE_DATE"` // "公告日", HOLDER_TYPE string `json:"HOLDER_TYPE"` // "股东类型", HOLDER_NEWTYPE string `json:"HOLDER_NEWTYPE"` // "-", HOLDER_NAME string `json:"HOLDER_NAME"` // "股东名称", IS_HOLDORG string `json:"IS_HOLDORG"` // "是否机构", HOLDER_RANK int `json:"HOLDER_RANK"` // "股东排名", HOLD_NUM int `json:"HOLD_NUM"` // "期末持股-数量", FREE_HOLDNUM_RATIO float64 `json:"FREE_HOLDNUM_RATIO"` // "-", HOLD_NUM_CHANGE_NAME string `json:"HOLDNUM_CHANGE_NAME"` // "-", XZCHANGE int `json:"XZCHANGE"` // "期末持股-数量变化", CHANGE_RATIO float64 `json:"CHANGE_RATIO"` // "-", HOLDER_STATE string `json:"HOLDER_STATE"` // "-", REPORT_DATE_NAME string `json:"REPORT_DATE_NAME"` // ---华丽的分割线--- HOLDER_MARKET_CAP float64 `json:"HOLDER_MARKET_CAP"` // "期末持股-流通市值", HOLD_RATIO float64 `json:"HOLD_RATIO"` // "-", SECURITY_CODE string `json:"SECURITY_CODE"` // "股票代码简写", HOLD_CHANGE string `json:"HOLD_CHANGE"` // "-", HOLD_RATIO_CHANGE float64 `json:"HOLD_RATIO_CHANGE"` // "期末持股-数量变化比例", ORG_CODE string `json:"ORG_CODE"` // "-", HOLDER_CODE string `json:"HOLDER_CODE"` // "-", SECURITY_TYPE_CODE string `json:"SECURITY_TYPE_CODE"` // "-", SHARES_TYPE string `json:"SHARES_TYPE"` // "-", HOLDER_NEW string `json:"HOLDER_NEW"` // "-", FREE_RATIO_QOQ string `json:"FREE_RATIO_QOQ"` // "-", HOLDER_STATEE string `json:"HOLDER_STATEE"` // "-", IS_REPORT string `json:"IS_REPORT"` // "-", HOLDER_CODE_OLD string `json:"HOLDER_CODE_OLD"` // "-", IS_MAX_REPORT_DATE string `json:"IS_MAX_REPORTDATE"` // "-", COOPERATION_HOLDER_MARK string `json:"COOPERATION_HOLDER_MARK"` // "-", MXID string `json:"MXID"` // "-", LISTING_STATE string `json:"LISTING_STATE"` // "-", NEW_CHANGE_RATIO string `json:"NEW_CHANGE_RATIO"` // "-", HOLD_NUM_CHANGE string `json:"HOLD_NUM_CHANGE"` // "期末持股-持股变动", }
HoldingAnalyse 持股分析
type KLine ¶
type KLine struct { Date string `json:"date" array:"0" name:"日期" dataframe:"date,string"` Open float64 `json:"open" array:"1" name:"开盘价" dataframe:"open,float64"` Close float64 `json:"close" array:"2" name:"收盘价" dataframe:"close,float64"` High float64 `json:"high" array:"3" name:"最高价" dataframe:"high,float64"` Low float64 `json:"low" array:"4" name:"最低价" dataframe:"low,float64"` Volume int64 `json:"volume" array:"5" name:"成交量" dataframe:"volume,int64"` Amount float64 `json:"amount" array:"6" name:"成交金额" dataframe:"amount,float64"` }
Click to show internal directories.
Click to hide internal directories.