lnx

package
v1.1.81 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QKey uint32 = 0 // 行情唯一key,用于多行情场景

Functions

func InitGoroutineTickPool added in v1.1.81

func InitGoroutineTickPool(config *futures_transaction_core.GoroutineTickPoolConfig) (err error)

InitGoroutineTickPool 初始化GoroutineTickPool

func ReleaseGoroutineTickPool added in v1.1.81

func ReleaseGoroutineTickPool()

ReleaseGoroutineTickPool 销毁GoroutineTickPool

Types

type Quote

type Quote struct {
	futures_transaction_core.MiciQuantQuote // 组合
	// contains filtered or unexported fields
}

Quote 行情接口

func NewQuote

func NewQuote(config *futures_transaction_core.QuoteConfig) (*Quote, error)

NewQuote new md api instance

type Trade

type Trade struct {
	futures_transaction_core.MiCiQuantTrade
	// contains filtered or unexported fields
}

Trade 交易接口

func NewTrade

func NewTrade(config *futures_transaction_core.TradeConfig) (*Trade, error)

NewTrade 实例化

Jump to

Keyboard shortcuts

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