ftures

package
v0.0.0-...-3446103 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

期货

Index

Constants

This section is empty.

Variables

View Source
var Client = resty.New()
View Source
var FuturesMap = map[string]string{
	"NYBOT-棉花": "CT",
	"LME镍3个月":  "NID",
	"LME铅3个月":  "PBD",
	"LME锡3个月":  "SND",
	"LME锌3个月":  "ZSD",
	"LME铝3个月":  "AHD",
	"LME铜3个月":  "CAD",
	"CBOT-黄豆":  "S",
	"CBOT-小麦":  "W",
	"CBOT-玉米":  "C",
	"CBOT-黄豆油": "BO",
	"CBOT-黄豆粉": "SM",
	"日本橡胶":     "TRB",
	"COMEX铜":   "HG",
	"NYMEX天然气": "NG",
	"NYMEX原油":  "CL",
	"COMEX白银":  "SI",
	"COMEX黄金":  "GC",
	"CME-瘦肉猪":  "LHC",
	"布伦特原油":    "OIL",
	"伦敦金":      "XAU",
	"伦敦银":      "XAG",
	"伦敦铂金":     "XPT",
	"伦敦钯金":     "XPD",
	"马棕油":      "FCPO",
	"欧洲碳排放":    "EUA",
}

描述: 新浪财经-外盘商品期货品种代码表数据 https://finance.sina.com.cn/money/future/hf.html return :{"LME镍3个月":"NID","LME铜3个月":"CAD"}

Functions

func ALLFuturesForeignHist

func ALLFuturesForeignHist() ([]*model.FturesFoewign, error)

获取所有外盘期货

func FuturesForeignHist

func FuturesForeignHist(symbol string) ([]*model.FturesFoewign, error)

外盘期货-历史行情数据-日频率 http://finance.sina.com.cn/money/future/hf.html symbol: NID、CAD

Types

This section is empty.

Jump to

Keyboard shortcuts

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