chart

package
v0.0.0-...-c4b29bc Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceData

type BalanceData struct {
	Labels             []string
	OwnersEquities     []float64
	CurrentAssets      []float64
	Cash               []float64
	CurrentLiabilities []float64
	Receivables        []float64
	Inventories        []float64
	Goodwills          []float64
}

BalanceData is balance chart data

func GetBalanceData

func GetBalanceData(code string) (BalanceData, error)

GetBalanceData gets historical balance sheet data

type IssueVolume

type IssueVolume struct {
	Labels       []string
	IssueVolumes []int32
}

IssueVolume is data for issue volume chart

func GetMonthlyIssueVolume

func GetMonthlyIssueVolume(code string) (IssueVolume, error)

GetMonthlyIssueVolume gets monthly issue volume

type MarketData

type MarketData struct {
	Labels           []string
	MarketValues     []float64
	NegotiableValues []float64
	PEs              []float64
}

MarketData is market chart data

func GetMonthlyMarketData

func GetMonthlyMarketData(code string) (MarketData, error)

GetMonthlyMarketData gets monthly market data

type ProfitData

type ProfitData struct {
	Labels  []string
	Incomes []float64
	Costs   []float64
	Profits []float64
}

ProfitData is profit chart data

func GetProfitData

func GetProfitData(code string) (ProfitData, error)

GetProfitData gets historical profit data

type TradeData

type TradeData struct {
	Labels        []string
	TradeAmounts  []float64
	TurnoverRates []float64
}

TradeData is data for trade chart

func GetMonthlyTradeData

func GetMonthlyTradeData(code string) (TradeData, error)

GetMonthlyTradeData gets monthly trade data

Jump to

Keyboard shortcuts

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