realtime

package
v0.0.0-...-0b88031 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RealTime

type RealTime struct {
	Code                  string   `json:"code"`
	Channel               string   `json:"channel"`
	Name                  string   `json:"name"`
	NameFull              string   `json:"name_full"`
	Time                  string   `json:"time"`
	LatestTradePrice      string   `json:"latest_trade_price"`      // 最近成交價
	TradeVolume           string   `json:"trade_volume"`            // 當盤成交量
	AccumulateTradeVolume string   `json:"accumulate_trade_volume"` // 累積成交量
	Open                  string   `json:"open"`                    // 開盤
	High                  string   `json:"high"`                    // 最高
	Low                   string   `json:"low"`                     // 最低
	BestBidPrice          []string `json:"best_bid_price"`          // 買進五檔價格
	BestBidVolume         []string `json:"best_bid_volume"`         // 買進五檔數量
	BestAskPrice          []string `json:"best_ask_price"`          // 賣出五檔價格
	BestAskVolume         []string `json:"best_ask_volume"`         // 賣出五檔數量
}

RealTime 股票現價資訊

func Get

func Get(codes ...string) ([]RealTime, error)

Get 回傳搜尋的股票代碼即時資訊

Jump to

Keyboard shortcuts

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