Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelOrdersRequest ¶
type CancelOrdersRequest struct {
ClientOrderIds []string `json:"clientOrderIds"`
}
type CancelOrdersResponse ¶
type GetHistoryOrdersResponse ¶
type GetHistoryOrdersResponse struct { Code int `json:"code"` Message string `json:"message"` Data []struct { AccountId int `json:"accountId"` Source string `json:"source"` ClientOrderId string `json:"clientOrderId"` Symbol string `json:"symbol"` OrderPrice string `json:"orderPrice"` OrderSize string `json:"orderSize"` OrderValue string `json:"orderValue"` OrderSide string `json:"orderSide"` TimeInForce string `json:"timeInForce"` OrderType string `json:"orderType"` StopPrice string `json:"stopPrice"` TrailingRate string `json:"trailingRate"` OrderOrigTime int64 `json:"orderOrigTime"` LastActTime int64 `json:"lastActTime"` OrderCreateTime int64 `json:"orderCreateTime"` OrderStatus string `json:"orderStatus"` ErrCode int `json:"errCode"` ErrMessage string `json:"errMessage"` } NextId int64 `json:"nextId"` }
type GetOpenOrdersResponse ¶
type GetOpenOrdersResponse struct { Code int `json:"code"` Message string `json:"message"` Data []struct { AccountId int `json:"accountId"` Source string `json:"source"` ClientOrderId string `json:"clientOrderId"` Symbol string `json:"symbol"` OrderPrice string `json:"orderPrice"` OrderSize string `json:"orderSize"` OrderValue string `json:"orderValue"` OrderSide string `json:"orderSide"` TimeInForce string `json:"timeInForce"` OrderType string `json:"orderType"` StopPrice string `json:"stopPrice"` TrailingRate string `json:"trailingRate"` OrderOrigTime int64 `json:"orderOrigTime"` LastActTime int64 `json:"lastActTime"` OrderStatus string `json:"orderStatus"` } NextId int64 `json:"nextId"` }
type GetSpecificOrderResponse ¶
type GetSpecificOrderResponse struct { Code int `json:"code"` Message string `json:"message"` Data *struct { AccountId int `json:"accountId"` Source string `json:"source"` ClientOrderId string `json:"clientOrderId"` OrderId string `json:"orderId"` Symbol string `json:"symbol"` OrderPrice string `json:"orderPrice"` OrderSize string `json:"orderSize"` OrderValue string `json:"orderValue"` OrderSide string `json:"orderSide"` TimeInForce string `json:"timeInForce"` OrderType string `json:"orderType"` StopPrice string `json:"stopPrice"` TrailingRate string `json:"trailingRate"` OrderOrigTime int64 `json:"orderOrigTime"` LastActTime int64 `json:"lastActTime"` OrderCreateTime int64 `json:"orderCreateTime"` OrderStatus string `json:"orderStatus"` ErrCode int `json:"errCode"` ErrMessage string `json:"errMessage"` } }
type PlaceOrderRequest ¶
type PlaceOrderRequest struct { AccountId int `json:"accountId"` Symbol string `json:"symbol"` OrderPrice string `json:"orderPrice"` OrderSide string `json:"orderSide"` OrderSize string `json:"orderSize"` OrderValue string `json:"orderValue"` TimeInForce string `json:"timeInForce"` OrderType string `json:"orderType"` ClientOrderId string `json:"clientOrderId"` StopPrice string `json:"stopPrice"` TrailingRate string `json:"trailingRate"` }
type PlaceOrderResponse ¶
Click to show internal directories.
Click to hide internal directories.