longport

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) longportConfig

GetConfig :: retrieve and cast connection config from query data

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

type Candlestick added in v0.1.2

type Candlestick struct {
	Symbol      string
	Candlestick *quote.Candlestick
	Period      int
	AdjustType  int
}

type Depth added in v0.1.2

type Depth struct {
	Symbol string
	Ask    *quote.Depth
	Bid    *quote.Depth
}

type Intrady added in v0.1.2

type Intrady struct {
	Symbol string
	Line   *quote.IntradayLine
}

type Trade added in v0.1.2

type Trade struct {
	Symbol string
	Trade  *quote.Trade
}

Jump to

Keyboard shortcuts

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