Documentation ¶
Overview ¶
Package zszx 招商证券接口封装 https://zszx.cmschina.com/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetInflow ¶
type NetInflow struct { // 交易日期 TrdDt string `json:"TrdDt"` // 当日股价 ClsPrc string `json:"ClsPrc"` // 主力净流入(万元) MainMnyNetIn string `json:"MainMnyNetIn"` // 超大单净流入(万元) HugeNetIn string `json:"HugeNetIn"` // 大单净流入(万元) BigNetIn string `json:"BigNetIn"` // 中单净流入(万元) MidNetIn string `json:"MidNetIn"` // 小单净流入(万元) SmallNetIn string `json:"SmallNetIn"` TTLMnyNetIn string `json:"TtlMnyNetIn"` }
NetInflow 资金净流入详情
type NetInflowList ¶
type NetInflowList []NetInflow
NetInflowList 净流入详情列表
func (NetInflowList) String ¶
func (n NetInflowList) String() string
func (NetInflowList) SumMainNetIn ¶
func (n NetInflowList) SumMainNetIn(ctx context.Context) float64
SumMainNetIn 主力净流入列表求和
type RespMainMoneyNetInflows ¶
type RespMainMoneyNetInflows struct { Success bool `json:"success"` Message string `json:"message"` Code int `json:"code"` Data NetInflowList `json:"data"` }
RespMainMoneyNetInflows QueryMainMoneyNetInflows 返回json结构
type Zszx ¶
Zszx 招商证券接口
func (Zszx) QueryMainMoneyNetInflows ¶
func (z Zszx) QueryMainMoneyNetInflows(ctx context.Context, secuCode, startDate, endDate string) (NetInflowList, error)
QueryMainMoneyNetInflows 查询主力资金净流入数据
Click to show internal directories.
Click to hide internal directories.