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"` }
Click to show internal directories.
Click to hide internal directories.