order

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 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 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"`

	Volume int64 `json:"volume"`

	Direction string `json:"direction"`

	Offset string `json:"offset"`

	LeverRate int `json:"lever_rate"`

	OrderPriceType string `json:"order_price_type"`
}

Jump to

Keyboard shortcuts

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