mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
修改股票的英文Security为Stock
增加了分时数据,借鉴的第三方好像解析也不对,迟点再找个第三方包试下
This commit is contained in:
@@ -137,7 +137,7 @@ func (this *Client) GetStockQuotes(m map[protocol.Exchange]string) (protocol.Sto
|
|||||||
return result.(protocol.StockQuotesResp), nil
|
return result.(protocol.StockQuotesResp), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetStockMinute 获取分时数据
|
// GetStockMinute 获取分时数据,todo 解析好像不对
|
||||||
func (this *Client) GetStockMinute(exchange protocol.Exchange, code string) (*protocol.StockMinuteResp, error) {
|
func (this *Client) GetStockMinute(exchange protocol.Exchange, code string) (*protocol.StockMinuteResp, error) {
|
||||||
f, err := protocol.MStockMinute.Frame(exchange, code)
|
f, err := protocol.MStockMinute.Frame(exchange, code)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user