defs

package
v0.0.0-...-ecfb887 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarketData

type MarketData struct {
	Exchange_id XTP_EXCHANGE_TYPE
	Ticker      string

	Date_time int64

	Last_price float64
	Qty        int64

	Open_price  float64
	High_price  float64
	Low_price   float64
	Close_price float64

	Bid     [10]float64
	Ask     [10]float64
	Bid_qty [10]int64
	Ask_qty [10]int64
}

type XTP_EXCHANGE_TYPE

type XTP_EXCHANGE_TYPE int
const (
	XTP_EXCHANGE_SH XTP_EXCHANGE_TYPE = 1 + iota
	XTP_EXCHANGE_SZ
	XTP_EXCHANGE_UNKNOWN
)

Jump to

Keyboard shortcuts

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