order

package
v0.0.0-...-fd5bc48 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 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 BatchPlaceOrderRequest

type BatchPlaceOrderRequest []PlaceOrderRequest

type PlaceOrderRequest

type PlaceOrderRequest struct {
	ContractCode string `json:"contract_code"`

	ClientOrderId int64 `json:"client_order_id,omitempty"`

	Price float32 `json:"price,omitempty"`

	Volume int64 `json:"volume"`

	Direction string `json:"direction"`

	Offset string `json:"offset"`

	LeverRate int `json:"lever_rate"`

	OrderPriceType string `json:"order_price_type"`

	TpTriggerPrice float32 `json:"tp_trigger_price,omitempty"`

	TpOrderPrice float32 `json:"tp_order_price,omitempty"`

	TpOrderPriceType string `json:"tp_order_price_type,omitempty"`

	SlTriggerPrice float32 `json:"sl_trigger_price,omitempty"`

	SlOrderPrice float32 `json:"sl_order_price,omitempty"`

	SlOrderPriceType string `json:"sl_order_price_type,omitempty"`
}

Jump to

Keyboard shortcuts

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