model

package
v0.0.0-...-53e12df Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DailyRecord

type DailyRecord struct {
	Date          string  `json:"date"`
	TradingVolume float64 `json:"tradingVolume"`
	TradingPrice  float64 `json:"tradingPrice"`
	OpenPrice     float64 `json:"openPrice"`
	HighestPrice  float64 `json:"highestPrice"`
	LowestPrice   float64 `json:"lowestPrice"`
	ClosePrice    float64 `json:"closePrice"`
	PriceDiff     float64 `json:"priceDiff"`
	TransAmount   float64 `json:"transAmount"`
}

type NewRecord

type NewRecord struct {
	Code          string  `json:"code"`
	Name          string  `json:"name"`
	Date          string  `json:"date"`
	TradingVolume float64 `json:"tradingVolume"`
	TradingPrice  float64 `json:"tradingPrice"`
	OpenPrice     float64 `json:"openPrice"`
	HighestPrice  float64 `json:"highestPrice"`
	LowestPrice   float64 `json:"lowestPrice"`
	ClosePrice    float64 `json:"closePrice"`
	PriceDiff     float64 `json:"priceDiff"`
	TransAmount   float64 `json:"transAmount"`
}

type NewStock

type NewStock struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

type Stock

type Stock struct {
	Code             string         `json:"code"`
	Name             string         `json:"name"`
	HistoricalRecord []*DailyRecord `json:"historicalRecord"`
}

Jump to

Keyboard shortcuts

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