model

package
v0.0.0-...-8f8311a Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Holder

type Holder struct {
	Name    string `json:"name"`
	Num     string `json:"num"`
	Percent string `json:"percent"`
	Status  string `json:"status"`
}

type Stock

type Stock struct {
	Code         string   `json:"code"`
	Name         string   `json:"name"`
	City         string   `json:"city"`
	Address      string   `json:"address"`
	TotalValue   float32  `json:"totalValue"` //总市值
	TradeValue   float32  `json:"tradeValue"` //流通市值
	Price        float32  `json:"price"`      //当前股价
	PE           float32  `json:"PE"`
	TurnoverRate float32  `json:"turnoverRate"`
	BossName     string   `json:"bossName"`
	BossBirth    string   `json:"bossBirth"`
	Subjects     string   `json:"subjects"`
	SubjectTip   string   `json:"subjectTip"`
	Shareholders string   `json:"shareholders"`
	LaunchDate   string   `json:"launchDate"`
	XueqiuHot    int64    `json:"xueqiuHot"`
	TimeStamp    string   `json:"timeStamp"`
	Holders      []Holder `json:"holders"`
}

func (*Stock) FillStockInfo

func (stock *Stock) FillStockInfo() error

Jump to

Keyboard shortcuts

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