Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlterTradeOrder ¶
type AlterTradeOrder struct { CreateOrder OrderID int64 `json:"orderId"` ExternalID string `json:"externalId"` }
func (AlterTradeOrder) MarshalEasyJSON ¶
func (v AlterTradeOrder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (AlterTradeOrder) MarshalJSON ¶
func (v AlterTradeOrder) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*AlterTradeOrder) UnmarshalEasyJSON ¶
func (v *AlterTradeOrder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AlterTradeOrder) UnmarshalJSON ¶
func (v *AlterTradeOrder) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Auth ¶
type Auth struct { ID string `json:"id"` Type string `json:"type"` APIKey string `json:"apiKey"` Password string `json:"password"` }
func (Auth) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Auth) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Auth) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Auth) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type CancelOrder ¶
type CancelOrder struct { ID string `json:"id"` Type string `json:"type"` OrderID int64 `json:"order_id"` }
func (CancelOrder) MarshalEasyJSON ¶
func (v CancelOrder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CancelOrder) MarshalJSON ¶
func (v CancelOrder) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CancelOrder) UnmarshalEasyJSON ¶
func (v *CancelOrder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CancelOrder) UnmarshalJSON ¶
func (v *CancelOrder) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type CreateOrder ¶
type CreateOrder struct { ID string `json:"id"` Type string `json:"type"` Fields *CreateOrderFields `json:"fields"` ExternalID string `json:"externalId,omitempty"` }
func (CreateOrder) MarshalEasyJSON ¶
func (v CreateOrder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CreateOrder) MarshalJSON ¶
func (v CreateOrder) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CreateOrder) UnmarshalEasyJSON ¶
func (v *CreateOrder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CreateOrder) UnmarshalJSON ¶
func (v *CreateOrder) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type CreateOrderFields ¶
type CreateOrderFields struct { Pair string `json:"pair"` OrderedVolume string `json:"ordered_volume"` LimitPrice string `json:"limit_price,omitempty"` TradeIntent int `json:"trade_intent"` Modifier int `json:"modifier,omitempty"` }
func (CreateOrderFields) MarshalEasyJSON ¶
func (v CreateOrderFields) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CreateOrderFields) MarshalJSON ¶
func (v CreateOrderFields) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CreateOrderFields) UnmarshalEasyJSON ¶
func (v *CreateOrderFields) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CreateOrderFields) UnmarshalJSON ¶
func (v *CreateOrderFields) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetBalance ¶
func (GetBalance) MarshalEasyJSON ¶
func (v GetBalance) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetBalance) MarshalJSON ¶
func (v GetBalance) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetBalance) UnmarshalEasyJSON ¶
func (v *GetBalance) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetBalance) UnmarshalJSON ¶
func (v *GetBalance) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetOrder ¶
type GetOrder struct { ID string `json:"id"` Type string `json:"type"` OrderID int64 `json:"orderId,omitempty"` ExternalID string `json:"externalId,omitempty"` }
func (GetOrder) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetOrder) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*GetOrder) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetOrder) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type GetOrderBookAndSubscribe ¶
type GetOrderBookAndSubscribe struct { ID string `json:"id"` Type string `json:"type"` Pair string `json:"pair"` }
func (GetOrderBookAndSubscribe) MarshalEasyJSON ¶
func (v GetOrderBookAndSubscribe) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetOrderBookAndSubscribe) MarshalJSON ¶
func (v GetOrderBookAndSubscribe) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetOrderBookAndSubscribe) UnmarshalEasyJSON ¶
func (v *GetOrderBookAndSubscribe) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetOrderBookAndSubscribe) UnmarshalJSON ¶
func (v *GetOrderBookAndSubscribe) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetPairsAndSubscribe ¶
func (GetPairsAndSubscribe) MarshalEasyJSON ¶
func (v GetPairsAndSubscribe) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetPairsAndSubscribe) MarshalJSON ¶
func (v GetPairsAndSubscribe) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetPairsAndSubscribe) UnmarshalEasyJSON ¶
func (v *GetPairsAndSubscribe) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetPairsAndSubscribe) UnmarshalJSON ¶
func (v *GetPairsAndSubscribe) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetUsersOpenOrders ¶
type GetUsersOpenOrders struct { ID string `json:"id"` Type string `json:"type"` Pair string `json:"pair"` }
func (GetUsersOpenOrders) MarshalEasyJSON ¶
func (v GetUsersOpenOrders) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetUsersOpenOrders) MarshalJSON ¶
func (v GetUsersOpenOrders) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetUsersOpenOrders) UnmarshalEasyJSON ¶
func (v *GetUsersOpenOrders) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetUsersOpenOrders) UnmarshalJSON ¶
func (v *GetUsersOpenOrders) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SubscribeAccounting ¶
type SubscribeAccounting struct { ID string `json:"id"` Type string `json:"type"` IncludeDeals bool `json:"includeDeals"` }
func (SubscribeAccounting) MarshalEasyJSON ¶
func (v SubscribeAccounting) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SubscribeAccounting) MarshalJSON ¶
func (v SubscribeAccounting) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SubscribeAccounting) UnmarshalEasyJSON ¶
func (v *SubscribeAccounting) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SubscribeAccounting) UnmarshalJSON ¶
func (v *SubscribeAccounting) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Source Files ¶
- alterTradeOrder.go
- alterTradeOrder_easyjson.go
- auth.go
- auth_easyjson.go
- cancelOrder.go
- cancelOrder_easyjson.go
- createOrder.go
- createOrder_easyjson.go
- getBalance.go
- getBalance_easyjson.go
- getOrder.go
- getOrderBookAndSubscribe.go
- getOrderBookAndSubscribe_easyjson.go
- getOrder_easyjson.go
- getPairsAndSubscribe.go
- getPairsAndSubscribe_easyjson.go
- getUserOpenOrders.go
- getUserOpenOrders_easyjson.go
- msg.go
- subscribeAccounting.go
- subscribeAccounting_easyjson.go