sina

package
v0.0.0-...-cd9138d Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2015 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(code, time string, Dayint int) []model.Info

func Run

func Run(codes []string, GoNub int, time string)

func StringTofloat64

func StringTofloat64(s string) float64

Types

type Data_Sina_fenzhong

type Data_Sina_fenzhong struct {
	Day    string
	Open   string
	High   string
	Low    string
	Close  string
	Volume string
}

func EncodingJson_Sina_fenzhong

func EncodingJson_Sina_fenzhong(str string) ([]Data_Sina_fenzhong, error)

type Datas_Sina_fenzhong

type Datas_Sina_fenzhong struct {
	Data []Data_Sina_fenzhong
	Code string
	Name string
}

func (*Datas_Sina_fenzhong) ToData

func (d *Datas_Sina_fenzhong) ToData() *model.Data

Jump to

Keyboard shortcuts

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