qq

package
v1.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

qq

腾讯证券接口封装

https://stockapp.finance.qq.com/mstats/#

实现功能

  • 关键词搜索

Documentation

Overview

Package qq 腾讯证券接口封装

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QQ

type QQ struct {
	// http 客户端
	HTTPClient *http.Client
}

QQ 新浪财经数据源

func NewQQ

func NewQQ() QQ

NewQQ 创建 QQ 实例

func (QQ) KeywordSearch

func (q QQ) KeywordSearch(ctx context.Context, kw string) (results []SearchResult, err error)

KeywordSearch 关键词搜索, 股票、代码、拼音

type SearchResult

type SearchResult struct {
	// 数字代码
	SecurityCode string
	// 带后缀的代码
	Secucode string
	// 股票名称
	Name string
}

SearchResult 搜索结果

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL