eastmoney

package
v0.0.0-...-1aeafd4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	APIEastMoneyEconomicTargetBORV2Part1 = "" /* 233-byte string literal not displayed */
	APIEastMoneyEconomicTargetBORV2Part2 = "&pageNumber=1&pageSize=20&sortTypes=-1&sortColumns=REPORT_DATE"
)

APIEastMoneyEconomicTargetBORV2 东方财富宏观指标`上海银行间同业拆放利率隔夜`数据接口

View Source
var APIEastMoneyEconomicTarget = "http://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?type=GJZB&sty=ZGZB&p=1&ps=10000&mkt="

APIEastMoneyEconomicTarget 东方财富宏观指标数据接口

View Source
var APIEastMoneyEconomicTargetBOR = "https://data.eastmoney.com/shibor/shibor.aspx?%s&p=%d"

APIEastMoneyEconomicTargetBOR 东方财富宏观指标`上海银行间同业拆放利率隔夜`数据接口

View Source
var APIEastMoneyEconomicTargetCHN10 = "https://datacenter-web.eastmoney.com/api/data/get?type=RPTA_WEB_TREASURYYIELD&sty=ALL&st=SOLAR_DATE&sr=-1&p=%d&ps=50"

APIEastMoneyEconomicTargetCHN10 东方财富宏观指标`中债10年期国债到期收益率`数据接口

View Source
var APIEastMoneyGlobalTarget = "http://push2.eastmoney.com/api/qt/stock/get?invt=2&fltt=1&fields=f43%2Cf44%2Cf45%2Cf46%2Cf60%2Cf86%2Cf169%2Cf170&"

APIEastMoneyGlobalTarget 东方财富全球指数数据接口

View Source
var APIEastMoneyIndustryTarget = "" /* 333-byte string literal not displayed */

APIEastMoneyIndustryTarget 东方财富行业指标数据接口

View Source
var APIEastMoneyQiHuoTarget = "http://futsseapi.eastmoney.com/static/%s"

APIEastMoneyQiHuoTarget 东方财富期货指标数据接口

Functions

func ManualHandleUpDown

func ManualHandleUpDown(array model.ResponseArray) (responses []model.Response)

ManualHandleUpDown 手动计算涨跌幅 注意:ResponseArray中每一个response的Date字段值必须是8位,形如:20220415

func SpiderEastMoneyEconomicTarget

func SpiderEastMoneyEconomicTarget(sourceTargetCodeSpider, targetCode string) (responses []model.Response)

SpiderEastMoneyEconomicTarget 爬取"东方财富"网站的`宏观指标` 适用指标: - 工业增加值同比增长、工业增加值累计增长

- 出口当月同比增速

- 社会消费品零售总额当期值、社会消费品零售总额累计值、社会消费品零售总额同比增长、社会消费品零售总额累计增长

- 货币和准货币(M2)供应量期末值、货币和准货币(M2)供应量同比增长

- 贷款基准利率、存款基准利率

- 居民消费价格指数、居民消费价格指数当月、CPI同比增速月度

- 国内生产总值同比增长

- 制造业采购经理指数

- 工业品出厂价格指数当月、PPI同比增速月度

- 存款准备金率

- 外汇储备月度、外汇储备增速月度

func SpiderEastMoneyEconomicTargetBOR

func SpiderEastMoneyEconomicTargetBOR(sourceTargetCodeSpider string, pages int) (responses []model.Response)

SpiderEastMoneyEconomicTargetBOR 爬取"东方财富"网站的`宏观指标-银行间同业拆放利率` 适用指标: - 上海银行间同业拆放利率隔夜

- 上海银行间同业拆放利率1周

- 上海银行间同业拆放利率1月

- 上海银行间同业拆放利率3月

- 上海银行间同业拆放利率1年

- 伦敦同业间拆借利率隔夜

- 伦敦同业间拆借利率1月

- 伦敦同业间拆借利率3月

func SpiderEastMoneyEconomicTargetBORV2

func SpiderEastMoneyEconomicTargetBORV2(sourceTargetCodeSpider string) (responses []model.Response)

SpiderEastMoneyEconomicTargetBORV2 东方财富宏观指标`上海银行间同业拆放利率隔夜`数据接口V2 适用指标: - 上海银行间同业拆放利率隔夜

- 上海银行间同业拆放利率1周

- 上海银行间同业拆放利率1月

- 上海银行间同业拆放利率3月

- 上海银行间同业拆放利率1年

- 伦敦同业间拆借利率隔夜

- 伦敦同业间拆借利率1月

- 伦敦同业间拆借利率3月

func SpiderEastMoneyEconomicTargetCHN10

func SpiderEastMoneyEconomicTargetCHN10(pages int) (responses []model.Response)

SpiderEastMoneyEconomicTargetCHN10 爬取"东方财富"网站的`宏观指标-中债10年期国债到期收益率` 适用指标: - 中债10年期国债到期收益率

func SpiderEastMoneyGlobalTarget

func SpiderEastMoneyGlobalTarget(sourceTargetCodeSpider string) (responses []model.Response)

SpiderEastMoneyGlobalTarget 爬取"东方财富"网站的`全球指数` 适用指标: - 国债指数

- 台湾加权

- 韩国KOSPI

- 俄罗斯RTS

- 澳大利亚标普200

- 路透CRB商品指数

- 中证国有企业综合指数

- 中证央企结构调整指数

- 中证国企一带一路指数

- 中证中央企业100指数

- 中证央企创新驱动指数

- 中证国有企业改革指数

- 中证中央企业综合指数

- 银华央企结构调整ETF

- 博时央企结构调整ETF

- 华夏央企结构调整ETF

- 原油指数

- AMAC造纸

func SpiderEastMoneyIndustryTarget

func SpiderEastMoneyIndustryTarget(sourceTargetCodeSpider string, pages int) (responses []model.Response)

SpiderEastMoneyIndustryTarget 爬取"东方财富"网站的`行业指标` 适用指标: - 波罗的海干散货指数

- 物流业景气指数

- 中国大宗商品指数

- 美原油指数CONC

- 费城半导体指数SOX

func SpiderEastMoneyQiHuoTarget

func SpiderEastMoneyQiHuoTarget(sourceTargetCodeSpider string) (responses []model.Response)

SpiderEastMoneyQiHuoTarget 爬取"东方财富"网站的`期货指标` 适用指标: - 铁矿石主力合约

- 沪银主力

- 沪金主力

- 沪铜主力

- 沪镍主力

- 豆油主力

- 玉米主力

- 原油主力

- COMEX黄金电子盘主力合约

- COMEX白银电子盘主力合约

- NYMEX轻质原油电子盘主力

Types

This section is empty.

Jump to

Keyboard shortcuts

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