entity

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 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 ChartData

type ChartData struct {
	Quotes []*Quote `json:"quotes,omitempty"`
}

type Quote

type Quote struct {
	Timestamp int64   `json:"timestamp"`
	Open      float64 `json:"open"`
	Close     float64 `json:"close"`
	High      float64 `json:"high"`
	Low       float64 `json:"low"`
	Volume    float64 `json:"volume"`
}

type Quotes

type Quotes struct {
	Timestamp []int64   `json:"timestamp"`
	Open      []float64 `json:"open"`
	Close     []float64 `json:"close"`
	High      []float64 `json:"high"`
	Low       []float64 `json:"low"`
	Volume    []float64 `json:"volume"`
}

func (Quotes) Slice

func (q Quotes) Slice() []*Quote

Jump to

Keyboard shortcuts

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