Versions in this module Expand all Collapse all v0 v0.0.1 Apr 28, 2021 Changes in this version + type Histories struct + AvgFillPrice float64 + ClientID string + CreatedAt time.Time + FilledSize float64 + Future string + ID int + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + RemainingSize float64 + Side string + Size float64 + Status string + Type string + type OpenOrder struct + AvgFillPrice float64 + ClientID string + CreatedAt time.Time + FilledSize float64 + Future string + ID int64 + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + RemainingSize float64 + Side string + Size float64 + Status string + Type string + type OpenTriggerOrder struct + AvgFillPrice float64 + CreatedAt time.Time + Error string + FilledSize float64 + Future string + ID int + Market string + OrderID string + OrderPrice float64 + OrderType string + ReduceOnly bool + RetryUntilFilled bool + Side string + Size float64 + Status string + TrailStart float64 + TrailValue float64 + TriggerPrice float64 + TriggeredAt time.Time + Type string + type Order struct + AvgFillPrice float64 + ClientID string + CreatedAt time.Time + FilledSize float64 + ID int64 + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + RemainingSize float64 + Side string + Size float64 + Status string + Type string + type RequestForCancelAll struct + ConditionalOrdersOnly bool + LimitOrdersOnly bool + ProductCode string + func (req *RequestForCancelAll) Method() string + func (req *RequestForCancelAll) Path() string + func (req *RequestForCancelAll) Payload() []byte + func (req *RequestForCancelAll) Query() string + type RequestForCancelByID struct + ClientID string + OrderID int + TriggerOrderID string + func (req *RequestForCancelByID) Method() string + func (req *RequestForCancelByID) Path() string + func (req *RequestForCancelByID) Payload() []byte + func (req *RequestForCancelByID) Query() string + type RequestForHistories struct + End int64 + Limit int + ProductCode string + Start int64 + func (req *RequestForHistories) Method() string + func (req *RequestForHistories) Path() string + func (req *RequestForHistories) Payload() []byte + func (req *RequestForHistories) Query() string + type RequestForModifyOrder struct + ClientID string + OrderID string + Price float64 + Size float64 + func (req *RequestForModifyOrder) Method() string + func (req *RequestForModifyOrder) Path() string + func (req *RequestForModifyOrder) Payload() []byte + func (req *RequestForModifyOrder) Query() string + type RequestForModifyTriggerOrder struct + OrderID string + OrderPrice float64 + Size float64 + TrailValue float64 + TriggerPrice float64 + func (req *RequestForModifyTriggerOrder) Method() string + func (req *RequestForModifyTriggerOrder) Path() string + func (req *RequestForModifyTriggerOrder) Payload() []byte + func (req *RequestForModifyTriggerOrder) Query() string + type RequestForOpenOrder struct + ProductCode string + func (req *RequestForOpenOrder) Method() string + func (req *RequestForOpenOrder) Path() string + func (req *RequestForOpenOrder) Payload() []byte + func (req *RequestForOpenOrder) Query() string + type RequestForOpenTriggerOrders struct + ProductCode string + Type string + func (req *RequestForOpenTriggerOrders) Method() string + func (req *RequestForOpenTriggerOrders) Path() string + func (req *RequestForOpenTriggerOrders) Payload() []byte + func (req *RequestForOpenTriggerOrders) Query() string + type RequestForOrderStatus struct + ClientID string + OrderID string + func (req *RequestForOrderStatus) Method() string + func (req *RequestForOrderStatus) Path() string + func (req *RequestForOrderStatus) Payload() []byte + func (req *RequestForOrderStatus) Query() string + type RequestForOrderTriggerHistories struct + End int64 + Limit int + OrderType string + ProductCode string + Side string + Start int64 + Type string + func (req *RequestForOrderTriggerHistories) Method() string + func (req *RequestForOrderTriggerHistories) Path() string + func (req *RequestForOrderTriggerHistories) Payload() []byte + func (req *RequestForOrderTriggerHistories) Query() string + type RequestForOrderTriggers struct + CID string + func (req *RequestForOrderTriggers) Method() string + func (req *RequestForOrderTriggers) Path() string + func (req *RequestForOrderTriggers) Payload() []byte + func (req *RequestForOrderTriggers) Query() string + type RequestForPlaceOrder struct + ClientID string + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + Side string + Size float64 + Type string + func (req *RequestForPlaceOrder) Method() string + func (req *RequestForPlaceOrder) Path() string + func (req *RequestForPlaceOrder) Payload() []byte + func (req *RequestForPlaceOrder) Query() string + type RequestForPlaceTriggerOrder struct + Market string + ReduceOnly bool + RetryUntilFilled bool + Side string + Size float64 + TriggerPrice float64 + Type string + func (req *RequestForPlaceTriggerOrder) Method() string + func (req *RequestForPlaceTriggerOrder) Path() string + func (req *RequestForPlaceTriggerOrder) Payload() []byte + func (req *RequestForPlaceTriggerOrder) Query() string + type ResponseForCancelAll string + type ResponseForCancelByID string + type ResponseForHistories []Histories + type ResponseForModifyOrder struct + ClientID string + CreatedAt time.Time + FilledSize float64 + Future string + ID int + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + RemainingSize float64 + Side string + Size float64 + Status string + Type string + type ResponseForModifyTriggerOrder struct + AvgFillPrice float64 + CreatedAt time.Time + Error string + FilledSize float64 + Future string + ID int + Market string + OrderID string + OrderPrice float64 + OrderType string + ReduceOnly bool + RetryUntilFilled bool + Side string + Size float64 + Status string + TriggerPrice float64 + TriggeredAt time.Time + Type string + type ResponseForOpenOrder []OpenOrder + type ResponseForOpenTriggerOrders []OpenTriggerOrder + type ResponseForOrderStatus struct + AvgFillPrice float64 + ClientID string + CreatedAt time.Time + FilledSize float64 + Future string + ID int + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + RemainingSize float64 + Side string + Size float64 + Status string + Type string + type ResponseForOrderTriggerHistories []TriggerHistory + type ResponseForOrderTriggers []Trigger + type ResponseForPlaceOrder struct + ClientID string + CreatedAt time.Time + FilledSize float64 + Future string + ID int + Ioc bool + Market string + PostOnly bool + Price float64 + ReduceOnly bool + RemainingSize float64 + Side string + Size float64 + Status string + Type string + type ResponseForPlaceTriggerOrder struct + CreatedAt time.Time + Error string + Future string + ID int + Market string + OrderID string + OrderPrice float64 + OrderType string + ReduceOnly bool + RetryUntilFilled bool + Side string + Size float64 + Status string + TriggerPrice float64 + TriggeredAt time.Time + Type string + type Trigger struct + Error string + FilledSize float64 + OrderID int + OrderSize float64 + Time time.Time + type TriggerHistory struct + AvgFillPrice float64 + CreatedAt time.Time + Error string + FilledSize int + Future string + ID int + Market string + OrderID int + OrderPrice float64 + OrderStatus string + OrderType string + ReduceOnly bool + RetryUntilFilled bool + Side string + Size int + Status string + TrailStart float64 + TrailValue float64 + TriggerPrice float64 + TriggeredAt time.Time + Type string