Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildOrder ¶
type ChildOrder struct { ID int `json:"id"` ChildOrderID string `json:"child_order_id"` ProductCode types.ProductCode `json:"product_code"` Side types.Side `json:"side"` ChildOrderType types.ChildOrderType `json:"child_order_type"` Price float64 `json:"price"` AveragePrice float64 `json:"average_price"` Size float64 `json:"size"` ChildOrderState ChildOrderState `json:"child_order_state"` ExpireDate time.BitFlyerTime `json:"expire_date"` ChildOrderDate time.BitFlyerTime `json:"child_order_date"` ChildOrderAcceptanceID string `json:"child_order_acceptance_id"` OutstandingSize float64 `json:"outstanding_size"` CancelSize float64 `json:"cancel_size"` ExecutedSize float64 `json:"executed_size"` TotalCommission float64 `json:"total_commission"` }
type ChildOrderState ¶
type ChildOrderState string
const ( Active ChildOrderState = "ACTIVE" Completed ChildOrderState = "COMPLETED" Canceled ChildOrderState = "CANCELED" Expired ChildOrderState = "EXPIRED" Rejected ChildOrderState = "REJECTED" )
type Request ¶
type Request struct { ProductCode types.ProductCode `url:"product_code"` ChildOrderState ChildOrderState `url:"child_order_state,omitempty"` ChildOrderID string `url:"child_order_id,omitempty"` ChildOrderAcceptanceID string `url:"child_order_acceptance_id,omitempty"` ParentOrderID string `url:"parent_order_id,omitempty"` Count int `url:"count,omitempty"` Before int `url:"before,omitempty"` After int `url:"after,omitempty"` }
type Response ¶
type Response []ChildOrder
Click to show internal directories.
Click to hide internal directories.