symbols

package
v0.0.0-...-efca67b Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Exchange_CustomFutures = "customFutures"

	ExchangeType_Futures = "futures"

	Country_CN = "cn"
)

Variables

This section is empty.

Functions

func GetSymbolList

func GetSymbolList(foundExchange *Exchange2Items) (retList []map[string]string, retE error)

func OptInit

func OptInit(host string)

Types

type Exchange2Items

type Exchange2Items struct {
	Id           string              `json:"id"`
	Name         string              `json:"name"`
	ExchangeType string              `json:"exchangeType"`
	Country      string              `json:"country"`
	ItemTypes    []ExchangeItemsType `json:"-"`
	KPeriods     []string            `json:"kPeriods"`
}

func GetExchangeList

func GetExchangeList() (retList []Exchange2Items, retE error)

type ExchangeItemsType

type ExchangeItemsType struct {
	Id     string
	Name   string
	Number int
}

Jump to

Keyboard shortcuts

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