xueqiu

package
v0.0.0-...-a58d1de Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XueqiuAPI = "https://stock.xueqiu.com/v5/stock/chart/kline.json"
)

Variables

This section is empty.

Functions

func GetContents

func GetContents(_url string, cookies []*http.Cookie) ([]byte, error)

func GetXueqiuCookies

func GetXueqiuCookies() ([]*http.Cookie, error)

func GetXueqiuKline

func GetXueqiuKline(symbol string, now int64, cookies []*http.Cookie, klineType string) ([]byte, error)

klineType: normal: 不复权, before: 前复权, after: 后复权

Types

This section is empty.

Jump to

Keyboard shortcuts

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