修改股票的英文Security为Stock

增加了分时数据,借鉴的第三方好像解析也不对,迟点再找个第三方包试下
This commit is contained in:
injoyai
2024-10-28 16:37:56 +08:00
parent eea4852f6d
commit fc478d7d85

View File

@@ -137,7 +137,7 @@ func (this *Client) GetStockQuotes(m map[protocol.Exchange]string) (protocol.Sto
return result.(protocol.StockQuotesResp), nil
}
// GetStockMinute 获取分时数据
// GetStockMinute 获取分时数据,todo 解析好像不对
func (this *Client) GetStockMinute(exchange protocol.Exchange, code string) (*protocol.StockMinuteResp, error) {
f, err := protocol.MStockMinute.Frame(exchange, code)
if err != nil {