Documentation ¶
Index ¶
- Variables
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)deprecated
- func (x *Balance) GetAvailable() float64
- func (x *Balance) GetCurrency() string
- func (x *Balance) GetExchange() string
- func (x *Balance) GetLocked() float64
- func (*Balance) ProtoMessage()
- func (x *Balance) ProtoReflect() protoreflect.Message
- func (x *Balance) Reset()
- func (x *Balance) String() string
- type CancelOrderRequest
- func (*CancelOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOrderRequest) GetClientOrderId() string
- func (x *CancelOrderRequest) GetExchange() string
- func (x *CancelOrderRequest) GetId() string
- func (*CancelOrderRequest) ProtoMessage()
- func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message
- func (x *CancelOrderRequest) Reset()
- func (x *CancelOrderRequest) String() string
- type CancelOrderResponse
- func (*CancelOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOrderResponse) GetError() *Error
- func (x *CancelOrderResponse) GetOrder() *Order
- func (*CancelOrderResponse) ProtoMessage()
- func (x *CancelOrderResponse) ProtoReflect() protoreflect.Message
- func (x *CancelOrderResponse) Reset()
- func (x *CancelOrderResponse) String() string
- type Depth
- func (*Depth) Descriptor() ([]byte, []int)deprecated
- func (x *Depth) GetAsks() []*PriceVolume
- func (x *Depth) GetBids() []*PriceVolume
- func (x *Depth) GetExchange() string
- func (x *Depth) GetSymbol() string
- func (*Depth) ProtoMessage()
- func (x *Depth) ProtoReflect() protoreflect.Message
- func (x *Depth) Reset()
- func (x *Depth) String() string
- type Empty
- type Error
- type KLine
- func (*KLine) Descriptor() ([]byte, []int)deprecated
- func (x *KLine) GetClose() float64
- func (x *KLine) GetExchange() string
- func (x *KLine) GetHigh() float64
- func (x *KLine) GetLow() float64
- func (x *KLine) GetOpen() float64
- func (x *KLine) GetQuoteVolume() float64
- func (x *KLine) GetSymbol() string
- func (x *KLine) GetTimestamp() int64
- func (x *KLine) GetVolume() float64
- func (*KLine) ProtoMessage()
- func (x *KLine) ProtoReflect() protoreflect.Message
- func (x *KLine) Reset()
- func (x *KLine) String() string
- type Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetAvgPrice() float64
- func (x *Order) GetClientOrderId() string
- func (x *Order) GetCreatedAt() int64
- func (x *Order) GetExchange() string
- func (x *Order) GetExecutedVolume() float64
- func (x *Order) GetGroupId() int64
- func (x *Order) GetId() string
- func (x *Order) GetOrderType() string
- func (x *Order) GetPrice() float64
- func (x *Order) GetQuantity() float64
- func (x *Order) GetSide() string
- func (x *Order) GetStatus() string
- func (x *Order) GetStopPrice() float64
- func (x *Order) GetSymbol() string
- func (x *Order) GetTradesCount() int64
- func (*Order) ProtoMessage()
- func (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- type PriceVolume
- type QueryKLinesRequest
- func (*QueryKLinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryKLinesRequest) GetExchange() string
- func (x *QueryKLinesRequest) GetInterval() int64
- func (x *QueryKLinesRequest) GetLimit() int64
- func (x *QueryKLinesRequest) GetSymbol() string
- func (x *QueryKLinesRequest) GetTimestamp() int64
- func (*QueryKLinesRequest) ProtoMessage()
- func (x *QueryKLinesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryKLinesRequest) Reset()
- func (x *QueryKLinesRequest) String() string
- type QueryKLinesResponse
- func (*QueryKLinesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryKLinesResponse) GetError() *Error
- func (x *QueryKLinesResponse) GetKlines() []*KLine
- func (*QueryKLinesResponse) ProtoMessage()
- func (x *QueryKLinesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryKLinesResponse) Reset()
- func (x *QueryKLinesResponse) String() string
- type QueryOrderRequest
- func (*QueryOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrderRequest) GetClientOrderId() string
- func (x *QueryOrderRequest) GetExchange() string
- func (x *QueryOrderRequest) GetId() string
- func (*QueryOrderRequest) ProtoMessage()
- func (x *QueryOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryOrderRequest) Reset()
- func (x *QueryOrderRequest) String() string
- type QueryOrderResponse
- func (*QueryOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrderResponse) GetError() *Error
- func (x *QueryOrderResponse) GetOrder() *Order
- func (*QueryOrderResponse) ProtoMessage()
- func (x *QueryOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QueryOrderResponse) Reset()
- func (x *QueryOrderResponse) String() string
- type QueryOrdersRequest
- func (*QueryOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrdersRequest) GetExchange() string
- func (x *QueryOrdersRequest) GetGroupId() int64
- func (x *QueryOrdersRequest) GetLimit() int64
- func (x *QueryOrdersRequest) GetOffset() int64
- func (x *QueryOrdersRequest) GetOrderBy() string
- func (x *QueryOrdersRequest) GetPage() int64
- func (x *QueryOrdersRequest) GetPagination() bool
- func (x *QueryOrdersRequest) GetState() []string
- func (x *QueryOrdersRequest) GetSymbol() string
- func (*QueryOrdersRequest) ProtoMessage()
- func (x *QueryOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *QueryOrdersRequest) Reset()
- func (x *QueryOrdersRequest) String() string
- type QueryOrdersResponse
- func (*QueryOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrdersResponse) GetError() *Error
- func (x *QueryOrdersResponse) GetOrders() []*Order
- func (*QueryOrdersResponse) ProtoMessage()
- func (x *QueryOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *QueryOrdersResponse) Reset()
- func (x *QueryOrdersResponse) String() string
- type QueryTradesRequest
- func (*QueryTradesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTradesRequest) GetExchange() string
- func (x *QueryTradesRequest) GetFrom() int64
- func (x *QueryTradesRequest) GetLimit() int64
- func (x *QueryTradesRequest) GetOffset() int64
- func (x *QueryTradesRequest) GetOrderBy() string
- func (x *QueryTradesRequest) GetPage() int64
- func (x *QueryTradesRequest) GetPagination() bool
- func (x *QueryTradesRequest) GetSymbol() string
- func (x *QueryTradesRequest) GetTimestamp() int64
- func (x *QueryTradesRequest) GetTo() int64
- func (*QueryTradesRequest) ProtoMessage()
- func (x *QueryTradesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTradesRequest) Reset()
- func (x *QueryTradesRequest) String() string
- type QueryTradesResponse
- func (*QueryTradesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTradesResponse) GetError() *Error
- func (x *QueryTradesResponse) GetTrades() []*Trade
- func (*QueryTradesResponse) ProtoMessage()
- func (x *QueryTradesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTradesResponse) Reset()
- func (x *QueryTradesResponse) String() string
- type SubmitOrder
- func (*SubmitOrder) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitOrder) GetClientOrderId() string
- func (x *SubmitOrder) GetExchange() string
- func (x *SubmitOrder) GetGroupId() int64
- func (x *SubmitOrder) GetOrderType() string
- func (x *SubmitOrder) GetPrice() float64
- func (x *SubmitOrder) GetQuantity() float64
- func (x *SubmitOrder) GetSide() string
- func (x *SubmitOrder) GetStopPrice() float64
- func (x *SubmitOrder) GetSymbol() string
- func (*SubmitOrder) ProtoMessage()
- func (x *SubmitOrder) ProtoReflect() protoreflect.Message
- func (x *SubmitOrder) Reset()
- func (x *SubmitOrder) String() string
- type SubmitOrderRequest
- func (*SubmitOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitOrderRequest) GetSubmitOrder() *SubmitOrder
- func (*SubmitOrderRequest) ProtoMessage()
- func (x *SubmitOrderRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitOrderRequest) Reset()
- func (x *SubmitOrderRequest) String() string
- type SubmitOrderResponse
- func (*SubmitOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitOrderResponse) GetError() *Error
- func (x *SubmitOrderResponse) GetOrder() *Order
- func (*SubmitOrderResponse) ProtoMessage()
- func (x *SubmitOrderResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitOrderResponse) Reset()
- func (x *SubmitOrderResponse) String() string
- type SubscribeRequest
- func (*SubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRequest) GetSubscriptions() []*Subscription
- func (*SubscribeRequest) ProtoMessage()
- func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRequest) Reset()
- func (x *SubscribeRequest) String() string
- type SubscribeResponse
- func (*SubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeResponse) GetBalances() []*Balance
- func (x *SubscribeResponse) GetChannel() string
- func (x *SubscribeResponse) GetDepth() *Depth
- func (x *SubscribeResponse) GetError() *Error
- func (x *SubscribeResponse) GetEvent() string
- func (x *SubscribeResponse) GetExchange() string
- func (x *SubscribeResponse) GetOrders() []*Order
- func (x *SubscribeResponse) GetSubscribedAt() int64
- func (x *SubscribeResponse) GetSymbol() string
- func (x *SubscribeResponse) GetTicker() *Ticker
- func (x *SubscribeResponse) GetTrades() []*Trade
- func (*SubscribeResponse) ProtoMessage()
- func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeResponse) Reset()
- func (x *SubscribeResponse) String() string
- type Subscription
- func (*Subscription) Descriptor() ([]byte, []int)deprecated
- func (x *Subscription) GetChannel() string
- func (x *Subscription) GetDepth() int64
- func (x *Subscription) GetExchange() string
- func (x *Subscription) GetSymbol() string
- func (*Subscription) ProtoMessage()
- func (x *Subscription) ProtoReflect() protoreflect.Message
- func (x *Subscription) Reset()
- func (x *Subscription) String() string
- type Ticker
- func (*Ticker) Descriptor() ([]byte, []int)deprecated
- func (x *Ticker) GetClose() float64
- func (x *Ticker) GetExchange() string
- func (x *Ticker) GetHigh() float64
- func (x *Ticker) GetLow() float64
- func (x *Ticker) GetOpen() float64
- func (x *Ticker) GetSymbol() string
- func (x *Ticker) GetVolume() float64
- func (*Ticker) ProtoMessage()
- func (x *Ticker) ProtoReflect() protoreflect.Message
- func (x *Ticker) Reset()
- func (x *Ticker) String() string
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)deprecated
- func (x *Trade) GetCreatedAt() int64
- func (x *Trade) GetExchange() string
- func (x *Trade) GetFee() float64
- func (x *Trade) GetFeeCurrency() string
- func (x *Trade) GetId() string
- func (x *Trade) GetMaker() bool
- func (x *Trade) GetPrice() float64
- func (x *Trade) GetSide() string
- func (x *Trade) GetSymbol() string
- func (x *Trade) GetTrend() string
- func (x *Trade) GetVolume() float64
- func (*Trade) ProtoMessage()
- func (x *Trade) ProtoReflect() protoreflect.Message
- func (x *Trade) Reset()
- func (x *Trade) String() string
Constants ¶
This section is empty.
Variables ¶
var File_bbgo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Balance ¶
type Balance struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` Available float64 `protobuf:"fixed64,3,opt,name=available,proto3" json:"available,omitempty"` Locked float64 `protobuf:"fixed64,4,opt,name=locked,proto3" json:"locked,omitempty"` // contains filtered or unexported fields }
https://maicoin.github.io/max-websocket-docs/#/private_channels?id=account-response
func (*Balance) Descriptor
deprecated
func (*Balance) GetAvailable ¶
func (*Balance) GetCurrency ¶
func (*Balance) GetExchange ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type CancelOrderRequest ¶
type CancelOrderRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ClientOrderId string `protobuf:"bytes,3,opt,name=client_order_id,json=clientOrderId,proto3" json:"client_order_id,omitempty"` // contains filtered or unexported fields }
func (*CancelOrderRequest) Descriptor
deprecated
func (*CancelOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOrderRequest.ProtoReflect.Descriptor instead.
func (*CancelOrderRequest) GetClientOrderId ¶
func (x *CancelOrderRequest) GetClientOrderId() string
func (*CancelOrderRequest) GetExchange ¶
func (x *CancelOrderRequest) GetExchange() string
func (*CancelOrderRequest) GetId ¶
func (x *CancelOrderRequest) GetId() string
func (*CancelOrderRequest) ProtoMessage ¶
func (*CancelOrderRequest) ProtoMessage()
func (*CancelOrderRequest) ProtoReflect ¶
func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message
func (*CancelOrderRequest) Reset ¶
func (x *CancelOrderRequest) Reset()
func (*CancelOrderRequest) String ¶
func (x *CancelOrderRequest) String() string
type CancelOrderResponse ¶
type CancelOrderResponse struct { Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CancelOrderResponse) Descriptor
deprecated
func (*CancelOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelOrderResponse.ProtoReflect.Descriptor instead.
func (*CancelOrderResponse) GetError ¶
func (x *CancelOrderResponse) GetError() *Error
func (*CancelOrderResponse) GetOrder ¶
func (x *CancelOrderResponse) GetOrder() *Order
func (*CancelOrderResponse) ProtoMessage ¶
func (*CancelOrderResponse) ProtoMessage()
func (*CancelOrderResponse) ProtoReflect ¶
func (x *CancelOrderResponse) ProtoReflect() protoreflect.Message
func (*CancelOrderResponse) Reset ¶
func (x *CancelOrderResponse) Reset()
func (*CancelOrderResponse) String ¶
func (x *CancelOrderResponse) String() string
type Depth ¶
type Depth struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Asks []*PriceVolume `protobuf:"bytes,3,rep,name=asks,proto3" json:"asks,omitempty"` Bids []*PriceVolume `protobuf:"bytes,4,rep,name=bids,proto3" json:"bids,omitempty"` // contains filtered or unexported fields }
func (*Depth) Descriptor
deprecated
func (*Depth) GetAsks ¶
func (x *Depth) GetAsks() []*PriceVolume
func (*Depth) GetBids ¶
func (x *Depth) GetBids() []*PriceVolume
func (*Depth) GetExchange ¶
func (*Depth) ProtoMessage ¶
func (*Depth) ProtoMessage()
func (*Depth) ProtoReflect ¶
func (x *Depth) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetErrorCode ¶
func (*Error) GetErrorMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type KLine ¶
type KLine struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Open float64 `protobuf:"fixed64,4,opt,name=open,proto3" json:"open,omitempty"` High float64 `protobuf:"fixed64,5,opt,name=high,proto3" json:"high,omitempty"` Low float64 `protobuf:"fixed64,6,opt,name=low,proto3" json:"low,omitempty"` Close float64 `protobuf:"fixed64,7,opt,name=close,proto3" json:"close,omitempty"` Volume float64 `protobuf:"fixed64,8,opt,name=volume,proto3" json:"volume,omitempty"` QuoteVolume float64 `protobuf:"fixed64,9,opt,name=quote_volume,json=quoteVolume,proto3" json:"quote_volume,omitempty"` // contains filtered or unexported fields }
func (*KLine) Descriptor
deprecated
func (*KLine) GetExchange ¶
func (*KLine) GetQuoteVolume ¶
func (*KLine) GetTimestamp ¶
func (*KLine) ProtoMessage ¶
func (*KLine) ProtoMessage()
func (*KLine) ProtoReflect ¶
func (x *KLine) ProtoReflect() protoreflect.Message
type Order ¶
type Order struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Side string `protobuf:"bytes,4,opt,name=side,proto3" json:"side,omitempty"` OrderType string `protobuf:"bytes,5,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"` StopPrice float64 `protobuf:"fixed64,7,opt,name=stop_price,json=stopPrice,proto3" json:"stop_price,omitempty"` AvgPrice float64 `protobuf:"fixed64,8,opt,name=avg_price,json=avgPrice,proto3" json:"avg_price,omitempty"` Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Quantity float64 `protobuf:"fixed64,11,opt,name=quantity,proto3" json:"quantity,omitempty"` ExecutedVolume float64 `protobuf:"fixed64,12,opt,name=executed_volume,json=executedVolume,proto3" json:"executed_volume,omitempty"` TradesCount int64 `protobuf:"varint,13,opt,name=trades_count,json=tradesCount,proto3" json:"trades_count,omitempty"` ClientOrderId string `protobuf:"bytes,14,opt,name=client_order_id,json=clientOrderId,proto3" json:"client_order_id,omitempty"` GroupId int64 `protobuf:"varint,15,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
https://maicoin.github.io/max-websocket-docs/#/private_channels?id=snapshot
func (*Order) Descriptor
deprecated
func (*Order) GetAvgPrice ¶
func (*Order) GetClientOrderId ¶
func (*Order) GetCreatedAt ¶
func (*Order) GetExchange ¶
func (*Order) GetExecutedVolume ¶
func (*Order) GetGroupId ¶
func (*Order) GetOrderType ¶
func (*Order) GetQuantity ¶
func (*Order) GetStopPrice ¶
func (*Order) GetTradesCount ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type PriceVolume ¶
type PriceVolume struct { Price int64 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"` Volume int64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*PriceVolume) Descriptor
deprecated
func (*PriceVolume) Descriptor() ([]byte, []int)
Deprecated: Use PriceVolume.ProtoReflect.Descriptor instead.
func (*PriceVolume) GetPrice ¶
func (x *PriceVolume) GetPrice() int64
func (*PriceVolume) GetVolume ¶
func (x *PriceVolume) GetVolume() int64
func (*PriceVolume) ProtoMessage ¶
func (*PriceVolume) ProtoMessage()
func (*PriceVolume) ProtoReflect ¶
func (x *PriceVolume) ProtoReflect() protoreflect.Message
func (*PriceVolume) Reset ¶
func (x *PriceVolume) Reset()
func (*PriceVolume) String ¶
func (x *PriceVolume) String() string
type QueryKLinesRequest ¶
type QueryKLinesRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Interval int64 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` // time period of K line in minute Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*QueryKLinesRequest) Descriptor
deprecated
func (*QueryKLinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryKLinesRequest.ProtoReflect.Descriptor instead.
func (*QueryKLinesRequest) GetExchange ¶
func (x *QueryKLinesRequest) GetExchange() string
func (*QueryKLinesRequest) GetInterval ¶
func (x *QueryKLinesRequest) GetInterval() int64
func (*QueryKLinesRequest) GetLimit ¶
func (x *QueryKLinesRequest) GetLimit() int64
func (*QueryKLinesRequest) GetSymbol ¶
func (x *QueryKLinesRequest) GetSymbol() string
func (*QueryKLinesRequest) GetTimestamp ¶
func (x *QueryKLinesRequest) GetTimestamp() int64
func (*QueryKLinesRequest) ProtoMessage ¶
func (*QueryKLinesRequest) ProtoMessage()
func (*QueryKLinesRequest) ProtoReflect ¶
func (x *QueryKLinesRequest) ProtoReflect() protoreflect.Message
func (*QueryKLinesRequest) Reset ¶
func (x *QueryKLinesRequest) Reset()
func (*QueryKLinesRequest) String ¶
func (x *QueryKLinesRequest) String() string
type QueryKLinesResponse ¶
type QueryKLinesResponse struct { Klines []*KLine `protobuf:"bytes,1,rep,name=klines,proto3" json:"klines,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*QueryKLinesResponse) Descriptor
deprecated
func (*QueryKLinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryKLinesResponse.ProtoReflect.Descriptor instead.
func (*QueryKLinesResponse) GetError ¶
func (x *QueryKLinesResponse) GetError() *Error
func (*QueryKLinesResponse) GetKlines ¶
func (x *QueryKLinesResponse) GetKlines() []*KLine
func (*QueryKLinesResponse) ProtoMessage ¶
func (*QueryKLinesResponse) ProtoMessage()
func (*QueryKLinesResponse) ProtoReflect ¶
func (x *QueryKLinesResponse) ProtoReflect() protoreflect.Message
func (*QueryKLinesResponse) Reset ¶
func (x *QueryKLinesResponse) Reset()
func (*QueryKLinesResponse) String ¶
func (x *QueryKLinesResponse) String() string
type QueryOrderRequest ¶
type QueryOrderRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ClientOrderId string `protobuf:"bytes,3,opt,name=client_order_id,json=clientOrderId,proto3" json:"client_order_id,omitempty"` // contains filtered or unexported fields }
func (*QueryOrderRequest) Descriptor
deprecated
func (*QueryOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryOrderRequest) GetClientOrderId ¶
func (x *QueryOrderRequest) GetClientOrderId() string
func (*QueryOrderRequest) GetExchange ¶
func (x *QueryOrderRequest) GetExchange() string
func (*QueryOrderRequest) GetId ¶
func (x *QueryOrderRequest) GetId() string
func (*QueryOrderRequest) ProtoMessage ¶
func (*QueryOrderRequest) ProtoMessage()
func (*QueryOrderRequest) ProtoReflect ¶
func (x *QueryOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryOrderRequest) Reset ¶
func (x *QueryOrderRequest) Reset()
func (*QueryOrderRequest) String ¶
func (x *QueryOrderRequest) String() string
type QueryOrderResponse ¶
type QueryOrderResponse struct { Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*QueryOrderResponse) Descriptor
deprecated
func (*QueryOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrderResponse.ProtoReflect.Descriptor instead.
func (*QueryOrderResponse) GetError ¶
func (x *QueryOrderResponse) GetError() *Error
func (*QueryOrderResponse) GetOrder ¶
func (x *QueryOrderResponse) GetOrder() *Order
func (*QueryOrderResponse) ProtoMessage ¶
func (*QueryOrderResponse) ProtoMessage()
func (*QueryOrderResponse) ProtoReflect ¶
func (x *QueryOrderResponse) ProtoReflect() protoreflect.Message
func (*QueryOrderResponse) Reset ¶
func (x *QueryOrderResponse) Reset()
func (*QueryOrderResponse) String ¶
func (x *QueryOrderResponse) String() string
type QueryOrdersRequest ¶
type QueryOrdersRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` State []string `protobuf:"bytes,3,rep,name=state,proto3" json:"state,omitempty"` OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` GroupId int64 `protobuf:"varint,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Pagination bool `protobuf:"varint,6,opt,name=pagination,proto3" json:"pagination,omitempty"` Page int64 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"` Limit int64 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*QueryOrdersRequest) Descriptor
deprecated
func (*QueryOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrdersRequest.ProtoReflect.Descriptor instead.
func (*QueryOrdersRequest) GetExchange ¶
func (x *QueryOrdersRequest) GetExchange() string
func (*QueryOrdersRequest) GetGroupId ¶
func (x *QueryOrdersRequest) GetGroupId() int64
func (*QueryOrdersRequest) GetLimit ¶
func (x *QueryOrdersRequest) GetLimit() int64
func (*QueryOrdersRequest) GetOffset ¶
func (x *QueryOrdersRequest) GetOffset() int64
func (*QueryOrdersRequest) GetOrderBy ¶
func (x *QueryOrdersRequest) GetOrderBy() string
func (*QueryOrdersRequest) GetPage ¶
func (x *QueryOrdersRequest) GetPage() int64
func (*QueryOrdersRequest) GetPagination ¶
func (x *QueryOrdersRequest) GetPagination() bool
func (*QueryOrdersRequest) GetState ¶
func (x *QueryOrdersRequest) GetState() []string
func (*QueryOrdersRequest) GetSymbol ¶
func (x *QueryOrdersRequest) GetSymbol() string
func (*QueryOrdersRequest) ProtoMessage ¶
func (*QueryOrdersRequest) ProtoMessage()
func (*QueryOrdersRequest) ProtoReflect ¶
func (x *QueryOrdersRequest) ProtoReflect() protoreflect.Message
func (*QueryOrdersRequest) Reset ¶
func (x *QueryOrdersRequest) Reset()
func (*QueryOrdersRequest) String ¶
func (x *QueryOrdersRequest) String() string
type QueryOrdersResponse ¶
type QueryOrdersResponse struct { Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*QueryOrdersResponse) Descriptor
deprecated
func (*QueryOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrdersResponse.ProtoReflect.Descriptor instead.
func (*QueryOrdersResponse) GetError ¶
func (x *QueryOrdersResponse) GetError() *Error
func (*QueryOrdersResponse) GetOrders ¶
func (x *QueryOrdersResponse) GetOrders() []*Order
func (*QueryOrdersResponse) ProtoMessage ¶
func (*QueryOrdersResponse) ProtoMessage()
func (*QueryOrdersResponse) ProtoReflect ¶
func (x *QueryOrdersResponse) ProtoReflect() protoreflect.Message
func (*QueryOrdersResponse) Reset ¶
func (x *QueryOrdersResponse) Reset()
func (*QueryOrdersResponse) String ¶
func (x *QueryOrdersResponse) String() string
type QueryTradesRequest ¶
type QueryTradesRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` From int64 `protobuf:"varint,4,opt,name=from,proto3" json:"from,omitempty"` To int64 `protobuf:"varint,5,opt,name=to,proto3" json:"to,omitempty"` OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Pagination bool `protobuf:"varint,7,opt,name=pagination,proto3" json:"pagination,omitempty"` Page int64 `protobuf:"varint,8,opt,name=page,proto3" json:"page,omitempty"` Limit int64 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*QueryTradesRequest) Descriptor
deprecated
func (*QueryTradesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTradesRequest.ProtoReflect.Descriptor instead.
func (*QueryTradesRequest) GetExchange ¶
func (x *QueryTradesRequest) GetExchange() string
func (*QueryTradesRequest) GetFrom ¶
func (x *QueryTradesRequest) GetFrom() int64
func (*QueryTradesRequest) GetLimit ¶
func (x *QueryTradesRequest) GetLimit() int64
func (*QueryTradesRequest) GetOffset ¶
func (x *QueryTradesRequest) GetOffset() int64
func (*QueryTradesRequest) GetOrderBy ¶
func (x *QueryTradesRequest) GetOrderBy() string
func (*QueryTradesRequest) GetPage ¶
func (x *QueryTradesRequest) GetPage() int64
func (*QueryTradesRequest) GetPagination ¶
func (x *QueryTradesRequest) GetPagination() bool
func (*QueryTradesRequest) GetSymbol ¶
func (x *QueryTradesRequest) GetSymbol() string
func (*QueryTradesRequest) GetTimestamp ¶
func (x *QueryTradesRequest) GetTimestamp() int64
func (*QueryTradesRequest) GetTo ¶
func (x *QueryTradesRequest) GetTo() int64
func (*QueryTradesRequest) ProtoMessage ¶
func (*QueryTradesRequest) ProtoMessage()
func (*QueryTradesRequest) ProtoReflect ¶
func (x *QueryTradesRequest) ProtoReflect() protoreflect.Message
func (*QueryTradesRequest) Reset ¶
func (x *QueryTradesRequest) Reset()
func (*QueryTradesRequest) String ¶
func (x *QueryTradesRequest) String() string
type QueryTradesResponse ¶
type QueryTradesResponse struct { Trades []*Trade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*QueryTradesResponse) Descriptor
deprecated
func (*QueryTradesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTradesResponse.ProtoReflect.Descriptor instead.
func (*QueryTradesResponse) GetError ¶
func (x *QueryTradesResponse) GetError() *Error
func (*QueryTradesResponse) GetTrades ¶
func (x *QueryTradesResponse) GetTrades() []*Trade
func (*QueryTradesResponse) ProtoMessage ¶
func (*QueryTradesResponse) ProtoMessage()
func (*QueryTradesResponse) ProtoReflect ¶
func (x *QueryTradesResponse) ProtoReflect() protoreflect.Message
func (*QueryTradesResponse) Reset ¶
func (x *QueryTradesResponse) Reset()
func (*QueryTradesResponse) String ¶
func (x *QueryTradesResponse) String() string
type SubmitOrder ¶
type SubmitOrder struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Side string `protobuf:"bytes,3,opt,name=side,proto3" json:"side,omitempty"` Quantity float64 `protobuf:"fixed64,4,opt,name=quantity,proto3" json:"quantity,omitempty"` Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` StopPrice float64 `protobuf:"fixed64,6,opt,name=stop_price,json=stopPrice,proto3" json:"stop_price,omitempty"` OrderType string `protobuf:"bytes,7,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` ClientOrderId string `protobuf:"bytes,8,opt,name=client_order_id,json=clientOrderId,proto3" json:"client_order_id,omitempty"` GroupId int64 `protobuf:"varint,9,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*SubmitOrder) Descriptor
deprecated
func (*SubmitOrder) Descriptor() ([]byte, []int)
Deprecated: Use SubmitOrder.ProtoReflect.Descriptor instead.
func (*SubmitOrder) GetClientOrderId ¶
func (x *SubmitOrder) GetClientOrderId() string
func (*SubmitOrder) GetExchange ¶
func (x *SubmitOrder) GetExchange() string
func (*SubmitOrder) GetGroupId ¶
func (x *SubmitOrder) GetGroupId() int64
func (*SubmitOrder) GetOrderType ¶
func (x *SubmitOrder) GetOrderType() string
func (*SubmitOrder) GetPrice ¶
func (x *SubmitOrder) GetPrice() float64
func (*SubmitOrder) GetQuantity ¶
func (x *SubmitOrder) GetQuantity() float64
func (*SubmitOrder) GetSide ¶
func (x *SubmitOrder) GetSide() string
func (*SubmitOrder) GetStopPrice ¶
func (x *SubmitOrder) GetStopPrice() float64
func (*SubmitOrder) GetSymbol ¶
func (x *SubmitOrder) GetSymbol() string
func (*SubmitOrder) ProtoMessage ¶
func (*SubmitOrder) ProtoMessage()
func (*SubmitOrder) ProtoReflect ¶
func (x *SubmitOrder) ProtoReflect() protoreflect.Message
func (*SubmitOrder) Reset ¶
func (x *SubmitOrder) Reset()
func (*SubmitOrder) String ¶
func (x *SubmitOrder) String() string
type SubmitOrderRequest ¶
type SubmitOrderRequest struct { SubmitOrder *SubmitOrder `protobuf:"bytes,1,opt,name=submit_order,json=submitOrder,proto3" json:"submit_order,omitempty"` // contains filtered or unexported fields }
func (*SubmitOrderRequest) Descriptor
deprecated
func (*SubmitOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitOrderRequest.ProtoReflect.Descriptor instead.
func (*SubmitOrderRequest) GetSubmitOrder ¶
func (x *SubmitOrderRequest) GetSubmitOrder() *SubmitOrder
func (*SubmitOrderRequest) ProtoMessage ¶
func (*SubmitOrderRequest) ProtoMessage()
func (*SubmitOrderRequest) ProtoReflect ¶
func (x *SubmitOrderRequest) ProtoReflect() protoreflect.Message
func (*SubmitOrderRequest) Reset ¶
func (x *SubmitOrderRequest) Reset()
func (*SubmitOrderRequest) String ¶
func (x *SubmitOrderRequest) String() string
type SubmitOrderResponse ¶
type SubmitOrderResponse struct { Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SubmitOrderResponse) Descriptor
deprecated
func (*SubmitOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitOrderResponse.ProtoReflect.Descriptor instead.
func (*SubmitOrderResponse) GetError ¶
func (x *SubmitOrderResponse) GetError() *Error
func (*SubmitOrderResponse) GetOrder ¶
func (x *SubmitOrderResponse) GetOrder() *Order
func (*SubmitOrderResponse) ProtoMessage ¶
func (*SubmitOrderResponse) ProtoMessage()
func (*SubmitOrderResponse) ProtoReflect ¶
func (x *SubmitOrderResponse) ProtoReflect() protoreflect.Message
func (*SubmitOrderResponse) Reset ¶
func (x *SubmitOrderResponse) Reset()
func (*SubmitOrderResponse) String ¶
func (x *SubmitOrderResponse) String() string
type SubscribeRequest ¶
type SubscribeRequest struct { Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // contains filtered or unexported fields }
func (*SubscribeRequest) Descriptor
deprecated
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) GetSubscriptions ¶
func (x *SubscribeRequest) GetSubscriptions() []*Subscription
func (*SubscribeRequest) ProtoMessage ¶
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶
func (x *SubscribeRequest) String() string
type SubscribeResponse ¶
type SubscribeResponse struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` // book, trade, ticker, user Event string `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` // snapshot, update, order_snapshot, ... Depth *Depth `protobuf:"bytes,5,opt,name=depth,proto3" json:"depth,omitempty"` Trades []*Trade `protobuf:"bytes,6,rep,name=trades,proto3" json:"trades,omitempty"` Ticker *Ticker `protobuf:"bytes,7,opt,name=ticker,proto3" json:"ticker,omitempty"` Orders []*Order `protobuf:"bytes,8,rep,name=orders,proto3" json:"orders,omitempty"` Balances []*Balance `protobuf:"bytes,9,rep,name=balances,proto3" json:"balances,omitempty"` SubscribedAt int64 `protobuf:"varint,10,opt,name=subscribed_at,json=subscribedAt,proto3" json:"subscribed_at,omitempty"` Error *Error `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SubscribeResponse) Descriptor
deprecated
func (*SubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
func (*SubscribeResponse) GetBalances ¶
func (x *SubscribeResponse) GetBalances() []*Balance
func (*SubscribeResponse) GetChannel ¶
func (x *SubscribeResponse) GetChannel() string
func (*SubscribeResponse) GetDepth ¶
func (x *SubscribeResponse) GetDepth() *Depth
func (*SubscribeResponse) GetError ¶
func (x *SubscribeResponse) GetError() *Error
func (*SubscribeResponse) GetEvent ¶
func (x *SubscribeResponse) GetEvent() string
func (*SubscribeResponse) GetExchange ¶
func (x *SubscribeResponse) GetExchange() string
func (*SubscribeResponse) GetOrders ¶
func (x *SubscribeResponse) GetOrders() []*Order
func (*SubscribeResponse) GetSubscribedAt ¶
func (x *SubscribeResponse) GetSubscribedAt() int64
func (*SubscribeResponse) GetSymbol ¶
func (x *SubscribeResponse) GetSymbol() string
func (*SubscribeResponse) GetTicker ¶
func (x *SubscribeResponse) GetTicker() *Ticker
func (*SubscribeResponse) GetTrades ¶
func (x *SubscribeResponse) GetTrades() []*Trade
func (*SubscribeResponse) ProtoMessage ¶
func (*SubscribeResponse) ProtoMessage()
func (*SubscribeResponse) ProtoReflect ¶
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
func (*SubscribeResponse) Reset ¶
func (x *SubscribeResponse) Reset()
func (*SubscribeResponse) String ¶
func (x *SubscribeResponse) String() string
type Subscription ¶
type Subscription struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // book, trade, ticker Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` Depth int64 `protobuf:"varint,4,opt,name=depth,proto3" json:"depth,omitempty"` // contains filtered or unexported fields }
func (*Subscription) Descriptor
deprecated
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (*Subscription) GetChannel ¶
func (x *Subscription) GetChannel() string
func (*Subscription) GetDepth ¶
func (x *Subscription) GetDepth() int64
func (*Subscription) GetExchange ¶
func (x *Subscription) GetExchange() string
func (*Subscription) GetSymbol ¶
func (x *Subscription) GetSymbol() string
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) ProtoReflect ¶
func (x *Subscription) ProtoReflect() protoreflect.Message
func (*Subscription) Reset ¶
func (x *Subscription) Reset()
func (*Subscription) String ¶
func (x *Subscription) String() string
type Ticker ¶
type Ticker struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Open float64 `protobuf:"fixed64,3,opt,name=open,proto3" json:"open,omitempty"` High float64 `protobuf:"fixed64,4,opt,name=high,proto3" json:"high,omitempty"` Low float64 `protobuf:"fixed64,5,opt,name=low,proto3" json:"low,omitempty"` Close float64 `protobuf:"fixed64,6,opt,name=close,proto3" json:"close,omitempty"` Volume float64 `protobuf:"fixed64,7,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
https://maicoin.github.io/max-websocket-docs/#/public_ticker?id=success-response
func (*Ticker) Descriptor
deprecated
func (*Ticker) GetExchange ¶
func (*Ticker) ProtoMessage ¶
func (*Ticker) ProtoMessage()
func (*Ticker) ProtoReflect ¶
func (x *Ticker) ProtoReflect() protoreflect.Message
type Trade ¶
type Trade struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Price float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty"` Volume float64 `protobuf:"fixed64,5,opt,name=volume,proto3" json:"volume,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Side string `protobuf:"bytes,7,opt,name=side,proto3" json:"side,omitempty"` Fee float64 `protobuf:"fixed64,8,opt,name=fee,proto3" json:"fee,omitempty"` FeeCurrency string `protobuf:"bytes,9,opt,name=fee_currency,json=feeCurrency,proto3" json:"fee_currency,omitempty"` Maker bool `protobuf:"varint,10,opt,name=maker,proto3" json:"maker,omitempty"` Trend string `protobuf:"bytes,11,opt,name=trend,proto3" json:"trend,omitempty"` // contains filtered or unexported fields }
https://maicoin.github.io/max-websocket-docs/#/private_channels?id=trade-response https://maicoin.github.io/max-websocket-docs/#/public_trade?id=success-response
func (*Trade) Descriptor
deprecated
func (*Trade) GetCreatedAt ¶
func (*Trade) GetExchange ¶
func (*Trade) GetFeeCurrency ¶
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) ProtoReflect ¶
func (x *Trade) ProtoReflect() protoreflect.Message