Documentation
¶
Index ¶
Constants ¶
View Source
const ( CodeSZZS = "SH000001" CodeSZCZ = "SZ399001" CodeCYB = "SZ399006" CodeKC50 = "SH000688" CodeETF5G = "SH515050" CodeETFQuanShang = "SH512000" CodeETFXinNengChe = "SH515700" CodeETFZhengQuan = "SH512880" CodeETFHengSheng = "SZ159920" CodeETFJunGongLongTou = "SH512710" CodeETFHongLi = "SH510880" CodeLOFHBYouQi = "SZ162411" )
View Source
const ( CodeTypeMain = iota CodeTypeETF CodeTypeLOF CodeTypeIndex CodeTypeStock CodeTypeUnknown = -1 )
Variables ¶
View Source
var ( MainIndexCodeList = []string{CodeSZZS, CodeSZCZ, CodeCYB, CodeKC50} ETFCodeList = []string{CodeETF5G, CodeETFQuanShang, CodeETFXinNengChe, CodeETFZhengQuan, CodeETFHongLi, CodeETFHengSheng, CodeETFJunGongLongTou} LOFCodeList = []string{CodeLOFHBYouQi} )
View Source
var ( CodeChineseMap = map[string]string{ CodeSZZS: "上证指数", CodeSZCZ: "深证成指", CodeCYB: "创业板", CodeKC50: "科创50", CodeETF5G: "5GETF", CodeETFQuanShang: "券商ETF", CodeETFXinNengChe: "新能车", CodeLOFHBYouQi: "华宝油气", CodeETFHengSheng: "恒生ETF", CodeETFHongLi: "红利ETF", CodeETFJunGongLongTou: "军工龙头ETF", CodeETFZhengQuan: "证券ETF", } )
View Source
var ( ETFIndexCodeMap = map[string]string{ CodeETF5G: "931079", CodeETFQuanShang: "399975", CodeETFXinNengChe: "930997", CodeLOFHBYouQi: "", } )
Functions ¶
Types ¶
type OverviewModule ¶
type OverviewModule struct {
// contains filtered or unexported fields
}
func NewOverviewModule ¶
func NewOverviewModule(messageSender message.Sender) *OverviewModule
func (*OverviewModule) Start ¶
func (m *OverviewModule) Start(stop <-chan struct{})
Click to show internal directories.
Click to hide internal directories.