MCPcopy Create free account
hub / github.com/bensema/gotdx / DecodeStockCode

Function DecodeStockCode

types/util.go:37–41  ·  view source on GitHub ↗
(code string)

Source from the content-addressed store, hash-verified

35}
36
37func DecodeStockCode(code string) (Market, string, error) {
38 // 首先判断里面有没有 .
39 code = StockPrefix(CleanCode(code))
40 return DetectMarket(code)
41}
42
43func StockPrefix(code string) string {
44 code = CleanCode(code)

Callers 1

BlockFunction · 0.85

Calls 3

StockPrefixFunction · 0.85
CleanCodeFunction · 0.85
DetectMarketFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…