Documentation ¶
Overview ¶
Package injective_derivative_exchange_rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInjectiveDerivativeExchangeRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterInjectiveDerivativeExchangeRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterInjectiveDerivativeExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveDerivativeExchangeRPCServer)
- type BinaryOptionsMarketInfo
- func (*BinaryOptionsMarketInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOptionsMarketInfo) GetExpirationTimestamp() int64
- func (x *BinaryOptionsMarketInfo) GetMakerFeeRate() string
- func (x *BinaryOptionsMarketInfo) GetMarketId() string
- func (x *BinaryOptionsMarketInfo) GetMarketStatus() string
- func (x *BinaryOptionsMarketInfo) GetMinPriceTickSize() string
- func (x *BinaryOptionsMarketInfo) GetMinQuantityTickSize() string
- func (x *BinaryOptionsMarketInfo) GetOracleProvider() string
- func (x *BinaryOptionsMarketInfo) GetOracleScaleFactor() uint32
- func (x *BinaryOptionsMarketInfo) GetOracleSymbol() string
- func (x *BinaryOptionsMarketInfo) GetOracleType() string
- func (x *BinaryOptionsMarketInfo) GetQuoteDenom() string
- func (x *BinaryOptionsMarketInfo) GetQuoteTokenMeta() *TokenMeta
- func (x *BinaryOptionsMarketInfo) GetServiceProviderFee() string
- func (x *BinaryOptionsMarketInfo) GetSettlementPrice() string
- func (x *BinaryOptionsMarketInfo) GetSettlementTimestamp() int64
- func (x *BinaryOptionsMarketInfo) GetTakerFeeRate() string
- func (x *BinaryOptionsMarketInfo) GetTicker() string
- func (*BinaryOptionsMarketInfo) ProtoMessage()
- func (x *BinaryOptionsMarketInfo) ProtoReflect() protoreflect.Message
- func (x *BinaryOptionsMarketInfo) Reset()
- func (x *BinaryOptionsMarketInfo) String() string
- type BinaryOptionsMarketRequest
- func (*BinaryOptionsMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOptionsMarketRequest) GetMarketId() string
- func (*BinaryOptionsMarketRequest) ProtoMessage()
- func (x *BinaryOptionsMarketRequest) ProtoReflect() protoreflect.Message
- func (x *BinaryOptionsMarketRequest) Reset()
- func (x *BinaryOptionsMarketRequest) String() string
- type BinaryOptionsMarketResponse
- func (*BinaryOptionsMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOptionsMarketResponse) GetMarket() *BinaryOptionsMarketInfo
- func (*BinaryOptionsMarketResponse) ProtoMessage()
- func (x *BinaryOptionsMarketResponse) ProtoReflect() protoreflect.Message
- func (x *BinaryOptionsMarketResponse) Reset()
- func (x *BinaryOptionsMarketResponse) String() string
- type BinaryOptionsMarketsRequest
- func (*BinaryOptionsMarketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOptionsMarketsRequest) GetLimit() int32
- func (x *BinaryOptionsMarketsRequest) GetMarketStatus() string
- func (x *BinaryOptionsMarketsRequest) GetQuoteDenom() string
- func (x *BinaryOptionsMarketsRequest) GetSkip() uint64
- func (*BinaryOptionsMarketsRequest) ProtoMessage()
- func (x *BinaryOptionsMarketsRequest) ProtoReflect() protoreflect.Message
- func (x *BinaryOptionsMarketsRequest) Reset()
- func (x *BinaryOptionsMarketsRequest) String() string
- type BinaryOptionsMarketsResponse
- func (*BinaryOptionsMarketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOptionsMarketsResponse) GetMarkets() []*BinaryOptionsMarketInfo
- func (x *BinaryOptionsMarketsResponse) GetPaging() *Paging
- func (*BinaryOptionsMarketsResponse) ProtoMessage()
- func (x *BinaryOptionsMarketsResponse) ProtoReflect() protoreflect.Message
- func (x *BinaryOptionsMarketsResponse) Reset()
- func (x *BinaryOptionsMarketsResponse) String() string
- type DerivativeLimitOrder
- func (*DerivativeLimitOrder) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativeLimitOrder) GetCid() string
- func (x *DerivativeLimitOrder) GetCreatedAt() int64
- func (x *DerivativeLimitOrder) GetExecutionType() string
- func (x *DerivativeLimitOrder) GetFeeRecipient() string
- func (x *DerivativeLimitOrder) GetIsConditional() bool
- func (x *DerivativeLimitOrder) GetIsReduceOnly() bool
- func (x *DerivativeLimitOrder) GetMargin() string
- func (x *DerivativeLimitOrder) GetMarketId() string
- func (x *DerivativeLimitOrder) GetOrderHash() string
- func (x *DerivativeLimitOrder) GetOrderNumber() int64
- func (x *DerivativeLimitOrder) GetOrderSide() string
- func (x *DerivativeLimitOrder) GetOrderType() string
- func (x *DerivativeLimitOrder) GetPlacedOrderHash() string
- func (x *DerivativeLimitOrder) GetPrice() string
- func (x *DerivativeLimitOrder) GetQuantity() string
- func (x *DerivativeLimitOrder) GetState() string
- func (x *DerivativeLimitOrder) GetSubaccountId() string
- func (x *DerivativeLimitOrder) GetTriggerAt() uint64
- func (x *DerivativeLimitOrder) GetTriggerPrice() string
- func (x *DerivativeLimitOrder) GetTxHash() string
- func (x *DerivativeLimitOrder) GetUnfilledQuantity() string
- func (x *DerivativeLimitOrder) GetUpdatedAt() int64
- func (*DerivativeLimitOrder) ProtoMessage()
- func (x *DerivativeLimitOrder) ProtoReflect() protoreflect.Message
- func (x *DerivativeLimitOrder) Reset()
- func (x *DerivativeLimitOrder) String() string
- type DerivativeLimitOrderbookV2
- func (*DerivativeLimitOrderbookV2) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativeLimitOrderbookV2) GetBuys() []*PriceLevel
- func (x *DerivativeLimitOrderbookV2) GetSells() []*PriceLevel
- func (x *DerivativeLimitOrderbookV2) GetSequence() uint64
- func (x *DerivativeLimitOrderbookV2) GetTimestamp() int64
- func (*DerivativeLimitOrderbookV2) ProtoMessage()
- func (x *DerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message
- func (x *DerivativeLimitOrderbookV2) Reset()
- func (x *DerivativeLimitOrderbookV2) String() string
- type DerivativeMarketInfo
- func (*DerivativeMarketInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativeMarketInfo) GetExpiryFuturesMarketInfo() *ExpiryFuturesMarketInfo
- func (x *DerivativeMarketInfo) GetInitialMarginRatio() string
- func (x *DerivativeMarketInfo) GetIsPerpetual() bool
- func (x *DerivativeMarketInfo) GetMaintenanceMarginRatio() string
- func (x *DerivativeMarketInfo) GetMakerFeeRate() string
- func (x *DerivativeMarketInfo) GetMarketId() string
- func (x *DerivativeMarketInfo) GetMarketStatus() string
- func (x *DerivativeMarketInfo) GetMinPriceTickSize() string
- func (x *DerivativeMarketInfo) GetMinQuantityTickSize() string
- func (x *DerivativeMarketInfo) GetOracleBase() string
- func (x *DerivativeMarketInfo) GetOracleQuote() string
- func (x *DerivativeMarketInfo) GetOracleScaleFactor() uint32
- func (x *DerivativeMarketInfo) GetOracleType() string
- func (x *DerivativeMarketInfo) GetPerpetualMarketFunding() *PerpetualMarketFunding
- func (x *DerivativeMarketInfo) GetPerpetualMarketInfo() *PerpetualMarketInfo
- func (x *DerivativeMarketInfo) GetQuoteDenom() string
- func (x *DerivativeMarketInfo) GetQuoteTokenMeta() *TokenMeta
- func (x *DerivativeMarketInfo) GetServiceProviderFee() string
- func (x *DerivativeMarketInfo) GetTakerFeeRate() string
- func (x *DerivativeMarketInfo) GetTicker() string
- func (*DerivativeMarketInfo) ProtoMessage()
- func (x *DerivativeMarketInfo) ProtoReflect() protoreflect.Message
- func (x *DerivativeMarketInfo) Reset()
- func (x *DerivativeMarketInfo) String() string
- type DerivativeOrderHistory
- func (*DerivativeOrderHistory) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativeOrderHistory) GetCid() string
- func (x *DerivativeOrderHistory) GetCreatedAt() int64
- func (x *DerivativeOrderHistory) GetDirection() string
- func (x *DerivativeOrderHistory) GetExecutionType() string
- func (x *DerivativeOrderHistory) GetFilledQuantity() string
- func (x *DerivativeOrderHistory) GetIsActive() bool
- func (x *DerivativeOrderHistory) GetIsConditional() bool
- func (x *DerivativeOrderHistory) GetIsReduceOnly() bool
- func (x *DerivativeOrderHistory) GetMargin() string
- func (x *DerivativeOrderHistory) GetMarketId() string
- func (x *DerivativeOrderHistory) GetOrderHash() string
- func (x *DerivativeOrderHistory) GetOrderType() string
- func (x *DerivativeOrderHistory) GetPlacedOrderHash() string
- func (x *DerivativeOrderHistory) GetPrice() string
- func (x *DerivativeOrderHistory) GetQuantity() string
- func (x *DerivativeOrderHistory) GetState() string
- func (x *DerivativeOrderHistory) GetSubaccountId() string
- func (x *DerivativeOrderHistory) GetTriggerAt() uint64
- func (x *DerivativeOrderHistory) GetTriggerPrice() string
- func (x *DerivativeOrderHistory) GetTxHash() string
- func (x *DerivativeOrderHistory) GetUpdatedAt() int64
- func (*DerivativeOrderHistory) ProtoMessage()
- func (x *DerivativeOrderHistory) ProtoReflect() protoreflect.Message
- func (x *DerivativeOrderHistory) Reset()
- func (x *DerivativeOrderHistory) String() string
- type DerivativePosition
- func (*DerivativePosition) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativePosition) GetAggregateReduceOnlyQuantity() string
- func (x *DerivativePosition) GetCreatedAt() int64
- func (x *DerivativePosition) GetDirection() string
- func (x *DerivativePosition) GetEntryPrice() string
- func (x *DerivativePosition) GetLiquidationPrice() string
- func (x *DerivativePosition) GetMargin() string
- func (x *DerivativePosition) GetMarkPrice() string
- func (x *DerivativePosition) GetMarketId() string
- func (x *DerivativePosition) GetQuantity() string
- func (x *DerivativePosition) GetSubaccountId() string
- func (x *DerivativePosition) GetTicker() string
- func (x *DerivativePosition) GetUpdatedAt() int64
- func (*DerivativePosition) ProtoMessage()
- func (x *DerivativePosition) ProtoReflect() protoreflect.Message
- func (x *DerivativePosition) Reset()
- func (x *DerivativePosition) String() string
- type DerivativePositionV2
- func (*DerivativePositionV2) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativePositionV2) GetDirection() string
- func (x *DerivativePositionV2) GetEntryPrice() string
- func (x *DerivativePositionV2) GetLiquidationPrice() string
- func (x *DerivativePositionV2) GetMargin() string
- func (x *DerivativePositionV2) GetMarkPrice() string
- func (x *DerivativePositionV2) GetMarketId() string
- func (x *DerivativePositionV2) GetQuantity() string
- func (x *DerivativePositionV2) GetSubaccountId() string
- func (x *DerivativePositionV2) GetTicker() string
- func (x *DerivativePositionV2) GetUpdatedAt() int64
- func (*DerivativePositionV2) ProtoMessage()
- func (x *DerivativePositionV2) ProtoReflect() protoreflect.Message
- func (x *DerivativePositionV2) Reset()
- func (x *DerivativePositionV2) String() string
- type DerivativeTrade
- func (*DerivativeTrade) Descriptor() ([]byte, []int)deprecated
- func (x *DerivativeTrade) GetCid() string
- func (x *DerivativeTrade) GetExecutedAt() int64
- func (x *DerivativeTrade) GetExecutionSide() string
- func (x *DerivativeTrade) GetFee() string
- func (x *DerivativeTrade) GetFeeRecipient() string
- func (x *DerivativeTrade) GetIsLiquidation() bool
- func (x *DerivativeTrade) GetMarketId() string
- func (x *DerivativeTrade) GetOrderHash() string
- func (x *DerivativeTrade) GetPayout() string
- func (x *DerivativeTrade) GetPositionDelta() *PositionDelta
- func (x *DerivativeTrade) GetSubaccountId() string
- func (x *DerivativeTrade) GetTradeExecutionType() string
- func (x *DerivativeTrade) GetTradeId() string
- func (*DerivativeTrade) ProtoMessage()
- func (x *DerivativeTrade) ProtoReflect() protoreflect.Message
- func (x *DerivativeTrade) Reset()
- func (x *DerivativeTrade) String() string
- type ExpiryFuturesMarketInfo
- func (*ExpiryFuturesMarketInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExpiryFuturesMarketInfo) GetExpirationTimestamp() int64
- func (x *ExpiryFuturesMarketInfo) GetSettlementPrice() string
- func (*ExpiryFuturesMarketInfo) ProtoMessage()
- func (x *ExpiryFuturesMarketInfo) ProtoReflect() protoreflect.Message
- func (x *ExpiryFuturesMarketInfo) Reset()
- func (x *ExpiryFuturesMarketInfo) String() string
- type FundingPayment
- func (*FundingPayment) Descriptor() ([]byte, []int)deprecated
- func (x *FundingPayment) GetAmount() string
- func (x *FundingPayment) GetMarketId() string
- func (x *FundingPayment) GetSubaccountId() string
- func (x *FundingPayment) GetTimestamp() int64
- func (*FundingPayment) ProtoMessage()
- func (x *FundingPayment) ProtoReflect() protoreflect.Message
- func (x *FundingPayment) Reset()
- func (x *FundingPayment) String() string
- type FundingPaymentsRequest
- func (*FundingPaymentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FundingPaymentsRequest) GetEndTime() int64
- func (x *FundingPaymentsRequest) GetLimit() int32
- func (x *FundingPaymentsRequest) GetMarketId() string
- func (x *FundingPaymentsRequest) GetMarketIds() []string
- func (x *FundingPaymentsRequest) GetSkip() uint64
- func (x *FundingPaymentsRequest) GetSubaccountId() string
- func (*FundingPaymentsRequest) ProtoMessage()
- func (x *FundingPaymentsRequest) ProtoReflect() protoreflect.Message
- func (x *FundingPaymentsRequest) Reset()
- func (x *FundingPaymentsRequest) String() string
- type FundingPaymentsResponse
- func (*FundingPaymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FundingPaymentsResponse) GetPaging() *Paging
- func (x *FundingPaymentsResponse) GetPayments() []*FundingPayment
- func (*FundingPaymentsResponse) ProtoMessage()
- func (x *FundingPaymentsResponse) ProtoReflect() protoreflect.Message
- func (x *FundingPaymentsResponse) Reset()
- func (x *FundingPaymentsResponse) String() string
- type FundingRate
- func (*FundingRate) Descriptor() ([]byte, []int)deprecated
- func (x *FundingRate) GetMarketId() string
- func (x *FundingRate) GetRate() string
- func (x *FundingRate) GetTimestamp() int64
- func (*FundingRate) ProtoMessage()
- func (x *FundingRate) ProtoReflect() protoreflect.Message
- func (x *FundingRate) Reset()
- func (x *FundingRate) String() string
- type FundingRatesRequest
- func (*FundingRatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FundingRatesRequest) GetEndTime() int64
- func (x *FundingRatesRequest) GetLimit() int32
- func (x *FundingRatesRequest) GetMarketId() string
- func (x *FundingRatesRequest) GetSkip() uint64
- func (*FundingRatesRequest) ProtoMessage()
- func (x *FundingRatesRequest) ProtoReflect() protoreflect.Message
- func (x *FundingRatesRequest) Reset()
- func (x *FundingRatesRequest) String() string
- type FundingRatesResponse
- func (*FundingRatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FundingRatesResponse) GetFundingRates() []*FundingRate
- func (x *FundingRatesResponse) GetPaging() *Paging
- func (*FundingRatesResponse) ProtoMessage()
- func (x *FundingRatesResponse) ProtoReflect() protoreflect.Message
- func (x *FundingRatesResponse) Reset()
- func (x *FundingRatesResponse) String() string
- type InjectiveDerivativeExchangeRPCClient
- type InjectiveDerivativeExchangeRPCServer
- type InjectiveDerivativeExchangeRPC_StreamMarketClient
- type InjectiveDerivativeExchangeRPC_StreamMarketServer
- type InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient
- type InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateServer
- type InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client
- type InjectiveDerivativeExchangeRPC_StreamOrderbookV2Server
- type InjectiveDerivativeExchangeRPC_StreamOrdersClient
- type InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient
- type InjectiveDerivativeExchangeRPC_StreamOrdersHistoryServer
- type InjectiveDerivativeExchangeRPC_StreamOrdersServer
- type InjectiveDerivativeExchangeRPC_StreamPositionsClient
- type InjectiveDerivativeExchangeRPC_StreamPositionsServer
- type InjectiveDerivativeExchangeRPC_StreamTradesClient
- type InjectiveDerivativeExchangeRPC_StreamTradesServer
- type InjectiveDerivativeExchangeRPC_StreamTradesV2Client
- type InjectiveDerivativeExchangeRPC_StreamTradesV2Server
- type LiquidablePositionsRequest
- func (*LiquidablePositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidablePositionsRequest) GetLimit() int32
- func (x *LiquidablePositionsRequest) GetMarketId() string
- func (x *LiquidablePositionsRequest) GetSkip() uint64
- func (*LiquidablePositionsRequest) ProtoMessage()
- func (x *LiquidablePositionsRequest) ProtoReflect() protoreflect.Message
- func (x *LiquidablePositionsRequest) Reset()
- func (x *LiquidablePositionsRequest) String() string
- type LiquidablePositionsResponse
- func (*LiquidablePositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidablePositionsResponse) GetPositions() []*DerivativePosition
- func (*LiquidablePositionsResponse) ProtoMessage()
- func (x *LiquidablePositionsResponse) ProtoReflect() protoreflect.Message
- func (x *LiquidablePositionsResponse) Reset()
- func (x *LiquidablePositionsResponse) String() string
- type MarketRequest
- type MarketResponse
- type MarketsRequest
- func (*MarketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarketsRequest) GetMarketStatus() string
- func (x *MarketsRequest) GetMarketStatuses() []string
- func (x *MarketsRequest) GetQuoteDenom() string
- func (*MarketsRequest) ProtoMessage()
- func (x *MarketsRequest) ProtoReflect() protoreflect.Message
- func (x *MarketsRequest) Reset()
- func (x *MarketsRequest) String() string
- type MarketsResponse
- func (*MarketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarketsResponse) GetMarkets() []*DerivativeMarketInfo
- func (*MarketsResponse) ProtoMessage()
- func (x *MarketsResponse) ProtoReflect() protoreflect.Message
- func (x *MarketsResponse) Reset()
- func (x *MarketsResponse) String() string
- type OrderbookLevelUpdates
- func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int)deprecated
- func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate
- func (x *OrderbookLevelUpdates) GetMarketId() string
- func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate
- func (x *OrderbookLevelUpdates) GetSequence() uint64
- func (x *OrderbookLevelUpdates) GetUpdatedAt() int64
- func (*OrderbookLevelUpdates) ProtoMessage()
- func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message
- func (x *OrderbookLevelUpdates) Reset()
- func (x *OrderbookLevelUpdates) String() string
- type OrderbookV2Request
- func (*OrderbookV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *OrderbookV2Request) GetMarketId() string
- func (*OrderbookV2Request) ProtoMessage()
- func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message
- func (x *OrderbookV2Request) Reset()
- func (x *OrderbookV2Request) String() string
- type OrderbookV2Response
- func (*OrderbookV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *OrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2
- func (*OrderbookV2Response) ProtoMessage()
- func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message
- func (x *OrderbookV2Response) Reset()
- func (x *OrderbookV2Response) String() string
- type OrderbooksV2Request
- func (*OrderbooksV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *OrderbooksV2Request) GetMarketIds() []string
- func (*OrderbooksV2Request) ProtoMessage()
- func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message
- func (x *OrderbooksV2Request) Reset()
- func (x *OrderbooksV2Request) String() string
- type OrderbooksV2Response
- func (*OrderbooksV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *OrderbooksV2Response) GetOrderbooks() []*SingleDerivativeLimitOrderbookV2
- func (*OrderbooksV2Response) ProtoMessage()
- func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message
- func (x *OrderbooksV2Response) Reset()
- func (x *OrderbooksV2Response) String() string
- type OrdersHistoryRequest
- func (*OrdersHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrdersHistoryRequest) GetActiveMarketsOnly() bool
- func (x *OrdersHistoryRequest) GetCid() string
- func (x *OrdersHistoryRequest) GetDirection() string
- func (x *OrdersHistoryRequest) GetEndTime() int64
- func (x *OrdersHistoryRequest) GetExecutionTypes() []string
- func (x *OrdersHistoryRequest) GetIsConditional() string
- func (x *OrdersHistoryRequest) GetLimit() int32
- func (x *OrdersHistoryRequest) GetMarketId() string
- func (x *OrdersHistoryRequest) GetMarketIds() []string
- func (x *OrdersHistoryRequest) GetOrderType() string
- func (x *OrdersHistoryRequest) GetOrderTypes() []string
- func (x *OrdersHistoryRequest) GetSkip() uint64
- func (x *OrdersHistoryRequest) GetStartTime() int64
- func (x *OrdersHistoryRequest) GetState() string
- func (x *OrdersHistoryRequest) GetSubaccountId() string
- func (x *OrdersHistoryRequest) GetTradeId() string
- func (*OrdersHistoryRequest) ProtoMessage()
- func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *OrdersHistoryRequest) Reset()
- func (x *OrdersHistoryRequest) String() string
- type OrdersHistoryResponse
- func (*OrdersHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OrdersHistoryResponse) GetOrders() []*DerivativeOrderHistory
- func (x *OrdersHistoryResponse) GetPaging() *Paging
- func (*OrdersHistoryResponse) ProtoMessage()
- func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *OrdersHistoryResponse) Reset()
- func (x *OrdersHistoryResponse) String() string
- type OrdersRequest
- func (*OrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrdersRequest) GetCid() string
- func (x *OrdersRequest) GetEndTime() int64
- func (x *OrdersRequest) GetIncludeInactive() bool
- func (x *OrdersRequest) GetIsConditional() string
- func (x *OrdersRequest) GetLimit() int32
- func (x *OrdersRequest) GetMarketId() string
- func (x *OrdersRequest) GetMarketIds() []string
- func (x *OrdersRequest) GetOrderSide() string
- func (x *OrdersRequest) GetOrderType() string
- func (x *OrdersRequest) GetSkip() uint64
- func (x *OrdersRequest) GetStartTime() int64
- func (x *OrdersRequest) GetSubaccountId() string
- func (x *OrdersRequest) GetSubaccountTotalOrders() bool
- func (x *OrdersRequest) GetTradeId() string
- func (*OrdersRequest) ProtoMessage()
- func (x *OrdersRequest) ProtoReflect() protoreflect.Message
- func (x *OrdersRequest) Reset()
- func (x *OrdersRequest) String() string
- type OrdersResponse
- func (*OrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OrdersResponse) GetOrders() []*DerivativeLimitOrder
- func (x *OrdersResponse) GetPaging() *Paging
- func (*OrdersResponse) ProtoMessage()
- func (x *OrdersResponse) ProtoReflect() protoreflect.Message
- func (x *OrdersResponse) Reset()
- func (x *OrdersResponse) String() string
- type Paging
- func (*Paging) Descriptor() ([]byte, []int)deprecated
- func (x *Paging) GetCountBySubaccount() int64
- func (x *Paging) GetFrom() int32
- func (x *Paging) GetNext() []string
- func (x *Paging) GetTo() int32
- func (x *Paging) GetTotal() int64
- func (*Paging) ProtoMessage()
- func (x *Paging) ProtoReflect() protoreflect.Message
- func (x *Paging) Reset()
- func (x *Paging) String() string
- type PerpetualMarketFunding
- func (*PerpetualMarketFunding) Descriptor() ([]byte, []int)deprecated
- func (x *PerpetualMarketFunding) GetCumulativeFunding() string
- func (x *PerpetualMarketFunding) GetCumulativePrice() string
- func (x *PerpetualMarketFunding) GetLastTimestamp() int64
- func (*PerpetualMarketFunding) ProtoMessage()
- func (x *PerpetualMarketFunding) ProtoReflect() protoreflect.Message
- func (x *PerpetualMarketFunding) Reset()
- func (x *PerpetualMarketFunding) String() string
- type PerpetualMarketInfo
- func (*PerpetualMarketInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PerpetualMarketInfo) GetFundingInterval() int64
- func (x *PerpetualMarketInfo) GetHourlyFundingRateCap() string
- func (x *PerpetualMarketInfo) GetHourlyInterestRate() string
- func (x *PerpetualMarketInfo) GetNextFundingTimestamp() int64
- func (*PerpetualMarketInfo) ProtoMessage()
- func (x *PerpetualMarketInfo) ProtoReflect() protoreflect.Message
- func (x *PerpetualMarketInfo) Reset()
- func (x *PerpetualMarketInfo) String() string
- type PositionDelta
- func (*PositionDelta) Descriptor() ([]byte, []int)deprecated
- func (x *PositionDelta) GetExecutionMargin() string
- func (x *PositionDelta) GetExecutionPrice() string
- func (x *PositionDelta) GetExecutionQuantity() string
- func (x *PositionDelta) GetTradeDirection() string
- func (*PositionDelta) ProtoMessage()
- func (x *PositionDelta) ProtoReflect() protoreflect.Message
- func (x *PositionDelta) Reset()
- func (x *PositionDelta) String() string
- type PositionsRequest
- func (*PositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsRequest) GetDirection() string
- func (x *PositionsRequest) GetEndTime() int64
- func (x *PositionsRequest) GetLimit() int32
- func (x *PositionsRequest) GetMarketId() string
- func (x *PositionsRequest) GetMarketIds() []string
- func (x *PositionsRequest) GetSkip() uint64
- func (x *PositionsRequest) GetStartTime() int64
- func (x *PositionsRequest) GetSubaccountId() string
- func (x *PositionsRequest) GetSubaccountTotalPositions() bool
- func (*PositionsRequest) ProtoMessage()
- func (x *PositionsRequest) ProtoReflect() protoreflect.Message
- func (x *PositionsRequest) Reset()
- func (x *PositionsRequest) String() string
- type PositionsResponse
- func (*PositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsResponse) GetPaging() *Paging
- func (x *PositionsResponse) GetPositions() []*DerivativePosition
- func (*PositionsResponse) ProtoMessage()
- func (x *PositionsResponse) ProtoReflect() protoreflect.Message
- func (x *PositionsResponse) Reset()
- func (x *PositionsResponse) String() string
- type PositionsV2Request
- func (*PositionsV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsV2Request) GetDirection() string
- func (x *PositionsV2Request) GetEndTime() int64
- func (x *PositionsV2Request) GetLimit() int32
- func (x *PositionsV2Request) GetMarketId() string
- func (x *PositionsV2Request) GetMarketIds() []string
- func (x *PositionsV2Request) GetSkip() uint64
- func (x *PositionsV2Request) GetStartTime() int64
- func (x *PositionsV2Request) GetSubaccountId() string
- func (x *PositionsV2Request) GetSubaccountTotalPositions() bool
- func (*PositionsV2Request) ProtoMessage()
- func (x *PositionsV2Request) ProtoReflect() protoreflect.Message
- func (x *PositionsV2Request) Reset()
- func (x *PositionsV2Request) String() string
- type PositionsV2Response
- func (*PositionsV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsV2Response) GetPaging() *Paging
- func (x *PositionsV2Response) GetPositions() []*DerivativePositionV2
- func (*PositionsV2Response) ProtoMessage()
- func (x *PositionsV2Response) ProtoReflect() protoreflect.Message
- func (x *PositionsV2Response) Reset()
- func (x *PositionsV2Response) String() string
- type PriceLevel
- func (*PriceLevel) Descriptor() ([]byte, []int)deprecated
- func (x *PriceLevel) GetPrice() string
- func (x *PriceLevel) GetQuantity() string
- func (x *PriceLevel) GetTimestamp() int64
- func (*PriceLevel) ProtoMessage()
- func (x *PriceLevel) ProtoReflect() protoreflect.Message
- func (x *PriceLevel) Reset()
- func (x *PriceLevel) String() string
- type PriceLevelUpdate
- func (*PriceLevelUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *PriceLevelUpdate) GetIsActive() bool
- func (x *PriceLevelUpdate) GetPrice() string
- func (x *PriceLevelUpdate) GetQuantity() string
- func (x *PriceLevelUpdate) GetTimestamp() int64
- func (*PriceLevelUpdate) ProtoMessage()
- func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message
- func (x *PriceLevelUpdate) Reset()
- func (x *PriceLevelUpdate) String() string
- type SingleDerivativeLimitOrderbookV2
- func (*SingleDerivativeLimitOrderbookV2) Descriptor() ([]byte, []int)deprecated
- func (x *SingleDerivativeLimitOrderbookV2) GetMarketId() string
- func (x *SingleDerivativeLimitOrderbookV2) GetOrderbook() *DerivativeLimitOrderbookV2
- func (*SingleDerivativeLimitOrderbookV2) ProtoMessage()
- func (x *SingleDerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message
- func (x *SingleDerivativeLimitOrderbookV2) Reset()
- func (x *SingleDerivativeLimitOrderbookV2) String() string
- type StreamMarketRequest
- func (*StreamMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMarketRequest) GetMarketIds() []string
- func (*StreamMarketRequest) ProtoMessage()
- func (x *StreamMarketRequest) ProtoReflect() protoreflect.Message
- func (x *StreamMarketRequest) Reset()
- func (x *StreamMarketRequest) String() string
- type StreamMarketResponse
- func (*StreamMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMarketResponse) GetMarket() *DerivativeMarketInfo
- func (x *StreamMarketResponse) GetOperationType() string
- func (x *StreamMarketResponse) GetTimestamp() int64
- func (*StreamMarketResponse) ProtoMessage()
- func (x *StreamMarketResponse) ProtoReflect() protoreflect.Message
- func (x *StreamMarketResponse) Reset()
- func (x *StreamMarketResponse) String() string
- type StreamOrderbookUpdateRequest
- func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string
- func (*StreamOrderbookUpdateRequest) ProtoMessage()
- func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *StreamOrderbookUpdateRequest) Reset()
- func (x *StreamOrderbookUpdateRequest) String() string
- type StreamOrderbookUpdateResponse
- func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrderbookUpdateResponse) GetMarketId() string
- func (x *StreamOrderbookUpdateResponse) GetOperationType() string
- func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates
- func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64
- func (*StreamOrderbookUpdateResponse) ProtoMessage()
- func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *StreamOrderbookUpdateResponse) Reset()
- func (x *StreamOrderbookUpdateResponse) String() string
- type StreamOrderbookV2Request
- func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrderbookV2Request) GetMarketIds() []string
- func (*StreamOrderbookV2Request) ProtoMessage()
- func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message
- func (x *StreamOrderbookV2Request) Reset()
- func (x *StreamOrderbookV2Request) String() string
- type StreamOrderbookV2Response
- func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrderbookV2Response) GetMarketId() string
- func (x *StreamOrderbookV2Response) GetOperationType() string
- func (x *StreamOrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2
- func (x *StreamOrderbookV2Response) GetTimestamp() int64
- func (*StreamOrderbookV2Response) ProtoMessage()
- func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message
- func (x *StreamOrderbookV2Response) Reset()
- func (x *StreamOrderbookV2Response) String() string
- type StreamOrdersHistoryRequest
- func (*StreamOrdersHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrdersHistoryRequest) GetDirection() string
- func (x *StreamOrdersHistoryRequest) GetExecutionTypes() []string
- func (x *StreamOrdersHistoryRequest) GetMarketId() string
- func (x *StreamOrdersHistoryRequest) GetOrderTypes() []string
- func (x *StreamOrdersHistoryRequest) GetState() string
- func (x *StreamOrdersHistoryRequest) GetSubaccountId() string
- func (*StreamOrdersHistoryRequest) ProtoMessage()
- func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *StreamOrdersHistoryRequest) Reset()
- func (x *StreamOrdersHistoryRequest) String() string
- type StreamOrdersHistoryResponse
- func (*StreamOrdersHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrdersHistoryResponse) GetOperationType() string
- func (x *StreamOrdersHistoryResponse) GetOrder() *DerivativeOrderHistory
- func (x *StreamOrdersHistoryResponse) GetTimestamp() int64
- func (*StreamOrdersHistoryResponse) ProtoMessage()
- func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *StreamOrdersHistoryResponse) Reset()
- func (x *StreamOrdersHistoryResponse) String() string
- type StreamOrdersRequest
- func (*StreamOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrdersRequest) GetCid() string
- func (x *StreamOrdersRequest) GetEndTime() int64
- func (x *StreamOrdersRequest) GetIncludeInactive() bool
- func (x *StreamOrdersRequest) GetIsConditional() string
- func (x *StreamOrdersRequest) GetLimit() int32
- func (x *StreamOrdersRequest) GetMarketId() string
- func (x *StreamOrdersRequest) GetMarketIds() []string
- func (x *StreamOrdersRequest) GetOrderSide() string
- func (x *StreamOrdersRequest) GetOrderType() string
- func (x *StreamOrdersRequest) GetSkip() uint64
- func (x *StreamOrdersRequest) GetStartTime() int64
- func (x *StreamOrdersRequest) GetSubaccountId() string
- func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool
- func (x *StreamOrdersRequest) GetTradeId() string
- func (*StreamOrdersRequest) ProtoMessage()
- func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *StreamOrdersRequest) Reset()
- func (x *StreamOrdersRequest) String() string
- type StreamOrdersResponse
- func (*StreamOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOrdersResponse) GetOperationType() string
- func (x *StreamOrdersResponse) GetOrder() *DerivativeLimitOrder
- func (x *StreamOrdersResponse) GetTimestamp() int64
- func (*StreamOrdersResponse) ProtoMessage()
- func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *StreamOrdersResponse) Reset()
- func (x *StreamOrdersResponse) String() string
- type StreamPositionsRequest
- func (*StreamPositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamPositionsRequest) GetMarketId() string
- func (x *StreamPositionsRequest) GetMarketIds() []string
- func (x *StreamPositionsRequest) GetSubaccountId() string
- func (x *StreamPositionsRequest) GetSubaccountIds() []string
- func (*StreamPositionsRequest) ProtoMessage()
- func (x *StreamPositionsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamPositionsRequest) Reset()
- func (x *StreamPositionsRequest) String() string
- type StreamPositionsResponse
- func (*StreamPositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamPositionsResponse) GetPosition() *DerivativePosition
- func (x *StreamPositionsResponse) GetTimestamp() int64
- func (*StreamPositionsResponse) ProtoMessage()
- func (x *StreamPositionsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamPositionsResponse) Reset()
- func (x *StreamPositionsResponse) String() string
- type StreamTradesRequest
- func (*StreamTradesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTradesRequest) GetAccountAddress() string
- func (x *StreamTradesRequest) GetCid() string
- func (x *StreamTradesRequest) GetDirection() string
- func (x *StreamTradesRequest) GetEndTime() int64
- func (x *StreamTradesRequest) GetExecutionSide() string
- func (x *StreamTradesRequest) GetExecutionTypes() []string
- func (x *StreamTradesRequest) GetLimit() int32
- func (x *StreamTradesRequest) GetMarketId() string
- func (x *StreamTradesRequest) GetMarketIds() []string
- func (x *StreamTradesRequest) GetSkip() uint64
- func (x *StreamTradesRequest) GetStartTime() int64
- func (x *StreamTradesRequest) GetSubaccountId() string
- func (x *StreamTradesRequest) GetSubaccountIds() []string
- func (x *StreamTradesRequest) GetTradeId() string
- func (*StreamTradesRequest) ProtoMessage()
- func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamTradesRequest) Reset()
- func (x *StreamTradesRequest) String() string
- type StreamTradesResponse
- func (*StreamTradesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTradesResponse) GetOperationType() string
- func (x *StreamTradesResponse) GetTimestamp() int64
- func (x *StreamTradesResponse) GetTrade() *DerivativeTrade
- func (*StreamTradesResponse) ProtoMessage()
- func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message
- func (x *StreamTradesResponse) Reset()
- func (x *StreamTradesResponse) String() string
- type StreamTradesV2Request
- func (*StreamTradesV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTradesV2Request) GetAccountAddress() string
- func (x *StreamTradesV2Request) GetCid() string
- func (x *StreamTradesV2Request) GetDirection() string
- func (x *StreamTradesV2Request) GetEndTime() int64
- func (x *StreamTradesV2Request) GetExecutionSide() string
- func (x *StreamTradesV2Request) GetExecutionTypes() []string
- func (x *StreamTradesV2Request) GetLimit() int32
- func (x *StreamTradesV2Request) GetMarketId() string
- func (x *StreamTradesV2Request) GetMarketIds() []string
- func (x *StreamTradesV2Request) GetSkip() uint64
- func (x *StreamTradesV2Request) GetStartTime() int64
- func (x *StreamTradesV2Request) GetSubaccountId() string
- func (x *StreamTradesV2Request) GetSubaccountIds() []string
- func (x *StreamTradesV2Request) GetTradeId() string
- func (*StreamTradesV2Request) ProtoMessage()
- func (x *StreamTradesV2Request) ProtoReflect() protoreflect.Message
- func (x *StreamTradesV2Request) Reset()
- func (x *StreamTradesV2Request) String() string
- type StreamTradesV2Response
- func (*StreamTradesV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTradesV2Response) GetOperationType() string
- func (x *StreamTradesV2Response) GetTimestamp() int64
- func (x *StreamTradesV2Response) GetTrade() *DerivativeTrade
- func (*StreamTradesV2Response) ProtoMessage()
- func (x *StreamTradesV2Response) ProtoReflect() protoreflect.Message
- func (x *StreamTradesV2Response) Reset()
- func (x *StreamTradesV2Response) String() string
- type SubaccountOrdersListRequest
- func (*SubaccountOrdersListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubaccountOrdersListRequest) GetLimit() int32
- func (x *SubaccountOrdersListRequest) GetMarketId() string
- func (x *SubaccountOrdersListRequest) GetSkip() uint64
- func (x *SubaccountOrdersListRequest) GetSubaccountId() string
- func (*SubaccountOrdersListRequest) ProtoMessage()
- func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message
- func (x *SubaccountOrdersListRequest) Reset()
- func (x *SubaccountOrdersListRequest) String() string
- type SubaccountOrdersListResponse
- func (*SubaccountOrdersListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubaccountOrdersListResponse) GetOrders() []*DerivativeLimitOrder
- func (x *SubaccountOrdersListResponse) GetPaging() *Paging
- func (*SubaccountOrdersListResponse) ProtoMessage()
- func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message
- func (x *SubaccountOrdersListResponse) Reset()
- func (x *SubaccountOrdersListResponse) String() string
- type SubaccountTradesListRequest
- func (*SubaccountTradesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubaccountTradesListRequest) GetDirection() string
- func (x *SubaccountTradesListRequest) GetExecutionType() string
- func (x *SubaccountTradesListRequest) GetLimit() int32
- func (x *SubaccountTradesListRequest) GetMarketId() string
- func (x *SubaccountTradesListRequest) GetSkip() uint64
- func (x *SubaccountTradesListRequest) GetSubaccountId() string
- func (*SubaccountTradesListRequest) ProtoMessage()
- func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message
- func (x *SubaccountTradesListRequest) Reset()
- func (x *SubaccountTradesListRequest) String() string
- type SubaccountTradesListResponse
- func (*SubaccountTradesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubaccountTradesListResponse) GetTrades() []*DerivativeTrade
- func (*SubaccountTradesListResponse) ProtoMessage()
- func (x *SubaccountTradesListResponse) ProtoReflect() protoreflect.Message
- func (x *SubaccountTradesListResponse) Reset()
- func (x *SubaccountTradesListResponse) String() string
- type TokenMeta
- func (*TokenMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TokenMeta) GetAddress() string
- func (x *TokenMeta) GetDecimals() int32
- func (x *TokenMeta) GetLogo() string
- func (x *TokenMeta) GetName() string
- func (x *TokenMeta) GetSymbol() string
- func (x *TokenMeta) GetUpdatedAt() int64
- func (*TokenMeta) ProtoMessage()
- func (x *TokenMeta) ProtoReflect() protoreflect.Message
- func (x *TokenMeta) Reset()
- func (x *TokenMeta) String() string
- type TradesRequest
- func (*TradesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TradesRequest) GetAccountAddress() string
- func (x *TradesRequest) GetCid() string
- func (x *TradesRequest) GetDirection() string
- func (x *TradesRequest) GetEndTime() int64
- func (x *TradesRequest) GetExecutionSide() string
- func (x *TradesRequest) GetExecutionTypes() []string
- func (x *TradesRequest) GetLimit() int32
- func (x *TradesRequest) GetMarketId() string
- func (x *TradesRequest) GetMarketIds() []string
- func (x *TradesRequest) GetSkip() uint64
- func (x *TradesRequest) GetStartTime() int64
- func (x *TradesRequest) GetSubaccountId() string
- func (x *TradesRequest) GetSubaccountIds() []string
- func (x *TradesRequest) GetTradeId() string
- func (*TradesRequest) ProtoMessage()
- func (x *TradesRequest) ProtoReflect() protoreflect.Message
- func (x *TradesRequest) Reset()
- func (x *TradesRequest) String() string
- type TradesResponse
- func (*TradesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TradesResponse) GetPaging() *Paging
- func (x *TradesResponse) GetTrades() []*DerivativeTrade
- func (*TradesResponse) ProtoMessage()
- func (x *TradesResponse) ProtoReflect() protoreflect.Message
- func (x *TradesResponse) Reset()
- func (x *TradesResponse) String() string
- type TradesV2Request
- func (*TradesV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *TradesV2Request) GetAccountAddress() string
- func (x *TradesV2Request) GetCid() string
- func (x *TradesV2Request) GetDirection() string
- func (x *TradesV2Request) GetEndTime() int64
- func (x *TradesV2Request) GetExecutionSide() string
- func (x *TradesV2Request) GetExecutionTypes() []string
- func (x *TradesV2Request) GetLimit() int32
- func (x *TradesV2Request) GetMarketId() string
- func (x *TradesV2Request) GetMarketIds() []string
- func (x *TradesV2Request) GetSkip() uint64
- func (x *TradesV2Request) GetStartTime() int64
- func (x *TradesV2Request) GetSubaccountId() string
- func (x *TradesV2Request) GetSubaccountIds() []string
- func (x *TradesV2Request) GetTradeId() string
- func (*TradesV2Request) ProtoMessage()
- func (x *TradesV2Request) ProtoReflect() protoreflect.Message
- func (x *TradesV2Request) Reset()
- func (x *TradesV2Request) String() string
- type TradesV2Response
- func (*TradesV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *TradesV2Response) GetPaging() *Paging
- func (x *TradesV2Response) GetTrades() []*DerivativeTrade
- func (*TradesV2Response) ProtoMessage()
- func (x *TradesV2Response) ProtoReflect() protoreflect.Message
- func (x *TradesV2Response) Reset()
- func (x *TradesV2Response) String() string
- type UnimplementedInjectiveDerivativeExchangeRPCServer
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarket(context.Context, *BinaryOptionsMarketRequest) (*BinaryOptionsMarketResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarkets(context.Context, *BinaryOptionsMarketsRequest) (*BinaryOptionsMarketsResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) FundingPayments(context.Context, *FundingPaymentsRequest) (*FundingPaymentsResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) FundingRates(context.Context, *FundingRatesRequest) (*FundingRatesResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) LiquidablePositions(context.Context, *LiquidablePositionsRequest) (*LiquidablePositionsResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) Market(context.Context, *MarketRequest) (*MarketResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) Markets(context.Context, *MarketsRequest) (*MarketsResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) Orders(context.Context, *OrdersRequest) (*OrdersResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrdersHistory(context.Context, *OrdersHistoryRequest) (*OrdersHistoryResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) Positions(context.Context, *PositionsRequest) (*PositionsResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) PositionsV2(context.Context, *PositionsV2Request) (*PositionsV2Response, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamMarket(*StreamMarketRequest, InjectiveDerivativeExchangeRPC_StreamMarketServer) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbookUpdate(*StreamOrderbookUpdateRequest, ...) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbookV2(*StreamOrderbookV2Request, ...) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrders(*StreamOrdersRequest, InjectiveDerivativeExchangeRPC_StreamOrdersServer) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrdersHistory(*StreamOrdersHistoryRequest, ...) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamPositions(*StreamPositionsRequest, InjectiveDerivativeExchangeRPC_StreamPositionsServer) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamTrades(*StreamTradesRequest, InjectiveDerivativeExchangeRPC_StreamTradesServer) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamTradesV2(*StreamTradesV2Request, InjectiveDerivativeExchangeRPC_StreamTradesV2Server) error
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountTradesList(context.Context, *SubaccountTradesListRequest) (*SubaccountTradesListResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) Trades(context.Context, *TradesRequest) (*TradesResponse, error)
- func (UnimplementedInjectiveDerivativeExchangeRPCServer) TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error)
- type UnsafeInjectiveDerivativeExchangeRPCServer
Constants ¶
This section is empty.
Variables ¶
var File_injective_derivative_exchange_rpc_proto protoreflect.FileDescriptor
var InjectiveDerivativeExchangeRPC_ServiceDesc = grpc.ServiceDesc{ ServiceName: "injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", HandlerType: (*InjectiveDerivativeExchangeRPCServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Markets", Handler: _InjectiveDerivativeExchangeRPC_Markets_Handler, }, { MethodName: "Market", Handler: _InjectiveDerivativeExchangeRPC_Market_Handler, }, { MethodName: "BinaryOptionsMarkets", Handler: _InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_Handler, }, { MethodName: "BinaryOptionsMarket", Handler: _InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_Handler, }, { MethodName: "OrderbookV2", Handler: _InjectiveDerivativeExchangeRPC_OrderbookV2_Handler, }, { MethodName: "OrderbooksV2", Handler: _InjectiveDerivativeExchangeRPC_OrderbooksV2_Handler, }, { MethodName: "Orders", Handler: _InjectiveDerivativeExchangeRPC_Orders_Handler, }, { MethodName: "Positions", Handler: _InjectiveDerivativeExchangeRPC_Positions_Handler, }, { MethodName: "PositionsV2", Handler: _InjectiveDerivativeExchangeRPC_PositionsV2_Handler, }, { MethodName: "LiquidablePositions", Handler: _InjectiveDerivativeExchangeRPC_LiquidablePositions_Handler, }, { MethodName: "FundingPayments", Handler: _InjectiveDerivativeExchangeRPC_FundingPayments_Handler, }, { MethodName: "FundingRates", Handler: _InjectiveDerivativeExchangeRPC_FundingRates_Handler, }, { MethodName: "Trades", Handler: _InjectiveDerivativeExchangeRPC_Trades_Handler, }, { MethodName: "TradesV2", Handler: _InjectiveDerivativeExchangeRPC_TradesV2_Handler, }, { MethodName: "SubaccountOrdersList", Handler: _InjectiveDerivativeExchangeRPC_SubaccountOrdersList_Handler, }, { MethodName: "SubaccountTradesList", Handler: _InjectiveDerivativeExchangeRPC_SubaccountTradesList_Handler, }, { MethodName: "OrdersHistory", Handler: _InjectiveDerivativeExchangeRPC_OrdersHistory_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamMarket", Handler: _InjectiveDerivativeExchangeRPC_StreamMarket_Handler, ServerStreams: true, }, { StreamName: "StreamOrderbookV2", Handler: _InjectiveDerivativeExchangeRPC_StreamOrderbookV2_Handler, ServerStreams: true, }, { StreamName: "StreamOrderbookUpdate", Handler: _InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_Handler, ServerStreams: true, }, { StreamName: "StreamPositions", Handler: _InjectiveDerivativeExchangeRPC_StreamPositions_Handler, ServerStreams: true, }, { StreamName: "StreamOrders", Handler: _InjectiveDerivativeExchangeRPC_StreamOrders_Handler, ServerStreams: true, }, { StreamName: "StreamTrades", Handler: _InjectiveDerivativeExchangeRPC_StreamTrades_Handler, ServerStreams: true, }, { StreamName: "StreamTradesV2", Handler: _InjectiveDerivativeExchangeRPC_StreamTradesV2_Handler, ServerStreams: true, }, { StreamName: "StreamOrdersHistory", Handler: _InjectiveDerivativeExchangeRPC_StreamOrdersHistory_Handler, ServerStreams: true, }, }, Metadata: "injective_derivative_exchange_rpc.proto", }
InjectiveDerivativeExchangeRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveDerivativeExchangeRPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInjectiveDerivativeExchangeRPCHandler ¶ added in v1.32.1
func RegisterInjectiveDerivativeExchangeRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInjectiveDerivativeExchangeRPCHandler registers the http handlers for service InjectiveDerivativeExchangeRPC to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInjectiveDerivativeExchangeRPCHandlerClient ¶ added in v1.32.1
func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveDerivativeExchangeRPCClient) error
RegisterInjectiveDerivativeExchangeRPCHandlerClient registers the http handlers for service InjectiveDerivativeExchangeRPC to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InjectiveDerivativeExchangeRPCClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InjectiveDerivativeExchangeRPCClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InjectiveDerivativeExchangeRPCClient" to call the correct interceptors.
func RegisterInjectiveDerivativeExchangeRPCHandlerFromEndpoint ¶ added in v1.32.1
func RegisterInjectiveDerivativeExchangeRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInjectiveDerivativeExchangeRPCHandlerFromEndpoint is same as RegisterInjectiveDerivativeExchangeRPCHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInjectiveDerivativeExchangeRPCHandlerServer ¶ added in v1.32.1
func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveDerivativeExchangeRPCServer) error
RegisterInjectiveDerivativeExchangeRPCHandlerServer registers the http handlers for service InjectiveDerivativeExchangeRPC to "mux". UnaryRPC :call InjectiveDerivativeExchangeRPCServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInjectiveDerivativeExchangeRPCHandlerFromEndpoint instead.
func RegisterInjectiveDerivativeExchangeRPCServer ¶
func RegisterInjectiveDerivativeExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveDerivativeExchangeRPCServer)
Types ¶
type BinaryOptionsMarketInfo ¶ added in v1.43.4
type BinaryOptionsMarketInfo struct { // Binary Options Market ID is crypto.Keccak256Hash([]byte((oracleType.String() // + ticker + quoteDenom + oracleSymbol + oracleProvider))) MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The status of the market MarketStatus string `protobuf:"bytes,2,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"` // A name of the binary options market. Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"` // Oracle symbol OracleSymbol string `protobuf:"bytes,4,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"` // Oracle provider OracleProvider string `protobuf:"bytes,5,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"` // Oracle Type OracleType string `protobuf:"bytes,6,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` // OracleScaleFactor OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"` // Defines the expiration time for the market in UNIX seconds. ExpirationTimestamp int64 `protobuf:"zigzag64,8,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"` // Defines the settlement time for the market in UNIX seconds. SettlementTimestamp int64 `protobuf:"zigzag64,9,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"` // Coin denom used for the quote asset. QuoteDenom string `protobuf:"bytes,10,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"` // Token metadata for quote asset, only for Ethereum-based assets QuoteTokenMeta *TokenMeta `protobuf:"bytes,11,opt,name=quote_token_meta,json=quoteTokenMeta,proto3" json:"quote_token_meta,omitempty"` // Defines the fee percentage makers pay when trading (in quote asset) MakerFeeRate string `protobuf:"bytes,12,opt,name=maker_fee_rate,json=makerFeeRate,proto3" json:"maker_fee_rate,omitempty"` // Defines the fee percentage takers pay when trading (in quote asset) TakerFeeRate string `protobuf:"bytes,13,opt,name=taker_fee_rate,json=takerFeeRate,proto3" json:"taker_fee_rate,omitempty"` // Percentage of the transaction fee shared with the service provider ServiceProviderFee string `protobuf:"bytes,14,opt,name=service_provider_fee,json=serviceProviderFee,proto3" json:"service_provider_fee,omitempty"` // Defines the minimum required tick size for the order's price MinPriceTickSize string `protobuf:"bytes,15,opt,name=min_price_tick_size,json=minPriceTickSize,proto3" json:"min_price_tick_size,omitempty"` // Defines the minimum required tick size for the order's quantity MinQuantityTickSize string `protobuf:"bytes,16,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3" json:"min_quantity_tick_size,omitempty"` // Defines the settlement price of the market SettlementPrice string `protobuf:"bytes,17,opt,name=settlement_price,json=settlementPrice,proto3" json:"settlement_price,omitempty"` // contains filtered or unexported fields }
func (*BinaryOptionsMarketInfo) Descriptor
deprecated
added in
v1.43.4
func (*BinaryOptionsMarketInfo) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOptionsMarketInfo.ProtoReflect.Descriptor instead.
func (*BinaryOptionsMarketInfo) GetExpirationTimestamp ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetExpirationTimestamp() int64
func (*BinaryOptionsMarketInfo) GetMakerFeeRate ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetMakerFeeRate() string
func (*BinaryOptionsMarketInfo) GetMarketId ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetMarketId() string
func (*BinaryOptionsMarketInfo) GetMarketStatus ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetMarketStatus() string
func (*BinaryOptionsMarketInfo) GetMinPriceTickSize ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetMinPriceTickSize() string
func (*BinaryOptionsMarketInfo) GetMinQuantityTickSize ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetMinQuantityTickSize() string
func (*BinaryOptionsMarketInfo) GetOracleProvider ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetOracleProvider() string
func (*BinaryOptionsMarketInfo) GetOracleScaleFactor ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetOracleScaleFactor() uint32
func (*BinaryOptionsMarketInfo) GetOracleSymbol ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetOracleSymbol() string
func (*BinaryOptionsMarketInfo) GetOracleType ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetOracleType() string
func (*BinaryOptionsMarketInfo) GetQuoteDenom ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetQuoteDenom() string
func (*BinaryOptionsMarketInfo) GetQuoteTokenMeta ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetQuoteTokenMeta() *TokenMeta
func (*BinaryOptionsMarketInfo) GetServiceProviderFee ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetServiceProviderFee() string
func (*BinaryOptionsMarketInfo) GetSettlementPrice ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetSettlementPrice() string
func (*BinaryOptionsMarketInfo) GetSettlementTimestamp ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetSettlementTimestamp() int64
func (*BinaryOptionsMarketInfo) GetTakerFeeRate ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetTakerFeeRate() string
func (*BinaryOptionsMarketInfo) GetTicker ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) GetTicker() string
func (*BinaryOptionsMarketInfo) ProtoMessage ¶ added in v1.43.4
func (*BinaryOptionsMarketInfo) ProtoMessage()
func (*BinaryOptionsMarketInfo) ProtoReflect ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) ProtoReflect() protoreflect.Message
func (*BinaryOptionsMarketInfo) Reset ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) Reset()
func (*BinaryOptionsMarketInfo) String ¶ added in v1.43.4
func (x *BinaryOptionsMarketInfo) String() string
type BinaryOptionsMarketRequest ¶ added in v1.43.4
type BinaryOptionsMarketRequest struct { // MarketId of the market we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // contains filtered or unexported fields }
func (*BinaryOptionsMarketRequest) Descriptor
deprecated
added in
v1.43.4
func (*BinaryOptionsMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOptionsMarketRequest.ProtoReflect.Descriptor instead.
func (*BinaryOptionsMarketRequest) GetMarketId ¶ added in v1.43.4
func (x *BinaryOptionsMarketRequest) GetMarketId() string
func (*BinaryOptionsMarketRequest) ProtoMessage ¶ added in v1.43.4
func (*BinaryOptionsMarketRequest) ProtoMessage()
func (*BinaryOptionsMarketRequest) ProtoReflect ¶ added in v1.43.4
func (x *BinaryOptionsMarketRequest) ProtoReflect() protoreflect.Message
func (*BinaryOptionsMarketRequest) Reset ¶ added in v1.43.4
func (x *BinaryOptionsMarketRequest) Reset()
func (*BinaryOptionsMarketRequest) String ¶ added in v1.43.4
func (x *BinaryOptionsMarketRequest) String() string
type BinaryOptionsMarketResponse ¶ added in v1.43.4
type BinaryOptionsMarketResponse struct { // Info about particular derivative market Market *BinaryOptionsMarketInfo `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*BinaryOptionsMarketResponse) Descriptor
deprecated
added in
v1.43.4
func (*BinaryOptionsMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOptionsMarketResponse.ProtoReflect.Descriptor instead.
func (*BinaryOptionsMarketResponse) GetMarket ¶ added in v1.43.4
func (x *BinaryOptionsMarketResponse) GetMarket() *BinaryOptionsMarketInfo
func (*BinaryOptionsMarketResponse) ProtoMessage ¶ added in v1.43.4
func (*BinaryOptionsMarketResponse) ProtoMessage()
func (*BinaryOptionsMarketResponse) ProtoReflect ¶ added in v1.43.4
func (x *BinaryOptionsMarketResponse) ProtoReflect() protoreflect.Message
func (*BinaryOptionsMarketResponse) Reset ¶ added in v1.43.4
func (x *BinaryOptionsMarketResponse) Reset()
func (*BinaryOptionsMarketResponse) String ¶ added in v1.43.4
func (x *BinaryOptionsMarketResponse) String() string
type BinaryOptionsMarketsRequest ¶ added in v1.43.4
type BinaryOptionsMarketsRequest struct { // Filter by market status MarketStatus string `protobuf:"bytes,1,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"` // Filter by the Coin denomination of the quote currency QuoteDenom string `protobuf:"bytes,2,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*BinaryOptionsMarketsRequest) Descriptor
deprecated
added in
v1.43.4
func (*BinaryOptionsMarketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOptionsMarketsRequest.ProtoReflect.Descriptor instead.
func (*BinaryOptionsMarketsRequest) GetLimit ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) GetLimit() int32
func (*BinaryOptionsMarketsRequest) GetMarketStatus ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) GetMarketStatus() string
func (*BinaryOptionsMarketsRequest) GetQuoteDenom ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) GetQuoteDenom() string
func (*BinaryOptionsMarketsRequest) GetSkip ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) GetSkip() uint64
func (*BinaryOptionsMarketsRequest) ProtoMessage ¶ added in v1.43.4
func (*BinaryOptionsMarketsRequest) ProtoMessage()
func (*BinaryOptionsMarketsRequest) ProtoReflect ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) ProtoReflect() protoreflect.Message
func (*BinaryOptionsMarketsRequest) Reset ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) Reset()
func (*BinaryOptionsMarketsRequest) String ¶ added in v1.43.4
func (x *BinaryOptionsMarketsRequest) String() string
type BinaryOptionsMarketsResponse ¶ added in v1.43.4
type BinaryOptionsMarketsResponse struct { // Binary Options Markets list Markets []*BinaryOptionsMarketInfo `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*BinaryOptionsMarketsResponse) Descriptor
deprecated
added in
v1.43.4
func (*BinaryOptionsMarketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOptionsMarketsResponse.ProtoReflect.Descriptor instead.
func (*BinaryOptionsMarketsResponse) GetMarkets ¶ added in v1.43.4
func (x *BinaryOptionsMarketsResponse) GetMarkets() []*BinaryOptionsMarketInfo
func (*BinaryOptionsMarketsResponse) GetPaging ¶ added in v1.43.4
func (x *BinaryOptionsMarketsResponse) GetPaging() *Paging
func (*BinaryOptionsMarketsResponse) ProtoMessage ¶ added in v1.43.4
func (*BinaryOptionsMarketsResponse) ProtoMessage()
func (*BinaryOptionsMarketsResponse) ProtoReflect ¶ added in v1.43.4
func (x *BinaryOptionsMarketsResponse) ProtoReflect() protoreflect.Message
func (*BinaryOptionsMarketsResponse) Reset ¶ added in v1.43.4
func (x *BinaryOptionsMarketsResponse) Reset()
func (*BinaryOptionsMarketsResponse) String ¶ added in v1.43.4
func (x *BinaryOptionsMarketsResponse) String() string
type DerivativeLimitOrder ¶
type DerivativeLimitOrder struct { // Hash of the order OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` // The side of the order OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"` // Derivative Market ID MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The subaccountId that this order belongs to SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // True if the order is a reduce-only order IsReduceOnly bool `protobuf:"varint,5,opt,name=is_reduce_only,json=isReduceOnly,proto3" json:"is_reduce_only,omitempty"` // Margin of the order Margin string `protobuf:"bytes,6,opt,name=margin,proto3" json:"margin,omitempty"` // Price of the order Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"` // Quantity of the order Quantity string `protobuf:"bytes,8,opt,name=quantity,proto3" json:"quantity,omitempty"` // The amount of the quantity remaining unfilled UnfilledQuantity string `protobuf:"bytes,9,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"` // Trigger price is the trigger price used by stop/take orders TriggerPrice string `protobuf:"bytes,10,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` // Fee recipient address FeeRecipient string `protobuf:"bytes,11,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"` // Order state State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // Order committed timestamp in UNIX millis. CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Order updated timestamp in UNIX millis. UpdatedAt int64 `protobuf:"zigzag64,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Order number of subaccount OrderNumber int64 `protobuf:"zigzag64,15,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"` // Order type OrderType string `protobuf:"bytes,16,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` // Order type IsConditional bool `protobuf:"varint,17,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` // Trigger timestamp, only exists for conditional orders TriggerAt uint64 `protobuf:"varint,18,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"` // OrderHash of order that is triggered by this conditional order PlacedOrderHash string `protobuf:"bytes,19,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"` // Execution type of conditional order ExecutionType string `protobuf:"bytes,20,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"` // Transaction Hash where order is created. Not all orders have this field TxHash string `protobuf:"bytes,21,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Custom client order ID Cid string `protobuf:"bytes,22,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*DerivativeLimitOrder) Descriptor
deprecated
func (*DerivativeLimitOrder) Descriptor() ([]byte, []int)
Deprecated: Use DerivativeLimitOrder.ProtoReflect.Descriptor instead.
func (*DerivativeLimitOrder) GetCid ¶ added in v1.49.0
func (x *DerivativeLimitOrder) GetCid() string
func (*DerivativeLimitOrder) GetCreatedAt ¶
func (x *DerivativeLimitOrder) GetCreatedAt() int64
func (*DerivativeLimitOrder) GetExecutionType ¶ added in v1.43.4
func (x *DerivativeLimitOrder) GetExecutionType() string
func (*DerivativeLimitOrder) GetFeeRecipient ¶
func (x *DerivativeLimitOrder) GetFeeRecipient() string
func (*DerivativeLimitOrder) GetIsConditional ¶ added in v1.43.4
func (x *DerivativeLimitOrder) GetIsConditional() bool
func (*DerivativeLimitOrder) GetIsReduceOnly ¶
func (x *DerivativeLimitOrder) GetIsReduceOnly() bool
func (*DerivativeLimitOrder) GetMargin ¶
func (x *DerivativeLimitOrder) GetMargin() string
func (*DerivativeLimitOrder) GetMarketId ¶
func (x *DerivativeLimitOrder) GetMarketId() string
func (*DerivativeLimitOrder) GetOrderHash ¶
func (x *DerivativeLimitOrder) GetOrderHash() string
func (*DerivativeLimitOrder) GetOrderNumber ¶ added in v1.43.4
func (x *DerivativeLimitOrder) GetOrderNumber() int64
func (*DerivativeLimitOrder) GetOrderSide ¶ added in v1.23.6
func (x *DerivativeLimitOrder) GetOrderSide() string
func (*DerivativeLimitOrder) GetOrderType ¶
func (x *DerivativeLimitOrder) GetOrderType() string
func (*DerivativeLimitOrder) GetPlacedOrderHash ¶ added in v1.43.4
func (x *DerivativeLimitOrder) GetPlacedOrderHash() string
func (*DerivativeLimitOrder) GetPrice ¶
func (x *DerivativeLimitOrder) GetPrice() string
func (*DerivativeLimitOrder) GetQuantity ¶
func (x *DerivativeLimitOrder) GetQuantity() string
func (*DerivativeLimitOrder) GetState ¶
func (x *DerivativeLimitOrder) GetState() string
func (*DerivativeLimitOrder) GetSubaccountId ¶
func (x *DerivativeLimitOrder) GetSubaccountId() string
func (*DerivativeLimitOrder) GetTriggerAt ¶ added in v1.43.4
func (x *DerivativeLimitOrder) GetTriggerAt() uint64
func (*DerivativeLimitOrder) GetTriggerPrice ¶
func (x *DerivativeLimitOrder) GetTriggerPrice() string
func (*DerivativeLimitOrder) GetTxHash ¶ added in v1.47.16
func (x *DerivativeLimitOrder) GetTxHash() string
func (*DerivativeLimitOrder) GetUnfilledQuantity ¶
func (x *DerivativeLimitOrder) GetUnfilledQuantity() string
func (*DerivativeLimitOrder) GetUpdatedAt ¶
func (x *DerivativeLimitOrder) GetUpdatedAt() int64
func (*DerivativeLimitOrder) ProtoMessage ¶
func (*DerivativeLimitOrder) ProtoMessage()
func (*DerivativeLimitOrder) ProtoReflect ¶
func (x *DerivativeLimitOrder) ProtoReflect() protoreflect.Message
func (*DerivativeLimitOrder) Reset ¶
func (x *DerivativeLimitOrder) Reset()
func (*DerivativeLimitOrder) String ¶
func (x *DerivativeLimitOrder) String() string
type DerivativeLimitOrderbookV2 ¶ added in v1.44.5
type DerivativeLimitOrderbookV2 struct { // Array of price levels for buys Buys []*PriceLevel `protobuf:"bytes,1,rep,name=buys,proto3" json:"buys,omitempty"` // Array of price levels for sells Sells []*PriceLevel `protobuf:"bytes,2,rep,name=sells,proto3" json:"sells,omitempty"` // market orderbook sequence Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` // Last update timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*DerivativeLimitOrderbookV2) Descriptor
deprecated
added in
v1.44.5
func (*DerivativeLimitOrderbookV2) Descriptor() ([]byte, []int)
Deprecated: Use DerivativeLimitOrderbookV2.ProtoReflect.Descriptor instead.
func (*DerivativeLimitOrderbookV2) GetBuys ¶ added in v1.44.5
func (x *DerivativeLimitOrderbookV2) GetBuys() []*PriceLevel
func (*DerivativeLimitOrderbookV2) GetSells ¶ added in v1.44.5
func (x *DerivativeLimitOrderbookV2) GetSells() []*PriceLevel
func (*DerivativeLimitOrderbookV2) GetSequence ¶ added in v1.44.5
func (x *DerivativeLimitOrderbookV2) GetSequence() uint64
func (*DerivativeLimitOrderbookV2) GetTimestamp ¶ added in v1.45.2
func (x *DerivativeLimitOrderbookV2) GetTimestamp() int64
func (*DerivativeLimitOrderbookV2) ProtoMessage ¶ added in v1.44.5
func (*DerivativeLimitOrderbookV2) ProtoMessage()
func (*DerivativeLimitOrderbookV2) ProtoReflect ¶ added in v1.44.5
func (x *DerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message
func (*DerivativeLimitOrderbookV2) Reset ¶ added in v1.44.5
func (x *DerivativeLimitOrderbookV2) Reset()
func (*DerivativeLimitOrderbookV2) String ¶ added in v1.44.5
func (x *DerivativeLimitOrderbookV2) String() string
type DerivativeMarketInfo ¶
type DerivativeMarketInfo struct { // DerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + // ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and // crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + // oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures // markets MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The status of the market MarketStatus string `protobuf:"bytes,2,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"` // A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote // asset. Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"` // Oracle base currency OracleBase string `protobuf:"bytes,4,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"` // Oracle quote currency OracleQuote string `protobuf:"bytes,5,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"` // Oracle Type OracleType string `protobuf:"bytes,6,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` // OracleScaleFactor OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"` // Defines the initial margin ratio of a derivative market InitialMarginRatio string `protobuf:"bytes,8,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3" json:"initial_margin_ratio,omitempty"` // Defines the maintenance margin ratio of a derivative market MaintenanceMarginRatio string `` /* 129-byte string literal not displayed */ // Coin denom used for the quote asset. QuoteDenom string `protobuf:"bytes,10,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"` // Token metadata for quote asset, only for Ethereum-based assets QuoteTokenMeta *TokenMeta `protobuf:"bytes,11,opt,name=quote_token_meta,json=quoteTokenMeta,proto3" json:"quote_token_meta,omitempty"` // Defines the fee percentage makers pay when trading (in quote asset) MakerFeeRate string `protobuf:"bytes,12,opt,name=maker_fee_rate,json=makerFeeRate,proto3" json:"maker_fee_rate,omitempty"` // Defines the fee percentage takers pay when trading (in quote asset) TakerFeeRate string `protobuf:"bytes,13,opt,name=taker_fee_rate,json=takerFeeRate,proto3" json:"taker_fee_rate,omitempty"` // Percentage of the transaction fee shared with the service provider ServiceProviderFee string `protobuf:"bytes,14,opt,name=service_provider_fee,json=serviceProviderFee,proto3" json:"service_provider_fee,omitempty"` // True if the market is a perpetual swap market IsPerpetual bool `protobuf:"varint,15,opt,name=is_perpetual,json=isPerpetual,proto3" json:"is_perpetual,omitempty"` // Defines the minimum required tick size for the order's price MinPriceTickSize string `protobuf:"bytes,16,opt,name=min_price_tick_size,json=minPriceTickSize,proto3" json:"min_price_tick_size,omitempty"` // Defines the minimum required tick size for the order's quantity MinQuantityTickSize string `protobuf:"bytes,17,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3" json:"min_quantity_tick_size,omitempty"` PerpetualMarketInfo *PerpetualMarketInfo `protobuf:"bytes,18,opt,name=perpetual_market_info,json=perpetualMarketInfo,proto3" json:"perpetual_market_info,omitempty"` PerpetualMarketFunding *PerpetualMarketFunding `` /* 130-byte string literal not displayed */ ExpiryFuturesMarketInfo *ExpiryFuturesMarketInfo `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DerivativeMarketInfo) Descriptor
deprecated
func (*DerivativeMarketInfo) Descriptor() ([]byte, []int)
Deprecated: Use DerivativeMarketInfo.ProtoReflect.Descriptor instead.
func (*DerivativeMarketInfo) GetExpiryFuturesMarketInfo ¶ added in v1.23.6
func (x *DerivativeMarketInfo) GetExpiryFuturesMarketInfo() *ExpiryFuturesMarketInfo
func (*DerivativeMarketInfo) GetInitialMarginRatio ¶
func (x *DerivativeMarketInfo) GetInitialMarginRatio() string
func (*DerivativeMarketInfo) GetIsPerpetual ¶
func (x *DerivativeMarketInfo) GetIsPerpetual() bool
func (*DerivativeMarketInfo) GetMaintenanceMarginRatio ¶
func (x *DerivativeMarketInfo) GetMaintenanceMarginRatio() string
func (*DerivativeMarketInfo) GetMakerFeeRate ¶
func (x *DerivativeMarketInfo) GetMakerFeeRate() string
func (*DerivativeMarketInfo) GetMarketId ¶
func (x *DerivativeMarketInfo) GetMarketId() string
func (*DerivativeMarketInfo) GetMarketStatus ¶
func (x *DerivativeMarketInfo) GetMarketStatus() string
func (*DerivativeMarketInfo) GetMinPriceTickSize ¶
func (x *DerivativeMarketInfo) GetMinPriceTickSize() string
func (*DerivativeMarketInfo) GetMinQuantityTickSize ¶
func (x *DerivativeMarketInfo) GetMinQuantityTickSize() string
func (*DerivativeMarketInfo) GetOracleBase ¶
func (x *DerivativeMarketInfo) GetOracleBase() string
func (*DerivativeMarketInfo) GetOracleQuote ¶
func (x *DerivativeMarketInfo) GetOracleQuote() string
func (*DerivativeMarketInfo) GetOracleScaleFactor ¶
func (x *DerivativeMarketInfo) GetOracleScaleFactor() uint32
func (*DerivativeMarketInfo) GetOracleType ¶
func (x *DerivativeMarketInfo) GetOracleType() string
func (*DerivativeMarketInfo) GetPerpetualMarketFunding ¶ added in v1.23.6
func (x *DerivativeMarketInfo) GetPerpetualMarketFunding() *PerpetualMarketFunding
func (*DerivativeMarketInfo) GetPerpetualMarketInfo ¶ added in v1.23.6
func (x *DerivativeMarketInfo) GetPerpetualMarketInfo() *PerpetualMarketInfo
func (*DerivativeMarketInfo) GetQuoteDenom ¶
func (x *DerivativeMarketInfo) GetQuoteDenom() string
func (*DerivativeMarketInfo) GetQuoteTokenMeta ¶
func (x *DerivativeMarketInfo) GetQuoteTokenMeta() *TokenMeta
func (*DerivativeMarketInfo) GetServiceProviderFee ¶
func (x *DerivativeMarketInfo) GetServiceProviderFee() string
func (*DerivativeMarketInfo) GetTakerFeeRate ¶
func (x *DerivativeMarketInfo) GetTakerFeeRate() string
func (*DerivativeMarketInfo) GetTicker ¶
func (x *DerivativeMarketInfo) GetTicker() string
func (*DerivativeMarketInfo) ProtoMessage ¶
func (*DerivativeMarketInfo) ProtoMessage()
func (*DerivativeMarketInfo) ProtoReflect ¶
func (x *DerivativeMarketInfo) ProtoReflect() protoreflect.Message
func (*DerivativeMarketInfo) Reset ¶
func (x *DerivativeMarketInfo) Reset()
func (*DerivativeMarketInfo) String ¶
func (x *DerivativeMarketInfo) String() string
type DerivativeOrderHistory ¶ added in v1.43.4
type DerivativeOrderHistory struct { // Hash of the order OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` // Spot Market ID is keccak265(baseDenom + quoteDenom) MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // active state of the order IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // The subaccountId that this order belongs to SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // The execution type ExecutionType string `protobuf:"bytes,5,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"` // The side of the order OrderType string `protobuf:"bytes,6,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` // Price of the order Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"` // Trigger price TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` // Quantity of the order Quantity string `protobuf:"bytes,9,opt,name=quantity,proto3" json:"quantity,omitempty"` // Filled amount FilledQuantity string `protobuf:"bytes,10,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` // Order state State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` // Order committed timestamp in UNIX millis. CreatedAt int64 `protobuf:"zigzag64,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Order updated timestamp in UNIX millis. UpdatedAt int64 `protobuf:"zigzag64,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // True if an order is reduce only IsReduceOnly bool `protobuf:"varint,14,opt,name=is_reduce_only,json=isReduceOnly,proto3" json:"is_reduce_only,omitempty"` // Order direction (order side) Direction string `protobuf:"bytes,15,opt,name=direction,proto3" json:"direction,omitempty"` // True if this is conditional order, otherwise false IsConditional bool `protobuf:"varint,16,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` // Trigger timestamp in unix milli TriggerAt uint64 `protobuf:"varint,17,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"` // Order hash placed when this triggers PlacedOrderHash string `protobuf:"bytes,18,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"` // Order's margin Margin string `protobuf:"bytes,19,opt,name=margin,proto3" json:"margin,omitempty"` // Transaction Hash where order is created. Not all orders have this field TxHash string `protobuf:"bytes,20,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Custom client order ID Cid string `protobuf:"bytes,21,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*DerivativeOrderHistory) Descriptor
deprecated
added in
v1.43.4
func (*DerivativeOrderHistory) Descriptor() ([]byte, []int)
Deprecated: Use DerivativeOrderHistory.ProtoReflect.Descriptor instead.
func (*DerivativeOrderHistory) GetCid ¶ added in v1.49.0
func (x *DerivativeOrderHistory) GetCid() string
func (*DerivativeOrderHistory) GetCreatedAt ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetCreatedAt() int64
func (*DerivativeOrderHistory) GetDirection ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetDirection() string
func (*DerivativeOrderHistory) GetExecutionType ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetExecutionType() string
func (*DerivativeOrderHistory) GetFilledQuantity ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetFilledQuantity() string
func (*DerivativeOrderHistory) GetIsActive ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetIsActive() bool
func (*DerivativeOrderHistory) GetIsConditional ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetIsConditional() bool
func (*DerivativeOrderHistory) GetIsReduceOnly ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetIsReduceOnly() bool
func (*DerivativeOrderHistory) GetMargin ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetMargin() string
func (*DerivativeOrderHistory) GetMarketId ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetMarketId() string
func (*DerivativeOrderHistory) GetOrderHash ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetOrderHash() string
func (*DerivativeOrderHistory) GetOrderType ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetOrderType() string
func (*DerivativeOrderHistory) GetPlacedOrderHash ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetPlacedOrderHash() string
func (*DerivativeOrderHistory) GetPrice ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetPrice() string
func (*DerivativeOrderHistory) GetQuantity ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetQuantity() string
func (*DerivativeOrderHistory) GetState ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetState() string
func (*DerivativeOrderHistory) GetSubaccountId ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetSubaccountId() string
func (*DerivativeOrderHistory) GetTriggerAt ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetTriggerAt() uint64
func (*DerivativeOrderHistory) GetTriggerPrice ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetTriggerPrice() string
func (*DerivativeOrderHistory) GetTxHash ¶ added in v1.47.16
func (x *DerivativeOrderHistory) GetTxHash() string
func (*DerivativeOrderHistory) GetUpdatedAt ¶ added in v1.43.4
func (x *DerivativeOrderHistory) GetUpdatedAt() int64
func (*DerivativeOrderHistory) ProtoMessage ¶ added in v1.43.4
func (*DerivativeOrderHistory) ProtoMessage()
func (*DerivativeOrderHistory) ProtoReflect ¶ added in v1.43.4
func (x *DerivativeOrderHistory) ProtoReflect() protoreflect.Message
func (*DerivativeOrderHistory) Reset ¶ added in v1.43.4
func (x *DerivativeOrderHistory) Reset()
func (*DerivativeOrderHistory) String ¶ added in v1.43.4
func (x *DerivativeOrderHistory) String() string
type DerivativePosition ¶
type DerivativePosition struct { // Ticker of the derivative market Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"` // Derivative Market ID MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The subaccountId that the position belongs to SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Direction of the position Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` // Quantity of the position Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"` // Price of the position EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"` // Margin of the position Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"` // LiquidationPrice of the position LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"` // MarkPrice of the position MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"` // Aggregate Quantity of the Reduce Only orders associated with the position AggregateReduceOnlyQuantity string `` /* 147-byte string literal not displayed */ // Position updated timestamp in UNIX millis. UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Position created timestamp in UNIX millis. CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*DerivativePosition) Descriptor
deprecated
func (*DerivativePosition) Descriptor() ([]byte, []int)
Deprecated: Use DerivativePosition.ProtoReflect.Descriptor instead.
func (*DerivativePosition) GetAggregateReduceOnlyQuantity ¶ added in v1.23.6
func (x *DerivativePosition) GetAggregateReduceOnlyQuantity() string
func (*DerivativePosition) GetCreatedAt ¶ added in v1.43.4
func (x *DerivativePosition) GetCreatedAt() int64
func (*DerivativePosition) GetDirection ¶
func (x *DerivativePosition) GetDirection() string
func (*DerivativePosition) GetEntryPrice ¶
func (x *DerivativePosition) GetEntryPrice() string
func (*DerivativePosition) GetLiquidationPrice ¶
func (x *DerivativePosition) GetLiquidationPrice() string
func (*DerivativePosition) GetMargin ¶
func (x *DerivativePosition) GetMargin() string
func (*DerivativePosition) GetMarkPrice ¶
func (x *DerivativePosition) GetMarkPrice() string
func (*DerivativePosition) GetMarketId ¶
func (x *DerivativePosition) GetMarketId() string
func (*DerivativePosition) GetQuantity ¶
func (x *DerivativePosition) GetQuantity() string
func (*DerivativePosition) GetSubaccountId ¶
func (x *DerivativePosition) GetSubaccountId() string
func (*DerivativePosition) GetTicker ¶
func (x *DerivativePosition) GetTicker() string
func (*DerivativePosition) GetUpdatedAt ¶ added in v1.43.4
func (x *DerivativePosition) GetUpdatedAt() int64
func (*DerivativePosition) ProtoMessage ¶
func (*DerivativePosition) ProtoMessage()
func (*DerivativePosition) ProtoReflect ¶
func (x *DerivativePosition) ProtoReflect() protoreflect.Message
func (*DerivativePosition) Reset ¶
func (x *DerivativePosition) Reset()
func (*DerivativePosition) String ¶
func (x *DerivativePosition) String() string
type DerivativePositionV2 ¶ added in v1.49.0
type DerivativePositionV2 struct { // Ticker of the derivative market Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"` // Derivative Market ID MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The subaccountId that the position belongs to SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Direction of the position Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` // Quantity of the position Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"` // Price of the position EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"` // Margin of the position Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"` // LiquidationPrice of the position LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"` // MarkPrice of the position MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"` // Position updated timestamp in UNIX millis. UpdatedAt int64 `protobuf:"zigzag64,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*DerivativePositionV2) Descriptor
deprecated
added in
v1.49.0
func (*DerivativePositionV2) Descriptor() ([]byte, []int)
Deprecated: Use DerivativePositionV2.ProtoReflect.Descriptor instead.
func (*DerivativePositionV2) GetDirection ¶ added in v1.49.0
func (x *DerivativePositionV2) GetDirection() string
func (*DerivativePositionV2) GetEntryPrice ¶ added in v1.49.0
func (x *DerivativePositionV2) GetEntryPrice() string
func (*DerivativePositionV2) GetLiquidationPrice ¶ added in v1.49.0
func (x *DerivativePositionV2) GetLiquidationPrice() string
func (*DerivativePositionV2) GetMargin ¶ added in v1.49.0
func (x *DerivativePositionV2) GetMargin() string
func (*DerivativePositionV2) GetMarkPrice ¶ added in v1.49.0
func (x *DerivativePositionV2) GetMarkPrice() string
func (*DerivativePositionV2) GetMarketId ¶ added in v1.49.0
func (x *DerivativePositionV2) GetMarketId() string
func (*DerivativePositionV2) GetQuantity ¶ added in v1.49.0
func (x *DerivativePositionV2) GetQuantity() string
func (*DerivativePositionV2) GetSubaccountId ¶ added in v1.49.0
func (x *DerivativePositionV2) GetSubaccountId() string
func (*DerivativePositionV2) GetTicker ¶ added in v1.49.0
func (x *DerivativePositionV2) GetTicker() string
func (*DerivativePositionV2) GetUpdatedAt ¶ added in v1.49.0
func (x *DerivativePositionV2) GetUpdatedAt() int64
func (*DerivativePositionV2) ProtoMessage ¶ added in v1.49.0
func (*DerivativePositionV2) ProtoMessage()
func (*DerivativePositionV2) ProtoReflect ¶ added in v1.49.0
func (x *DerivativePositionV2) ProtoReflect() protoreflect.Message
func (*DerivativePositionV2) Reset ¶ added in v1.49.0
func (x *DerivativePositionV2) Reset()
func (*DerivativePositionV2) String ¶ added in v1.49.0
func (x *DerivativePositionV2) String() string
type DerivativeTrade ¶
type DerivativeTrade struct { // Order hash. OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` // The subaccountId that executed the trade SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // The ID of the market that this trade is in MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The execution type of the trade TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"` // True if the trade is a liquidation IsLiquidation bool `protobuf:"varint,5,opt,name=is_liquidation,json=isLiquidation,proto3" json:"is_liquidation,omitempty"` // Position Delta from the trade PositionDelta *PositionDelta `protobuf:"bytes,6,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"` // The payout associated with the trade Payout string `protobuf:"bytes,7,opt,name=payout,proto3" json:"payout,omitempty"` // The fee associated with the trade Fee string `protobuf:"bytes,8,opt,name=fee,proto3" json:"fee,omitempty"` // Timestamp of trade execution in UNIX millis ExecutedAt int64 `protobuf:"zigzag64,9,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // Fee recipient address FeeRecipient string `protobuf:"bytes,10,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"` // A unique string that helps differentiate between trades TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Trade's execution side, marker/taker ExecutionSide string `protobuf:"bytes,12,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` // Custom client order ID Cid string `protobuf:"bytes,13,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*DerivativeTrade) Descriptor
deprecated
func (*DerivativeTrade) Descriptor() ([]byte, []int)
Deprecated: Use DerivativeTrade.ProtoReflect.Descriptor instead.
func (*DerivativeTrade) GetCid ¶ added in v1.49.0
func (x *DerivativeTrade) GetCid() string
func (*DerivativeTrade) GetExecutedAt ¶
func (x *DerivativeTrade) GetExecutedAt() int64
func (*DerivativeTrade) GetExecutionSide ¶ added in v1.43.4
func (x *DerivativeTrade) GetExecutionSide() string
func (*DerivativeTrade) GetFee ¶
func (x *DerivativeTrade) GetFee() string
func (*DerivativeTrade) GetFeeRecipient ¶ added in v1.32.0
func (x *DerivativeTrade) GetFeeRecipient() string
func (*DerivativeTrade) GetIsLiquidation ¶
func (x *DerivativeTrade) GetIsLiquidation() bool
func (*DerivativeTrade) GetMarketId ¶
func (x *DerivativeTrade) GetMarketId() string
func (*DerivativeTrade) GetOrderHash ¶
func (x *DerivativeTrade) GetOrderHash() string
func (*DerivativeTrade) GetPayout ¶
func (x *DerivativeTrade) GetPayout() string
func (*DerivativeTrade) GetPositionDelta ¶
func (x *DerivativeTrade) GetPositionDelta() *PositionDelta
func (*DerivativeTrade) GetSubaccountId ¶
func (x *DerivativeTrade) GetSubaccountId() string
func (*DerivativeTrade) GetTradeExecutionType ¶
func (x *DerivativeTrade) GetTradeExecutionType() string
func (*DerivativeTrade) GetTradeId ¶ added in v1.43.4
func (x *DerivativeTrade) GetTradeId() string
func (*DerivativeTrade) ProtoMessage ¶
func (*DerivativeTrade) ProtoMessage()
func (*DerivativeTrade) ProtoReflect ¶
func (x *DerivativeTrade) ProtoReflect() protoreflect.Message
func (*DerivativeTrade) Reset ¶
func (x *DerivativeTrade) Reset()
func (*DerivativeTrade) String ¶
func (x *DerivativeTrade) String() string
type ExpiryFuturesMarketInfo ¶ added in v1.23.6
type ExpiryFuturesMarketInfo struct { // Defines the expiration time for a time expiry futures market in UNIX seconds. ExpirationTimestamp int64 `protobuf:"zigzag64,1,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"` // Defines the settlement price for a time expiry futures market. SettlementPrice string `protobuf:"bytes,2,opt,name=settlement_price,json=settlementPrice,proto3" json:"settlement_price,omitempty"` // contains filtered or unexported fields }
func (*ExpiryFuturesMarketInfo) Descriptor
deprecated
added in
v1.23.6
func (*ExpiryFuturesMarketInfo) Descriptor() ([]byte, []int)
Deprecated: Use ExpiryFuturesMarketInfo.ProtoReflect.Descriptor instead.
func (*ExpiryFuturesMarketInfo) GetExpirationTimestamp ¶ added in v1.23.6
func (x *ExpiryFuturesMarketInfo) GetExpirationTimestamp() int64
func (*ExpiryFuturesMarketInfo) GetSettlementPrice ¶ added in v1.23.6
func (x *ExpiryFuturesMarketInfo) GetSettlementPrice() string
func (*ExpiryFuturesMarketInfo) ProtoMessage ¶ added in v1.23.6
func (*ExpiryFuturesMarketInfo) ProtoMessage()
func (*ExpiryFuturesMarketInfo) ProtoReflect ¶ added in v1.23.6
func (x *ExpiryFuturesMarketInfo) ProtoReflect() protoreflect.Message
func (*ExpiryFuturesMarketInfo) Reset ¶ added in v1.23.6
func (x *ExpiryFuturesMarketInfo) Reset()
func (*ExpiryFuturesMarketInfo) String ¶ added in v1.23.6
func (x *ExpiryFuturesMarketInfo) String() string
type FundingPayment ¶ added in v1.27.5
type FundingPayment struct { // Derivative Market ID MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The subaccountId that the position belongs to SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Amount of the funding payment Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // Timestamp of funding payment in UNIX millis Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*FundingPayment) Descriptor
deprecated
added in
v1.27.5
func (*FundingPayment) Descriptor() ([]byte, []int)
Deprecated: Use FundingPayment.ProtoReflect.Descriptor instead.
func (*FundingPayment) GetAmount ¶ added in v1.27.5
func (x *FundingPayment) GetAmount() string
func (*FundingPayment) GetMarketId ¶ added in v1.27.5
func (x *FundingPayment) GetMarketId() string
func (*FundingPayment) GetSubaccountId ¶ added in v1.27.5
func (x *FundingPayment) GetSubaccountId() string
func (*FundingPayment) GetTimestamp ¶ added in v1.27.5
func (x *FundingPayment) GetTimestamp() int64
func (*FundingPayment) ProtoMessage ¶ added in v1.27.5
func (*FundingPayment) ProtoMessage()
func (*FundingPayment) ProtoReflect ¶ added in v1.27.5
func (x *FundingPayment) ProtoReflect() protoreflect.Message
func (*FundingPayment) Reset ¶ added in v1.27.5
func (x *FundingPayment) Reset()
func (*FundingPayment) String ¶ added in v1.27.5
func (x *FundingPayment) String() string
type FundingPaymentsRequest ¶ added in v1.27.5
type FundingPaymentsRequest struct { // SubaccountId of the trader we want to get the positions from SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // MarketIds of the funding payment we want to fetch. Using this for only one // market id. This field is prioritized MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"` // Upper bound of funding payment updatedAt EndTime int64 `protobuf:"zigzag64,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Filter by market ids. Using this field for fetching funding payments from // multiple market ids MarketIds []string `protobuf:"bytes,6,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // contains filtered or unexported fields }
func (*FundingPaymentsRequest) Descriptor
deprecated
added in
v1.27.5
func (*FundingPaymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FundingPaymentsRequest.ProtoReflect.Descriptor instead.
func (*FundingPaymentsRequest) GetEndTime ¶ added in v1.43.4
func (x *FundingPaymentsRequest) GetEndTime() int64
func (*FundingPaymentsRequest) GetLimit ¶ added in v1.32.0
func (x *FundingPaymentsRequest) GetLimit() int32
func (*FundingPaymentsRequest) GetMarketId ¶ added in v1.27.5
func (x *FundingPaymentsRequest) GetMarketId() string
func (*FundingPaymentsRequest) GetMarketIds ¶ added in v1.43.4
func (x *FundingPaymentsRequest) GetMarketIds() []string
func (*FundingPaymentsRequest) GetSkip ¶ added in v1.32.0
func (x *FundingPaymentsRequest) GetSkip() uint64
func (*FundingPaymentsRequest) GetSubaccountId ¶ added in v1.27.5
func (x *FundingPaymentsRequest) GetSubaccountId() string
func (*FundingPaymentsRequest) ProtoMessage ¶ added in v1.27.5
func (*FundingPaymentsRequest) ProtoMessage()
func (*FundingPaymentsRequest) ProtoReflect ¶ added in v1.27.5
func (x *FundingPaymentsRequest) ProtoReflect() protoreflect.Message
func (*FundingPaymentsRequest) Reset ¶ added in v1.27.5
func (x *FundingPaymentsRequest) Reset()
func (*FundingPaymentsRequest) String ¶ added in v1.27.5
func (x *FundingPaymentsRequest) String() string
type FundingPaymentsResponse ¶ added in v1.27.5
type FundingPaymentsResponse struct { // List of funding payments Payments []*FundingPayment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*FundingPaymentsResponse) Descriptor
deprecated
added in
v1.27.5
func (*FundingPaymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FundingPaymentsResponse.ProtoReflect.Descriptor instead.
func (*FundingPaymentsResponse) GetPaging ¶ added in v1.43.4
func (x *FundingPaymentsResponse) GetPaging() *Paging
func (*FundingPaymentsResponse) GetPayments ¶ added in v1.27.5
func (x *FundingPaymentsResponse) GetPayments() []*FundingPayment
func (*FundingPaymentsResponse) ProtoMessage ¶ added in v1.27.5
func (*FundingPaymentsResponse) ProtoMessage()
func (*FundingPaymentsResponse) ProtoReflect ¶ added in v1.27.5
func (x *FundingPaymentsResponse) ProtoReflect() protoreflect.Message
func (*FundingPaymentsResponse) Reset ¶ added in v1.27.5
func (x *FundingPaymentsResponse) Reset()
func (*FundingPaymentsResponse) String ¶ added in v1.27.5
func (x *FundingPaymentsResponse) String() string
type FundingRate ¶ added in v1.32.0
type FundingRate struct { // Derivative Market ID MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Value of the funding rate Rate string `protobuf:"bytes,2,opt,name=rate,proto3" json:"rate,omitempty"` // Timestamp of funding rate in UNIX millis Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*FundingRate) Descriptor
deprecated
added in
v1.32.0
func (*FundingRate) Descriptor() ([]byte, []int)
Deprecated: Use FundingRate.ProtoReflect.Descriptor instead.
func (*FundingRate) GetMarketId ¶ added in v1.32.0
func (x *FundingRate) GetMarketId() string
func (*FundingRate) GetRate ¶ added in v1.32.0
func (x *FundingRate) GetRate() string
func (*FundingRate) GetTimestamp ¶ added in v1.32.0
func (x *FundingRate) GetTimestamp() int64
func (*FundingRate) ProtoMessage ¶ added in v1.32.0
func (*FundingRate) ProtoMessage()
func (*FundingRate) ProtoReflect ¶ added in v1.32.0
func (x *FundingRate) ProtoReflect() protoreflect.Message
func (*FundingRate) Reset ¶ added in v1.32.0
func (x *FundingRate) Reset()
func (*FundingRate) String ¶ added in v1.32.0
func (x *FundingRate) String() string
type FundingRatesRequest ¶ added in v1.32.0
type FundingRatesRequest struct { // MarketId of the position we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"` // Upper bound of funding timestamp EndTime int64 `protobuf:"zigzag64,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*FundingRatesRequest) Descriptor
deprecated
added in
v1.32.0
func (*FundingRatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FundingRatesRequest.ProtoReflect.Descriptor instead.
func (*FundingRatesRequest) GetEndTime ¶ added in v1.43.4
func (x *FundingRatesRequest) GetEndTime() int64
func (*FundingRatesRequest) GetLimit ¶ added in v1.32.0
func (x *FundingRatesRequest) GetLimit() int32
func (*FundingRatesRequest) GetMarketId ¶ added in v1.32.0
func (x *FundingRatesRequest) GetMarketId() string
func (*FundingRatesRequest) GetSkip ¶ added in v1.32.0
func (x *FundingRatesRequest) GetSkip() uint64
func (*FundingRatesRequest) ProtoMessage ¶ added in v1.32.0
func (*FundingRatesRequest) ProtoMessage()
func (*FundingRatesRequest) ProtoReflect ¶ added in v1.32.0
func (x *FundingRatesRequest) ProtoReflect() protoreflect.Message
func (*FundingRatesRequest) Reset ¶ added in v1.32.0
func (x *FundingRatesRequest) Reset()
func (*FundingRatesRequest) String ¶ added in v1.32.0
func (x *FundingRatesRequest) String() string
type FundingRatesResponse ¶ added in v1.32.0
type FundingRatesResponse struct { // List of funding rates FundingRates []*FundingRate `protobuf:"bytes,1,rep,name=funding_rates,json=fundingRates,proto3" json:"funding_rates,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*FundingRatesResponse) Descriptor
deprecated
added in
v1.32.0
func (*FundingRatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FundingRatesResponse.ProtoReflect.Descriptor instead.
func (*FundingRatesResponse) GetFundingRates ¶ added in v1.32.0
func (x *FundingRatesResponse) GetFundingRates() []*FundingRate
func (*FundingRatesResponse) GetPaging ¶ added in v1.43.4
func (x *FundingRatesResponse) GetPaging() *Paging
func (*FundingRatesResponse) ProtoMessage ¶ added in v1.32.0
func (*FundingRatesResponse) ProtoMessage()
func (*FundingRatesResponse) ProtoReflect ¶ added in v1.32.0
func (x *FundingRatesResponse) ProtoReflect() protoreflect.Message
func (*FundingRatesResponse) Reset ¶ added in v1.32.0
func (x *FundingRatesResponse) Reset()
func (*FundingRatesResponse) String ¶ added in v1.32.0
func (x *FundingRatesResponse) String() string
type InjectiveDerivativeExchangeRPCClient ¶
type InjectiveDerivativeExchangeRPCClient interface { // Markets gets a list of Derivative Markets Markets(ctx context.Context, in *MarketsRequest, opts ...grpc.CallOption) (*MarketsResponse, error) // Market gets details of a single derivative market Market(ctx context.Context, in *MarketRequest, opts ...grpc.CallOption) (*MarketResponse, error) // StreamMarket streams live updates of selected derivative markets StreamMarket(ctx context.Context, in *StreamMarketRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamMarketClient, error) // BinaryOptionsMarkets gets a list of Binary Options Markets BinaryOptionsMarkets(ctx context.Context, in *BinaryOptionsMarketsRequest, opts ...grpc.CallOption) (*BinaryOptionsMarketsResponse, error) // BinaryOptionMarket gets details of a single binary options market BinaryOptionsMarket(ctx context.Context, in *BinaryOptionsMarketRequest, opts ...grpc.CallOption) (*BinaryOptionsMarketResponse, error) // Orderbook gets the Orderbook of a Derivative Market OrderbookV2(ctx context.Context, in *OrderbookV2Request, opts ...grpc.CallOption) (*OrderbookV2Response, error) // Orderbooks gets the Orderbooks of requested derivative markets OrderbooksV2(ctx context.Context, in *OrderbooksV2Request, opts ...grpc.CallOption) (*OrderbooksV2Response, error) // Stream live snapshot updates of selected derivative market orderbook StreamOrderbookV2(ctx context.Context, in *StreamOrderbookV2Request, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, error) // Stream live level updates of selected derivative market orderbook StreamOrderbookUpdate(ctx context.Context, in *StreamOrderbookUpdateRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient, error) // DerivativeLimitOrders gets the limit orders of a derivative Market. Orders(ctx context.Context, in *OrdersRequest, opts ...grpc.CallOption) (*OrdersResponse, error) // Positions gets the positions for a trader. Positions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error) // Positions gets the positions for a trader. V2 removed some redundant fields // and had performance improvements PositionsV2(ctx context.Context, in *PositionsV2Request, opts ...grpc.CallOption) (*PositionsV2Response, error) // LiquidablePositions gets all the liquidable positions. LiquidablePositions(ctx context.Context, in *LiquidablePositionsRequest, opts ...grpc.CallOption) (*LiquidablePositionsResponse, error) // FundingPayments gets the funding payments for a trader. FundingPayments(ctx context.Context, in *FundingPaymentsRequest, opts ...grpc.CallOption) (*FundingPaymentsResponse, error) // FundingRates gets the historical funding rates for a market. FundingRates(ctx context.Context, in *FundingRatesRequest, opts ...grpc.CallOption) (*FundingRatesResponse, error) // StreamPositions streams derivatives position updates. StreamPositions(ctx context.Context, in *StreamPositionsRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamPositionsClient, error) // StreamOrders streams updates to individual orders of a Derivative Market. StreamOrders(ctx context.Context, in *StreamOrdersRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrdersClient, error) // Trades gets the trades of a Derivative Market. Trades(ctx context.Context, in *TradesRequest, opts ...grpc.CallOption) (*TradesResponse, error) // Trades gets the trades of a Derivative Market. TradesV2(ctx context.Context, in *TradesV2Request, opts ...grpc.CallOption) (*TradesV2Response, error) // StreamTrades streams newly executed trades from Derivative Market. StreamTrades(ctx context.Context, in *StreamTradesRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamTradesClient, error) // StreamTrades streams newly executed trades from Derivative Market. StreamTradesV2(ctx context.Context, in *StreamTradesV2Request, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamTradesV2Client, error) // SubaccountOrdersList lists orders posted from this subaccount. SubaccountOrdersList(ctx context.Context, in *SubaccountOrdersListRequest, opts ...grpc.CallOption) (*SubaccountOrdersListResponse, error) // SubaccountTradesList gets a list of derivatives trades executed by this // subaccount. SubaccountTradesList(ctx context.Context, in *SubaccountTradesListRequest, opts ...grpc.CallOption) (*SubaccountTradesListResponse, error) // Lists history orders posted from a subaccount OrdersHistory(ctx context.Context, in *OrdersHistoryRequest, opts ...grpc.CallOption) (*OrdersHistoryResponse, error) // Stream updates to historical orders of a derivative Market StreamOrdersHistory(ctx context.Context, in *StreamOrdersHistoryRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient, error) }
InjectiveDerivativeExchangeRPCClient is the client API for InjectiveDerivativeExchangeRPC service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInjectiveDerivativeExchangeRPCClient ¶
func NewInjectiveDerivativeExchangeRPCClient(cc grpc.ClientConnInterface) InjectiveDerivativeExchangeRPCClient
type InjectiveDerivativeExchangeRPCServer ¶
type InjectiveDerivativeExchangeRPCServer interface { // Markets gets a list of Derivative Markets Markets(context.Context, *MarketsRequest) (*MarketsResponse, error) // Market gets details of a single derivative market Market(context.Context, *MarketRequest) (*MarketResponse, error) // StreamMarket streams live updates of selected derivative markets StreamMarket(*StreamMarketRequest, InjectiveDerivativeExchangeRPC_StreamMarketServer) error // BinaryOptionsMarkets gets a list of Binary Options Markets BinaryOptionsMarkets(context.Context, *BinaryOptionsMarketsRequest) (*BinaryOptionsMarketsResponse, error) // BinaryOptionMarket gets details of a single binary options market BinaryOptionsMarket(context.Context, *BinaryOptionsMarketRequest) (*BinaryOptionsMarketResponse, error) // Orderbook gets the Orderbook of a Derivative Market OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error) // Orderbooks gets the Orderbooks of requested derivative markets OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error) // Stream live snapshot updates of selected derivative market orderbook StreamOrderbookV2(*StreamOrderbookV2Request, InjectiveDerivativeExchangeRPC_StreamOrderbookV2Server) error // Stream live level updates of selected derivative market orderbook StreamOrderbookUpdate(*StreamOrderbookUpdateRequest, InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateServer) error // DerivativeLimitOrders gets the limit orders of a derivative Market. Orders(context.Context, *OrdersRequest) (*OrdersResponse, error) // Positions gets the positions for a trader. Positions(context.Context, *PositionsRequest) (*PositionsResponse, error) // Positions gets the positions for a trader. V2 removed some redundant fields // and had performance improvements PositionsV2(context.Context, *PositionsV2Request) (*PositionsV2Response, error) // LiquidablePositions gets all the liquidable positions. LiquidablePositions(context.Context, *LiquidablePositionsRequest) (*LiquidablePositionsResponse, error) // FundingPayments gets the funding payments for a trader. FundingPayments(context.Context, *FundingPaymentsRequest) (*FundingPaymentsResponse, error) // FundingRates gets the historical funding rates for a market. FundingRates(context.Context, *FundingRatesRequest) (*FundingRatesResponse, error) // StreamPositions streams derivatives position updates. StreamPositions(*StreamPositionsRequest, InjectiveDerivativeExchangeRPC_StreamPositionsServer) error // StreamOrders streams updates to individual orders of a Derivative Market. StreamOrders(*StreamOrdersRequest, InjectiveDerivativeExchangeRPC_StreamOrdersServer) error // Trades gets the trades of a Derivative Market. Trades(context.Context, *TradesRequest) (*TradesResponse, error) // Trades gets the trades of a Derivative Market. TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error) // StreamTrades streams newly executed trades from Derivative Market. StreamTrades(*StreamTradesRequest, InjectiveDerivativeExchangeRPC_StreamTradesServer) error // StreamTrades streams newly executed trades from Derivative Market. StreamTradesV2(*StreamTradesV2Request, InjectiveDerivativeExchangeRPC_StreamTradesV2Server) error // SubaccountOrdersList lists orders posted from this subaccount. SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error) // SubaccountTradesList gets a list of derivatives trades executed by this // subaccount. SubaccountTradesList(context.Context, *SubaccountTradesListRequest) (*SubaccountTradesListResponse, error) // Lists history orders posted from a subaccount OrdersHistory(context.Context, *OrdersHistoryRequest) (*OrdersHistoryResponse, error) // Stream updates to historical orders of a derivative Market StreamOrdersHistory(*StreamOrdersHistoryRequest, InjectiveDerivativeExchangeRPC_StreamOrdersHistoryServer) error // contains filtered or unexported methods }
InjectiveDerivativeExchangeRPCServer is the server API for InjectiveDerivativeExchangeRPC service. All implementations must embed UnimplementedInjectiveDerivativeExchangeRPCServer for forward compatibility
type InjectiveDerivativeExchangeRPC_StreamMarketClient ¶
type InjectiveDerivativeExchangeRPC_StreamMarketClient interface { Recv() (*StreamMarketResponse, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamMarketServer ¶
type InjectiveDerivativeExchangeRPC_StreamMarketServer interface { Send(*StreamMarketResponse) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient ¶ added in v1.43.4
type InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient interface { Recv() (*StreamOrderbookUpdateResponse, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateServer ¶ added in v1.43.4
type InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateServer interface { Send(*StreamOrderbookUpdateResponse) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client ¶ added in v1.44.0
type InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client interface { Recv() (*StreamOrderbookV2Response, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamOrderbookV2Server ¶ added in v1.44.0
type InjectiveDerivativeExchangeRPC_StreamOrderbookV2Server interface { Send(*StreamOrderbookV2Response) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamOrdersClient ¶
type InjectiveDerivativeExchangeRPC_StreamOrdersClient interface { Recv() (*StreamOrdersResponse, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient ¶ added in v1.43.4
type InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient interface { Recv() (*StreamOrdersHistoryResponse, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamOrdersHistoryServer ¶ added in v1.43.4
type InjectiveDerivativeExchangeRPC_StreamOrdersHistoryServer interface { Send(*StreamOrdersHistoryResponse) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamOrdersServer ¶
type InjectiveDerivativeExchangeRPC_StreamOrdersServer interface { Send(*StreamOrdersResponse) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamPositionsClient ¶
type InjectiveDerivativeExchangeRPC_StreamPositionsClient interface { Recv() (*StreamPositionsResponse, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamPositionsServer ¶
type InjectiveDerivativeExchangeRPC_StreamPositionsServer interface { Send(*StreamPositionsResponse) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamTradesClient ¶
type InjectiveDerivativeExchangeRPC_StreamTradesClient interface { Recv() (*StreamTradesResponse, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamTradesServer ¶
type InjectiveDerivativeExchangeRPC_StreamTradesServer interface { Send(*StreamTradesResponse) error grpc.ServerStream }
type InjectiveDerivativeExchangeRPC_StreamTradesV2Client ¶ added in v1.49.0
type InjectiveDerivativeExchangeRPC_StreamTradesV2Client interface { Recv() (*StreamTradesV2Response, error) grpc.ClientStream }
type InjectiveDerivativeExchangeRPC_StreamTradesV2Server ¶ added in v1.49.0
type InjectiveDerivativeExchangeRPC_StreamTradesV2Server interface { Send(*StreamTradesV2Response) error grpc.ServerStream }
type LiquidablePositionsRequest ¶
type LiquidablePositionsRequest struct { // Market ID to filter orders for specific market MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*LiquidablePositionsRequest) Descriptor
deprecated
func (*LiquidablePositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LiquidablePositionsRequest.ProtoReflect.Descriptor instead.
func (*LiquidablePositionsRequest) GetLimit ¶ added in v1.38.3
func (x *LiquidablePositionsRequest) GetLimit() int32
func (*LiquidablePositionsRequest) GetMarketId ¶
func (x *LiquidablePositionsRequest) GetMarketId() string
func (*LiquidablePositionsRequest) GetSkip ¶ added in v1.38.3
func (x *LiquidablePositionsRequest) GetSkip() uint64
func (*LiquidablePositionsRequest) ProtoMessage ¶
func (*LiquidablePositionsRequest) ProtoMessage()
func (*LiquidablePositionsRequest) ProtoReflect ¶
func (x *LiquidablePositionsRequest) ProtoReflect() protoreflect.Message
func (*LiquidablePositionsRequest) Reset ¶
func (x *LiquidablePositionsRequest) Reset()
func (*LiquidablePositionsRequest) String ¶
func (x *LiquidablePositionsRequest) String() string
type LiquidablePositionsResponse ¶
type LiquidablePositionsResponse struct { // List of derivative positions Positions []*DerivativePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"` // contains filtered or unexported fields }
func (*LiquidablePositionsResponse) Descriptor
deprecated
func (*LiquidablePositionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LiquidablePositionsResponse.ProtoReflect.Descriptor instead.
func (*LiquidablePositionsResponse) GetPositions ¶
func (x *LiquidablePositionsResponse) GetPositions() []*DerivativePosition
func (*LiquidablePositionsResponse) ProtoMessage ¶
func (*LiquidablePositionsResponse) ProtoMessage()
func (*LiquidablePositionsResponse) ProtoReflect ¶
func (x *LiquidablePositionsResponse) ProtoReflect() protoreflect.Message
func (*LiquidablePositionsResponse) Reset ¶
func (x *LiquidablePositionsResponse) Reset()
func (*LiquidablePositionsResponse) String ¶
func (x *LiquidablePositionsResponse) String() string
type MarketRequest ¶
type MarketRequest struct { // MarketId of the market we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // contains filtered or unexported fields }
func (*MarketRequest) Descriptor
deprecated
func (*MarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarketRequest.ProtoReflect.Descriptor instead.
func (*MarketRequest) GetMarketId ¶
func (x *MarketRequest) GetMarketId() string
func (*MarketRequest) ProtoMessage ¶
func (*MarketRequest) ProtoMessage()
func (*MarketRequest) ProtoReflect ¶
func (x *MarketRequest) ProtoReflect() protoreflect.Message
func (*MarketRequest) Reset ¶
func (x *MarketRequest) Reset()
func (*MarketRequest) String ¶
func (x *MarketRequest) String() string
type MarketResponse ¶
type MarketResponse struct { // Info about particular derivative market Market *DerivativeMarketInfo `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*MarketResponse) Descriptor
deprecated
func (*MarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarketResponse.ProtoReflect.Descriptor instead.
func (*MarketResponse) GetMarket ¶
func (x *MarketResponse) GetMarket() *DerivativeMarketInfo
func (*MarketResponse) ProtoMessage ¶
func (*MarketResponse) ProtoMessage()
func (*MarketResponse) ProtoReflect ¶
func (x *MarketResponse) ProtoReflect() protoreflect.Message
func (*MarketResponse) Reset ¶
func (x *MarketResponse) Reset()
func (*MarketResponse) String ¶
func (x *MarketResponse) String() string
type MarketsRequest ¶
type MarketsRequest struct { // Filter by market status MarketStatus string `protobuf:"bytes,1,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"` // Filter by the Coin denomination of the quote currency QuoteDenom string `protobuf:"bytes,2,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"` MarketStatuses []string `protobuf:"bytes,3,rep,name=market_statuses,json=marketStatuses,proto3" json:"market_statuses,omitempty"` // contains filtered or unexported fields }
func (*MarketsRequest) Descriptor
deprecated
func (*MarketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarketsRequest.ProtoReflect.Descriptor instead.
func (*MarketsRequest) GetMarketStatus ¶
func (x *MarketsRequest) GetMarketStatus() string
func (*MarketsRequest) GetMarketStatuses ¶ added in v1.47.16
func (x *MarketsRequest) GetMarketStatuses() []string
func (*MarketsRequest) GetQuoteDenom ¶
func (x *MarketsRequest) GetQuoteDenom() string
func (*MarketsRequest) ProtoMessage ¶
func (*MarketsRequest) ProtoMessage()
func (*MarketsRequest) ProtoReflect ¶
func (x *MarketsRequest) ProtoReflect() protoreflect.Message
func (*MarketsRequest) Reset ¶
func (x *MarketsRequest) Reset()
func (*MarketsRequest) String ¶
func (x *MarketsRequest) String() string
type MarketsResponse ¶
type MarketsResponse struct { // Derivative Markets list Markets []*DerivativeMarketInfo `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` // contains filtered or unexported fields }
func (*MarketsResponse) Descriptor
deprecated
func (*MarketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarketsResponse.ProtoReflect.Descriptor instead.
func (*MarketsResponse) GetMarkets ¶
func (x *MarketsResponse) GetMarkets() []*DerivativeMarketInfo
func (*MarketsResponse) ProtoMessage ¶
func (*MarketsResponse) ProtoMessage()
func (*MarketsResponse) ProtoReflect ¶
func (x *MarketsResponse) ProtoReflect() protoreflect.Message
func (*MarketsResponse) Reset ¶
func (x *MarketsResponse) Reset()
func (*MarketsResponse) String ¶
func (x *MarketsResponse) String() string
type OrderbookLevelUpdates ¶ added in v1.43.4
type OrderbookLevelUpdates struct { // market's ID MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // orderbook update sequence Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // buy levels Buys []*PriceLevelUpdate `protobuf:"bytes,3,rep,name=buys,proto3" json:"buys,omitempty"` // sell levels Sells []*PriceLevelUpdate `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"` // updates timestamp UpdatedAt int64 `protobuf:"zigzag64,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*OrderbookLevelUpdates) Descriptor
deprecated
added in
v1.43.4
func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int)
Deprecated: Use OrderbookLevelUpdates.ProtoReflect.Descriptor instead.
func (*OrderbookLevelUpdates) GetBuys ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate
func (*OrderbookLevelUpdates) GetMarketId ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) GetMarketId() string
func (*OrderbookLevelUpdates) GetSells ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate
func (*OrderbookLevelUpdates) GetSequence ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) GetSequence() uint64
func (*OrderbookLevelUpdates) GetUpdatedAt ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) GetUpdatedAt() int64
func (*OrderbookLevelUpdates) ProtoMessage ¶ added in v1.43.4
func (*OrderbookLevelUpdates) ProtoMessage()
func (*OrderbookLevelUpdates) ProtoReflect ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message
func (*OrderbookLevelUpdates) Reset ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) Reset()
func (*OrderbookLevelUpdates) String ¶ added in v1.43.4
func (x *OrderbookLevelUpdates) String() string
type OrderbookV2Request ¶ added in v1.44.0
type OrderbookV2Request struct { // MarketId of the market's orderbook we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // contains filtered or unexported fields }
func (*OrderbookV2Request) Descriptor
deprecated
added in
v1.44.0
func (*OrderbookV2Request) Descriptor() ([]byte, []int)
Deprecated: Use OrderbookV2Request.ProtoReflect.Descriptor instead.
func (*OrderbookV2Request) GetMarketId ¶ added in v1.44.0
func (x *OrderbookV2Request) GetMarketId() string
func (*OrderbookV2Request) ProtoMessage ¶ added in v1.44.0
func (*OrderbookV2Request) ProtoMessage()
func (*OrderbookV2Request) ProtoReflect ¶ added in v1.44.0
func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message
func (*OrderbookV2Request) Reset ¶ added in v1.44.0
func (x *OrderbookV2Request) Reset()
func (*OrderbookV2Request) String ¶ added in v1.44.0
func (x *OrderbookV2Request) String() string
type OrderbookV2Response ¶ added in v1.44.0
type OrderbookV2Response struct { // Orderbook of a particular derivative market Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"` // contains filtered or unexported fields }
func (*OrderbookV2Response) Descriptor
deprecated
added in
v1.44.0
func (*OrderbookV2Response) Descriptor() ([]byte, []int)
Deprecated: Use OrderbookV2Response.ProtoReflect.Descriptor instead.
func (*OrderbookV2Response) GetOrderbook ¶ added in v1.44.0
func (x *OrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2
func (*OrderbookV2Response) ProtoMessage ¶ added in v1.44.0
func (*OrderbookV2Response) ProtoMessage()
func (*OrderbookV2Response) ProtoReflect ¶ added in v1.44.0
func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message
func (*OrderbookV2Response) Reset ¶ added in v1.44.0
func (x *OrderbookV2Response) Reset()
func (*OrderbookV2Response) String ¶ added in v1.44.0
func (x *OrderbookV2Response) String() string
type OrderbooksV2Request ¶ added in v1.44.0
type OrderbooksV2Request struct { // MarketIds of the markets MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // contains filtered or unexported fields }
func (*OrderbooksV2Request) Descriptor
deprecated
added in
v1.44.0
func (*OrderbooksV2Request) Descriptor() ([]byte, []int)
Deprecated: Use OrderbooksV2Request.ProtoReflect.Descriptor instead.
func (*OrderbooksV2Request) GetMarketIds ¶ added in v1.44.0
func (x *OrderbooksV2Request) GetMarketIds() []string
func (*OrderbooksV2Request) ProtoMessage ¶ added in v1.44.0
func (*OrderbooksV2Request) ProtoMessage()
func (*OrderbooksV2Request) ProtoReflect ¶ added in v1.44.0
func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message
func (*OrderbooksV2Request) Reset ¶ added in v1.44.0
func (x *OrderbooksV2Request) Reset()
func (*OrderbooksV2Request) String ¶ added in v1.44.0
func (x *OrderbooksV2Request) String() string
type OrderbooksV2Response ¶ added in v1.44.0
type OrderbooksV2Response struct { Orderbooks []*SingleDerivativeLimitOrderbookV2 `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"` // contains filtered or unexported fields }
func (*OrderbooksV2Response) Descriptor
deprecated
added in
v1.44.0
func (*OrderbooksV2Response) Descriptor() ([]byte, []int)
Deprecated: Use OrderbooksV2Response.ProtoReflect.Descriptor instead.
func (*OrderbooksV2Response) GetOrderbooks ¶ added in v1.44.0
func (x *OrderbooksV2Response) GetOrderbooks() []*SingleDerivativeLimitOrderbookV2
func (*OrderbooksV2Response) ProtoMessage ¶ added in v1.44.0
func (*OrderbooksV2Response) ProtoMessage()
func (*OrderbooksV2Response) ProtoReflect ¶ added in v1.44.0
func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message
func (*OrderbooksV2Response) Reset ¶ added in v1.44.0
func (x *OrderbooksV2Response) Reset()
func (*OrderbooksV2Response) String ¶ added in v1.44.0
func (x *OrderbooksV2Response) String() string
type OrdersHistoryRequest ¶ added in v1.43.4
type OrdersHistoryRequest struct { // subaccount ID to filter orders for specific subaccount SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Market ID to filter orders for specific market MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"` // filter by order types OrderTypes []string `protobuf:"bytes,5,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"` // order side filter Direction string `protobuf:"bytes,6,opt,name=direction,proto3" json:"direction,omitempty"` // Search for orders which createdAt >= startTime, time in millisecond StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Search for orders which createdAt <= endTime, time in millisecond EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Only search for conditional/non-conditional orders IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` // filter by order type OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` // Filter by order state State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` ExecutionTypes []string `protobuf:"bytes,12,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"` MarketIds []string `protobuf:"bytes,13,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // TradeId of the order we want to fetch TradeId string `protobuf:"bytes,14,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Return only orders for active markets ActiveMarketsOnly bool `protobuf:"varint,15,opt,name=active_markets_only,json=activeMarketsOnly,proto3" json:"active_markets_only,omitempty"` // Client order ID Cid string `protobuf:"bytes,16,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*OrdersHistoryRequest) Descriptor
deprecated
added in
v1.43.4
func (*OrdersHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrdersHistoryRequest.ProtoReflect.Descriptor instead.
func (*OrdersHistoryRequest) GetActiveMarketsOnly ¶ added in v1.47.16
func (x *OrdersHistoryRequest) GetActiveMarketsOnly() bool
func (*OrdersHistoryRequest) GetCid ¶ added in v1.49.0
func (x *OrdersHistoryRequest) GetCid() string
func (*OrdersHistoryRequest) GetDirection ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetDirection() string
func (*OrdersHistoryRequest) GetEndTime ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetEndTime() int64
func (*OrdersHistoryRequest) GetExecutionTypes ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetExecutionTypes() []string
func (*OrdersHistoryRequest) GetIsConditional ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetIsConditional() string
func (*OrdersHistoryRequest) GetLimit ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetLimit() int32
func (*OrdersHistoryRequest) GetMarketId ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetMarketId() string
func (*OrdersHistoryRequest) GetMarketIds ¶ added in v1.44.5
func (x *OrdersHistoryRequest) GetMarketIds() []string
func (*OrdersHistoryRequest) GetOrderType ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetOrderType() string
func (*OrdersHistoryRequest) GetOrderTypes ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetOrderTypes() []string
func (*OrdersHistoryRequest) GetSkip ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetSkip() uint64
func (*OrdersHistoryRequest) GetStartTime ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetStartTime() int64
func (*OrdersHistoryRequest) GetState ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetState() string
func (*OrdersHistoryRequest) GetSubaccountId ¶ added in v1.43.4
func (x *OrdersHistoryRequest) GetSubaccountId() string
func (*OrdersHistoryRequest) GetTradeId ¶ added in v1.47.16
func (x *OrdersHistoryRequest) GetTradeId() string
func (*OrdersHistoryRequest) ProtoMessage ¶ added in v1.43.4
func (*OrdersHistoryRequest) ProtoMessage()
func (*OrdersHistoryRequest) ProtoReflect ¶ added in v1.43.4
func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message
func (*OrdersHistoryRequest) Reset ¶ added in v1.43.4
func (x *OrdersHistoryRequest) Reset()
func (*OrdersHistoryRequest) String ¶ added in v1.43.4
func (x *OrdersHistoryRequest) String() string
type OrdersHistoryResponse ¶ added in v1.43.4
type OrdersHistoryResponse struct { // List of historical derivative orders Orders []*DerivativeOrderHistory `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*OrdersHistoryResponse) Descriptor
deprecated
added in
v1.43.4
func (*OrdersHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrdersHistoryResponse.ProtoReflect.Descriptor instead.
func (*OrdersHistoryResponse) GetOrders ¶ added in v1.43.4
func (x *OrdersHistoryResponse) GetOrders() []*DerivativeOrderHistory
func (*OrdersHistoryResponse) GetPaging ¶ added in v1.43.4
func (x *OrdersHistoryResponse) GetPaging() *Paging
func (*OrdersHistoryResponse) ProtoMessage ¶ added in v1.43.4
func (*OrdersHistoryResponse) ProtoMessage()
func (*OrdersHistoryResponse) ProtoReflect ¶ added in v1.43.4
func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message
func (*OrdersHistoryResponse) Reset ¶ added in v1.43.4
func (x *OrdersHistoryResponse) Reset()
func (*OrdersHistoryResponse) String ¶ added in v1.43.4
func (x *OrdersHistoryResponse) String() string
type OrdersRequest ¶
type OrdersRequest struct { // MarketId of market we want to fetch orders from. Using this field for one // single marketId MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Look for specific order side OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"` // Look for specific subaccountId of an order SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets of which we want to get order from, use this field // for fetching orders from multiple markets MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Only search for conditional/non-conditional orders IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` // Search for specific order type OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` // Should include inactive orders IncludeInactive bool `protobuf:"varint,11,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` // Choose to return subaccount total orders SubaccountTotalOrders bool `` /* 128-byte string literal not displayed */ // TradeId of the order we want to fetch TradeId string `protobuf:"bytes,13,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Client order ID Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*OrdersRequest) Descriptor
deprecated
func (*OrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrdersRequest.ProtoReflect.Descriptor instead.
func (*OrdersRequest) GetCid ¶ added in v1.49.0
func (x *OrdersRequest) GetCid() string
func (*OrdersRequest) GetEndTime ¶ added in v1.43.4
func (x *OrdersRequest) GetEndTime() int64
func (*OrdersRequest) GetIncludeInactive ¶ added in v1.43.4
func (x *OrdersRequest) GetIncludeInactive() bool
func (*OrdersRequest) GetIsConditional ¶ added in v1.43.4
func (x *OrdersRequest) GetIsConditional() string
func (*OrdersRequest) GetLimit ¶ added in v1.38.3
func (x *OrdersRequest) GetLimit() int32
func (*OrdersRequest) GetMarketId ¶
func (x *OrdersRequest) GetMarketId() string
func (*OrdersRequest) GetMarketIds ¶ added in v1.43.4
func (x *OrdersRequest) GetMarketIds() []string
func (*OrdersRequest) GetOrderSide ¶ added in v1.23.6
func (x *OrdersRequest) GetOrderSide() string
func (*OrdersRequest) GetOrderType ¶
func (x *OrdersRequest) GetOrderType() string
func (*OrdersRequest) GetSkip ¶ added in v1.38.3
func (x *OrdersRequest) GetSkip() uint64
func (*OrdersRequest) GetStartTime ¶ added in v1.43.4
func (x *OrdersRequest) GetStartTime() int64
func (*OrdersRequest) GetSubaccountId ¶
func (x *OrdersRequest) GetSubaccountId() string
func (*OrdersRequest) GetSubaccountTotalOrders ¶ added in v1.43.4
func (x *OrdersRequest) GetSubaccountTotalOrders() bool
func (*OrdersRequest) GetTradeId ¶ added in v1.47.16
func (x *OrdersRequest) GetTradeId() string
func (*OrdersRequest) ProtoMessage ¶
func (*OrdersRequest) ProtoMessage()
func (*OrdersRequest) ProtoReflect ¶
func (x *OrdersRequest) ProtoReflect() protoreflect.Message
func (*OrdersRequest) Reset ¶
func (x *OrdersRequest) Reset()
func (*OrdersRequest) String ¶
func (x *OrdersRequest) String() string
type OrdersResponse ¶
type OrdersResponse struct { Orders []*DerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*OrdersResponse) Descriptor
deprecated
func (*OrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrdersResponse.ProtoReflect.Descriptor instead.
func (*OrdersResponse) GetOrders ¶
func (x *OrdersResponse) GetOrders() []*DerivativeLimitOrder
func (*OrdersResponse) GetPaging ¶ added in v1.43.4
func (x *OrdersResponse) GetPaging() *Paging
func (*OrdersResponse) ProtoMessage ¶
func (*OrdersResponse) ProtoMessage()
func (*OrdersResponse) ProtoReflect ¶
func (x *OrdersResponse) ProtoReflect() protoreflect.Message
func (*OrdersResponse) Reset ¶
func (x *OrdersResponse) Reset()
func (*OrdersResponse) String ¶
func (x *OrdersResponse) String() string
type Paging ¶ added in v1.43.4
type Paging struct { // total number of txs saved in database Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"` // can be either block height or index num From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"` // can be either block height or index num To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"` // count entries by subaccount, serving some places on helix CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"` // array of tokens to navigate to the next pages Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
Paging defines the structure for required params for handling pagination
func (*Paging) Descriptor
deprecated
added in
v1.43.4
func (*Paging) GetCountBySubaccount ¶ added in v1.43.4
func (*Paging) ProtoMessage ¶ added in v1.43.4
func (*Paging) ProtoMessage()
func (*Paging) ProtoReflect ¶ added in v1.43.4
func (x *Paging) ProtoReflect() protoreflect.Message
type PerpetualMarketFunding ¶ added in v1.23.6
type PerpetualMarketFunding struct { // Defines the cumulative funding of a perpetual market. CumulativeFunding string `protobuf:"bytes,1,opt,name=cumulative_funding,json=cumulativeFunding,proto3" json:"cumulative_funding,omitempty"` // Defines defines the cumulative price for the current hour up to the last // timestamp. CumulativePrice string `protobuf:"bytes,2,opt,name=cumulative_price,json=cumulativePrice,proto3" json:"cumulative_price,omitempty"` // Defines the last funding timestamp in seconds of a perpetual market in UNIX // seconds. LastTimestamp int64 `protobuf:"zigzag64,3,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` // contains filtered or unexported fields }
func (*PerpetualMarketFunding) Descriptor
deprecated
added in
v1.23.6
func (*PerpetualMarketFunding) Descriptor() ([]byte, []int)
Deprecated: Use PerpetualMarketFunding.ProtoReflect.Descriptor instead.
func (*PerpetualMarketFunding) GetCumulativeFunding ¶ added in v1.23.6
func (x *PerpetualMarketFunding) GetCumulativeFunding() string
func (*PerpetualMarketFunding) GetCumulativePrice ¶ added in v1.23.6
func (x *PerpetualMarketFunding) GetCumulativePrice() string
func (*PerpetualMarketFunding) GetLastTimestamp ¶ added in v1.23.6
func (x *PerpetualMarketFunding) GetLastTimestamp() int64
func (*PerpetualMarketFunding) ProtoMessage ¶ added in v1.23.6
func (*PerpetualMarketFunding) ProtoMessage()
func (*PerpetualMarketFunding) ProtoReflect ¶ added in v1.23.6
func (x *PerpetualMarketFunding) ProtoReflect() protoreflect.Message
func (*PerpetualMarketFunding) Reset ¶ added in v1.23.6
func (x *PerpetualMarketFunding) Reset()
func (*PerpetualMarketFunding) String ¶ added in v1.23.6
func (x *PerpetualMarketFunding) String() string
type PerpetualMarketInfo ¶ added in v1.23.6
type PerpetualMarketInfo struct { // Defines the default maximum absolute value of the hourly funding rate of the // perpetual market. HourlyFundingRateCap string `protobuf:"bytes,1,opt,name=hourly_funding_rate_cap,json=hourlyFundingRateCap,proto3" json:"hourly_funding_rate_cap,omitempty"` // Defines the hourly interest rate of the perpetual market. HourlyInterestRate string `protobuf:"bytes,2,opt,name=hourly_interest_rate,json=hourlyInterestRate,proto3" json:"hourly_interest_rate,omitempty"` // Defines the next funding timestamp in seconds of a perpetual market in UNIX // seconds. NextFundingTimestamp int64 `` /* 126-byte string literal not displayed */ // Defines the funding interval in seconds of a perpetual market in seconds. FundingInterval int64 `protobuf:"zigzag64,4,opt,name=funding_interval,json=fundingInterval,proto3" json:"funding_interval,omitempty"` // contains filtered or unexported fields }
func (*PerpetualMarketInfo) Descriptor
deprecated
added in
v1.23.6
func (*PerpetualMarketInfo) Descriptor() ([]byte, []int)
Deprecated: Use PerpetualMarketInfo.ProtoReflect.Descriptor instead.
func (*PerpetualMarketInfo) GetFundingInterval ¶ added in v1.23.6
func (x *PerpetualMarketInfo) GetFundingInterval() int64
func (*PerpetualMarketInfo) GetHourlyFundingRateCap ¶ added in v1.23.6
func (x *PerpetualMarketInfo) GetHourlyFundingRateCap() string
func (*PerpetualMarketInfo) GetHourlyInterestRate ¶ added in v1.23.6
func (x *PerpetualMarketInfo) GetHourlyInterestRate() string
func (*PerpetualMarketInfo) GetNextFundingTimestamp ¶ added in v1.23.6
func (x *PerpetualMarketInfo) GetNextFundingTimestamp() int64
func (*PerpetualMarketInfo) ProtoMessage ¶ added in v1.23.6
func (*PerpetualMarketInfo) ProtoMessage()
func (*PerpetualMarketInfo) ProtoReflect ¶ added in v1.23.6
func (x *PerpetualMarketInfo) ProtoReflect() protoreflect.Message
func (*PerpetualMarketInfo) Reset ¶ added in v1.23.6
func (x *PerpetualMarketInfo) Reset()
func (*PerpetualMarketInfo) String ¶ added in v1.23.6
func (x *PerpetualMarketInfo) String() string
type PositionDelta ¶
type PositionDelta struct { // The direction the trade TradeDirection string `protobuf:"bytes,1,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"` // Execution Price of the trade. ExecutionPrice string `protobuf:"bytes,2,opt,name=execution_price,json=executionPrice,proto3" json:"execution_price,omitempty"` // Execution Quantity of the trade. ExecutionQuantity string `protobuf:"bytes,3,opt,name=execution_quantity,json=executionQuantity,proto3" json:"execution_quantity,omitempty"` // Execution Margin of the trade. ExecutionMargin string `protobuf:"bytes,4,opt,name=execution_margin,json=executionMargin,proto3" json:"execution_margin,omitempty"` // contains filtered or unexported fields }
func (*PositionDelta) Descriptor
deprecated
func (*PositionDelta) Descriptor() ([]byte, []int)
Deprecated: Use PositionDelta.ProtoReflect.Descriptor instead.
func (*PositionDelta) GetExecutionMargin ¶
func (x *PositionDelta) GetExecutionMargin() string
func (*PositionDelta) GetExecutionPrice ¶
func (x *PositionDelta) GetExecutionPrice() string
func (*PositionDelta) GetExecutionQuantity ¶
func (x *PositionDelta) GetExecutionQuantity() string
func (*PositionDelta) GetTradeDirection ¶
func (x *PositionDelta) GetTradeDirection() string
func (*PositionDelta) ProtoMessage ¶
func (*PositionDelta) ProtoMessage()
func (*PositionDelta) ProtoReflect ¶
func (x *PositionDelta) ProtoReflect() protoreflect.Message
func (*PositionDelta) Reset ¶
func (x *PositionDelta) Reset()
func (*PositionDelta) String ¶
func (x *PositionDelta) String() string
type PositionsRequest ¶
type PositionsRequest struct { // SubaccountId of the trader we want to get the positions from SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // MarketId of the position we want to fetch. Use this field for fetching from // single market MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets we want to filter. Use this field for fetching from // multiple markets MarketIds []string `protobuf:"bytes,7,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // filter by direction of the position Direction string `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"` // set to True to return subaccount total positions SubaccountTotalPositions bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PositionsRequest) Descriptor
deprecated
func (*PositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PositionsRequest.ProtoReflect.Descriptor instead.
func (*PositionsRequest) GetDirection ¶ added in v1.43.4
func (x *PositionsRequest) GetDirection() string
func (*PositionsRequest) GetEndTime ¶ added in v1.43.4
func (x *PositionsRequest) GetEndTime() int64
func (*PositionsRequest) GetLimit ¶ added in v1.38.3
func (x *PositionsRequest) GetLimit() int32
func (*PositionsRequest) GetMarketId ¶
func (x *PositionsRequest) GetMarketId() string
func (*PositionsRequest) GetMarketIds ¶ added in v1.43.4
func (x *PositionsRequest) GetMarketIds() []string
func (*PositionsRequest) GetSkip ¶ added in v1.38.3
func (x *PositionsRequest) GetSkip() uint64
func (*PositionsRequest) GetStartTime ¶ added in v1.43.4
func (x *PositionsRequest) GetStartTime() int64
func (*PositionsRequest) GetSubaccountId ¶
func (x *PositionsRequest) GetSubaccountId() string
func (*PositionsRequest) GetSubaccountTotalPositions ¶ added in v1.43.4
func (x *PositionsRequest) GetSubaccountTotalPositions() bool
func (*PositionsRequest) ProtoMessage ¶
func (*PositionsRequest) ProtoMessage()
func (*PositionsRequest) ProtoReflect ¶
func (x *PositionsRequest) ProtoReflect() protoreflect.Message
func (*PositionsRequest) Reset ¶
func (x *PositionsRequest) Reset()
func (*PositionsRequest) String ¶
func (x *PositionsRequest) String() string
type PositionsResponse ¶
type PositionsResponse struct { Positions []*DerivativePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*PositionsResponse) Descriptor
deprecated
func (*PositionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PositionsResponse.ProtoReflect.Descriptor instead.
func (*PositionsResponse) GetPaging ¶ added in v1.43.4
func (x *PositionsResponse) GetPaging() *Paging
func (*PositionsResponse) GetPositions ¶
func (x *PositionsResponse) GetPositions() []*DerivativePosition
func (*PositionsResponse) ProtoMessage ¶
func (*PositionsResponse) ProtoMessage()
func (*PositionsResponse) ProtoReflect ¶
func (x *PositionsResponse) ProtoReflect() protoreflect.Message
func (*PositionsResponse) Reset ¶
func (x *PositionsResponse) Reset()
func (*PositionsResponse) String ¶
func (x *PositionsResponse) String() string
type PositionsV2Request ¶ added in v1.49.0
type PositionsV2Request struct { // SubaccountId of the trader we want to get the positions from SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // MarketId of the position we want to fetch. Use this field for fetching from // single market MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets we want to filter. Use this field for fetching from // multiple markets MarketIds []string `protobuf:"bytes,7,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // filter by direction of the position Direction string `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"` // set to True to return subaccount total positions SubaccountTotalPositions bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PositionsV2Request) Descriptor
deprecated
added in
v1.49.0
func (*PositionsV2Request) Descriptor() ([]byte, []int)
Deprecated: Use PositionsV2Request.ProtoReflect.Descriptor instead.
func (*PositionsV2Request) GetDirection ¶ added in v1.49.0
func (x *PositionsV2Request) GetDirection() string
func (*PositionsV2Request) GetEndTime ¶ added in v1.49.0
func (x *PositionsV2Request) GetEndTime() int64
func (*PositionsV2Request) GetLimit ¶ added in v1.49.0
func (x *PositionsV2Request) GetLimit() int32
func (*PositionsV2Request) GetMarketId ¶ added in v1.49.0
func (x *PositionsV2Request) GetMarketId() string
func (*PositionsV2Request) GetMarketIds ¶ added in v1.49.0
func (x *PositionsV2Request) GetMarketIds() []string
func (*PositionsV2Request) GetSkip ¶ added in v1.49.0
func (x *PositionsV2Request) GetSkip() uint64
func (*PositionsV2Request) GetStartTime ¶ added in v1.49.0
func (x *PositionsV2Request) GetStartTime() int64
func (*PositionsV2Request) GetSubaccountId ¶ added in v1.49.0
func (x *PositionsV2Request) GetSubaccountId() string
func (*PositionsV2Request) GetSubaccountTotalPositions ¶ added in v1.49.0
func (x *PositionsV2Request) GetSubaccountTotalPositions() bool
func (*PositionsV2Request) ProtoMessage ¶ added in v1.49.0
func (*PositionsV2Request) ProtoMessage()
func (*PositionsV2Request) ProtoReflect ¶ added in v1.49.0
func (x *PositionsV2Request) ProtoReflect() protoreflect.Message
func (*PositionsV2Request) Reset ¶ added in v1.49.0
func (x *PositionsV2Request) Reset()
func (*PositionsV2Request) String ¶ added in v1.49.0
func (x *PositionsV2Request) String() string
type PositionsV2Response ¶ added in v1.49.0
type PositionsV2Response struct { Positions []*DerivativePositionV2 `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*PositionsV2Response) Descriptor
deprecated
added in
v1.49.0
func (*PositionsV2Response) Descriptor() ([]byte, []int)
Deprecated: Use PositionsV2Response.ProtoReflect.Descriptor instead.
func (*PositionsV2Response) GetPaging ¶ added in v1.49.0
func (x *PositionsV2Response) GetPaging() *Paging
func (*PositionsV2Response) GetPositions ¶ added in v1.49.0
func (x *PositionsV2Response) GetPositions() []*DerivativePositionV2
func (*PositionsV2Response) ProtoMessage ¶ added in v1.49.0
func (*PositionsV2Response) ProtoMessage()
func (*PositionsV2Response) ProtoReflect ¶ added in v1.49.0
func (x *PositionsV2Response) ProtoReflect() protoreflect.Message
func (*PositionsV2Response) Reset ¶ added in v1.49.0
func (x *PositionsV2Response) Reset()
func (*PositionsV2Response) String ¶ added in v1.49.0
func (x *PositionsV2Response) String() string
type PriceLevel ¶
type PriceLevel struct { // Price number of the price level. Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` // Quantity of the price level. Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // Price level last updated timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*PriceLevel) Descriptor
deprecated
func (*PriceLevel) Descriptor() ([]byte, []int)
Deprecated: Use PriceLevel.ProtoReflect.Descriptor instead.
func (*PriceLevel) GetPrice ¶
func (x *PriceLevel) GetPrice() string
func (*PriceLevel) GetQuantity ¶
func (x *PriceLevel) GetQuantity() string
func (*PriceLevel) GetTimestamp ¶
func (x *PriceLevel) GetTimestamp() int64
func (*PriceLevel) ProtoMessage ¶
func (*PriceLevel) ProtoMessage()
func (*PriceLevel) ProtoReflect ¶
func (x *PriceLevel) ProtoReflect() protoreflect.Message
func (*PriceLevel) Reset ¶
func (x *PriceLevel) Reset()
func (*PriceLevel) String ¶
func (x *PriceLevel) String() string
type PriceLevelUpdate ¶ added in v1.43.4
type PriceLevelUpdate struct { // Price number of the price level. Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` // Quantity of the price level. Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // Price level status. IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // Price level last updated timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*PriceLevelUpdate) Descriptor
deprecated
added in
v1.43.4
func (*PriceLevelUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PriceLevelUpdate.ProtoReflect.Descriptor instead.
func (*PriceLevelUpdate) GetIsActive ¶ added in v1.43.4
func (x *PriceLevelUpdate) GetIsActive() bool
func (*PriceLevelUpdate) GetPrice ¶ added in v1.43.4
func (x *PriceLevelUpdate) GetPrice() string
func (*PriceLevelUpdate) GetQuantity ¶ added in v1.43.4
func (x *PriceLevelUpdate) GetQuantity() string
func (*PriceLevelUpdate) GetTimestamp ¶ added in v1.43.4
func (x *PriceLevelUpdate) GetTimestamp() int64
func (*PriceLevelUpdate) ProtoMessage ¶ added in v1.43.4
func (*PriceLevelUpdate) ProtoMessage()
func (*PriceLevelUpdate) ProtoReflect ¶ added in v1.43.4
func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message
func (*PriceLevelUpdate) Reset ¶ added in v1.43.4
func (x *PriceLevelUpdate) Reset()
func (*PriceLevelUpdate) String ¶ added in v1.43.4
func (x *PriceLevelUpdate) String() string
type SingleDerivativeLimitOrderbookV2 ¶ added in v1.44.5
type SingleDerivativeLimitOrderbookV2 struct { // market's ID MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Orderbook of the market Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"` // contains filtered or unexported fields }
func (*SingleDerivativeLimitOrderbookV2) Descriptor
deprecated
added in
v1.44.5
func (*SingleDerivativeLimitOrderbookV2) Descriptor() ([]byte, []int)
Deprecated: Use SingleDerivativeLimitOrderbookV2.ProtoReflect.Descriptor instead.
func (*SingleDerivativeLimitOrderbookV2) GetMarketId ¶ added in v1.44.5
func (x *SingleDerivativeLimitOrderbookV2) GetMarketId() string
func (*SingleDerivativeLimitOrderbookV2) GetOrderbook ¶ added in v1.44.5
func (x *SingleDerivativeLimitOrderbookV2) GetOrderbook() *DerivativeLimitOrderbookV2
func (*SingleDerivativeLimitOrderbookV2) ProtoMessage ¶ added in v1.44.5
func (*SingleDerivativeLimitOrderbookV2) ProtoMessage()
func (*SingleDerivativeLimitOrderbookV2) ProtoReflect ¶ added in v1.44.5
func (x *SingleDerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message
func (*SingleDerivativeLimitOrderbookV2) Reset ¶ added in v1.44.5
func (x *SingleDerivativeLimitOrderbookV2) Reset()
func (*SingleDerivativeLimitOrderbookV2) String ¶ added in v1.44.5
func (x *SingleDerivativeLimitOrderbookV2) String() string
type StreamMarketRequest ¶
type StreamMarketRequest struct { // List of market IDs for updates streaming, empty means 'ALL' derivative // markets MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // contains filtered or unexported fields }
func (*StreamMarketRequest) Descriptor
deprecated
func (*StreamMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamMarketRequest.ProtoReflect.Descriptor instead.
func (*StreamMarketRequest) GetMarketIds ¶
func (x *StreamMarketRequest) GetMarketIds() []string
func (*StreamMarketRequest) ProtoMessage ¶
func (*StreamMarketRequest) ProtoMessage()
func (*StreamMarketRequest) ProtoReflect ¶
func (x *StreamMarketRequest) ProtoReflect() protoreflect.Message
func (*StreamMarketRequest) Reset ¶
func (x *StreamMarketRequest) Reset()
func (*StreamMarketRequest) String ¶
func (x *StreamMarketRequest) String() string
type StreamMarketResponse ¶
type StreamMarketResponse struct { // Info about particular derivative market Market *DerivativeMarketInfo `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // Update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*StreamMarketResponse) Descriptor
deprecated
func (*StreamMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamMarketResponse.ProtoReflect.Descriptor instead.
func (*StreamMarketResponse) GetMarket ¶
func (x *StreamMarketResponse) GetMarket() *DerivativeMarketInfo
func (*StreamMarketResponse) GetOperationType ¶
func (x *StreamMarketResponse) GetOperationType() string
func (*StreamMarketResponse) GetTimestamp ¶
func (x *StreamMarketResponse) GetTimestamp() int64
func (*StreamMarketResponse) ProtoMessage ¶
func (*StreamMarketResponse) ProtoMessage()
func (*StreamMarketResponse) ProtoReflect ¶
func (x *StreamMarketResponse) ProtoReflect() protoreflect.Message
func (*StreamMarketResponse) Reset ¶
func (x *StreamMarketResponse) Reset()
func (*StreamMarketResponse) String ¶
func (x *StreamMarketResponse) String() string
type StreamOrderbookUpdateRequest ¶ added in v1.43.4
type StreamOrderbookUpdateRequest struct { // List of market IDs for orderbook streaming, empty means 'ALL' derivative // markets MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // contains filtered or unexported fields }
func (*StreamOrderbookUpdateRequest) Descriptor
deprecated
added in
v1.43.4
func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrderbookUpdateRequest.ProtoReflect.Descriptor instead.
func (*StreamOrderbookUpdateRequest) GetMarketIds ¶ added in v1.43.4
func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string
func (*StreamOrderbookUpdateRequest) ProtoMessage ¶ added in v1.43.4
func (*StreamOrderbookUpdateRequest) ProtoMessage()
func (*StreamOrderbookUpdateRequest) ProtoReflect ¶ added in v1.43.4
func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message
func (*StreamOrderbookUpdateRequest) Reset ¶ added in v1.43.4
func (x *StreamOrderbookUpdateRequest) Reset()
func (*StreamOrderbookUpdateRequest) String ¶ added in v1.43.4
func (x *StreamOrderbookUpdateRequest) String() string
type StreamOrderbookUpdateResponse ¶ added in v1.43.4
type StreamOrderbookUpdateResponse struct { // Orderbook level updates of a Derivative Market OrderbookLevelUpdates *OrderbookLevelUpdates `` /* 126-byte string literal not displayed */ // Order update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // MarketId of the market's orderbook MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // contains filtered or unexported fields }
func (*StreamOrderbookUpdateResponse) Descriptor
deprecated
added in
v1.43.4
func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrderbookUpdateResponse.ProtoReflect.Descriptor instead.
func (*StreamOrderbookUpdateResponse) GetMarketId ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) GetMarketId() string
func (*StreamOrderbookUpdateResponse) GetOperationType ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) GetOperationType() string
func (*StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates
func (*StreamOrderbookUpdateResponse) GetTimestamp ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64
func (*StreamOrderbookUpdateResponse) ProtoMessage ¶ added in v1.43.4
func (*StreamOrderbookUpdateResponse) ProtoMessage()
func (*StreamOrderbookUpdateResponse) ProtoReflect ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message
func (*StreamOrderbookUpdateResponse) Reset ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) Reset()
func (*StreamOrderbookUpdateResponse) String ¶ added in v1.43.4
func (x *StreamOrderbookUpdateResponse) String() string
type StreamOrderbookV2Request ¶ added in v1.44.0
type StreamOrderbookV2Request struct { // List of market IDs for orderbook streaming, empty means 'ALL' derivative // markets MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // contains filtered or unexported fields }
func (*StreamOrderbookV2Request) Descriptor
deprecated
added in
v1.44.0
func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrderbookV2Request.ProtoReflect.Descriptor instead.
func (*StreamOrderbookV2Request) GetMarketIds ¶ added in v1.44.0
func (x *StreamOrderbookV2Request) GetMarketIds() []string
func (*StreamOrderbookV2Request) ProtoMessage ¶ added in v1.44.0
func (*StreamOrderbookV2Request) ProtoMessage()
func (*StreamOrderbookV2Request) ProtoReflect ¶ added in v1.44.0
func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message
func (*StreamOrderbookV2Request) Reset ¶ added in v1.44.0
func (x *StreamOrderbookV2Request) Reset()
func (*StreamOrderbookV2Request) String ¶ added in v1.44.0
func (x *StreamOrderbookV2Request) String() string
type StreamOrderbookV2Response ¶ added in v1.44.0
type StreamOrderbookV2Response struct { // Orderbook of a Derivative Market Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"` // Order update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // MarketId of the market's orderbook MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // contains filtered or unexported fields }
func (*StreamOrderbookV2Response) Descriptor
deprecated
added in
v1.44.0
func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrderbookV2Response.ProtoReflect.Descriptor instead.
func (*StreamOrderbookV2Response) GetMarketId ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) GetMarketId() string
func (*StreamOrderbookV2Response) GetOperationType ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) GetOperationType() string
func (*StreamOrderbookV2Response) GetOrderbook ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2
func (*StreamOrderbookV2Response) GetTimestamp ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) GetTimestamp() int64
func (*StreamOrderbookV2Response) ProtoMessage ¶ added in v1.44.0
func (*StreamOrderbookV2Response) ProtoMessage()
func (*StreamOrderbookV2Response) ProtoReflect ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message
func (*StreamOrderbookV2Response) Reset ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) Reset()
func (*StreamOrderbookV2Response) String ¶ added in v1.44.0
func (x *StreamOrderbookV2Response) String() string
type StreamOrdersHistoryRequest ¶ added in v1.43.4
type StreamOrdersHistoryRequest struct { // subaccount ID to filter orders for specific subaccount SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Market ID to filter orders for specific market MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // filter by order types OrderTypes []string `protobuf:"bytes,3,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"` // order side filter Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` // Filter by order state State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` ExecutionTypes []string `protobuf:"bytes,6,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"` // contains filtered or unexported fields }
func (*StreamOrdersHistoryRequest) Descriptor
deprecated
added in
v1.43.4
func (*StreamOrdersHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrdersHistoryRequest.ProtoReflect.Descriptor instead.
func (*StreamOrdersHistoryRequest) GetDirection ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) GetDirection() string
func (*StreamOrdersHistoryRequest) GetExecutionTypes ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) GetExecutionTypes() []string
func (*StreamOrdersHistoryRequest) GetMarketId ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) GetMarketId() string
func (*StreamOrdersHistoryRequest) GetOrderTypes ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) GetOrderTypes() []string
func (*StreamOrdersHistoryRequest) GetState ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) GetState() string
func (*StreamOrdersHistoryRequest) GetSubaccountId ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) GetSubaccountId() string
func (*StreamOrdersHistoryRequest) ProtoMessage ¶ added in v1.43.4
func (*StreamOrdersHistoryRequest) ProtoMessage()
func (*StreamOrdersHistoryRequest) ProtoReflect ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message
func (*StreamOrdersHistoryRequest) Reset ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) Reset()
func (*StreamOrdersHistoryRequest) String ¶ added in v1.43.4
func (x *StreamOrdersHistoryRequest) String() string
type StreamOrdersHistoryResponse ¶ added in v1.43.4
type StreamOrdersHistoryResponse struct { // Updated order Order *DerivativeOrderHistory `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` // Order update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*StreamOrdersHistoryResponse) Descriptor
deprecated
added in
v1.43.4
func (*StreamOrdersHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrdersHistoryResponse.ProtoReflect.Descriptor instead.
func (*StreamOrdersHistoryResponse) GetOperationType ¶ added in v1.43.4
func (x *StreamOrdersHistoryResponse) GetOperationType() string
func (*StreamOrdersHistoryResponse) GetOrder ¶ added in v1.43.4
func (x *StreamOrdersHistoryResponse) GetOrder() *DerivativeOrderHistory
func (*StreamOrdersHistoryResponse) GetTimestamp ¶ added in v1.43.4
func (x *StreamOrdersHistoryResponse) GetTimestamp() int64
func (*StreamOrdersHistoryResponse) ProtoMessage ¶ added in v1.43.4
func (*StreamOrdersHistoryResponse) ProtoMessage()
func (*StreamOrdersHistoryResponse) ProtoReflect ¶ added in v1.43.4
func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message
func (*StreamOrdersHistoryResponse) Reset ¶ added in v1.43.4
func (x *StreamOrdersHistoryResponse) Reset()
func (*StreamOrdersHistoryResponse) String ¶ added in v1.43.4
func (x *StreamOrdersHistoryResponse) String() string
type StreamOrdersRequest ¶
type StreamOrdersRequest struct { // MarketId of market we want to fetch orders from. Using this field for one // single marketId MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Look for specific order side OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"` // Look for specific subaccountId of an order SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets of which we want to get order from, use this field // for fetching orders from multiple markets MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Only search for conditional/non-conditional orders IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` // Search for specific order type OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` // Should include inactive orders IncludeInactive bool `protobuf:"varint,11,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` // Choose to return subaccount total orders SubaccountTotalOrders bool `` /* 128-byte string literal not displayed */ // TradeId of the order we want to fetch TradeId string `protobuf:"bytes,13,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Client order ID Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*StreamOrdersRequest) Descriptor
deprecated
func (*StreamOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrdersRequest.ProtoReflect.Descriptor instead.
func (*StreamOrdersRequest) GetCid ¶ added in v1.49.0
func (x *StreamOrdersRequest) GetCid() string
func (*StreamOrdersRequest) GetEndTime ¶ added in v1.43.4
func (x *StreamOrdersRequest) GetEndTime() int64
func (*StreamOrdersRequest) GetIncludeInactive ¶ added in v1.43.4
func (x *StreamOrdersRequest) GetIncludeInactive() bool
func (*StreamOrdersRequest) GetIsConditional ¶ added in v1.43.4
func (x *StreamOrdersRequest) GetIsConditional() string
func (*StreamOrdersRequest) GetLimit ¶ added in v1.38.3
func (x *StreamOrdersRequest) GetLimit() int32
func (*StreamOrdersRequest) GetMarketId ¶
func (x *StreamOrdersRequest) GetMarketId() string
func (*StreamOrdersRequest) GetMarketIds ¶ added in v1.43.4
func (x *StreamOrdersRequest) GetMarketIds() []string
func (*StreamOrdersRequest) GetOrderSide ¶ added in v1.23.6
func (x *StreamOrdersRequest) GetOrderSide() string
func (*StreamOrdersRequest) GetOrderType ¶
func (x *StreamOrdersRequest) GetOrderType() string
func (*StreamOrdersRequest) GetSkip ¶ added in v1.38.3
func (x *StreamOrdersRequest) GetSkip() uint64
func (*StreamOrdersRequest) GetStartTime ¶ added in v1.43.4
func (x *StreamOrdersRequest) GetStartTime() int64
func (*StreamOrdersRequest) GetSubaccountId ¶
func (x *StreamOrdersRequest) GetSubaccountId() string
func (*StreamOrdersRequest) GetSubaccountTotalOrders ¶ added in v1.43.4
func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool
func (*StreamOrdersRequest) GetTradeId ¶ added in v1.47.16
func (x *StreamOrdersRequest) GetTradeId() string
func (*StreamOrdersRequest) ProtoMessage ¶
func (*StreamOrdersRequest) ProtoMessage()
func (*StreamOrdersRequest) ProtoReflect ¶
func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message
func (*StreamOrdersRequest) Reset ¶
func (x *StreamOrdersRequest) Reset()
func (*StreamOrdersRequest) String ¶
func (x *StreamOrdersRequest) String() string
type StreamOrdersResponse ¶
type StreamOrdersResponse struct { // Updated market order Order *DerivativeLimitOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` // Order update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*StreamOrdersResponse) Descriptor
deprecated
func (*StreamOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamOrdersResponse.ProtoReflect.Descriptor instead.
func (*StreamOrdersResponse) GetOperationType ¶
func (x *StreamOrdersResponse) GetOperationType() string
func (*StreamOrdersResponse) GetOrder ¶
func (x *StreamOrdersResponse) GetOrder() *DerivativeLimitOrder
func (*StreamOrdersResponse) GetTimestamp ¶
func (x *StreamOrdersResponse) GetTimestamp() int64
func (*StreamOrdersResponse) ProtoMessage ¶
func (*StreamOrdersResponse) ProtoMessage()
func (*StreamOrdersResponse) ProtoReflect ¶
func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message
func (*StreamOrdersResponse) Reset ¶
func (x *StreamOrdersResponse) Reset()
func (*StreamOrdersResponse) String ¶
func (x *StreamOrdersResponse) String() string
type StreamPositionsRequest ¶
type StreamPositionsRequest struct { // SubaccountId of the trader we want to get the positions from SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Backward compat single market ID of position we want to stream MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // List of market IDs of the positions we want to stream MarketIds []string `protobuf:"bytes,3,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Subaccount ids of traders we want to get positions SubaccountIds []string `protobuf:"bytes,4,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` // contains filtered or unexported fields }
func (*StreamPositionsRequest) Descriptor
deprecated
func (*StreamPositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamPositionsRequest.ProtoReflect.Descriptor instead.
func (*StreamPositionsRequest) GetMarketId ¶
func (x *StreamPositionsRequest) GetMarketId() string
func (*StreamPositionsRequest) GetMarketIds ¶ added in v1.32.1
func (x *StreamPositionsRequest) GetMarketIds() []string
func (*StreamPositionsRequest) GetSubaccountId ¶
func (x *StreamPositionsRequest) GetSubaccountId() string
func (*StreamPositionsRequest) GetSubaccountIds ¶ added in v1.34.0
func (x *StreamPositionsRequest) GetSubaccountIds() []string
func (*StreamPositionsRequest) ProtoMessage ¶
func (*StreamPositionsRequest) ProtoMessage()
func (*StreamPositionsRequest) ProtoReflect ¶
func (x *StreamPositionsRequest) ProtoReflect() protoreflect.Message
func (*StreamPositionsRequest) Reset ¶
func (x *StreamPositionsRequest) Reset()
func (*StreamPositionsRequest) String ¶
func (x *StreamPositionsRequest) String() string
type StreamPositionsResponse ¶
type StreamPositionsResponse struct { // Updated Derivative Position Position *DerivativePosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*StreamPositionsResponse) Descriptor
deprecated
func (*StreamPositionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamPositionsResponse.ProtoReflect.Descriptor instead.
func (*StreamPositionsResponse) GetPosition ¶
func (x *StreamPositionsResponse) GetPosition() *DerivativePosition
func (*StreamPositionsResponse) GetTimestamp ¶
func (x *StreamPositionsResponse) GetTimestamp() int64
func (*StreamPositionsResponse) ProtoMessage ¶
func (*StreamPositionsResponse) ProtoMessage()
func (*StreamPositionsResponse) ProtoReflect ¶
func (x *StreamPositionsResponse) ProtoReflect() protoreflect.Message
func (*StreamPositionsResponse) Reset ¶
func (x *StreamPositionsResponse) Reset()
func (*StreamPositionsResponse) String ¶
func (x *StreamPositionsResponse) String() string
type StreamTradesRequest ¶
type StreamTradesRequest struct { // MarketId of the market's orderbook we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Filter by execution side of the trade ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` // Filter by direction the trade Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` // SubaccountId of the trader we want to get the trades from SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets of which we want to get trades MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Subaccount ids of traders we want to get trades. Use this field for fetching // trades from multiple subaccounts SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"` // Filter by the tradeId of the trade TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Account address AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // Client order ID Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*StreamTradesRequest) Descriptor
deprecated
func (*StreamTradesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamTradesRequest.ProtoReflect.Descriptor instead.
func (*StreamTradesRequest) GetAccountAddress ¶ added in v1.46.4
func (x *StreamTradesRequest) GetAccountAddress() string
func (*StreamTradesRequest) GetCid ¶ added in v1.49.0
func (x *StreamTradesRequest) GetCid() string
func (*StreamTradesRequest) GetDirection ¶
func (x *StreamTradesRequest) GetDirection() string
func (*StreamTradesRequest) GetEndTime ¶ added in v1.32.1
func (x *StreamTradesRequest) GetEndTime() int64
func (*StreamTradesRequest) GetExecutionSide ¶
func (x *StreamTradesRequest) GetExecutionSide() string
func (*StreamTradesRequest) GetExecutionTypes ¶ added in v1.43.4
func (x *StreamTradesRequest) GetExecutionTypes() []string
func (*StreamTradesRequest) GetLimit ¶ added in v1.27.5
func (x *StreamTradesRequest) GetLimit() int32
func (*StreamTradesRequest) GetMarketId ¶
func (x *StreamTradesRequest) GetMarketId() string
func (*StreamTradesRequest) GetMarketIds ¶ added in v1.34.0
func (x *StreamTradesRequest) GetMarketIds() []string
func (*StreamTradesRequest) GetSkip ¶ added in v1.27.5
func (x *StreamTradesRequest) GetSkip() uint64
func (*StreamTradesRequest) GetStartTime ¶ added in v1.32.1
func (x *StreamTradesRequest) GetStartTime() int64
func (*StreamTradesRequest) GetSubaccountId ¶
func (x *StreamTradesRequest) GetSubaccountId() string
func (*StreamTradesRequest) GetSubaccountIds ¶ added in v1.34.0
func (x *StreamTradesRequest) GetSubaccountIds() []string
func (*StreamTradesRequest) GetTradeId ¶ added in v1.46.4
func (x *StreamTradesRequest) GetTradeId() string
func (*StreamTradesRequest) ProtoMessage ¶
func (*StreamTradesRequest) ProtoMessage()
func (*StreamTradesRequest) ProtoReflect ¶
func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message
func (*StreamTradesRequest) Reset ¶
func (x *StreamTradesRequest) Reset()
func (*StreamTradesRequest) String ¶
func (x *StreamTradesRequest) String() string
type StreamTradesResponse ¶
type StreamTradesResponse struct { // New derivative market trade Trade *DerivativeTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"` // Executed trades update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*StreamTradesResponse) Descriptor
deprecated
func (*StreamTradesResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamTradesResponse.ProtoReflect.Descriptor instead.
func (*StreamTradesResponse) GetOperationType ¶
func (x *StreamTradesResponse) GetOperationType() string
func (*StreamTradesResponse) GetTimestamp ¶
func (x *StreamTradesResponse) GetTimestamp() int64
func (*StreamTradesResponse) GetTrade ¶
func (x *StreamTradesResponse) GetTrade() *DerivativeTrade
func (*StreamTradesResponse) ProtoMessage ¶
func (*StreamTradesResponse) ProtoMessage()
func (*StreamTradesResponse) ProtoReflect ¶
func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message
func (*StreamTradesResponse) Reset ¶
func (x *StreamTradesResponse) Reset()
func (*StreamTradesResponse) String ¶
func (x *StreamTradesResponse) String() string
type StreamTradesV2Request ¶ added in v1.49.0
type StreamTradesV2Request struct { // MarketId of the market's orderbook we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Filter by execution side of the trade ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` // Filter by direction the trade Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` // SubaccountId of the trader we want to get the trades from SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets of which we want to get trades MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Subaccount ids of traders we want to get trades. Use this field for fetching // trades from multiple subaccounts SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"` // Filter by the tradeId of the trade TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Account address AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // Client order ID Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*StreamTradesV2Request) Descriptor
deprecated
added in
v1.49.0
func (*StreamTradesV2Request) Descriptor() ([]byte, []int)
Deprecated: Use StreamTradesV2Request.ProtoReflect.Descriptor instead.
func (*StreamTradesV2Request) GetAccountAddress ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetAccountAddress() string
func (*StreamTradesV2Request) GetCid ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetCid() string
func (*StreamTradesV2Request) GetDirection ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetDirection() string
func (*StreamTradesV2Request) GetEndTime ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetEndTime() int64
func (*StreamTradesV2Request) GetExecutionSide ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetExecutionSide() string
func (*StreamTradesV2Request) GetExecutionTypes ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetExecutionTypes() []string
func (*StreamTradesV2Request) GetLimit ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetLimit() int32
func (*StreamTradesV2Request) GetMarketId ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetMarketId() string
func (*StreamTradesV2Request) GetMarketIds ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetMarketIds() []string
func (*StreamTradesV2Request) GetSkip ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetSkip() uint64
func (*StreamTradesV2Request) GetStartTime ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetStartTime() int64
func (*StreamTradesV2Request) GetSubaccountId ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetSubaccountId() string
func (*StreamTradesV2Request) GetSubaccountIds ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetSubaccountIds() []string
func (*StreamTradesV2Request) GetTradeId ¶ added in v1.49.0
func (x *StreamTradesV2Request) GetTradeId() string
func (*StreamTradesV2Request) ProtoMessage ¶ added in v1.49.0
func (*StreamTradesV2Request) ProtoMessage()
func (*StreamTradesV2Request) ProtoReflect ¶ added in v1.49.0
func (x *StreamTradesV2Request) ProtoReflect() protoreflect.Message
func (*StreamTradesV2Request) Reset ¶ added in v1.49.0
func (x *StreamTradesV2Request) Reset()
func (*StreamTradesV2Request) String ¶ added in v1.49.0
func (x *StreamTradesV2Request) String() string
type StreamTradesV2Response ¶ added in v1.49.0
type StreamTradesV2Response struct { // New derivative market trade Trade *DerivativeTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"` // Executed trades update type OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // Operation timestamp in UNIX millis. Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*StreamTradesV2Response) Descriptor
deprecated
added in
v1.49.0
func (*StreamTradesV2Response) Descriptor() ([]byte, []int)
Deprecated: Use StreamTradesV2Response.ProtoReflect.Descriptor instead.
func (*StreamTradesV2Response) GetOperationType ¶ added in v1.49.0
func (x *StreamTradesV2Response) GetOperationType() string
func (*StreamTradesV2Response) GetTimestamp ¶ added in v1.49.0
func (x *StreamTradesV2Response) GetTimestamp() int64
func (*StreamTradesV2Response) GetTrade ¶ added in v1.49.0
func (x *StreamTradesV2Response) GetTrade() *DerivativeTrade
func (*StreamTradesV2Response) ProtoMessage ¶ added in v1.49.0
func (*StreamTradesV2Response) ProtoMessage()
func (*StreamTradesV2Response) ProtoReflect ¶ added in v1.49.0
func (x *StreamTradesV2Response) ProtoReflect() protoreflect.Message
func (*StreamTradesV2Response) Reset ¶ added in v1.49.0
func (x *StreamTradesV2Response) Reset()
func (*StreamTradesV2Response) String ¶ added in v1.49.0
func (x *StreamTradesV2Response) String() string
type SubaccountOrdersListRequest ¶
type SubaccountOrdersListRequest struct { // subaccount ID to filter orders for specific subaccount SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Market ID to filter orders for specific market MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*SubaccountOrdersListRequest) Descriptor
deprecated
func (*SubaccountOrdersListRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubaccountOrdersListRequest.ProtoReflect.Descriptor instead.
func (*SubaccountOrdersListRequest) GetLimit ¶ added in v1.38.3
func (x *SubaccountOrdersListRequest) GetLimit() int32
func (*SubaccountOrdersListRequest) GetMarketId ¶
func (x *SubaccountOrdersListRequest) GetMarketId() string
func (*SubaccountOrdersListRequest) GetSkip ¶ added in v1.38.3
func (x *SubaccountOrdersListRequest) GetSkip() uint64
func (*SubaccountOrdersListRequest) GetSubaccountId ¶
func (x *SubaccountOrdersListRequest) GetSubaccountId() string
func (*SubaccountOrdersListRequest) ProtoMessage ¶
func (*SubaccountOrdersListRequest) ProtoMessage()
func (*SubaccountOrdersListRequest) ProtoReflect ¶
func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message
func (*SubaccountOrdersListRequest) Reset ¶
func (x *SubaccountOrdersListRequest) Reset()
func (*SubaccountOrdersListRequest) String ¶
func (x *SubaccountOrdersListRequest) String() string
type SubaccountOrdersListResponse ¶
type SubaccountOrdersListResponse struct { // List of derivative orders Orders []*DerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*SubaccountOrdersListResponse) Descriptor
deprecated
func (*SubaccountOrdersListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubaccountOrdersListResponse.ProtoReflect.Descriptor instead.
func (*SubaccountOrdersListResponse) GetOrders ¶
func (x *SubaccountOrdersListResponse) GetOrders() []*DerivativeLimitOrder
func (*SubaccountOrdersListResponse) GetPaging ¶ added in v1.43.4
func (x *SubaccountOrdersListResponse) GetPaging() *Paging
func (*SubaccountOrdersListResponse) ProtoMessage ¶
func (*SubaccountOrdersListResponse) ProtoMessage()
func (*SubaccountOrdersListResponse) ProtoReflect ¶
func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message
func (*SubaccountOrdersListResponse) Reset ¶
func (x *SubaccountOrdersListResponse) Reset()
func (*SubaccountOrdersListResponse) String ¶
func (x *SubaccountOrdersListResponse) String() string
type SubaccountTradesListRequest ¶
type SubaccountTradesListRequest struct { // SubaccountId of the trader we want to get the trades from SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Filter trades by market ID MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Filter by execution type of trades ExecutionType string `protobuf:"bytes,3,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"` // Filter by direction trades Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*SubaccountTradesListRequest) Descriptor
deprecated
func (*SubaccountTradesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubaccountTradesListRequest.ProtoReflect.Descriptor instead.
func (*SubaccountTradesListRequest) GetDirection ¶
func (x *SubaccountTradesListRequest) GetDirection() string
func (*SubaccountTradesListRequest) GetExecutionType ¶
func (x *SubaccountTradesListRequest) GetExecutionType() string
func (*SubaccountTradesListRequest) GetLimit ¶ added in v1.38.3
func (x *SubaccountTradesListRequest) GetLimit() int32
func (*SubaccountTradesListRequest) GetMarketId ¶
func (x *SubaccountTradesListRequest) GetMarketId() string
func (*SubaccountTradesListRequest) GetSkip ¶ added in v1.38.3
func (x *SubaccountTradesListRequest) GetSkip() uint64
func (*SubaccountTradesListRequest) GetSubaccountId ¶
func (x *SubaccountTradesListRequest) GetSubaccountId() string
func (*SubaccountTradesListRequest) ProtoMessage ¶
func (*SubaccountTradesListRequest) ProtoMessage()
func (*SubaccountTradesListRequest) ProtoReflect ¶
func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message
func (*SubaccountTradesListRequest) Reset ¶
func (x *SubaccountTradesListRequest) Reset()
func (*SubaccountTradesListRequest) String ¶
func (x *SubaccountTradesListRequest) String() string
type SubaccountTradesListResponse ¶
type SubaccountTradesListResponse struct { // List of derivative market trades Trades []*DerivativeTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` // contains filtered or unexported fields }
func (*SubaccountTradesListResponse) Descriptor
deprecated
func (*SubaccountTradesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubaccountTradesListResponse.ProtoReflect.Descriptor instead.
func (*SubaccountTradesListResponse) GetTrades ¶
func (x *SubaccountTradesListResponse) GetTrades() []*DerivativeTrade
func (*SubaccountTradesListResponse) ProtoMessage ¶
func (*SubaccountTradesListResponse) ProtoMessage()
func (*SubaccountTradesListResponse) ProtoReflect ¶
func (x *SubaccountTradesListResponse) ProtoReflect() protoreflect.Message
func (*SubaccountTradesListResponse) Reset ¶
func (x *SubaccountTradesListResponse) Reset()
func (*SubaccountTradesListResponse) String ¶
func (x *SubaccountTradesListResponse) String() string
type TokenMeta ¶
type TokenMeta struct { // Token full name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Token Ethereum contract address Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Token symbol short name Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` // URL to the logo image Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"` // Token decimals Decimals int32 `protobuf:"zigzag32,5,opt,name=decimals,proto3" json:"decimals,omitempty"` // Token metadata fetched timestamp in UNIX millis. UpdatedAt int64 `protobuf:"zigzag64,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*TokenMeta) Descriptor
deprecated
func (*TokenMeta) GetAddress ¶
func (*TokenMeta) GetDecimals ¶
func (*TokenMeta) GetUpdatedAt ¶
func (*TokenMeta) ProtoMessage ¶
func (*TokenMeta) ProtoMessage()
func (*TokenMeta) ProtoReflect ¶
func (x *TokenMeta) ProtoReflect() protoreflect.Message
type TradesRequest ¶
type TradesRequest struct { // MarketId of the market's orderbook we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Filter by execution side of the trade ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` // Filter by direction the trade Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` // SubaccountId of the trader we want to get the trades from SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets of which we want to get trades MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Subaccount ids of traders we want to get trades. Use this field for fetching // trades from multiple subaccounts SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"` // Filter by the tradeId of the trade TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Account address AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // Client order ID Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*TradesRequest) Descriptor
deprecated
func (*TradesRequest) Descriptor() ([]byte, []int)
Deprecated: Use TradesRequest.ProtoReflect.Descriptor instead.
func (*TradesRequest) GetAccountAddress ¶ added in v1.46.4
func (x *TradesRequest) GetAccountAddress() string
func (*TradesRequest) GetCid ¶ added in v1.49.0
func (x *TradesRequest) GetCid() string
func (*TradesRequest) GetDirection ¶
func (x *TradesRequest) GetDirection() string
func (*TradesRequest) GetEndTime ¶ added in v1.32.1
func (x *TradesRequest) GetEndTime() int64
func (*TradesRequest) GetExecutionSide ¶
func (x *TradesRequest) GetExecutionSide() string
func (*TradesRequest) GetExecutionTypes ¶ added in v1.43.4
func (x *TradesRequest) GetExecutionTypes() []string
func (*TradesRequest) GetLimit ¶ added in v1.27.5
func (x *TradesRequest) GetLimit() int32
func (*TradesRequest) GetMarketId ¶
func (x *TradesRequest) GetMarketId() string
func (*TradesRequest) GetMarketIds ¶ added in v1.34.0
func (x *TradesRequest) GetMarketIds() []string
func (*TradesRequest) GetSkip ¶ added in v1.27.5
func (x *TradesRequest) GetSkip() uint64
func (*TradesRequest) GetStartTime ¶ added in v1.32.1
func (x *TradesRequest) GetStartTime() int64
func (*TradesRequest) GetSubaccountId ¶
func (x *TradesRequest) GetSubaccountId() string
func (*TradesRequest) GetSubaccountIds ¶ added in v1.34.0
func (x *TradesRequest) GetSubaccountIds() []string
func (*TradesRequest) GetTradeId ¶ added in v1.46.4
func (x *TradesRequest) GetTradeId() string
func (*TradesRequest) ProtoMessage ¶
func (*TradesRequest) ProtoMessage()
func (*TradesRequest) ProtoReflect ¶
func (x *TradesRequest) ProtoReflect() protoreflect.Message
func (*TradesRequest) Reset ¶
func (x *TradesRequest) Reset()
func (*TradesRequest) String ¶
func (x *TradesRequest) String() string
type TradesResponse ¶
type TradesResponse struct { // Trades of a Derivative Market Trades []*DerivativeTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*TradesResponse) Descriptor
deprecated
func (*TradesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TradesResponse.ProtoReflect.Descriptor instead.
func (*TradesResponse) GetPaging ¶ added in v1.43.4
func (x *TradesResponse) GetPaging() *Paging
func (*TradesResponse) GetTrades ¶
func (x *TradesResponse) GetTrades() []*DerivativeTrade
func (*TradesResponse) ProtoMessage ¶
func (*TradesResponse) ProtoMessage()
func (*TradesResponse) ProtoReflect ¶
func (x *TradesResponse) ProtoReflect() protoreflect.Message
func (*TradesResponse) Reset ¶
func (x *TradesResponse) Reset()
func (*TradesResponse) String ¶
func (x *TradesResponse) String() string
type TradesV2Request ¶ added in v1.49.0
type TradesV2Request struct { // MarketId of the market's orderbook we want to fetch MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Filter by execution side of the trade ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` // Filter by direction the trade Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` // SubaccountId of the trader we want to get the trades from SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` // Skip will skip the first n item from the result Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"` // Limit is used to specify the maximum number of items to be returned. Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"` // The starting timestamp in UNIX milliseconds that the trades must be equal or // older than StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The ending timestamp in UNIX milliseconds that the trades must be equal or // younger than EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // MarketIds of the markets of which we want to get trades MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` // Subaccount ids of traders we want to get trades. Use this field for fetching // trades from multiple subaccounts SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"` // Filter by the tradeId of the trade TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // Account address AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // Client order ID Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*TradesV2Request) Descriptor
deprecated
added in
v1.49.0
func (*TradesV2Request) Descriptor() ([]byte, []int)
Deprecated: Use TradesV2Request.ProtoReflect.Descriptor instead.
func (*TradesV2Request) GetAccountAddress ¶ added in v1.49.0
func (x *TradesV2Request) GetAccountAddress() string
func (*TradesV2Request) GetCid ¶ added in v1.49.0
func (x *TradesV2Request) GetCid() string
func (*TradesV2Request) GetDirection ¶ added in v1.49.0
func (x *TradesV2Request) GetDirection() string
func (*TradesV2Request) GetEndTime ¶ added in v1.49.0
func (x *TradesV2Request) GetEndTime() int64
func (*TradesV2Request) GetExecutionSide ¶ added in v1.49.0
func (x *TradesV2Request) GetExecutionSide() string
func (*TradesV2Request) GetExecutionTypes ¶ added in v1.49.0
func (x *TradesV2Request) GetExecutionTypes() []string
func (*TradesV2Request) GetLimit ¶ added in v1.49.0
func (x *TradesV2Request) GetLimit() int32
func (*TradesV2Request) GetMarketId ¶ added in v1.49.0
func (x *TradesV2Request) GetMarketId() string
func (*TradesV2Request) GetMarketIds ¶ added in v1.49.0
func (x *TradesV2Request) GetMarketIds() []string
func (*TradesV2Request) GetSkip ¶ added in v1.49.0
func (x *TradesV2Request) GetSkip() uint64
func (*TradesV2Request) GetStartTime ¶ added in v1.49.0
func (x *TradesV2Request) GetStartTime() int64
func (*TradesV2Request) GetSubaccountId ¶ added in v1.49.0
func (x *TradesV2Request) GetSubaccountId() string
func (*TradesV2Request) GetSubaccountIds ¶ added in v1.49.0
func (x *TradesV2Request) GetSubaccountIds() []string
func (*TradesV2Request) GetTradeId ¶ added in v1.49.0
func (x *TradesV2Request) GetTradeId() string
func (*TradesV2Request) ProtoMessage ¶ added in v1.49.0
func (*TradesV2Request) ProtoMessage()
func (*TradesV2Request) ProtoReflect ¶ added in v1.49.0
func (x *TradesV2Request) ProtoReflect() protoreflect.Message
func (*TradesV2Request) Reset ¶ added in v1.49.0
func (x *TradesV2Request) Reset()
func (*TradesV2Request) String ¶ added in v1.49.0
func (x *TradesV2Request) String() string
type TradesV2Response ¶ added in v1.49.0
type TradesV2Response struct { // Trades of a Derivative Market Trades []*DerivativeTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*TradesV2Response) Descriptor
deprecated
added in
v1.49.0
func (*TradesV2Response) Descriptor() ([]byte, []int)
Deprecated: Use TradesV2Response.ProtoReflect.Descriptor instead.
func (*TradesV2Response) GetPaging ¶ added in v1.49.0
func (x *TradesV2Response) GetPaging() *Paging
func (*TradesV2Response) GetTrades ¶ added in v1.49.0
func (x *TradesV2Response) GetTrades() []*DerivativeTrade
func (*TradesV2Response) ProtoMessage ¶ added in v1.49.0
func (*TradesV2Response) ProtoMessage()
func (*TradesV2Response) ProtoReflect ¶ added in v1.49.0
func (x *TradesV2Response) ProtoReflect() protoreflect.Message
func (*TradesV2Response) Reset ¶ added in v1.49.0
func (x *TradesV2Response) Reset()
func (*TradesV2Response) String ¶ added in v1.49.0
func (x *TradesV2Response) String() string
type UnimplementedInjectiveDerivativeExchangeRPCServer ¶
type UnimplementedInjectiveDerivativeExchangeRPCServer struct { }
UnimplementedInjectiveDerivativeExchangeRPCServer must be embedded to have forward compatible implementations.
func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarket ¶ added in v1.43.4
func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarket(context.Context, *BinaryOptionsMarketRequest) (*BinaryOptionsMarketResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarkets ¶ added in v1.43.4
func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarkets(context.Context, *BinaryOptionsMarketsRequest) (*BinaryOptionsMarketsResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) FundingPayments ¶ added in v1.27.5
func (UnimplementedInjectiveDerivativeExchangeRPCServer) FundingPayments(context.Context, *FundingPaymentsRequest) (*FundingPaymentsResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) FundingRates ¶ added in v1.32.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) FundingRates(context.Context, *FundingRatesRequest) (*FundingRatesResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) LiquidablePositions ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) LiquidablePositions(context.Context, *LiquidablePositionsRequest) (*LiquidablePositionsResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Market ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Market(context.Context, *MarketRequest) (*MarketResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Markets ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Markets(context.Context, *MarketsRequest) (*MarketsResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbookV2 ¶ added in v1.44.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbooksV2 ¶ added in v1.44.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Orders ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Orders(context.Context, *OrdersRequest) (*OrdersResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrdersHistory ¶ added in v1.43.4
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrdersHistory(context.Context, *OrdersHistoryRequest) (*OrdersHistoryResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Positions ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Positions(context.Context, *PositionsRequest) (*PositionsResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) PositionsV2 ¶ added in v1.49.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) PositionsV2(context.Context, *PositionsV2Request) (*PositionsV2Response, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamMarket ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbookUpdate ¶ added in v1.43.4
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbookUpdate(*StreamOrderbookUpdateRequest, InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateServer) error
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbookV2 ¶ added in v1.44.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrders ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrdersHistory ¶ added in v1.43.4
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamPositions ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamTrades ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamTradesV2 ¶ added in v1.49.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountOrdersList ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountTradesList ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountTradesList(context.Context, *SubaccountTradesListRequest) (*SubaccountTradesListResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Trades ¶
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Trades(context.Context, *TradesRequest) (*TradesResponse, error)
func (UnimplementedInjectiveDerivativeExchangeRPCServer) TradesV2 ¶ added in v1.49.0
func (UnimplementedInjectiveDerivativeExchangeRPCServer) TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error)
type UnsafeInjectiveDerivativeExchangeRPCServer ¶
type UnsafeInjectiveDerivativeExchangeRPCServer interface {
// contains filtered or unexported methods
}
UnsafeInjectiveDerivativeExchangeRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InjectiveDerivativeExchangeRPCServer will result in compilation errors.