commonmodels

package
v0.0.0-...-bade87c Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kline

type Kline struct {
	Amount     float64       `orm:"column(amount)"`    // 成交量
	Count      int64         `orm:"column(count)"`     // 成交笔数
	Open       float64       `orm:"column(open)"`      // 开盘价
	Close      float64       `orm:"column(close)"`     // 收盘价, 当K线为最晚的一根时, 时最新成交价
	Low        float64       `orm:"column(low)"`       // 最低价
	High       float64       `orm:"column(high)"`      // 最高价
	Vol        float64       `orm:"column(vol)"`       // 成交额, 即SUM(每一笔成交价 * 该笔的成交数量)
	KlineTime  time.Time     `orm:"column(klinetime)"` // k线时间
	Code       string        `orm:"column(code)"`
	UpdateTime carbon.Carbon `orm:"column(updatetime)"`
}

Kline struct

Jump to

Keyboard shortcuts

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