transGWT

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 10 Imported by: 0

README

长城证券GWT客户端的数据结构与通用数据结构的转换接口实现

长城证券GWT是迅投QMT的衍生客户端 使用GWT的批量预埋单功能进行交互

使用

参考demo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiTransGWT

type ApiTransGWT struct {
	// contains filtered or unexported fields
}

func (ApiTransGWT) Init

func (api ApiTransGWT) Init(conf config.Config)

func (ApiTransGWT) TransAcFund

func (api ApiTransGWT) TransAcFund(mapTransed map[string]string) *tradeBasic.SAcFund

func (ApiTransGWT) TransAcPos

func (api ApiTransGWT) TransAcPos(mapTransed map[string]string) *tradeBasic.SAcPos

func (ApiTransGWT) TransInfoOrder

func (api ApiTransGWT) TransInfoOrder(mapTransed map[string]string) *tradeBasic.SOrderInfo

func (ApiTransGWT) TransInfoTrade

func (api ApiTransGWT) TransInfoTrade(mapTransed map[string]string) *tradeBasic.STradeInfo

func (ApiTransGWT) TransReqOrder

func (api ApiTransGWT) TransReqOrder(reqOrder *tradeBasic.PReqOrder) map[string]string

func (ApiTransGWT) TransReqOrderAction

func (api ApiTransGWT) TransReqOrderAction(reqOrderAction *tradeBasic.PReqOrderAction) map[string]string

Jump to

Keyboard shortcuts

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