mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
* Bybit: Fix race in TestUpdateAccountInfo and TestWSHandleData * DriveBy rename TestWSHandleData * This doesn't address running with -race=2+ due to the singleton * Accounts: Add account.GetService() * exchange: Assertify TestSetupDefaults * Exchanges: Add account.Service override for testing * Exchanges: Remove duplicate IsWebsocketEnabled test from TestSetupDefaults * Dispatch: Replace nil checks with NilGuard * Engine: Remove deprecated printAccountHoldingsChangeSummary * Dispatcher: Add EnsureRunning method * Accounts: Move singleton accounts service to exchange Accounts * Move singleton accounts service to exchange Accounts This maintains the concept of a global store, whilst allowing exchanges to override it when needed, particularly for testing. APIServer: * Remove getAllActiveAccounts from apiserver Deprecated apiserver only thing using this, so remove it instead of updating it * Update comment for UpdateAccountBalances everywhere * Docs: Add punctuation to function comments * Bybit: Coverage for wsProcessWalletPushData Save
17162 lines
568 KiB
Go
17162 lines
568 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc (unknown)
|
|
// source: rpc.proto
|
|
|
|
package gctrpc
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GetInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetInfoRequest) Reset() {
|
|
*x = GetInfoRequest{}
|
|
mi := &file_rpc_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type GetInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uptime string `protobuf:"bytes,1,opt,name=uptime,proto3" json:"uptime,omitempty"`
|
|
AvailableExchanges int64 `protobuf:"varint,2,opt,name=available_exchanges,json=availableExchanges,proto3" json:"available_exchanges,omitempty"`
|
|
EnabledExchanges int64 `protobuf:"varint,3,opt,name=enabled_exchanges,json=enabledExchanges,proto3" json:"enabled_exchanges,omitempty"`
|
|
DefaultForexProvider string `protobuf:"bytes,4,opt,name=default_forex_provider,json=defaultForexProvider,proto3" json:"default_forex_provider,omitempty"`
|
|
DefaultFiatCurrency string `protobuf:"bytes,5,opt,name=default_fiat_currency,json=defaultFiatCurrency,proto3" json:"default_fiat_currency,omitempty"`
|
|
SubsystemStatus map[string]bool `protobuf:"bytes,6,rep,name=subsystem_status,json=subsystemStatus,proto3" json:"subsystem_status,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
RpcEndpoints map[string]*RPCEndpoint `protobuf:"bytes,7,rep,name=rpc_endpoints,json=rpcEndpoints,proto3" json:"rpc_endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetInfoResponse) Reset() {
|
|
*x = GetInfoResponse{}
|
|
mi := &file_rpc_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetUptime() string {
|
|
if x != nil {
|
|
return x.Uptime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetAvailableExchanges() int64 {
|
|
if x != nil {
|
|
return x.AvailableExchanges
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetEnabledExchanges() int64 {
|
|
if x != nil {
|
|
return x.EnabledExchanges
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetDefaultForexProvider() string {
|
|
if x != nil {
|
|
return x.DefaultForexProvider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetDefaultFiatCurrency() string {
|
|
if x != nil {
|
|
return x.DefaultFiatCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetSubsystemStatus() map[string]bool {
|
|
if x != nil {
|
|
return x.SubsystemStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetRpcEndpoints() map[string]*RPCEndpoint {
|
|
if x != nil {
|
|
return x.RpcEndpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCommunicationRelayersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCommunicationRelayersRequest) Reset() {
|
|
*x = GetCommunicationRelayersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCommunicationRelayersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCommunicationRelayersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCommunicationRelayersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCommunicationRelayersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCommunicationRelayersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type CommunicationRelayer struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CommunicationRelayer) Reset() {
|
|
*x = CommunicationRelayer{}
|
|
mi := &file_rpc_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CommunicationRelayer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommunicationRelayer) ProtoMessage() {}
|
|
|
|
func (x *CommunicationRelayer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CommunicationRelayer.ProtoReflect.Descriptor instead.
|
|
func (*CommunicationRelayer) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CommunicationRelayer) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CommunicationRelayer) GetConnected() bool {
|
|
if x != nil {
|
|
return x.Connected
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetCommunicationRelayersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CommunicationRelayers map[string]*CommunicationRelayer `protobuf:"bytes,1,rep,name=communication_relayers,json=communicationRelayers,proto3" json:"communication_relayers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCommunicationRelayersResponse) Reset() {
|
|
*x = GetCommunicationRelayersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCommunicationRelayersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCommunicationRelayersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCommunicationRelayersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCommunicationRelayersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCommunicationRelayersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetCommunicationRelayersResponse) GetCommunicationRelayers() map[string]*CommunicationRelayer {
|
|
if x != nil {
|
|
return x.CommunicationRelayers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GenericSubsystemRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Subsystem string `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenericSubsystemRequest) Reset() {
|
|
*x = GenericSubsystemRequest{}
|
|
mi := &file_rpc_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenericSubsystemRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenericSubsystemRequest) ProtoMessage() {}
|
|
|
|
func (x *GenericSubsystemRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GenericSubsystemRequest.ProtoReflect.Descriptor instead.
|
|
func (*GenericSubsystemRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GenericSubsystemRequest) GetSubsystem() string {
|
|
if x != nil {
|
|
return x.Subsystem
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSubsystemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSubsystemsRequest) Reset() {
|
|
*x = GetSubsystemsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSubsystemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSubsystemsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSubsystemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSubsystemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSubsystemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type GetSusbsytemsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SubsystemsStatus map[string]bool `protobuf:"bytes,1,rep,name=subsystems_status,json=subsystemsStatus,proto3" json:"subsystems_status,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSusbsytemsResponse) Reset() {
|
|
*x = GetSusbsytemsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSusbsytemsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSusbsytemsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSusbsytemsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSusbsytemsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSusbsytemsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetSusbsytemsResponse) GetSubsystemsStatus() map[string]bool {
|
|
if x != nil {
|
|
return x.SubsystemsStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRPCEndpointsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRPCEndpointsRequest) Reset() {
|
|
*x = GetRPCEndpointsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRPCEndpointsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRPCEndpointsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRPCEndpointsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRPCEndpointsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRPCEndpointsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type RPCEndpoint struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`
|
|
ListenAddress string `protobuf:"bytes,2,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RPCEndpoint) Reset() {
|
|
*x = RPCEndpoint{}
|
|
mi := &file_rpc_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RPCEndpoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCEndpoint) ProtoMessage() {}
|
|
|
|
func (x *RPCEndpoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RPCEndpoint.ProtoReflect.Descriptor instead.
|
|
func (*RPCEndpoint) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *RPCEndpoint) GetStarted() bool {
|
|
if x != nil {
|
|
return x.Started
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RPCEndpoint) GetListenAddress() string {
|
|
if x != nil {
|
|
return x.ListenAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetRPCEndpointsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Endpoints map[string]*RPCEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRPCEndpointsResponse) Reset() {
|
|
*x = GetRPCEndpointsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRPCEndpointsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRPCEndpointsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetRPCEndpointsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRPCEndpointsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRPCEndpointsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetRPCEndpointsResponse) GetEndpoints() map[string]*RPCEndpoint {
|
|
if x != nil {
|
|
return x.Endpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GenericExchangeNameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenericExchangeNameRequest) Reset() {
|
|
*x = GenericExchangeNameRequest{}
|
|
mi := &file_rpc_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenericExchangeNameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenericExchangeNameRequest) ProtoMessage() {}
|
|
|
|
func (x *GenericExchangeNameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GenericExchangeNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*GenericExchangeNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GenericExchangeNameRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangesRequest) Reset() {
|
|
*x = GetExchangesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetExchangesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetExchangesRequest) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetExchangesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchanges string `protobuf:"bytes,1,opt,name=exchanges,proto3" json:"exchanges,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangesResponse) Reset() {
|
|
*x = GetExchangesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetExchangesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GetExchangesResponse) GetExchanges() string {
|
|
if x != nil {
|
|
return x.Exchanges
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeOTPResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OtpCode string `protobuf:"bytes,1,opt,name=otp_code,json=otpCode,proto3" json:"otp_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeOTPResponse) Reset() {
|
|
*x = GetExchangeOTPResponse{}
|
|
mi := &file_rpc_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeOTPResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeOTPResponse) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeOTPResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeOTPResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeOTPResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *GetExchangeOTPResponse) GetOtpCode() string {
|
|
if x != nil {
|
|
return x.OtpCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeOTPsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeOTPsRequest) Reset() {
|
|
*x = GetExchangeOTPsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeOTPsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeOTPsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeOTPsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeOTPsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeOTPsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
type GetExchangeOTPsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OtpCodes map[string]string `protobuf:"bytes,1,rep,name=otp_codes,json=otpCodes,proto3" json:"otp_codes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeOTPsResponse) Reset() {
|
|
*x = GetExchangeOTPsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeOTPsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeOTPsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeOTPsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeOTPsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeOTPsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetExchangeOTPsResponse) GetOtpCodes() map[string]string {
|
|
if x != nil {
|
|
return x.OtpCodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DisableExchangeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DisableExchangeRequest) Reset() {
|
|
*x = DisableExchangeRequest{}
|
|
mi := &file_rpc_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DisableExchangeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DisableExchangeRequest) ProtoMessage() {}
|
|
|
|
func (x *DisableExchangeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DisableExchangeRequest.ProtoReflect.Descriptor instead.
|
|
func (*DisableExchangeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *DisableExchangeRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PairsSupported struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AvailablePairs string `protobuf:"bytes,1,opt,name=available_pairs,json=availablePairs,proto3" json:"available_pairs,omitempty"`
|
|
EnabledPairs string `protobuf:"bytes,2,opt,name=enabled_pairs,json=enabledPairs,proto3" json:"enabled_pairs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PairsSupported) Reset() {
|
|
*x = PairsSupported{}
|
|
mi := &file_rpc_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PairsSupported) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PairsSupported) ProtoMessage() {}
|
|
|
|
func (x *PairsSupported) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PairsSupported.ProtoReflect.Descriptor instead.
|
|
func (*PairsSupported) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *PairsSupported) GetAvailablePairs() string {
|
|
if x != nil {
|
|
return x.AvailablePairs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PairsSupported) GetEnabledPairs() string {
|
|
if x != nil {
|
|
return x.EnabledPairs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"`
|
|
UsingSandbox bool `protobuf:"varint,4,opt,name=using_sandbox,json=usingSandbox,proto3" json:"using_sandbox,omitempty"`
|
|
HttpTimeout string `protobuf:"bytes,5,opt,name=http_timeout,json=httpTimeout,proto3" json:"http_timeout,omitempty"`
|
|
HttpUseragent string `protobuf:"bytes,6,opt,name=http_useragent,json=httpUseragent,proto3" json:"http_useragent,omitempty"`
|
|
HttpProxy string `protobuf:"bytes,7,opt,name=http_proxy,json=httpProxy,proto3" json:"http_proxy,omitempty"`
|
|
BaseCurrencies string `protobuf:"bytes,8,opt,name=base_currencies,json=baseCurrencies,proto3" json:"base_currencies,omitempty"`
|
|
SupportedAssets map[string]*PairsSupported `protobuf:"bytes,9,rep,name=supported_assets,json=supportedAssets,proto3" json:"supported_assets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
AuthenticatedApi bool `protobuf:"varint,10,opt,name=authenticated_api,json=authenticatedApi,proto3" json:"authenticated_api,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) Reset() {
|
|
*x = GetExchangeInfoResponse{}
|
|
mi := &file_rpc_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetVerbose() bool {
|
|
if x != nil {
|
|
return x.Verbose
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetUsingSandbox() bool {
|
|
if x != nil {
|
|
return x.UsingSandbox
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetHttpTimeout() string {
|
|
if x != nil {
|
|
return x.HttpTimeout
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetHttpUseragent() string {
|
|
if x != nil {
|
|
return x.HttpUseragent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetHttpProxy() string {
|
|
if x != nil {
|
|
return x.HttpProxy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetBaseCurrencies() string {
|
|
if x != nil {
|
|
return x.BaseCurrencies
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetSupportedAssets() map[string]*PairsSupported {
|
|
if x != nil {
|
|
return x.SupportedAssets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetExchangeInfoResponse) GetAuthenticatedApi() bool {
|
|
if x != nil {
|
|
return x.AuthenticatedApi
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetTickerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTickerRequest) Reset() {
|
|
*x = GetTickerRequest{}
|
|
mi := &file_rpc_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTickerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTickerRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTickerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTickerRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTickerRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetTickerRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTickerRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTickerRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyPair struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Delimiter string `protobuf:"bytes,1,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
|
|
Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
|
|
Quote string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyPair) Reset() {
|
|
*x = CurrencyPair{}
|
|
mi := &file_rpc_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyPair) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyPair) ProtoMessage() {}
|
|
|
|
func (x *CurrencyPair) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyPair.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyPair) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *CurrencyPair) GetDelimiter() string {
|
|
if x != nil {
|
|
return x.Delimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyPair) GetBase() string {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyPair) GetQuote() string {
|
|
if x != nil {
|
|
return x.Quote
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TickerResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Pair *CurrencyPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
LastUpdated int64 `protobuf:"varint,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
|
CurrencyPair string `protobuf:"bytes,3,opt,name=currency_pair,json=currencyPair,proto3" json:"currency_pair,omitempty"`
|
|
Last float64 `protobuf:"fixed64,4,opt,name=last,proto3" json:"last,omitempty"`
|
|
High float64 `protobuf:"fixed64,5,opt,name=high,proto3" json:"high,omitempty"`
|
|
Low float64 `protobuf:"fixed64,6,opt,name=low,proto3" json:"low,omitempty"`
|
|
Bid float64 `protobuf:"fixed64,7,opt,name=bid,proto3" json:"bid,omitempty"`
|
|
Ask float64 `protobuf:"fixed64,8,opt,name=ask,proto3" json:"ask,omitempty"`
|
|
Volume float64 `protobuf:"fixed64,9,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
PriceAth float64 `protobuf:"fixed64,10,opt,name=price_ath,json=priceAth,proto3" json:"price_ath,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TickerResponse) Reset() {
|
|
*x = TickerResponse{}
|
|
mi := &file_rpc_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TickerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TickerResponse) ProtoMessage() {}
|
|
|
|
func (x *TickerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TickerResponse.ProtoReflect.Descriptor instead.
|
|
func (*TickerResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *TickerResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TickerResponse) GetLastUpdated() int64 {
|
|
if x != nil {
|
|
return x.LastUpdated
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetCurrencyPair() string {
|
|
if x != nil {
|
|
return x.CurrencyPair
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TickerResponse) GetLast() float64 {
|
|
if x != nil {
|
|
return x.Last
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetHigh() float64 {
|
|
if x != nil {
|
|
return x.High
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetLow() float64 {
|
|
if x != nil {
|
|
return x.Low
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetBid() float64 {
|
|
if x != nil {
|
|
return x.Bid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetAsk() float64 {
|
|
if x != nil {
|
|
return x.Ask
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetVolume() float64 {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TickerResponse) GetPriceAth() float64 {
|
|
if x != nil {
|
|
return x.PriceAth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetTickersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTickersRequest) Reset() {
|
|
*x = GetTickersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTickersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTickersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTickersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTickersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTickersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
type Tickers struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Tickers []*TickerResponse `protobuf:"bytes,2,rep,name=tickers,proto3" json:"tickers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Tickers) Reset() {
|
|
*x = Tickers{}
|
|
mi := &file_rpc_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Tickers) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Tickers) ProtoMessage() {}
|
|
|
|
func (x *Tickers) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Tickers.ProtoReflect.Descriptor instead.
|
|
func (*Tickers) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *Tickers) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tickers) GetTickers() []*TickerResponse {
|
|
if x != nil {
|
|
return x.Tickers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTickersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tickers []*Tickers `protobuf:"bytes,1,rep,name=tickers,proto3" json:"tickers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTickersResponse) Reset() {
|
|
*x = GetTickersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTickersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTickersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTickersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTickersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTickersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *GetTickersResponse) GetTickers() []*Tickers {
|
|
if x != nil {
|
|
return x.Tickers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderbookRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookRequest) Reset() {
|
|
*x = GetOrderbookRequest{}
|
|
mi := &file_rpc_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *GetOrderbookRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrderbookRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrderbookItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"`
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OrderbookItem) Reset() {
|
|
*x = OrderbookItem{}
|
|
mi := &file_rpc_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderbookItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderbookItem) ProtoMessage() {}
|
|
|
|
func (x *OrderbookItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OrderbookItem.ProtoReflect.Descriptor instead.
|
|
func (*OrderbookItem) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *OrderbookItem) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderbookItem) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderbookItem) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OrderbookResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Pair *CurrencyPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
CurrencyPair string `protobuf:"bytes,2,opt,name=currency_pair,json=currencyPair,proto3" json:"currency_pair,omitempty"`
|
|
Bids []*OrderbookItem `protobuf:"bytes,3,rep,name=bids,proto3" json:"bids,omitempty"`
|
|
Asks []*OrderbookItem `protobuf:"bytes,4,rep,name=asks,proto3" json:"asks,omitempty"`
|
|
LastUpdated int64 `protobuf:"varint,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
|
AssetType string `protobuf:"bytes,6,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OrderbookResponse) Reset() {
|
|
*x = OrderbookResponse{}
|
|
mi := &file_rpc_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderbookResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderbookResponse) ProtoMessage() {}
|
|
|
|
func (x *OrderbookResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OrderbookResponse.ProtoReflect.Descriptor instead.
|
|
func (*OrderbookResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetCurrencyPair() string {
|
|
if x != nil {
|
|
return x.CurrencyPair
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetBids() []*OrderbookItem {
|
|
if x != nil {
|
|
return x.Bids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetAsks() []*OrderbookItem {
|
|
if x != nil {
|
|
return x.Asks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetLastUpdated() int64 {
|
|
if x != nil {
|
|
return x.LastUpdated
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderbookResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetOrderbooksRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbooksRequest) Reset() {
|
|
*x = GetOrderbooksRequest{}
|
|
mi := &file_rpc_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbooksRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbooksRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbooksRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbooksRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbooksRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
type Orderbooks struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Orderbooks []*OrderbookResponse `protobuf:"bytes,2,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Orderbooks) Reset() {
|
|
*x = Orderbooks{}
|
|
mi := &file_rpc_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Orderbooks) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Orderbooks) ProtoMessage() {}
|
|
|
|
func (x *Orderbooks) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Orderbooks.ProtoReflect.Descriptor instead.
|
|
func (*Orderbooks) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *Orderbooks) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Orderbooks) GetOrderbooks() []*OrderbookResponse {
|
|
if x != nil {
|
|
return x.Orderbooks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderbooksResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Orderbooks []*Orderbooks `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbooksResponse) Reset() {
|
|
*x = GetOrderbooksResponse{}
|
|
mi := &file_rpc_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbooksResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbooksResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbooksResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbooksResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbooksResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *GetOrderbooksResponse) GetOrderbooks() []*Orderbooks {
|
|
if x != nil {
|
|
return x.Orderbooks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAccountBalancesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountBalancesRequest) Reset() {
|
|
*x = GetAccountBalancesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountBalancesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountBalancesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAccountBalancesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAccountBalancesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountBalancesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetAccountBalancesRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAccountBalancesRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Account struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Currencies []*AccountCurrencyInfo `protobuf:"bytes,2,rep,name=currencies,proto3" json:"currencies,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Account) Reset() {
|
|
*x = Account{}
|
|
mi := &file_rpc_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Account) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Account) ProtoMessage() {}
|
|
|
|
func (x *Account) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *Account) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Account) GetCurrencies() []*AccountCurrencyInfo {
|
|
if x != nil {
|
|
return x.Currencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AccountCurrencyInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
TotalValue float64 `protobuf:"fixed64,2,opt,name=total_value,json=totalValue,proto3" json:"total_value,omitempty"`
|
|
Hold float64 `protobuf:"fixed64,3,opt,name=hold,proto3" json:"hold,omitempty"`
|
|
Free float64 `protobuf:"fixed64,4,opt,name=free,proto3" json:"free,omitempty"`
|
|
FreeWithoutBorrow float64 `protobuf:"fixed64,5,opt,name=free_without_borrow,json=freeWithoutBorrow,proto3" json:"free_without_borrow,omitempty"`
|
|
Borrowed float64 `protobuf:"fixed64,6,opt,name=borrowed,proto3" json:"borrowed,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) Reset() {
|
|
*x = AccountCurrencyInfo{}
|
|
mi := &file_rpc_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountCurrencyInfo) ProtoMessage() {}
|
|
|
|
func (x *AccountCurrencyInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountCurrencyInfo.ProtoReflect.Descriptor instead.
|
|
func (*AccountCurrencyInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetTotalValue() float64 {
|
|
if x != nil {
|
|
return x.TotalValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetHold() float64 {
|
|
if x != nil {
|
|
return x.Hold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetFree() float64 {
|
|
if x != nil {
|
|
return x.Free
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetFreeWithoutBorrow() float64 {
|
|
if x != nil {
|
|
return x.FreeWithoutBorrow
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetBorrowed() float64 {
|
|
if x != nil {
|
|
return x.Borrowed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountCurrencyInfo) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAccountBalancesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Accounts []*Account `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountBalancesResponse) Reset() {
|
|
*x = GetAccountBalancesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountBalancesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountBalancesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAccountBalancesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAccountBalancesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountBalancesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *GetAccountBalancesResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAccountBalancesResponse) GetAccounts() []*Account {
|
|
if x != nil {
|
|
return x.Accounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConfigRequest) Reset() {
|
|
*x = GetConfigRequest{}
|
|
mi := &file_rpc_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
type GetConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConfigResponse) Reset() {
|
|
*x = GetConfigResponse{}
|
|
mi := &file_rpc_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *GetConfigResponse) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PortfolioAddress struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
CoinType string `protobuf:"bytes,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,4,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PortfolioAddress) Reset() {
|
|
*x = PortfolioAddress{}
|
|
mi := &file_rpc_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PortfolioAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PortfolioAddress) ProtoMessage() {}
|
|
|
|
func (x *PortfolioAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PortfolioAddress.ProtoReflect.Descriptor instead.
|
|
func (*PortfolioAddress) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *PortfolioAddress) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PortfolioAddress) GetCoinType() string {
|
|
if x != nil {
|
|
return x.CoinType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PortfolioAddress) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PortfolioAddress) GetBalance() float64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetPortfolioRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPortfolioRequest) Reset() {
|
|
*x = GetPortfolioRequest{}
|
|
mi := &file_rpc_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPortfolioRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPortfolioRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPortfolioRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPortfolioRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPortfolioRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
type GetPortfolioResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Portfolio []*PortfolioAddress `protobuf:"bytes,1,rep,name=portfolio,proto3" json:"portfolio,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPortfolioResponse) Reset() {
|
|
*x = GetPortfolioResponse{}
|
|
mi := &file_rpc_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPortfolioResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPortfolioResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPortfolioResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPortfolioResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPortfolioResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *GetPortfolioResponse) GetPortfolio() []*PortfolioAddress {
|
|
if x != nil {
|
|
return x.Portfolio
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPortfolioSummaryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryRequest) Reset() {
|
|
*x = GetPortfolioSummaryRequest{}
|
|
mi := &file_rpc_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPortfolioSummaryRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPortfolioSummaryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPortfolioSummaryRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPortfolioSummaryRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
type Coin struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Coin string `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
Percentage float64 `protobuf:"fixed64,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Coin) Reset() {
|
|
*x = Coin{}
|
|
mi := &file_rpc_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Coin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Coin) ProtoMessage() {}
|
|
|
|
func (x *Coin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Coin.ProtoReflect.Descriptor instead.
|
|
func (*Coin) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *Coin) GetCoin() string {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Coin) GetBalance() float64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Coin) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Coin) GetPercentage() float64 {
|
|
if x != nil {
|
|
return x.Percentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OfflineCoinSummary struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
Percentage float64 `protobuf:"fixed64,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OfflineCoinSummary) Reset() {
|
|
*x = OfflineCoinSummary{}
|
|
mi := &file_rpc_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OfflineCoinSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OfflineCoinSummary) ProtoMessage() {}
|
|
|
|
func (x *OfflineCoinSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OfflineCoinSummary.ProtoReflect.Descriptor instead.
|
|
func (*OfflineCoinSummary) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *OfflineCoinSummary) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OfflineCoinSummary) GetBalance() float64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OfflineCoinSummary) GetPercentage() float64 {
|
|
if x != nil {
|
|
return x.Percentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OnlineCoinSummary struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Balance float64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
Percentage float64 `protobuf:"fixed64,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnlineCoinSummary) Reset() {
|
|
*x = OnlineCoinSummary{}
|
|
mi := &file_rpc_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnlineCoinSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnlineCoinSummary) ProtoMessage() {}
|
|
|
|
func (x *OnlineCoinSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OnlineCoinSummary.ProtoReflect.Descriptor instead.
|
|
func (*OnlineCoinSummary) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *OnlineCoinSummary) GetBalance() float64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OnlineCoinSummary) GetPercentage() float64 {
|
|
if x != nil {
|
|
return x.Percentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OfflineCoins struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Addresses []*OfflineCoinSummary `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OfflineCoins) Reset() {
|
|
*x = OfflineCoins{}
|
|
mi := &file_rpc_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OfflineCoins) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OfflineCoins) ProtoMessage() {}
|
|
|
|
func (x *OfflineCoins) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OfflineCoins.ProtoReflect.Descriptor instead.
|
|
func (*OfflineCoins) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *OfflineCoins) GetAddresses() []*OfflineCoinSummary {
|
|
if x != nil {
|
|
return x.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnlineCoins struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Coins map[string]*OnlineCoinSummary `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnlineCoins) Reset() {
|
|
*x = OnlineCoins{}
|
|
mi := &file_rpc_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnlineCoins) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnlineCoins) ProtoMessage() {}
|
|
|
|
func (x *OnlineCoins) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OnlineCoins.ProtoReflect.Descriptor instead.
|
|
func (*OnlineCoins) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *OnlineCoins) GetCoins() map[string]*OnlineCoinSummary {
|
|
if x != nil {
|
|
return x.Coins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPortfolioSummaryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CoinTotals []*Coin `protobuf:"bytes,1,rep,name=coin_totals,json=coinTotals,proto3" json:"coin_totals,omitempty"`
|
|
CoinsOffline []*Coin `protobuf:"bytes,2,rep,name=coins_offline,json=coinsOffline,proto3" json:"coins_offline,omitempty"`
|
|
CoinsOfflineSummary map[string]*OfflineCoins `protobuf:"bytes,3,rep,name=coins_offline_summary,json=coinsOfflineSummary,proto3" json:"coins_offline_summary,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
CoinsOnline []*Coin `protobuf:"bytes,4,rep,name=coins_online,json=coinsOnline,proto3" json:"coins_online,omitempty"`
|
|
CoinsOnlineSummary map[string]*OnlineCoins `protobuf:"bytes,5,rep,name=coins_online_summary,json=coinsOnlineSummary,proto3" json:"coins_online_summary,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) Reset() {
|
|
*x = GetPortfolioSummaryResponse{}
|
|
mi := &file_rpc_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPortfolioSummaryResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPortfolioSummaryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPortfolioSummaryResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPortfolioSummaryResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) GetCoinTotals() []*Coin {
|
|
if x != nil {
|
|
return x.CoinTotals
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) GetCoinsOffline() []*Coin {
|
|
if x != nil {
|
|
return x.CoinsOffline
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) GetCoinsOfflineSummary() map[string]*OfflineCoins {
|
|
if x != nil {
|
|
return x.CoinsOfflineSummary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) GetCoinsOnline() []*Coin {
|
|
if x != nil {
|
|
return x.CoinsOnline
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPortfolioSummaryResponse) GetCoinsOnlineSummary() map[string]*OnlineCoins {
|
|
if x != nil {
|
|
return x.CoinsOnlineSummary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddPortfolioAddressRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
CoinType string `protobuf:"bytes,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,4,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
SupportedExchanges string `protobuf:"bytes,5,opt,name=supported_exchanges,json=supportedExchanges,proto3" json:"supported_exchanges,omitempty"`
|
|
ColdStorage bool `protobuf:"varint,6,opt,name=cold_storage,json=coldStorage,proto3" json:"cold_storage,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) Reset() {
|
|
*x = AddPortfolioAddressRequest{}
|
|
mi := &file_rpc_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPortfolioAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *AddPortfolioAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddPortfolioAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddPortfolioAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) GetCoinType() string {
|
|
if x != nil {
|
|
return x.CoinType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) GetBalance() float64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) GetSupportedExchanges() string {
|
|
if x != nil {
|
|
return x.SupportedExchanges
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPortfolioAddressRequest) GetColdStorage() bool {
|
|
if x != nil {
|
|
return x.ColdStorage
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RemovePortfolioAddressRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
CoinType string `protobuf:"bytes,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemovePortfolioAddressRequest) Reset() {
|
|
*x = RemovePortfolioAddressRequest{}
|
|
mi := &file_rpc_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemovePortfolioAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemovePortfolioAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *RemovePortfolioAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemovePortfolioAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemovePortfolioAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *RemovePortfolioAddressRequest) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemovePortfolioAddressRequest) GetCoinType() string {
|
|
if x != nil {
|
|
return x.CoinType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemovePortfolioAddressRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetForexProvidersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetForexProvidersRequest) Reset() {
|
|
*x = GetForexProvidersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetForexProvidersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetForexProvidersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetForexProvidersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetForexProvidersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetForexProvidersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
type ForexProvider struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"`
|
|
RestPollingDelay string `protobuf:"bytes,4,opt,name=rest_polling_delay,json=restPollingDelay,proto3" json:"rest_polling_delay,omitempty"`
|
|
ApiKey string `protobuf:"bytes,5,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
|
|
ApiKeyLevel int64 `protobuf:"varint,6,opt,name=api_key_level,json=apiKeyLevel,proto3" json:"api_key_level,omitempty"`
|
|
PrimaryProvider bool `protobuf:"varint,7,opt,name=primary_provider,json=primaryProvider,proto3" json:"primary_provider,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ForexProvider) Reset() {
|
|
*x = ForexProvider{}
|
|
mi := &file_rpc_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ForexProvider) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForexProvider) ProtoMessage() {}
|
|
|
|
func (x *ForexProvider) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForexProvider.ProtoReflect.Descriptor instead.
|
|
func (*ForexProvider) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *ForexProvider) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexProvider) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForexProvider) GetVerbose() bool {
|
|
if x != nil {
|
|
return x.Verbose
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForexProvider) GetRestPollingDelay() string {
|
|
if x != nil {
|
|
return x.RestPollingDelay
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexProvider) GetApiKey() string {
|
|
if x != nil {
|
|
return x.ApiKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexProvider) GetApiKeyLevel() int64 {
|
|
if x != nil {
|
|
return x.ApiKeyLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForexProvider) GetPrimaryProvider() bool {
|
|
if x != nil {
|
|
return x.PrimaryProvider
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetForexProvidersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ForexProviders []*ForexProvider `protobuf:"bytes,1,rep,name=forex_providers,json=forexProviders,proto3" json:"forex_providers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetForexProvidersResponse) Reset() {
|
|
*x = GetForexProvidersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetForexProvidersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetForexProvidersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetForexProvidersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetForexProvidersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetForexProvidersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *GetForexProvidersResponse) GetForexProviders() []*ForexProvider {
|
|
if x != nil {
|
|
return x.ForexProviders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetForexRatesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetForexRatesRequest) Reset() {
|
|
*x = GetForexRatesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetForexRatesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetForexRatesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetForexRatesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetForexRatesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetForexRatesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
type ForexRatesConversion struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
|
|
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
|
|
Rate float64 `protobuf:"fixed64,3,opt,name=rate,proto3" json:"rate,omitempty"`
|
|
InverseRate float64 `protobuf:"fixed64,4,opt,name=inverse_rate,json=inverseRate,proto3" json:"inverse_rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ForexRatesConversion) Reset() {
|
|
*x = ForexRatesConversion{}
|
|
mi := &file_rpc_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ForexRatesConversion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForexRatesConversion) ProtoMessage() {}
|
|
|
|
func (x *ForexRatesConversion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForexRatesConversion.ProtoReflect.Descriptor instead.
|
|
func (*ForexRatesConversion) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *ForexRatesConversion) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRatesConversion) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRatesConversion) GetRate() float64 {
|
|
if x != nil {
|
|
return x.Rate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForexRatesConversion) GetInverseRate() float64 {
|
|
if x != nil {
|
|
return x.InverseRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetForexRatesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ForexRates []*ForexRatesConversion `protobuf:"bytes,1,rep,name=forex_rates,json=forexRates,proto3" json:"forex_rates,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetForexRatesResponse) Reset() {
|
|
*x = GetForexRatesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetForexRatesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetForexRatesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetForexRatesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetForexRatesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetForexRatesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *GetForexRatesResponse) GetForexRates() []*ForexRatesConversion {
|
|
if x != nil {
|
|
return x.ForexRates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OrderDetails struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
ClientOrderId string `protobuf:"bytes,3,opt,name=client_order_id,json=clientOrderId,proto3" json:"client_order_id,omitempty"`
|
|
BaseCurrency string `protobuf:"bytes,4,opt,name=base_currency,json=baseCurrency,proto3" json:"base_currency,omitempty"`
|
|
QuoteCurrency string `protobuf:"bytes,5,opt,name=quote_currency,json=quoteCurrency,proto3" json:"quote_currency,omitempty"`
|
|
AssetType string `protobuf:"bytes,6,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
OrderSide string `protobuf:"bytes,7,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
OrderType string `protobuf:"bytes,8,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
|
|
CreationTime string `protobuf:"bytes,9,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
UpdateTime string `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
|
Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
|
|
Price float64 `protobuf:"fixed64,12,opt,name=price,proto3" json:"price,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,13,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
OpenVolume float64 `protobuf:"fixed64,14,opt,name=open_volume,json=openVolume,proto3" json:"open_volume,omitempty"`
|
|
Fee float64 `protobuf:"fixed64,15,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
Cost float64 `protobuf:"fixed64,16,opt,name=cost,proto3" json:"cost,omitempty"`
|
|
Trades []*TradeHistory `protobuf:"bytes,17,rep,name=trades,proto3" json:"trades,omitempty"`
|
|
ContractAmount float64 `protobuf:"fixed64,18,opt,name=contract_amount,json=contractAmount,proto3" json:"contract_amount,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OrderDetails) Reset() {
|
|
*x = OrderDetails{}
|
|
mi := &file_rpc_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderDetails) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderDetails) ProtoMessage() {}
|
|
|
|
func (x *OrderDetails) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OrderDetails.ProtoReflect.Descriptor instead.
|
|
func (*OrderDetails) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *OrderDetails) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetClientOrderId() string {
|
|
if x != nil {
|
|
return x.ClientOrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetBaseCurrency() string {
|
|
if x != nil {
|
|
return x.BaseCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetQuoteCurrency() string {
|
|
if x != nil {
|
|
return x.QuoteCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetOrderSide() string {
|
|
if x != nil {
|
|
return x.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetOrderType() string {
|
|
if x != nil {
|
|
return x.OrderType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetCreationTime() string {
|
|
if x != nil {
|
|
return x.CreationTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetUpdateTime() string {
|
|
if x != nil {
|
|
return x.UpdateTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderDetails) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderDetails) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderDetails) GetOpenVolume() float64 {
|
|
if x != nil {
|
|
return x.OpenVolume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderDetails) GetFee() float64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderDetails) GetCost() float64 {
|
|
if x != nil {
|
|
return x.Cost
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderDetails) GetTrades() []*TradeHistory {
|
|
if x != nil {
|
|
return x.Trades
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OrderDetails) GetContractAmount() float64 {
|
|
if x != nil {
|
|
return x.ContractAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TradeHistory struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CreationTime int64 `protobuf:"varint,1,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Exchange string `protobuf:"bytes,5,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AssetType string `protobuf:"bytes,6,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
OrderSide string `protobuf:"bytes,7,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
Fee float64 `protobuf:"fixed64,8,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
Total float64 `protobuf:"fixed64,9,opt,name=total,proto3" json:"total,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TradeHistory) Reset() {
|
|
*x = TradeHistory{}
|
|
mi := &file_rpc_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TradeHistory) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TradeHistory) ProtoMessage() {}
|
|
|
|
func (x *TradeHistory) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TradeHistory.ProtoReflect.Descriptor instead.
|
|
func (*TradeHistory) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *TradeHistory) GetCreationTime() int64 {
|
|
if x != nil {
|
|
return x.CreationTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TradeHistory) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TradeHistory) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TradeHistory) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TradeHistory) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TradeHistory) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TradeHistory) GetOrderSide() string {
|
|
if x != nil {
|
|
return x.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TradeHistory) GetFee() float64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TradeHistory) GetTotal() float64 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetOrdersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrdersRequest) Reset() {
|
|
*x = GetOrdersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrdersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrdersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrdersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrdersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *GetOrdersRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrdersRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrdersRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrdersRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrdersRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetOrdersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Orders []*OrderDetails `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrdersResponse) Reset() {
|
|
*x = GetOrdersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrdersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrdersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOrdersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrdersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *GetOrdersResponse) GetOrders() []*OrderDetails {
|
|
if x != nil {
|
|
return x.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderRequest) Reset() {
|
|
*x = GetOrderRequest{}
|
|
mi := &file_rpc_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *GetOrderRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrderRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitOrderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Side string `protobuf:"bytes,3,opt,name=side,proto3" json:"side,omitempty"`
|
|
OrderType string `protobuf:"bytes,4,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"`
|
|
ClientId string `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
AssetType string `protobuf:"bytes,8,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
MarginType string `protobuf:"bytes,9,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) Reset() {
|
|
*x = SubmitOrderRequest{}
|
|
mi := &file_rpc_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *SubmitOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubmitOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetSide() string {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetOrderType() string {
|
|
if x != nil {
|
|
return x.OrderType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitOrderRequest) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Trades struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"`
|
|
Fee float64 `protobuf:"fixed64,3,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
FeeAsset string `protobuf:"bytes,4,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Trades) Reset() {
|
|
*x = Trades{}
|
|
mi := &file_rpc_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Trades) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Trades) ProtoMessage() {}
|
|
|
|
func (x *Trades) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Trades.ProtoReflect.Descriptor instead.
|
|
func (*Trades) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *Trades) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Trades) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Trades) GetFee() float64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Trades) GetFeeAsset() string {
|
|
if x != nil {
|
|
return x.FeeAsset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitOrderResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrderPlaced bool `protobuf:"varint,1,opt,name=order_placed,json=orderPlaced,proto3" json:"order_placed,omitempty"`
|
|
OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
Trades []*Trades `protobuf:"bytes,3,rep,name=trades,proto3" json:"trades,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitOrderResponse) Reset() {
|
|
*x = SubmitOrderResponse{}
|
|
mi := &file_rpc_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitOrderResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitOrderResponse) ProtoMessage() {}
|
|
|
|
func (x *SubmitOrderResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitOrderResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubmitOrderResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *SubmitOrderResponse) GetOrderPlaced() bool {
|
|
if x != nil {
|
|
return x.OrderPlaced
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SubmitOrderResponse) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitOrderResponse) GetTrades() []*Trades {
|
|
if x != nil {
|
|
return x.Trades
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SimulateOrderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Side string `protobuf:"bytes,4,opt,name=side,proto3" json:"side,omitempty"`
|
|
MarginType string `protobuf:"bytes,5,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) Reset() {
|
|
*x = SimulateOrderRequest{}
|
|
mi := &file_rpc_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SimulateOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *SimulateOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SimulateOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*SimulateOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) GetSide() string {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SimulateOrderRequest) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SimulateOrderResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Orders []*OrderbookItem `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
MinimumPrice float64 `protobuf:"fixed64,3,opt,name=minimum_price,json=minimumPrice,proto3" json:"minimum_price,omitempty"`
|
|
MaximumPrice float64 `protobuf:"fixed64,4,opt,name=maximum_price,json=maximumPrice,proto3" json:"maximum_price,omitempty"`
|
|
PercentageGainLoss float64 `protobuf:"fixed64,5,opt,name=percentage_gain_loss,json=percentageGainLoss,proto3" json:"percentage_gain_loss,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) Reset() {
|
|
*x = SimulateOrderResponse{}
|
|
mi := &file_rpc_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SimulateOrderResponse) ProtoMessage() {}
|
|
|
|
func (x *SimulateOrderResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[65]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SimulateOrderResponse.ProtoReflect.Descriptor instead.
|
|
func (*SimulateOrderResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) GetOrders() []*OrderbookItem {
|
|
if x != nil {
|
|
return x.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) GetMinimumPrice() float64 {
|
|
if x != nil {
|
|
return x.MinimumPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) GetMaximumPrice() float64 {
|
|
if x != nil {
|
|
return x.MaximumPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) GetPercentageGainLoss() float64 {
|
|
if x != nil {
|
|
return x.PercentageGainLoss
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SimulateOrderResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WhaleBombRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
PriceTarget float64 `protobuf:"fixed64,3,opt,name=price_target,json=priceTarget,proto3" json:"price_target,omitempty"`
|
|
Side string `protobuf:"bytes,4,opt,name=side,proto3" json:"side,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WhaleBombRequest) Reset() {
|
|
*x = WhaleBombRequest{}
|
|
mi := &file_rpc_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WhaleBombRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WhaleBombRequest) ProtoMessage() {}
|
|
|
|
func (x *WhaleBombRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[66]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WhaleBombRequest.ProtoReflect.Descriptor instead.
|
|
func (*WhaleBombRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *WhaleBombRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WhaleBombRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WhaleBombRequest) GetPriceTarget() float64 {
|
|
if x != nil {
|
|
return x.PriceTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WhaleBombRequest) GetSide() string {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WhaleBombRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelOrderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
OrderId string `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Side string `protobuf:"bytes,6,opt,name=side,proto3" json:"side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelOrderRequest) Reset() {
|
|
*x = CancelOrderRequest{}
|
|
mi := &file_rpc_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[67]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
func (x *CancelOrderRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelOrderRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelOrderRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelOrderRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CancelOrderRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelOrderRequest) GetSide() string {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelBatchOrdersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
OrdersId string `protobuf:"bytes,3,opt,name=orders_id,json=ordersId,proto3" json:"orders_id,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Side string `protobuf:"bytes,6,opt,name=side,proto3" json:"side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) Reset() {
|
|
*x = CancelBatchOrdersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelBatchOrdersRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelBatchOrdersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[68]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelBatchOrdersRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelBatchOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) GetOrdersId() string {
|
|
if x != nil {
|
|
return x.OrdersId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelBatchOrdersRequest) GetSide() string {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Orders struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
OrderStatus map[string]string `protobuf:"bytes,2,rep,name=order_status,json=orderStatus,proto3" json:"order_status,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Orders) Reset() {
|
|
*x = Orders{}
|
|
mi := &file_rpc_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Orders) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Orders) ProtoMessage() {}
|
|
|
|
func (x *Orders) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[69]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Orders.ProtoReflect.Descriptor instead.
|
|
func (*Orders) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *Orders) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Orders) GetOrderStatus() map[string]string {
|
|
if x != nil {
|
|
return x.OrderStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelBatchOrdersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Orders []*Orders `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelBatchOrdersResponse) Reset() {
|
|
*x = CancelBatchOrdersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelBatchOrdersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelBatchOrdersResponse) ProtoMessage() {}
|
|
|
|
func (x *CancelBatchOrdersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[70]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelBatchOrdersResponse.ProtoReflect.Descriptor instead.
|
|
func (*CancelBatchOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *CancelBatchOrdersResponse) GetOrders() []*Orders {
|
|
if x != nil {
|
|
return x.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelAllOrdersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelAllOrdersRequest) Reset() {
|
|
*x = CancelAllOrdersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelAllOrdersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelAllOrdersRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelAllOrdersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[71]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelAllOrdersRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelAllOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
func (x *CancelAllOrdersRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelAllOrdersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Orders []*Orders `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelAllOrdersResponse) Reset() {
|
|
*x = CancelAllOrdersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelAllOrdersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelAllOrdersResponse) ProtoMessage() {}
|
|
|
|
func (x *CancelAllOrdersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[72]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelAllOrdersResponse.ProtoReflect.Descriptor instead.
|
|
func (*CancelAllOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *CancelAllOrdersResponse) GetOrders() []*Orders {
|
|
if x != nil {
|
|
return x.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CancelAllOrdersResponse) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetEventsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetEventsRequest) Reset() {
|
|
*x = GetEventsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEventsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEventsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetEventsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[73]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetEventsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
type ConditionParams struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
|
|
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"`
|
|
CheckBids bool `protobuf:"varint,3,opt,name=check_bids,json=checkBids,proto3" json:"check_bids,omitempty"`
|
|
CheckAsks bool `protobuf:"varint,4,opt,name=check_asks,json=checkAsks,proto3" json:"check_asks,omitempty"`
|
|
OrderbookAmount float64 `protobuf:"fixed64,5,opt,name=orderbook_amount,json=orderbookAmount,proto3" json:"orderbook_amount,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConditionParams) Reset() {
|
|
*x = ConditionParams{}
|
|
mi := &file_rpc_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConditionParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConditionParams) ProtoMessage() {}
|
|
|
|
func (x *ConditionParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[74]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConditionParams.ProtoReflect.Descriptor instead.
|
|
func (*ConditionParams) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *ConditionParams) GetCondition() string {
|
|
if x != nil {
|
|
return x.Condition
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConditionParams) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConditionParams) GetCheckBids() bool {
|
|
if x != nil {
|
|
return x.CheckBids
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ConditionParams) GetCheckAsks() bool {
|
|
if x != nil {
|
|
return x.CheckAsks
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ConditionParams) GetOrderbookAmount() float64 {
|
|
if x != nil {
|
|
return x.OrderbookAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetEventsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Exchange string `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Item string `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
|
|
ConditionParams *ConditionParams `protobuf:"bytes,4,opt,name=condition_params,json=conditionParams,proto3" json:"condition_params,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,5,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Action string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
|
|
Executed bool `protobuf:"varint,7,opt,name=executed,proto3" json:"executed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetEventsResponse) Reset() {
|
|
*x = GetEventsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEventsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEventsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetEventsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[75]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetEventsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetItem() string {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetConditionParams() *ConditionParams {
|
|
if x != nil {
|
|
return x.ConditionParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetEventsResponse) GetExecuted() bool {
|
|
if x != nil {
|
|
return x.Executed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AddEventRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
ConditionParams *ConditionParams `protobuf:"bytes,3,opt,name=condition_params,json=conditionParams,proto3" json:"condition_params,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Action string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddEventRequest) Reset() {
|
|
*x = AddEventRequest{}
|
|
mi := &file_rpc_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddEventRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddEventRequest) ProtoMessage() {}
|
|
|
|
func (x *AddEventRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[76]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddEventRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddEventRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (x *AddEventRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddEventRequest) GetItem() string {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddEventRequest) GetConditionParams() *ConditionParams {
|
|
if x != nil {
|
|
return x.ConditionParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddEventRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddEventRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddEventRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddEventResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddEventResponse) Reset() {
|
|
*x = AddEventResponse{}
|
|
mi := &file_rpc_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddEventResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddEventResponse) ProtoMessage() {}
|
|
|
|
func (x *AddEventResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[77]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddEventResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddEventResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
func (x *AddEventResponse) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RemoveEventRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveEventRequest) Reset() {
|
|
*x = RemoveEventRequest{}
|
|
mi := &file_rpc_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveEventRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveEventRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveEventRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[78]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveEventRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveEventRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *RemoveEventRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesRequest) Reset() {
|
|
*x = GetCryptocurrencyDepositAddressesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCryptocurrencyDepositAddressesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[79]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCryptocurrencyDepositAddressesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCryptocurrencyDepositAddressesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DepositAddress struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
Chain string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DepositAddress) Reset() {
|
|
*x = DepositAddress{}
|
|
mi := &file_rpc_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DepositAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DepositAddress) ProtoMessage() {}
|
|
|
|
func (x *DepositAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[80]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DepositAddress.ProtoReflect.Descriptor instead.
|
|
func (*DepositAddress) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *DepositAddress) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DepositAddress) GetTag() string {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DepositAddress) GetChain() string {
|
|
if x != nil {
|
|
return x.Chain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DepositAddresses struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Addresses []*DepositAddress `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DepositAddresses) Reset() {
|
|
*x = DepositAddresses{}
|
|
mi := &file_rpc_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DepositAddresses) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DepositAddresses) ProtoMessage() {}
|
|
|
|
func (x *DepositAddresses) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[81]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DepositAddresses.ProtoReflect.Descriptor instead.
|
|
func (*DepositAddresses) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (x *DepositAddresses) GetAddresses() []*DepositAddress {
|
|
if x != nil {
|
|
return x.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Addresses map[string]*DepositAddresses `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesResponse) Reset() {
|
|
*x = GetCryptocurrencyDepositAddressesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCryptocurrencyDepositAddressesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[82]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCryptocurrencyDepositAddressesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCryptocurrencyDepositAddressesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressesResponse) GetAddresses() map[string]*DepositAddresses {
|
|
if x != nil {
|
|
return x.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Cryptocurrency string `protobuf:"bytes,2,opt,name=cryptocurrency,proto3" json:"cryptocurrency,omitempty"`
|
|
Chain string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
|
|
Bypass bool `protobuf:"varint,4,opt,name=bypass,proto3" json:"bypass,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) Reset() {
|
|
*x = GetCryptocurrencyDepositAddressRequest{}
|
|
mi := &file_rpc_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCryptocurrencyDepositAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[83]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCryptocurrencyDepositAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCryptocurrencyDepositAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) GetCryptocurrency() string {
|
|
if x != nil {
|
|
return x.Cryptocurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) GetChain() string {
|
|
if x != nil {
|
|
return x.Chain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressRequest) GetBypass() bool {
|
|
if x != nil {
|
|
return x.Bypass
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressResponse) Reset() {
|
|
*x = GetCryptocurrencyDepositAddressResponse{}
|
|
mi := &file_rpc_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCryptocurrencyDepositAddressResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[84]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCryptocurrencyDepositAddressResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCryptocurrencyDepositAddressResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressResponse) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCryptocurrencyDepositAddressResponse) GetTag() string {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAvailableTransferChainsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Cryptocurrency string `protobuf:"bytes,2,opt,name=cryptocurrency,proto3" json:"cryptocurrency,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsRequest) Reset() {
|
|
*x = GetAvailableTransferChainsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAvailableTransferChainsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAvailableTransferChainsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[85]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAvailableTransferChainsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAvailableTransferChainsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsRequest) GetCryptocurrency() string {
|
|
if x != nil {
|
|
return x.Cryptocurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAvailableTransferChainsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Chains []string `protobuf:"bytes,1,rep,name=chains,proto3" json:"chains,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsResponse) Reset() {
|
|
*x = GetAvailableTransferChainsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAvailableTransferChainsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAvailableTransferChainsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[86]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAvailableTransferChainsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAvailableTransferChainsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
func (x *GetAvailableTransferChainsResponse) GetChains() []string {
|
|
if x != nil {
|
|
return x.Chains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WithdrawFiatRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
|
BankAccountId string `protobuf:"bytes,5,opt,name=bank_account_id,json=bankAccountId,proto3" json:"bank_account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) Reset() {
|
|
*x = WithdrawFiatRequest{}
|
|
mi := &file_rpc_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawFiatRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawFiatRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[87]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawFiatRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawFiatRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawFiatRequest) GetBankAccountId() string {
|
|
if x != nil {
|
|
return x.BankAccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawCryptoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
AddressTag string `protobuf:"bytes,3,opt,name=address_tag,json=addressTag,proto3" json:"address_tag,omitempty"`
|
|
Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Fee float64 `protobuf:"fixed64,6,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
|
Chain string `protobuf:"bytes,8,opt,name=chain,proto3" json:"chain,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) Reset() {
|
|
*x = WithdrawCryptoRequest{}
|
|
mi := &file_rpc_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawCryptoRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawCryptoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[88]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawCryptoRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawCryptoRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetAddressTag() string {
|
|
if x != nil {
|
|
return x.AddressTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetFee() float64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawCryptoRequest) GetChain() string {
|
|
if x != nil {
|
|
return x.Chain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawResponse) Reset() {
|
|
*x = WithdrawResponse{}
|
|
mi := &file_rpc_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawResponse) ProtoMessage() {}
|
|
|
|
func (x *WithdrawResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[89]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawResponse.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
func (x *WithdrawResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawalEventByIDRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalEventByIDRequest) Reset() {
|
|
*x = WithdrawalEventByIDRequest{}
|
|
mi := &file_rpc_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalEventByIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalEventByIDRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalEventByIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[90]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalEventByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalEventByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
func (x *WithdrawalEventByIDRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawalEventByIDResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Event *WithdrawalEventResponse `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalEventByIDResponse) Reset() {
|
|
*x = WithdrawalEventByIDResponse{}
|
|
mi := &file_rpc_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalEventByIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalEventByIDResponse) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalEventByIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[91]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalEventByIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalEventByIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
func (x *WithdrawalEventByIDResponse) GetEvent() *WithdrawalEventResponse {
|
|
if x != nil {
|
|
return x.Event
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WithdrawalEventsByExchangeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) Reset() {
|
|
*x = WithdrawalEventsByExchangeRequest{}
|
|
mi := &file_rpc_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalEventsByExchangeRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[92]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalEventsByExchangeRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalEventsByExchangeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawalEventsByDateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Start string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
|
|
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) Reset() {
|
|
*x = WithdrawalEventsByDateRequest{}
|
|
mi := &file_rpc_proto_msgTypes[93]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalEventsByDateRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[93]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalEventsByDateRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalEventsByDateRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventsByDateRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WithdrawalEventsByExchangeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Event []*WithdrawalEventResponse `protobuf:"bytes,2,rep,name=event,proto3" json:"event,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeResponse) Reset() {
|
|
*x = WithdrawalEventsByExchangeResponse{}
|
|
mi := &file_rpc_proto_msgTypes[94]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalEventsByExchangeResponse) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalEventsByExchangeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[94]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalEventsByExchangeResponse.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalEventsByExchangeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
func (x *WithdrawalEventsByExchangeResponse) GetEvent() []*WithdrawalEventResponse {
|
|
if x != nil {
|
|
return x.Event
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WithdrawalEventResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Exchange *WithdrawlExchangeEvent `protobuf:"bytes,3,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Request *WithdrawalRequestEvent `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) Reset() {
|
|
*x = WithdrawalEventResponse{}
|
|
mi := &file_rpc_proto_msgTypes[95]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalEventResponse) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalEventResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[95]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalEventResponse.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalEventResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) GetExchange() *WithdrawlExchangeEvent {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) GetRequest() *WithdrawalRequestEvent {
|
|
if x != nil {
|
|
return x.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WithdrawalEventResponse) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WithdrawlExchangeEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawlExchangeEvent) Reset() {
|
|
*x = WithdrawlExchangeEvent{}
|
|
mi := &file_rpc_proto_msgTypes[96]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawlExchangeEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawlExchangeEvent) ProtoMessage() {}
|
|
|
|
func (x *WithdrawlExchangeEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[96]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawlExchangeEvent.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawlExchangeEvent) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
func (x *WithdrawlExchangeEvent) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawlExchangeEvent) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawlExchangeEvent) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawalRequestEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Type int64 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
|
|
Fiat *FiatWithdrawalEvent `protobuf:"bytes,6,opt,name=fiat,proto3" json:"fiat,omitempty"`
|
|
Crypto *CryptoWithdrawalEvent `protobuf:"bytes,7,opt,name=crypto,proto3" json:"crypto,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) Reset() {
|
|
*x = WithdrawalRequestEvent{}
|
|
mi := &file_rpc_proto_msgTypes[97]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawalRequestEvent) ProtoMessage() {}
|
|
|
|
func (x *WithdrawalRequestEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[97]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawalRequestEvent.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawalRequestEvent) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) GetType() int64 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) GetFiat() *FiatWithdrawalEvent {
|
|
if x != nil {
|
|
return x.Fiat
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WithdrawalRequestEvent) GetCrypto() *CryptoWithdrawalEvent {
|
|
if x != nil {
|
|
return x.Crypto
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FiatWithdrawalEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BankName string `protobuf:"bytes,1,opt,name=bank_name,json=bankName,proto3" json:"bank_name,omitempty"`
|
|
AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
|
|
AccountNumber string `protobuf:"bytes,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
|
|
Bsb string `protobuf:"bytes,4,opt,name=bsb,proto3" json:"bsb,omitempty"`
|
|
Swift string `protobuf:"bytes,5,opt,name=swift,proto3" json:"swift,omitempty"`
|
|
Iban string `protobuf:"bytes,6,opt,name=iban,proto3" json:"iban,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) Reset() {
|
|
*x = FiatWithdrawalEvent{}
|
|
mi := &file_rpc_proto_msgTypes[98]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FiatWithdrawalEvent) ProtoMessage() {}
|
|
|
|
func (x *FiatWithdrawalEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[98]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FiatWithdrawalEvent.ProtoReflect.Descriptor instead.
|
|
func (*FiatWithdrawalEvent) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) GetBankName() string {
|
|
if x != nil {
|
|
return x.BankName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) GetAccountName() string {
|
|
if x != nil {
|
|
return x.AccountName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) GetAccountNumber() string {
|
|
if x != nil {
|
|
return x.AccountNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) GetBsb() string {
|
|
if x != nil {
|
|
return x.Bsb
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) GetSwift() string {
|
|
if x != nil {
|
|
return x.Swift
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FiatWithdrawalEvent) GetIban() string {
|
|
if x != nil {
|
|
return x.Iban
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CryptoWithdrawalEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
AddressTag string `protobuf:"bytes,2,opt,name=address_tag,json=addressTag,proto3" json:"address_tag,omitempty"`
|
|
Fee float64 `protobuf:"fixed64,3,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
TxId string `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CryptoWithdrawalEvent) Reset() {
|
|
*x = CryptoWithdrawalEvent{}
|
|
mi := &file_rpc_proto_msgTypes[99]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CryptoWithdrawalEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CryptoWithdrawalEvent) ProtoMessage() {}
|
|
|
|
func (x *CryptoWithdrawalEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[99]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CryptoWithdrawalEvent.ProtoReflect.Descriptor instead.
|
|
func (*CryptoWithdrawalEvent) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
func (x *CryptoWithdrawalEvent) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CryptoWithdrawalEvent) GetAddressTag() string {
|
|
if x != nil {
|
|
return x.AddressTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CryptoWithdrawalEvent) GetFee() float64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CryptoWithdrawalEvent) GetTxId() string {
|
|
if x != nil {
|
|
return x.TxId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLoggerDetailsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Logger string `protobuf:"bytes,1,opt,name=logger,proto3" json:"logger,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLoggerDetailsRequest) Reset() {
|
|
*x = GetLoggerDetailsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[100]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLoggerDetailsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLoggerDetailsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLoggerDetailsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[100]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLoggerDetailsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLoggerDetailsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
func (x *GetLoggerDetailsRequest) GetLogger() string {
|
|
if x != nil {
|
|
return x.Logger
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLoggerDetailsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Info bool `protobuf:"varint,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
Debug bool `protobuf:"varint,2,opt,name=debug,proto3" json:"debug,omitempty"`
|
|
Warn bool `protobuf:"varint,3,opt,name=warn,proto3" json:"warn,omitempty"`
|
|
Error bool `protobuf:"varint,4,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLoggerDetailsResponse) Reset() {
|
|
*x = GetLoggerDetailsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[101]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLoggerDetailsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLoggerDetailsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetLoggerDetailsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[101]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLoggerDetailsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetLoggerDetailsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
func (x *GetLoggerDetailsResponse) GetInfo() bool {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetLoggerDetailsResponse) GetDebug() bool {
|
|
if x != nil {
|
|
return x.Debug
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetLoggerDetailsResponse) GetWarn() bool {
|
|
if x != nil {
|
|
return x.Warn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetLoggerDetailsResponse) GetError() bool {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetLoggerDetailsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Logger string `protobuf:"bytes,1,opt,name=logger,proto3" json:"logger,omitempty"`
|
|
Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetLoggerDetailsRequest) Reset() {
|
|
*x = SetLoggerDetailsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[102]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetLoggerDetailsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLoggerDetailsRequest) ProtoMessage() {}
|
|
|
|
func (x *SetLoggerDetailsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[102]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLoggerDetailsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetLoggerDetailsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
func (x *SetLoggerDetailsRequest) GetLogger() string {
|
|
if x != nil {
|
|
return x.Logger
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLoggerDetailsRequest) GetLevel() string {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangePairsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangePairsRequest) Reset() {
|
|
*x = GetExchangePairsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[103]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangePairsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangePairsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetExchangePairsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[103]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangePairsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangePairsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
func (x *GetExchangePairsRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetExchangePairsRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangePairsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SupportedAssets map[string]*PairsSupported `protobuf:"bytes,1,rep,name=supported_assets,json=supportedAssets,proto3" json:"supported_assets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangePairsResponse) Reset() {
|
|
*x = GetExchangePairsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[104]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangePairsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangePairsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetExchangePairsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[104]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangePairsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangePairsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
func (x *GetExchangePairsResponse) GetSupportedAssets() map[string]*PairsSupported {
|
|
if x != nil {
|
|
return x.SupportedAssets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetExchangePairRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pairs []*CurrencyPair `protobuf:"bytes,3,rep,name=pairs,proto3" json:"pairs,omitempty"`
|
|
Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetExchangePairRequest) Reset() {
|
|
*x = SetExchangePairRequest{}
|
|
mi := &file_rpc_proto_msgTypes[105]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetExchangePairRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetExchangePairRequest) ProtoMessage() {}
|
|
|
|
func (x *SetExchangePairRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[105]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetExchangePairRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetExchangePairRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
func (x *SetExchangePairRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetExchangePairRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetExchangePairRequest) GetPairs() []*CurrencyPair {
|
|
if x != nil {
|
|
return x.Pairs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetExchangePairRequest) GetEnable() bool {
|
|
if x != nil {
|
|
return x.Enable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetOrderbookStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookStreamRequest) Reset() {
|
|
*x = GetOrderbookStreamRequest{}
|
|
mi := &file_rpc_proto_msgTypes[106]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[106]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
func (x *GetOrderbookStreamRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookStreamRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrderbookStreamRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeOrderbookStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeOrderbookStreamRequest) Reset() {
|
|
*x = GetExchangeOrderbookStreamRequest{}
|
|
mi := &file_rpc_proto_msgTypes[107]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeOrderbookStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeOrderbookStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeOrderbookStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[107]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeOrderbookStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeOrderbookStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{107}
|
|
}
|
|
|
|
func (x *GetExchangeOrderbookStreamRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTickerStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTickerStreamRequest) Reset() {
|
|
*x = GetTickerStreamRequest{}
|
|
mi := &file_rpc_proto_msgTypes[108]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTickerStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTickerStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTickerStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[108]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTickerStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTickerStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{108}
|
|
}
|
|
|
|
func (x *GetTickerStreamRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTickerStreamRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTickerStreamRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeTickerStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeTickerStreamRequest) Reset() {
|
|
*x = GetExchangeTickerStreamRequest{}
|
|
mi := &file_rpc_proto_msgTypes[109]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeTickerStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeTickerStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeTickerStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[109]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeTickerStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeTickerStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{109}
|
|
}
|
|
|
|
func (x *GetExchangeTickerStreamRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAuditEventRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
|
|
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) Reset() {
|
|
*x = GetAuditEventRequest{}
|
|
mi := &file_rpc_proto_msgTypes[110]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAuditEventRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAuditEventRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[110]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAuditEventRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAuditEventRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{110}
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) GetOrderBy() string {
|
|
if x != nil {
|
|
return x.OrderBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetAuditEventRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetAuditEventResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Events []*AuditEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAuditEventResponse) Reset() {
|
|
*x = GetAuditEventResponse{}
|
|
mi := &file_rpc_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAuditEventResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAuditEventResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAuditEventResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[111]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAuditEventResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAuditEventResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{111}
|
|
}
|
|
|
|
func (x *GetAuditEventResponse) GetEvents() []*AuditEvent {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSavedTradesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) Reset() {
|
|
*x = GetSavedTradesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSavedTradesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSavedTradesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[112]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSavedTradesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSavedTradesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{112}
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSavedTradesRequest) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SavedTrades struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Side string `protobuf:"bytes,3,opt,name=side,proto3" json:"side,omitempty"`
|
|
Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
TradeId string `protobuf:"bytes,5,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SavedTrades) Reset() {
|
|
*x = SavedTrades{}
|
|
mi := &file_rpc_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SavedTrades) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SavedTrades) ProtoMessage() {}
|
|
|
|
func (x *SavedTrades) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[113]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SavedTrades.ProtoReflect.Descriptor instead.
|
|
func (*SavedTrades) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{113}
|
|
}
|
|
|
|
func (x *SavedTrades) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SavedTrades) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SavedTrades) GetSide() string {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SavedTrades) GetTimestamp() string {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SavedTrades) GetTradeId() string {
|
|
if x != nil {
|
|
return x.TradeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SavedTradesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ExchangeName string `protobuf:"bytes,1,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Trades []*SavedTrades `protobuf:"bytes,4,rep,name=trades,proto3" json:"trades,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SavedTradesResponse) Reset() {
|
|
*x = SavedTradesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SavedTradesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SavedTradesResponse) ProtoMessage() {}
|
|
|
|
func (x *SavedTradesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[114]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SavedTradesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SavedTradesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{114}
|
|
}
|
|
|
|
func (x *SavedTradesResponse) GetExchangeName() string {
|
|
if x != nil {
|
|
return x.ExchangeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SavedTradesResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SavedTradesResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SavedTradesResponse) GetTrades() []*SavedTrades {
|
|
if x != nil {
|
|
return x.Trades
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConvertTradesToCandlesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty"`
|
|
TimeInterval int64 `protobuf:"varint,6,opt,name=time_interval,json=timeInterval,proto3" json:"time_interval,omitempty"`
|
|
Sync bool `protobuf:"varint,7,opt,name=sync,proto3" json:"sync,omitempty"`
|
|
Force bool `protobuf:"varint,8,opt,name=force,proto3" json:"force,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) Reset() {
|
|
*x = ConvertTradesToCandlesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConvertTradesToCandlesRequest) ProtoMessage() {}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[115]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConvertTradesToCandlesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConvertTradesToCandlesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{115}
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetTimeInterval() int64 {
|
|
if x != nil {
|
|
return x.TimeInterval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetSync() bool {
|
|
if x != nil {
|
|
return x.Sync
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ConvertTradesToCandlesRequest) GetForce() bool {
|
|
if x != nil {
|
|
return x.Force
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetHistoricCandlesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty"`
|
|
TimeInterval int64 `protobuf:"varint,6,opt,name=time_interval,json=timeInterval,proto3" json:"time_interval,omitempty"`
|
|
ExRequest bool `protobuf:"varint,7,opt,name=ex_request,json=exRequest,proto3" json:"ex_request,omitempty"`
|
|
Sync bool `protobuf:"varint,8,opt,name=sync,proto3" json:"sync,omitempty"`
|
|
UseDb bool `protobuf:"varint,9,opt,name=use_db,json=useDb,proto3" json:"use_db,omitempty"`
|
|
FillMissingWithTrades bool `protobuf:"varint,10,opt,name=fill_missing_with_trades,json=fillMissingWithTrades,proto3" json:"fill_missing_with_trades,omitempty"`
|
|
Force bool `protobuf:"varint,11,opt,name=force,proto3" json:"force,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) Reset() {
|
|
*x = GetHistoricCandlesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[116]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHistoricCandlesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetHistoricCandlesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[116]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetHistoricCandlesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetHistoricCandlesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{116}
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetTimeInterval() int64 {
|
|
if x != nil {
|
|
return x.TimeInterval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetExRequest() bool {
|
|
if x != nil {
|
|
return x.ExRequest
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetSync() bool {
|
|
if x != nil {
|
|
return x.Sync
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetUseDb() bool {
|
|
if x != nil {
|
|
return x.UseDb
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetFillMissingWithTrades() bool {
|
|
if x != nil {
|
|
return x.FillMissingWithTrades
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetHistoricCandlesRequest) GetForce() bool {
|
|
if x != nil {
|
|
return x.Force
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetHistoricCandlesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Start string `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
|
|
Interval string `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
Candle []*Candle `protobuf:"bytes,5,rep,name=candle,proto3" json:"candle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) Reset() {
|
|
*x = GetHistoricCandlesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[117]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHistoricCandlesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetHistoricCandlesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[117]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetHistoricCandlesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetHistoricCandlesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{117}
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) GetInterval() string {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHistoricCandlesResponse) GetCandle() []*Candle {
|
|
if x != nil {
|
|
return x.Candle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Candle struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
|
|
Low float64 `protobuf:"fixed64,2,opt,name=low,proto3" json:"low,omitempty"`
|
|
High float64 `protobuf:"fixed64,3,opt,name=high,proto3" json:"high,omitempty"`
|
|
Open float64 `protobuf:"fixed64,4,opt,name=open,proto3" json:"open,omitempty"`
|
|
Close float64 `protobuf:"fixed64,5,opt,name=close,proto3" json:"close,omitempty"`
|
|
Volume float64 `protobuf:"fixed64,6,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
IsPartial bool `protobuf:"varint,7,opt,name=is_partial,json=isPartial,proto3" json:"is_partial,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Candle) Reset() {
|
|
*x = Candle{}
|
|
mi := &file_rpc_proto_msgTypes[118]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Candle) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Candle) ProtoMessage() {}
|
|
|
|
func (x *Candle) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[118]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Candle.ProtoReflect.Descriptor instead.
|
|
func (*Candle) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{118}
|
|
}
|
|
|
|
func (x *Candle) GetTime() string {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Candle) GetLow() float64 {
|
|
if x != nil {
|
|
return x.Low
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Candle) GetHigh() float64 {
|
|
if x != nil {
|
|
return x.High
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Candle) GetOpen() float64 {
|
|
if x != nil {
|
|
return x.Open
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Candle) GetClose() float64 {
|
|
if x != nil {
|
|
return x.Close
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Candle) GetVolume() float64 {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Candle) GetIsPartial() bool {
|
|
if x != nil {
|
|
return x.IsPartial
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AuditEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuditEvent) Reset() {
|
|
*x = AuditEvent{}
|
|
mi := &file_rpc_proto_msgTypes[119]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuditEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuditEvent) ProtoMessage() {}
|
|
|
|
func (x *AuditEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[119]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuditEvent.ProtoReflect.Descriptor instead.
|
|
func (*AuditEvent) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{119}
|
|
}
|
|
|
|
func (x *AuditEvent) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuditEvent) GetIdentifier() string {
|
|
if x != nil {
|
|
return x.Identifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuditEvent) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuditEvent) GetTimestamp() string {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GCTScript struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
NextRun string `protobuf:"bytes,4,opt,name=next_run,json=nextRun,proto3" json:"next_run,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScript) Reset() {
|
|
*x = GCTScript{}
|
|
mi := &file_rpc_proto_msgTypes[120]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScript) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScript) ProtoMessage() {}
|
|
|
|
func (x *GCTScript) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[120]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScript.ProtoReflect.Descriptor instead.
|
|
func (*GCTScript) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{120}
|
|
}
|
|
|
|
func (x *GCTScript) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScript) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScript) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScript) GetNextRun() string {
|
|
if x != nil {
|
|
return x.NextRun
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GCTScriptExecuteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Script *GCTScript `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptExecuteRequest) Reset() {
|
|
*x = GCTScriptExecuteRequest{}
|
|
mi := &file_rpc_proto_msgTypes[121]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptExecuteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptExecuteRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptExecuteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[121]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptExecuteRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptExecuteRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{121}
|
|
}
|
|
|
|
func (x *GCTScriptExecuteRequest) GetScript() *GCTScript {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GCTScriptStopRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Script *GCTScript `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptStopRequest) Reset() {
|
|
*x = GCTScriptStopRequest{}
|
|
mi := &file_rpc_proto_msgTypes[122]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptStopRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptStopRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptStopRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[122]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptStopRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptStopRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{122}
|
|
}
|
|
|
|
func (x *GCTScriptStopRequest) GetScript() *GCTScript {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GCTScriptStopAllRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptStopAllRequest) Reset() {
|
|
*x = GCTScriptStopAllRequest{}
|
|
mi := &file_rpc_proto_msgTypes[123]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptStopAllRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptStopAllRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptStopAllRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[123]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptStopAllRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptStopAllRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
type GCTScriptStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptStatusRequest) Reset() {
|
|
*x = GCTScriptStatusRequest{}
|
|
mi := &file_rpc_proto_msgTypes[124]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[124]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
type GCTScriptListAllRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptListAllRequest) Reset() {
|
|
*x = GCTScriptListAllRequest{}
|
|
mi := &file_rpc_proto_msgTypes[125]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptListAllRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptListAllRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptListAllRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[125]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptListAllRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptListAllRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
type GCTScriptUploadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScriptName string `protobuf:"bytes,1,opt,name=script_name,json=scriptName,proto3" json:"script_name,omitempty"`
|
|
ScriptData string `protobuf:"bytes,2,opt,name=script_data,json=scriptData,proto3" json:"script_data,omitempty"`
|
|
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
Archived bool `protobuf:"varint,4,opt,name=archived,proto3" json:"archived,omitempty"`
|
|
Overwrite bool `protobuf:"varint,5,opt,name=overwrite,proto3" json:"overwrite,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) Reset() {
|
|
*x = GCTScriptUploadRequest{}
|
|
mi := &file_rpc_proto_msgTypes[126]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptUploadRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptUploadRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[126]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptUploadRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptUploadRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) GetScriptName() string {
|
|
if x != nil {
|
|
return x.ScriptName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) GetScriptData() string {
|
|
if x != nil {
|
|
return x.ScriptData
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) GetArchived() bool {
|
|
if x != nil {
|
|
return x.Archived
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GCTScriptUploadRequest) GetOverwrite() bool {
|
|
if x != nil {
|
|
return x.Overwrite
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GCTScriptReadScriptRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Script *GCTScript `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptReadScriptRequest) Reset() {
|
|
*x = GCTScriptReadScriptRequest{}
|
|
mi := &file_rpc_proto_msgTypes[127]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptReadScriptRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptReadScriptRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptReadScriptRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[127]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptReadScriptRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptReadScriptRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
func (x *GCTScriptReadScriptRequest) GetScript() *GCTScript {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GCTScriptQueryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Script *GCTScript `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptQueryRequest) Reset() {
|
|
*x = GCTScriptQueryRequest{}
|
|
mi := &file_rpc_proto_msgTypes[128]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptQueryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptQueryRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptQueryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[128]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptQueryRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptQueryRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
func (x *GCTScriptQueryRequest) GetScript() *GCTScript {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GCTScriptAutoLoadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Script string `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
|
|
Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptAutoLoadRequest) Reset() {
|
|
*x = GCTScriptAutoLoadRequest{}
|
|
mi := &file_rpc_proto_msgTypes[129]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptAutoLoadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptAutoLoadRequest) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptAutoLoadRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[129]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptAutoLoadRequest.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptAutoLoadRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{129}
|
|
}
|
|
|
|
func (x *GCTScriptAutoLoadRequest) GetScript() string {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScriptAutoLoadRequest) GetStatus() bool {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GCTScriptStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Scripts []*GCTScript `protobuf:"bytes,2,rep,name=scripts,proto3" json:"scripts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptStatusResponse) Reset() {
|
|
*x = GCTScriptStatusResponse{}
|
|
mi := &file_rpc_proto_msgTypes[130]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[130]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{130}
|
|
}
|
|
|
|
func (x *GCTScriptStatusResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScriptStatusResponse) GetScripts() []*GCTScript {
|
|
if x != nil {
|
|
return x.Scripts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GCTScriptQueryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Script *GCTScript `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GCTScriptQueryResponse) Reset() {
|
|
*x = GCTScriptQueryResponse{}
|
|
mi := &file_rpc_proto_msgTypes[131]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GCTScriptQueryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GCTScriptQueryResponse) ProtoMessage() {}
|
|
|
|
func (x *GCTScriptQueryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[131]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GCTScriptQueryResponse.ProtoReflect.Descriptor instead.
|
|
func (*GCTScriptQueryResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{131}
|
|
}
|
|
|
|
func (x *GCTScriptQueryResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GCTScriptQueryResponse) GetScript() *GCTScript {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GCTScriptQueryResponse) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GenericResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenericResponse) Reset() {
|
|
*x = GenericResponse{}
|
|
mi := &file_rpc_proto_msgTypes[132]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenericResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenericResponse) ProtoMessage() {}
|
|
|
|
func (x *GenericResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[132]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GenericResponse.ProtoReflect.Descriptor instead.
|
|
func (*GenericResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{132}
|
|
}
|
|
|
|
func (x *GenericResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GenericResponse) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetExchangeAssetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetExchangeAssetRequest) Reset() {
|
|
*x = SetExchangeAssetRequest{}
|
|
mi := &file_rpc_proto_msgTypes[133]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetExchangeAssetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetExchangeAssetRequest) ProtoMessage() {}
|
|
|
|
func (x *SetExchangeAssetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[133]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetExchangeAssetRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetExchangeAssetRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{133}
|
|
}
|
|
|
|
func (x *SetExchangeAssetRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetExchangeAssetRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetExchangeAssetRequest) GetEnable() bool {
|
|
if x != nil {
|
|
return x.Enable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetExchangeAllPairsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetExchangeAllPairsRequest) Reset() {
|
|
*x = SetExchangeAllPairsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[134]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetExchangeAllPairsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetExchangeAllPairsRequest) ProtoMessage() {}
|
|
|
|
func (x *SetExchangeAllPairsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[134]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetExchangeAllPairsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetExchangeAllPairsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{134}
|
|
}
|
|
|
|
func (x *SetExchangeAllPairsRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetExchangeAllPairsRequest) GetEnable() bool {
|
|
if x != nil {
|
|
return x.Enable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateExchangeSupportedPairsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateExchangeSupportedPairsRequest) Reset() {
|
|
*x = UpdateExchangeSupportedPairsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[135]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateExchangeSupportedPairsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateExchangeSupportedPairsRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateExchangeSupportedPairsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[135]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateExchangeSupportedPairsRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateExchangeSupportedPairsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{135}
|
|
}
|
|
|
|
func (x *UpdateExchangeSupportedPairsRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeAssetsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeAssetsRequest) Reset() {
|
|
*x = GetExchangeAssetsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[136]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeAssetsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeAssetsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeAssetsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[136]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeAssetsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeAssetsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{136}
|
|
}
|
|
|
|
func (x *GetExchangeAssetsRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeAssetsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Assets string `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetExchangeAssetsResponse) Reset() {
|
|
*x = GetExchangeAssetsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[137]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetExchangeAssetsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetExchangeAssetsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetExchangeAssetsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[137]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetExchangeAssetsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetExchangeAssetsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{137}
|
|
}
|
|
|
|
func (x *GetExchangeAssetsResponse) GetAssets() string {
|
|
if x != nil {
|
|
return x.Assets
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WebsocketGetInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketGetInfoRequest) Reset() {
|
|
*x = WebsocketGetInfoRequest{}
|
|
mi := &file_rpc_proto_msgTypes[138]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketGetInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketGetInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *WebsocketGetInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[138]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketGetInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketGetInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{138}
|
|
}
|
|
|
|
func (x *WebsocketGetInfoRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WebsocketGetInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Supported bool `protobuf:"varint,2,opt,name=supported,proto3" json:"supported,omitempty"`
|
|
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
AuthenticatedSupported bool `protobuf:"varint,4,opt,name=authenticated_supported,json=authenticatedSupported,proto3" json:"authenticated_supported,omitempty"`
|
|
Authenticated bool `protobuf:"varint,5,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
|
|
RunningUrl string `protobuf:"bytes,6,opt,name=running_url,json=runningUrl,proto3" json:"running_url,omitempty"`
|
|
ProxyAddress string `protobuf:"bytes,7,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) Reset() {
|
|
*x = WebsocketGetInfoResponse{}
|
|
mi := &file_rpc_proto_msgTypes[139]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketGetInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *WebsocketGetInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[139]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketGetInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketGetInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{139}
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetSupported() bool {
|
|
if x != nil {
|
|
return x.Supported
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetAuthenticatedSupported() bool {
|
|
if x != nil {
|
|
return x.AuthenticatedSupported
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetAuthenticated() bool {
|
|
if x != nil {
|
|
return x.Authenticated
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetRunningUrl() string {
|
|
if x != nil {
|
|
return x.RunningUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketGetInfoResponse) GetProxyAddress() string {
|
|
if x != nil {
|
|
return x.ProxyAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WebsocketSetEnabledRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketSetEnabledRequest) Reset() {
|
|
*x = WebsocketSetEnabledRequest{}
|
|
mi := &file_rpc_proto_msgTypes[140]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketSetEnabledRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketSetEnabledRequest) ProtoMessage() {}
|
|
|
|
func (x *WebsocketSetEnabledRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[140]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketSetEnabledRequest.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketSetEnabledRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{140}
|
|
}
|
|
|
|
func (x *WebsocketSetEnabledRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketSetEnabledRequest) GetEnable() bool {
|
|
if x != nil {
|
|
return x.Enable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type WebsocketGetSubscriptionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsRequest) Reset() {
|
|
*x = WebsocketGetSubscriptionsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[141]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketGetSubscriptionsRequest) ProtoMessage() {}
|
|
|
|
func (x *WebsocketGetSubscriptionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[141]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketGetSubscriptionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketGetSubscriptionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{141}
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WebsocketSubscription struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
Pairs string `protobuf:"bytes,2,opt,name=pairs,proto3" json:"pairs,omitempty"`
|
|
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Params string `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketSubscription) Reset() {
|
|
*x = WebsocketSubscription{}
|
|
mi := &file_rpc_proto_msgTypes[142]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketSubscription) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketSubscription) ProtoMessage() {}
|
|
|
|
func (x *WebsocketSubscription) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[142]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketSubscription.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketSubscription) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{142}
|
|
}
|
|
|
|
func (x *WebsocketSubscription) GetChannel() string {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketSubscription) GetPairs() string {
|
|
if x != nil {
|
|
return x.Pairs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketSubscription) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketSubscription) GetParams() string {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WebsocketGetSubscriptionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Subscriptions []*WebsocketSubscription `protobuf:"bytes,2,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsResponse) Reset() {
|
|
*x = WebsocketGetSubscriptionsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[143]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketGetSubscriptionsResponse) ProtoMessage() {}
|
|
|
|
func (x *WebsocketGetSubscriptionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[143]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketGetSubscriptionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketGetSubscriptionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{143}
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketGetSubscriptionsResponse) GetSubscriptions() []*WebsocketSubscription {
|
|
if x != nil {
|
|
return x.Subscriptions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WebsocketSetProxyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketSetProxyRequest) Reset() {
|
|
*x = WebsocketSetProxyRequest{}
|
|
mi := &file_rpc_proto_msgTypes[144]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketSetProxyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketSetProxyRequest) ProtoMessage() {}
|
|
|
|
func (x *WebsocketSetProxyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[144]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketSetProxyRequest.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketSetProxyRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{144}
|
|
}
|
|
|
|
func (x *WebsocketSetProxyRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketSetProxyRequest) GetProxy() string {
|
|
if x != nil {
|
|
return x.Proxy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WebsocketSetURLRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WebsocketSetURLRequest) Reset() {
|
|
*x = WebsocketSetURLRequest{}
|
|
mi := &file_rpc_proto_msgTypes[145]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WebsocketSetURLRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebsocketSetURLRequest) ProtoMessage() {}
|
|
|
|
func (x *WebsocketSetURLRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[145]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebsocketSetURLRequest.ProtoReflect.Descriptor instead.
|
|
func (*WebsocketSetURLRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{145}
|
|
}
|
|
|
|
func (x *WebsocketSetURLRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WebsocketSetURLRequest) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FindMissingCandlePeriodsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ExchangeName string `protobuf:"bytes,1,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Interval int64 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
Start string `protobuf:"bytes,5,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,6,opt,name=end,proto3" json:"end,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) Reset() {
|
|
*x = FindMissingCandlePeriodsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[146]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindMissingCandlePeriodsRequest) ProtoMessage() {}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[146]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindMissingCandlePeriodsRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindMissingCandlePeriodsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{146}
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) GetExchangeName() string {
|
|
if x != nil {
|
|
return x.ExchangeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) GetInterval() int64 {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingCandlePeriodsRequest) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FindMissingTradePeriodsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ExchangeName string `protobuf:"bytes,1,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
|
|
End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) Reset() {
|
|
*x = FindMissingTradePeriodsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[147]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindMissingTradePeriodsRequest) ProtoMessage() {}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[147]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindMissingTradePeriodsRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindMissingTradePeriodsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{147}
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) GetExchangeName() string {
|
|
if x != nil {
|
|
return x.ExchangeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) GetStart() string {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingTradePeriodsRequest) GetEnd() string {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FindMissingIntervalsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ExchangeName string `protobuf:"bytes,1,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
MissingPeriods []string `protobuf:"bytes,4,rep,name=missing_periods,json=missingPeriods,proto3" json:"missing_periods,omitempty"`
|
|
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) Reset() {
|
|
*x = FindMissingIntervalsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[148]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindMissingIntervalsResponse) ProtoMessage() {}
|
|
|
|
func (x *FindMissingIntervalsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[148]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindMissingIntervalsResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindMissingIntervalsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{148}
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) GetExchangeName() string {
|
|
if x != nil {
|
|
return x.ExchangeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) GetMissingPeriods() []string {
|
|
if x != nil {
|
|
return x.MissingPeriods
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FindMissingIntervalsResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetExchangeTradeProcessingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetExchangeTradeProcessingRequest) Reset() {
|
|
*x = SetExchangeTradeProcessingRequest{}
|
|
mi := &file_rpc_proto_msgTypes[149]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetExchangeTradeProcessingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetExchangeTradeProcessingRequest) ProtoMessage() {}
|
|
|
|
func (x *SetExchangeTradeProcessingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[149]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetExchangeTradeProcessingRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetExchangeTradeProcessingRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{149}
|
|
}
|
|
|
|
func (x *SetExchangeTradeProcessingRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetExchangeTradeProcessingRequest) GetStatus() bool {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpsertDataHistoryJobRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
Exchange string `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
StartDate string `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
Interval int64 `protobuf:"varint,7,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
RequestSizeLimit uint64 `protobuf:"varint,8,opt,name=request_size_limit,json=requestSizeLimit,proto3" json:"request_size_limit,omitempty"`
|
|
DataType int64 `protobuf:"varint,9,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
|
|
MaxRetryAttempts uint64 `protobuf:"varint,10,opt,name=max_retry_attempts,json=maxRetryAttempts,proto3" json:"max_retry_attempts,omitempty"`
|
|
BatchSize uint64 `protobuf:"varint,11,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
|
|
InsertOnly bool `protobuf:"varint,12,opt,name=insert_only,json=insertOnly,proto3" json:"insert_only,omitempty"`
|
|
ConversionInterval int64 `protobuf:"varint,13,opt,name=conversion_interval,json=conversionInterval,proto3" json:"conversion_interval,omitempty"`
|
|
OverwriteExistingData bool `protobuf:"varint,14,opt,name=overwrite_existing_data,json=overwriteExistingData,proto3" json:"overwrite_existing_data,omitempty"`
|
|
PrerequisiteJobNickname string `protobuf:"bytes,15,opt,name=prerequisite_job_nickname,json=prerequisiteJobNickname,proto3" json:"prerequisite_job_nickname,omitempty"`
|
|
DecimalPlaceComparison uint64 `protobuf:"varint,16,opt,name=decimal_place_comparison,json=decimalPlaceComparison,proto3" json:"decimal_place_comparison,omitempty"`
|
|
SecondaryExchangeName string `protobuf:"bytes,17,opt,name=secondary_exchange_name,json=secondaryExchangeName,proto3" json:"secondary_exchange_name,omitempty"`
|
|
IssueTolerancePercentage float64 `protobuf:"fixed64,18,opt,name=issue_tolerance_percentage,json=issueTolerancePercentage,proto3" json:"issue_tolerance_percentage,omitempty"`
|
|
ReplaceOnIssue bool `protobuf:"varint,19,opt,name=replace_on_issue,json=replaceOnIssue,proto3" json:"replace_on_issue,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) Reset() {
|
|
*x = UpsertDataHistoryJobRequest{}
|
|
mi := &file_rpc_proto_msgTypes[150]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpsertDataHistoryJobRequest) ProtoMessage() {}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[150]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpsertDataHistoryJobRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpsertDataHistoryJobRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{150}
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetInterval() int64 {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetRequestSizeLimit() uint64 {
|
|
if x != nil {
|
|
return x.RequestSizeLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetDataType() int64 {
|
|
if x != nil {
|
|
return x.DataType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetMaxRetryAttempts() uint64 {
|
|
if x != nil {
|
|
return x.MaxRetryAttempts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetBatchSize() uint64 {
|
|
if x != nil {
|
|
return x.BatchSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetInsertOnly() bool {
|
|
if x != nil {
|
|
return x.InsertOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetConversionInterval() int64 {
|
|
if x != nil {
|
|
return x.ConversionInterval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetOverwriteExistingData() bool {
|
|
if x != nil {
|
|
return x.OverwriteExistingData
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetPrerequisiteJobNickname() string {
|
|
if x != nil {
|
|
return x.PrerequisiteJobNickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetDecimalPlaceComparison() uint64 {
|
|
if x != nil {
|
|
return x.DecimalPlaceComparison
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetSecondaryExchangeName() string {
|
|
if x != nil {
|
|
return x.SecondaryExchangeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetIssueTolerancePercentage() float64 {
|
|
if x != nil {
|
|
return x.IssueTolerancePercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobRequest) GetReplaceOnIssue() bool {
|
|
if x != nil {
|
|
return x.ReplaceOnIssue
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InsertSequentialJobsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Jobs []*UpsertDataHistoryJobRequest `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InsertSequentialJobsRequest) Reset() {
|
|
*x = InsertSequentialJobsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[151]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InsertSequentialJobsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertSequentialJobsRequest) ProtoMessage() {}
|
|
|
|
func (x *InsertSequentialJobsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[151]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertSequentialJobsRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertSequentialJobsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{151}
|
|
}
|
|
|
|
func (x *InsertSequentialJobsRequest) GetJobs() []*UpsertDataHistoryJobRequest {
|
|
if x != nil {
|
|
return x.Jobs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertSequentialJobsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Jobs []*UpsertDataHistoryJobResponse `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InsertSequentialJobsResponse) Reset() {
|
|
*x = InsertSequentialJobsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[152]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InsertSequentialJobsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertSequentialJobsResponse) ProtoMessage() {}
|
|
|
|
func (x *InsertSequentialJobsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[152]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertSequentialJobsResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertSequentialJobsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{152}
|
|
}
|
|
|
|
func (x *InsertSequentialJobsResponse) GetJobs() []*UpsertDataHistoryJobResponse {
|
|
if x != nil {
|
|
return x.Jobs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpsertDataHistoryJobResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobResponse) Reset() {
|
|
*x = UpsertDataHistoryJobResponse{}
|
|
mi := &file_rpc_proto_msgTypes[153]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpsertDataHistoryJobResponse) ProtoMessage() {}
|
|
|
|
func (x *UpsertDataHistoryJobResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[153]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpsertDataHistoryJobResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpsertDataHistoryJobResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{153}
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertDataHistoryJobResponse) GetJobId() string {
|
|
if x != nil {
|
|
return x.JobId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetDataHistoryJobDetailsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
FullDetails bool `protobuf:"varint,3,opt,name=full_details,json=fullDetails,proto3" json:"full_details,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDataHistoryJobDetailsRequest) Reset() {
|
|
*x = GetDataHistoryJobDetailsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[154]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDataHistoryJobDetailsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDataHistoryJobDetailsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDataHistoryJobDetailsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[154]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDataHistoryJobDetailsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDataHistoryJobDetailsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{154}
|
|
}
|
|
|
|
func (x *GetDataHistoryJobDetailsRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetDataHistoryJobDetailsRequest) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetDataHistoryJobDetailsRequest) GetFullDetails() bool {
|
|
if x != nil {
|
|
return x.FullDetails
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DataHistoryJob struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
Exchange string `protobuf:"bytes,3,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,5,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
StartDate string `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
Interval int64 `protobuf:"varint,8,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
RequestSizeLimit uint64 `protobuf:"varint,9,opt,name=request_size_limit,json=requestSizeLimit,proto3" json:"request_size_limit,omitempty"`
|
|
MaxRetryAttempts uint64 `protobuf:"varint,10,opt,name=max_retry_attempts,json=maxRetryAttempts,proto3" json:"max_retry_attempts,omitempty"`
|
|
BatchSize uint64 `protobuf:"varint,11,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
|
|
Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
|
|
DataType string `protobuf:"bytes,13,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
|
|
ConversionInterval int64 `protobuf:"varint,14,opt,name=conversion_interval,json=conversionInterval,proto3" json:"conversion_interval,omitempty"`
|
|
OverwriteExistingData bool `protobuf:"varint,15,opt,name=overwrite_existing_data,json=overwriteExistingData,proto3" json:"overwrite_existing_data,omitempty"`
|
|
PrerequisiteJobNickname string `protobuf:"bytes,16,opt,name=prerequisite_job_nickname,json=prerequisiteJobNickname,proto3" json:"prerequisite_job_nickname,omitempty"`
|
|
DecimalPlaceComparison uint64 `protobuf:"varint,17,opt,name=decimal_place_comparison,json=decimalPlaceComparison,proto3" json:"decimal_place_comparison,omitempty"`
|
|
SecondaryExchangeName string `protobuf:"bytes,18,opt,name=secondary_exchange_name,json=secondaryExchangeName,proto3" json:"secondary_exchange_name,omitempty"`
|
|
IssueTolerancePercentage float64 `protobuf:"fixed64,19,opt,name=issue_tolerance_percentage,json=issueTolerancePercentage,proto3" json:"issue_tolerance_percentage,omitempty"`
|
|
ReplaceOnIssue bool `protobuf:"varint,20,opt,name=replace_on_issue,json=replaceOnIssue,proto3" json:"replace_on_issue,omitempty"`
|
|
JobResults []*DataHistoryJobResult `protobuf:"bytes,21,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
|
|
ResultSummaries []string `protobuf:"bytes,22,rep,name=result_summaries,json=resultSummaries,proto3" json:"result_summaries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataHistoryJob) Reset() {
|
|
*x = DataHistoryJob{}
|
|
mi := &file_rpc_proto_msgTypes[155]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataHistoryJob) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataHistoryJob) ProtoMessage() {}
|
|
|
|
func (x *DataHistoryJob) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[155]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DataHistoryJob.ProtoReflect.Descriptor instead.
|
|
func (*DataHistoryJob) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{155}
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetInterval() int64 {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetRequestSizeLimit() uint64 {
|
|
if x != nil {
|
|
return x.RequestSizeLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetMaxRetryAttempts() uint64 {
|
|
if x != nil {
|
|
return x.MaxRetryAttempts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetBatchSize() uint64 {
|
|
if x != nil {
|
|
return x.BatchSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetDataType() string {
|
|
if x != nil {
|
|
return x.DataType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetConversionInterval() int64 {
|
|
if x != nil {
|
|
return x.ConversionInterval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetOverwriteExistingData() bool {
|
|
if x != nil {
|
|
return x.OverwriteExistingData
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetPrerequisiteJobNickname() string {
|
|
if x != nil {
|
|
return x.PrerequisiteJobNickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetDecimalPlaceComparison() uint64 {
|
|
if x != nil {
|
|
return x.DecimalPlaceComparison
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetSecondaryExchangeName() string {
|
|
if x != nil {
|
|
return x.SecondaryExchangeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetIssueTolerancePercentage() float64 {
|
|
if x != nil {
|
|
return x.IssueTolerancePercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetReplaceOnIssue() bool {
|
|
if x != nil {
|
|
return x.ReplaceOnIssue
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetJobResults() []*DataHistoryJobResult {
|
|
if x != nil {
|
|
return x.JobResults
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DataHistoryJob) GetResultSummaries() []string {
|
|
if x != nil {
|
|
return x.ResultSummaries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DataHistoryJobResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
HasData bool `protobuf:"varint,3,opt,name=has_data,json=hasData,proto3" json:"has_data,omitempty"`
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
RunDate string `protobuf:"bytes,5,opt,name=run_date,json=runDate,proto3" json:"run_date,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) Reset() {
|
|
*x = DataHistoryJobResult{}
|
|
mi := &file_rpc_proto_msgTypes[156]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataHistoryJobResult) ProtoMessage() {}
|
|
|
|
func (x *DataHistoryJobResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[156]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DataHistoryJobResult.ProtoReflect.Descriptor instead.
|
|
func (*DataHistoryJobResult) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{156}
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) GetHasData() bool {
|
|
if x != nil {
|
|
return x.HasData
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataHistoryJobResult) GetRunDate() string {
|
|
if x != nil {
|
|
return x.RunDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DataHistoryJobs struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Results []*DataHistoryJob `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataHistoryJobs) Reset() {
|
|
*x = DataHistoryJobs{}
|
|
mi := &file_rpc_proto_msgTypes[157]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataHistoryJobs) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataHistoryJobs) ProtoMessage() {}
|
|
|
|
func (x *DataHistoryJobs) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[157]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DataHistoryJobs.ProtoReflect.Descriptor instead.
|
|
func (*DataHistoryJobs) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{157}
|
|
}
|
|
|
|
func (x *DataHistoryJobs) GetResults() []*DataHistoryJob {
|
|
if x != nil {
|
|
return x.Results
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetDataHistoryJobsBetweenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDataHistoryJobsBetweenRequest) Reset() {
|
|
*x = GetDataHistoryJobsBetweenRequest{}
|
|
mi := &file_rpc_proto_msgTypes[158]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDataHistoryJobsBetweenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDataHistoryJobsBetweenRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDataHistoryJobsBetweenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[158]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDataHistoryJobsBetweenRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDataHistoryJobsBetweenRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{158}
|
|
}
|
|
|
|
func (x *GetDataHistoryJobsBetweenRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetDataHistoryJobsBetweenRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetDataHistoryJobStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetDataHistoryJobStatusRequest) Reset() {
|
|
*x = SetDataHistoryJobStatusRequest{}
|
|
mi := &file_rpc_proto_msgTypes[159]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetDataHistoryJobStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetDataHistoryJobStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *SetDataHistoryJobStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[159]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetDataHistoryJobStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetDataHistoryJobStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{159}
|
|
}
|
|
|
|
func (x *SetDataHistoryJobStatusRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetDataHistoryJobStatusRequest) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetDataHistoryJobStatusRequest) GetStatus() int64 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdateDataHistoryJobPrerequisiteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
PrerequisiteJobNickname string `protobuf:"bytes,2,opt,name=prerequisite_job_nickname,json=prerequisiteJobNickname,proto3" json:"prerequisite_job_nickname,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateDataHistoryJobPrerequisiteRequest) Reset() {
|
|
*x = UpdateDataHistoryJobPrerequisiteRequest{}
|
|
mi := &file_rpc_proto_msgTypes[160]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateDataHistoryJobPrerequisiteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateDataHistoryJobPrerequisiteRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateDataHistoryJobPrerequisiteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[160]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateDataHistoryJobPrerequisiteRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateDataHistoryJobPrerequisiteRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{160}
|
|
}
|
|
|
|
func (x *UpdateDataHistoryJobPrerequisiteRequest) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateDataHistoryJobPrerequisiteRequest) GetPrerequisiteJobNickname() string {
|
|
if x != nil {
|
|
return x.PrerequisiteJobNickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ModifyOrderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) Reset() {
|
|
*x = ModifyOrderRequest{}
|
|
mi := &file_rpc_proto_msgTypes[161]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModifyOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *ModifyOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[161]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ModifyOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*ModifyOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{161}
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModifyOrderRequest) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ModifyOrderResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ModifiedOrderId string `protobuf:"bytes,1,opt,name=modified_order_id,json=modifiedOrderId,proto3" json:"modified_order_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModifyOrderResponse) Reset() {
|
|
*x = ModifyOrderResponse{}
|
|
mi := &file_rpc_proto_msgTypes[162]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModifyOrderResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModifyOrderResponse) ProtoMessage() {}
|
|
|
|
func (x *ModifyOrderResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[162]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ModifyOrderResponse.ProtoReflect.Descriptor instead.
|
|
func (*ModifyOrderResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{162}
|
|
}
|
|
|
|
func (x *ModifyOrderResponse) GetModifiedOrderId() string {
|
|
if x != nil {
|
|
return x.ModifiedOrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyStateGetAllRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyStateGetAllRequest) Reset() {
|
|
*x = CurrencyStateGetAllRequest{}
|
|
mi := &file_rpc_proto_msgTypes[163]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyStateGetAllRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyStateGetAllRequest) ProtoMessage() {}
|
|
|
|
func (x *CurrencyStateGetAllRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[163]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyStateGetAllRequest.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyStateGetAllRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{163}
|
|
}
|
|
|
|
func (x *CurrencyStateGetAllRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyStateTradingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyStateTradingRequest) Reset() {
|
|
*x = CurrencyStateTradingRequest{}
|
|
mi := &file_rpc_proto_msgTypes[164]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyStateTradingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyStateTradingRequest) ProtoMessage() {}
|
|
|
|
func (x *CurrencyStateTradingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[164]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyStateTradingRequest.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyStateTradingRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{164}
|
|
}
|
|
|
|
func (x *CurrencyStateTradingRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateTradingRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateTradingRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyStateTradingPairRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair string `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyStateTradingPairRequest) Reset() {
|
|
*x = CurrencyStateTradingPairRequest{}
|
|
mi := &file_rpc_proto_msgTypes[165]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyStateTradingPairRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyStateTradingPairRequest) ProtoMessage() {}
|
|
|
|
func (x *CurrencyStateTradingPairRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[165]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyStateTradingPairRequest.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyStateTradingPairRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{165}
|
|
}
|
|
|
|
func (x *CurrencyStateTradingPairRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateTradingPairRequest) GetPair() string {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateTradingPairRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyStateWithdrawRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyStateWithdrawRequest) Reset() {
|
|
*x = CurrencyStateWithdrawRequest{}
|
|
mi := &file_rpc_proto_msgTypes[166]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyStateWithdrawRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyStateWithdrawRequest) ProtoMessage() {}
|
|
|
|
func (x *CurrencyStateWithdrawRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[166]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyStateWithdrawRequest.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyStateWithdrawRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{166}
|
|
}
|
|
|
|
func (x *CurrencyStateWithdrawRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateWithdrawRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateWithdrawRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyStateDepositRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyStateDepositRequest) Reset() {
|
|
*x = CurrencyStateDepositRequest{}
|
|
mi := &file_rpc_proto_msgTypes[167]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyStateDepositRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyStateDepositRequest) ProtoMessage() {}
|
|
|
|
func (x *CurrencyStateDepositRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[167]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyStateDepositRequest.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyStateDepositRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{167}
|
|
}
|
|
|
|
func (x *CurrencyStateDepositRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateDepositRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyStateDepositRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyStateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CurrencyStates []*CurrencyState `protobuf:"bytes,1,rep,name=currency_states,json=currencyStates,proto3" json:"currency_states,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyStateResponse) Reset() {
|
|
*x = CurrencyStateResponse{}
|
|
mi := &file_rpc_proto_msgTypes[168]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyStateResponse) ProtoMessage() {}
|
|
|
|
func (x *CurrencyStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[168]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{168}
|
|
}
|
|
|
|
func (x *CurrencyStateResponse) GetCurrencyStates() []*CurrencyState {
|
|
if x != nil {
|
|
return x.CurrencyStates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CurrencyState struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
WithdrawEnabled bool `protobuf:"varint,3,opt,name=withdraw_enabled,json=withdrawEnabled,proto3" json:"withdraw_enabled,omitempty"`
|
|
DepositEnabled bool `protobuf:"varint,4,opt,name=deposit_enabled,json=depositEnabled,proto3" json:"deposit_enabled,omitempty"`
|
|
TradingEnabled bool `protobuf:"varint,5,opt,name=trading_enabled,json=tradingEnabled,proto3" json:"trading_enabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CurrencyState) Reset() {
|
|
*x = CurrencyState{}
|
|
mi := &file_rpc_proto_msgTypes[169]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CurrencyState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CurrencyState) ProtoMessage() {}
|
|
|
|
func (x *CurrencyState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[169]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CurrencyState.ProtoReflect.Descriptor instead.
|
|
func (*CurrencyState) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{169}
|
|
}
|
|
|
|
func (x *CurrencyState) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyState) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CurrencyState) GetWithdrawEnabled() bool {
|
|
if x != nil {
|
|
return x.WithdrawEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CurrencyState) GetDepositEnabled() bool {
|
|
if x != nil {
|
|
return x.DepositEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CurrencyState) GetTradingEnabled() bool {
|
|
if x != nil {
|
|
return x.TradingEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FundingRate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
|
|
Rate string `protobuf:"bytes,2,opt,name=rate,proto3" json:"rate,omitempty"`
|
|
Payment string `protobuf:"bytes,3,opt,name=payment,proto3" json:"payment,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FundingRate) Reset() {
|
|
*x = FundingRate{}
|
|
mi := &file_rpc_proto_msgTypes[170]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FundingRate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingRate) ProtoMessage() {}
|
|
|
|
func (x *FundingRate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[170]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FundingRate.ProtoReflect.Descriptor instead.
|
|
func (*FundingRate) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{170}
|
|
}
|
|
|
|
func (x *FundingRate) GetDate() string {
|
|
if x != nil {
|
|
return x.Date
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingRate) GetRate() string {
|
|
if x != nil {
|
|
return x.Rate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingRate) GetPayment() string {
|
|
if x != nil {
|
|
return x.Payment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FundingData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
PaymentCurrency string `protobuf:"bytes,4,opt,name=payment_currency,json=paymentCurrency,proto3" json:"payment_currency,omitempty"`
|
|
StartDate string `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
Rates []*FundingRate `protobuf:"bytes,7,rep,name=rates,proto3" json:"rates,omitempty"`
|
|
LatestRate *FundingRate `protobuf:"bytes,8,opt,name=latest_rate,json=latestRate,proto3" json:"latest_rate,omitempty"`
|
|
UpcomingRate *FundingRate `protobuf:"bytes,9,opt,name=upcoming_rate,json=upcomingRate,proto3" json:"upcoming_rate,omitempty"`
|
|
PaymentSum string `protobuf:"bytes,10,opt,name=payment_sum,json=paymentSum,proto3" json:"payment_sum,omitempty"`
|
|
PaymentMessage string `protobuf:"bytes,11,opt,name=payment_message,json=paymentMessage,proto3" json:"payment_message,omitempty"`
|
|
TimeOfNextRate string `protobuf:"bytes,12,opt,name=time_of_next_rate,json=timeOfNextRate,proto3" json:"time_of_next_rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FundingData) Reset() {
|
|
*x = FundingData{}
|
|
mi := &file_rpc_proto_msgTypes[171]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FundingData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingData) ProtoMessage() {}
|
|
|
|
func (x *FundingData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[171]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FundingData.ProtoReflect.Descriptor instead.
|
|
func (*FundingData) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{171}
|
|
}
|
|
|
|
func (x *FundingData) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingData) GetPaymentCurrency() string {
|
|
if x != nil {
|
|
return x.PaymentCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetRates() []*FundingRate {
|
|
if x != nil {
|
|
return x.Rates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingData) GetLatestRate() *FundingRate {
|
|
if x != nil {
|
|
return x.LatestRate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingData) GetUpcomingRate() *FundingRate {
|
|
if x != nil {
|
|
return x.UpcomingRate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingData) GetPaymentSum() string {
|
|
if x != nil {
|
|
return x.PaymentSum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetPaymentMessage() string {
|
|
if x != nil {
|
|
return x.PaymentMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FundingData) GetTimeOfNextRate() string {
|
|
if x != nil {
|
|
return x.TimeOfNextRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FuturesPositionStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MaintenanceMarginRequirement string `protobuf:"bytes,1,opt,name=maintenance_margin_requirement,json=maintenanceMarginRequirement,proto3" json:"maintenance_margin_requirement,omitempty"`
|
|
InitialMarginRequirement string `protobuf:"bytes,2,opt,name=initial_margin_requirement,json=initialMarginRequirement,proto3" json:"initial_margin_requirement,omitempty"`
|
|
EstimatedLiquidationPrice string `protobuf:"bytes,3,opt,name=estimated_liquidation_price,json=estimatedLiquidationPrice,proto3" json:"estimated_liquidation_price,omitempty"`
|
|
CollateralUsed string `protobuf:"bytes,4,opt,name=collateral_used,json=collateralUsed,proto3" json:"collateral_used,omitempty"`
|
|
MarkPrice string `protobuf:"bytes,5,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
|
|
CurrentSize string `protobuf:"bytes,6,opt,name=current_size,json=currentSize,proto3" json:"current_size,omitempty"`
|
|
ContractSize string `protobuf:"bytes,7,opt,name=contract_size,json=contractSize,proto3" json:"contract_size,omitempty"`
|
|
ContractMultiplier string `protobuf:"bytes,8,opt,name=contract_multiplier,json=contractMultiplier,proto3" json:"contract_multiplier,omitempty"`
|
|
ContractSettlementType string `protobuf:"bytes,9,opt,name=contract_settlement_type,json=contractSettlementType,proto3" json:"contract_settlement_type,omitempty"`
|
|
BreakEvenPrice string `protobuf:"bytes,10,opt,name=break_even_price,json=breakEvenPrice,proto3" json:"break_even_price,omitempty"`
|
|
AverageOpenPrice string `protobuf:"bytes,11,opt,name=average_open_price,json=averageOpenPrice,proto3" json:"average_open_price,omitempty"`
|
|
RecentPnl string `protobuf:"bytes,12,opt,name=recent_pnl,json=recentPnl,proto3" json:"recent_pnl,omitempty"`
|
|
MarginFraction string `protobuf:"bytes,13,opt,name=margin_fraction,json=marginFraction,proto3" json:"margin_fraction,omitempty"`
|
|
FreeCollateral string `protobuf:"bytes,14,opt,name=free_collateral,json=freeCollateral,proto3" json:"free_collateral,omitempty"`
|
|
TotalCollateral string `protobuf:"bytes,15,opt,name=total_collateral,json=totalCollateral,proto3" json:"total_collateral,omitempty"`
|
|
FrozenBalance string `protobuf:"bytes,16,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"`
|
|
EquityOfCurrency string `protobuf:"bytes,17,opt,name=equity_of_currency,json=equityOfCurrency,proto3" json:"equity_of_currency,omitempty"`
|
|
AvailableEquity string `protobuf:"bytes,18,opt,name=available_equity,json=availableEquity,proto3" json:"available_equity,omitempty"`
|
|
CashBalance string `protobuf:"bytes,19,opt,name=cash_balance,json=cashBalance,proto3" json:"cash_balance,omitempty"`
|
|
DiscountEquity string `protobuf:"bytes,20,opt,name=discount_equity,json=discountEquity,proto3" json:"discount_equity,omitempty"`
|
|
EquityUsd string `protobuf:"bytes,21,opt,name=equity_usd,json=equityUsd,proto3" json:"equity_usd,omitempty"`
|
|
IsolatedEquity string `protobuf:"bytes,22,opt,name=isolated_equity,json=isolatedEquity,proto3" json:"isolated_equity,omitempty"`
|
|
IsolatedLiabilities string `protobuf:"bytes,23,opt,name=isolated_liabilities,json=isolatedLiabilities,proto3" json:"isolated_liabilities,omitempty"`
|
|
IsolatedUpl string `protobuf:"bytes,24,opt,name=isolated_upl,json=isolatedUpl,proto3" json:"isolated_upl,omitempty"`
|
|
NotionalLeverage string `protobuf:"bytes,25,opt,name=notional_leverage,json=notionalLeverage,proto3" json:"notional_leverage,omitempty"`
|
|
TotalEquity string `protobuf:"bytes,26,opt,name=total_equity,json=totalEquity,proto3" json:"total_equity,omitempty"`
|
|
StrategyEquity string `protobuf:"bytes,27,opt,name=strategy_equity,json=strategyEquity,proto3" json:"strategy_equity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FuturesPositionStats) Reset() {
|
|
*x = FuturesPositionStats{}
|
|
mi := &file_rpc_proto_msgTypes[172]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FuturesPositionStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FuturesPositionStats) ProtoMessage() {}
|
|
|
|
func (x *FuturesPositionStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[172]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FuturesPositionStats.ProtoReflect.Descriptor instead.
|
|
func (*FuturesPositionStats) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{172}
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetMaintenanceMarginRequirement() string {
|
|
if x != nil {
|
|
return x.MaintenanceMarginRequirement
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetInitialMarginRequirement() string {
|
|
if x != nil {
|
|
return x.InitialMarginRequirement
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetEstimatedLiquidationPrice() string {
|
|
if x != nil {
|
|
return x.EstimatedLiquidationPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetCollateralUsed() string {
|
|
if x != nil {
|
|
return x.CollateralUsed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetMarkPrice() string {
|
|
if x != nil {
|
|
return x.MarkPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetCurrentSize() string {
|
|
if x != nil {
|
|
return x.CurrentSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetContractSize() string {
|
|
if x != nil {
|
|
return x.ContractSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetContractMultiplier() string {
|
|
if x != nil {
|
|
return x.ContractMultiplier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetContractSettlementType() string {
|
|
if x != nil {
|
|
return x.ContractSettlementType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetBreakEvenPrice() string {
|
|
if x != nil {
|
|
return x.BreakEvenPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetAverageOpenPrice() string {
|
|
if x != nil {
|
|
return x.AverageOpenPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetRecentPnl() string {
|
|
if x != nil {
|
|
return x.RecentPnl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetMarginFraction() string {
|
|
if x != nil {
|
|
return x.MarginFraction
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetFreeCollateral() string {
|
|
if x != nil {
|
|
return x.FreeCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetTotalCollateral() string {
|
|
if x != nil {
|
|
return x.TotalCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetFrozenBalance() string {
|
|
if x != nil {
|
|
return x.FrozenBalance
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetEquityOfCurrency() string {
|
|
if x != nil {
|
|
return x.EquityOfCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetAvailableEquity() string {
|
|
if x != nil {
|
|
return x.AvailableEquity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetCashBalance() string {
|
|
if x != nil {
|
|
return x.CashBalance
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetDiscountEquity() string {
|
|
if x != nil {
|
|
return x.DiscountEquity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetEquityUsd() string {
|
|
if x != nil {
|
|
return x.EquityUsd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetIsolatedEquity() string {
|
|
if x != nil {
|
|
return x.IsolatedEquity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetIsolatedLiabilities() string {
|
|
if x != nil {
|
|
return x.IsolatedLiabilities
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetIsolatedUpl() string {
|
|
if x != nil {
|
|
return x.IsolatedUpl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetNotionalLeverage() string {
|
|
if x != nil {
|
|
return x.NotionalLeverage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetTotalEquity() string {
|
|
if x != nil {
|
|
return x.TotalEquity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturesPositionStats) GetStrategyEquity() string {
|
|
if x != nil {
|
|
return x.StrategyEquity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FuturePosition struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
OpeningDate string `protobuf:"bytes,5,opt,name=opening_date,json=openingDate,proto3" json:"opening_date,omitempty"`
|
|
OpeningDirection string `protobuf:"bytes,6,opt,name=opening_direction,json=openingDirection,proto3" json:"opening_direction,omitempty"`
|
|
OpeningPrice string `protobuf:"bytes,7,opt,name=opening_price,json=openingPrice,proto3" json:"opening_price,omitempty"`
|
|
OpeningSize string `protobuf:"bytes,8,opt,name=opening_size,json=openingSize,proto3" json:"opening_size,omitempty"`
|
|
CurrentDirection string `protobuf:"bytes,9,opt,name=current_direction,json=currentDirection,proto3" json:"current_direction,omitempty"`
|
|
CurrentPrice string `protobuf:"bytes,10,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
|
|
CurrentSize string `protobuf:"bytes,11,opt,name=current_size,json=currentSize,proto3" json:"current_size,omitempty"`
|
|
UnrealisedPnl string `protobuf:"bytes,12,opt,name=unrealised_pnl,json=unrealisedPnl,proto3" json:"unrealised_pnl,omitempty"`
|
|
RealisedPnl string `protobuf:"bytes,13,opt,name=realised_pnl,json=realisedPnl,proto3" json:"realised_pnl,omitempty"`
|
|
ClosingDate string `protobuf:"bytes,14,opt,name=closing_date,json=closingDate,proto3" json:"closing_date,omitempty"`
|
|
OrderCount int64 `protobuf:"varint,15,opt,name=order_count,json=orderCount,proto3" json:"order_count,omitempty"`
|
|
ContractSettlementType string `protobuf:"bytes,16,opt,name=contract_settlement_type,json=contractSettlementType,proto3" json:"contract_settlement_type,omitempty"`
|
|
Orders []*OrderDetails `protobuf:"bytes,17,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
PositionStats *FuturesPositionStats `protobuf:"bytes,18,opt,name=position_stats,json=positionStats,proto3" json:"position_stats,omitempty"`
|
|
FundingData *FundingData `protobuf:"bytes,19,opt,name=funding_data,json=fundingData,proto3" json:"funding_data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FuturePosition) Reset() {
|
|
*x = FuturePosition{}
|
|
mi := &file_rpc_proto_msgTypes[173]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FuturePosition) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FuturePosition) ProtoMessage() {}
|
|
|
|
func (x *FuturePosition) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[173]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FuturePosition.ProtoReflect.Descriptor instead.
|
|
func (*FuturePosition) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{173}
|
|
}
|
|
|
|
func (x *FuturePosition) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FuturePosition) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetOpeningDate() string {
|
|
if x != nil {
|
|
return x.OpeningDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetOpeningDirection() string {
|
|
if x != nil {
|
|
return x.OpeningDirection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetOpeningPrice() string {
|
|
if x != nil {
|
|
return x.OpeningPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetOpeningSize() string {
|
|
if x != nil {
|
|
return x.OpeningSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetCurrentDirection() string {
|
|
if x != nil {
|
|
return x.CurrentDirection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetCurrentPrice() string {
|
|
if x != nil {
|
|
return x.CurrentPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetCurrentSize() string {
|
|
if x != nil {
|
|
return x.CurrentSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetUnrealisedPnl() string {
|
|
if x != nil {
|
|
return x.UnrealisedPnl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetRealisedPnl() string {
|
|
if x != nil {
|
|
return x.RealisedPnl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetClosingDate() string {
|
|
if x != nil {
|
|
return x.ClosingDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetOrderCount() int64 {
|
|
if x != nil {
|
|
return x.OrderCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FuturePosition) GetContractSettlementType() string {
|
|
if x != nil {
|
|
return x.ContractSettlementType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FuturePosition) GetOrders() []*OrderDetails {
|
|
if x != nil {
|
|
return x.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FuturePosition) GetPositionStats() *FuturesPositionStats {
|
|
if x != nil {
|
|
return x.PositionStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FuturePosition) GetFundingData() *FundingData {
|
|
if x != nil {
|
|
return x.FundingData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetManagedPositionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
IncludeFullOrderData bool `protobuf:"varint,4,opt,name=include_full_order_data,json=includeFullOrderData,proto3" json:"include_full_order_data,omitempty"`
|
|
GetFundingPayments bool `protobuf:"varint,5,opt,name=get_funding_payments,json=getFundingPayments,proto3" json:"get_funding_payments,omitempty"`
|
|
IncludeFullFundingRates bool `protobuf:"varint,6,opt,name=include_full_funding_rates,json=includeFullFundingRates,proto3" json:"include_full_funding_rates,omitempty"`
|
|
IncludePredictedRate bool `protobuf:"varint,7,opt,name=include_predicted_rate,json=includePredictedRate,proto3" json:"include_predicted_rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) Reset() {
|
|
*x = GetManagedPositionRequest{}
|
|
mi := &file_rpc_proto_msgTypes[174]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManagedPositionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetManagedPositionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[174]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetManagedPositionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetManagedPositionRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{174}
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetIncludeFullOrderData() bool {
|
|
if x != nil {
|
|
return x.IncludeFullOrderData
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetGetFundingPayments() bool {
|
|
if x != nil {
|
|
return x.GetFundingPayments
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetIncludeFullFundingRates() bool {
|
|
if x != nil {
|
|
return x.IncludeFullFundingRates
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetManagedPositionRequest) GetIncludePredictedRate() bool {
|
|
if x != nil {
|
|
return x.IncludePredictedRate
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetAllManagedPositionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IncludeFullOrderData bool `protobuf:"varint,1,opt,name=include_full_order_data,json=includeFullOrderData,proto3" json:"include_full_order_data,omitempty"`
|
|
GetFundingPayments bool `protobuf:"varint,2,opt,name=get_funding_payments,json=getFundingPayments,proto3" json:"get_funding_payments,omitempty"`
|
|
IncludeFullFundingRates bool `protobuf:"varint,3,opt,name=include_full_funding_rates,json=includeFullFundingRates,proto3" json:"include_full_funding_rates,omitempty"`
|
|
IncludePredictedRate bool `protobuf:"varint,4,opt,name=include_predicted_rate,json=includePredictedRate,proto3" json:"include_predicted_rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAllManagedPositionsRequest) Reset() {
|
|
*x = GetAllManagedPositionsRequest{}
|
|
mi := &file_rpc_proto_msgTypes[175]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAllManagedPositionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAllManagedPositionsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAllManagedPositionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[175]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAllManagedPositionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAllManagedPositionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{175}
|
|
}
|
|
|
|
func (x *GetAllManagedPositionsRequest) GetIncludeFullOrderData() bool {
|
|
if x != nil {
|
|
return x.IncludeFullOrderData
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetAllManagedPositionsRequest) GetGetFundingPayments() bool {
|
|
if x != nil {
|
|
return x.GetFundingPayments
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetAllManagedPositionsRequest) GetIncludeFullFundingRates() bool {
|
|
if x != nil {
|
|
return x.IncludeFullFundingRates
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetAllManagedPositionsRequest) GetIncludePredictedRate() bool {
|
|
if x != nil {
|
|
return x.IncludePredictedRate
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetManagedPositionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Positions []*FuturePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetManagedPositionsResponse) Reset() {
|
|
*x = GetManagedPositionsResponse{}
|
|
mi := &file_rpc_proto_msgTypes[176]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetManagedPositionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManagedPositionsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetManagedPositionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[176]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetManagedPositionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetManagedPositionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{176}
|
|
}
|
|
|
|
func (x *GetManagedPositionsResponse) GetPositions() []*FuturePosition {
|
|
if x != nil {
|
|
return x.Positions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetFuturesPositionsSummaryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
UnderlyingPair *CurrencyPair `protobuf:"bytes,4,opt,name=underlying_pair,json=underlyingPair,proto3" json:"underlying_pair,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) Reset() {
|
|
*x = GetFuturesPositionsSummaryRequest{}
|
|
mi := &file_rpc_proto_msgTypes[177]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFuturesPositionsSummaryRequest) ProtoMessage() {}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[177]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFuturesPositionsSummaryRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetFuturesPositionsSummaryRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{177}
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryRequest) GetUnderlyingPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.UnderlyingPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetFuturesPositionsSummaryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
PositionStats *FuturesPositionStats `protobuf:"bytes,4,opt,name=position_stats,json=positionStats,proto3" json:"position_stats,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) Reset() {
|
|
*x = GetFuturesPositionsSummaryResponse{}
|
|
mi := &file_rpc_proto_msgTypes[178]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFuturesPositionsSummaryResponse) ProtoMessage() {}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[178]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFuturesPositionsSummaryResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetFuturesPositionsSummaryResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{178}
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetFuturesPositionsSummaryResponse) GetPositionStats() *FuturesPositionStats {
|
|
if x != nil {
|
|
return x.PositionStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetFuturesPositionsOrdersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
UnderlyingPair *CurrencyPair `protobuf:"bytes,4,opt,name=underlying_pair,json=underlyingPair,proto3" json:"underlying_pair,omitempty"`
|
|
StartDate string `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
RespectOrderHistoryLimits bool `protobuf:"varint,7,opt,name=respect_order_history_limits,json=respectOrderHistoryLimits,proto3" json:"respect_order_history_limits,omitempty"`
|
|
SyncWithOrderManager bool `protobuf:"varint,8,opt,name=sync_with_order_manager,json=syncWithOrderManager,proto3" json:"sync_with_order_manager,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) Reset() {
|
|
*x = GetFuturesPositionsOrdersRequest{}
|
|
mi := &file_rpc_proto_msgTypes[179]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFuturesPositionsOrdersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[179]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFuturesPositionsOrdersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetFuturesPositionsOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{179}
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetUnderlyingPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.UnderlyingPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetRespectOrderHistoryLimits() bool {
|
|
if x != nil {
|
|
return x.RespectOrderHistoryLimits
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersRequest) GetSyncWithOrderManager() bool {
|
|
if x != nil {
|
|
return x.SyncWithOrderManager
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetFuturesPositionsOrdersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Positions []*FuturePosition `protobuf:"bytes,6,rep,name=positions,proto3" json:"positions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersResponse) Reset() {
|
|
*x = GetFuturesPositionsOrdersResponse{}
|
|
mi := &file_rpc_proto_msgTypes[180]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFuturesPositionsOrdersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetFuturesPositionsOrdersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[180]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFuturesPositionsOrdersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetFuturesPositionsOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{180}
|
|
}
|
|
|
|
func (x *GetFuturesPositionsOrdersResponse) GetPositions() []*FuturePosition {
|
|
if x != nil {
|
|
return x.Positions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCollateralModeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCollateralModeRequest) Reset() {
|
|
*x = GetCollateralModeRequest{}
|
|
mi := &file_rpc_proto_msgTypes[181]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCollateralModeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCollateralModeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCollateralModeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[181]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCollateralModeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCollateralModeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{181}
|
|
}
|
|
|
|
func (x *GetCollateralModeRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralModeRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCollateralModeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
CollateralMode string `protobuf:"bytes,3,opt,name=collateral_mode,json=collateralMode,proto3" json:"collateral_mode,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCollateralModeResponse) Reset() {
|
|
*x = GetCollateralModeResponse{}
|
|
mi := &file_rpc_proto_msgTypes[182]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCollateralModeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCollateralModeResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCollateralModeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[182]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCollateralModeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCollateralModeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{182}
|
|
}
|
|
|
|
func (x *GetCollateralModeResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralModeResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralModeResponse) GetCollateralMode() string {
|
|
if x != nil {
|
|
return x.CollateralMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetCollateralModeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
CollateralMode string `protobuf:"bytes,3,opt,name=collateral_mode,json=collateralMode,proto3" json:"collateral_mode,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetCollateralModeRequest) Reset() {
|
|
*x = SetCollateralModeRequest{}
|
|
mi := &file_rpc_proto_msgTypes[183]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetCollateralModeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetCollateralModeRequest) ProtoMessage() {}
|
|
|
|
func (x *SetCollateralModeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[183]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetCollateralModeRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetCollateralModeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{183}
|
|
}
|
|
|
|
func (x *SetCollateralModeRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetCollateralModeRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetCollateralModeRequest) GetCollateralMode() string {
|
|
if x != nil {
|
|
return x.CollateralMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetCollateralModeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetCollateralModeResponse) Reset() {
|
|
*x = SetCollateralModeResponse{}
|
|
mi := &file_rpc_proto_msgTypes[184]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetCollateralModeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetCollateralModeResponse) ProtoMessage() {}
|
|
|
|
func (x *SetCollateralModeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[184]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetCollateralModeResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetCollateralModeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{184}
|
|
}
|
|
|
|
func (x *SetCollateralModeResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetCollateralModeResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetCollateralModeResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetMarginTypeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMarginTypeRequest) Reset() {
|
|
*x = GetMarginTypeRequest{}
|
|
mi := &file_rpc_proto_msgTypes[185]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMarginTypeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMarginTypeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMarginTypeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[185]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMarginTypeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMarginTypeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{185}
|
|
}
|
|
|
|
func (x *GetMarginTypeRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginTypeRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginTypeRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMarginTypeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,4,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMarginTypeResponse) Reset() {
|
|
*x = GetMarginTypeResponse{}
|
|
mi := &file_rpc_proto_msgTypes[186]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMarginTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMarginTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMarginTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[186]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMarginTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMarginTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{186}
|
|
}
|
|
|
|
func (x *GetMarginTypeResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginTypeResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginTypeResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetMarginTypeResponse) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ChangePositionMarginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,4,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
OriginalAllocatedMargin float64 `protobuf:"fixed64,5,opt,name=original_allocated_margin,json=originalAllocatedMargin,proto3" json:"original_allocated_margin,omitempty"`
|
|
NewAllocatedMargin float64 `protobuf:"fixed64,6,opt,name=new_allocated_margin,json=newAllocatedMargin,proto3" json:"new_allocated_margin,omitempty"`
|
|
MarginSide string `protobuf:"bytes,7,opt,name=margin_side,json=marginSide,proto3" json:"margin_side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) Reset() {
|
|
*x = ChangePositionMarginRequest{}
|
|
mi := &file_rpc_proto_msgTypes[187]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangePositionMarginRequest) ProtoMessage() {}
|
|
|
|
func (x *ChangePositionMarginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[187]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChangePositionMarginRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChangePositionMarginRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{187}
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetOriginalAllocatedMargin() float64 {
|
|
if x != nil {
|
|
return x.OriginalAllocatedMargin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetNewAllocatedMargin() float64 {
|
|
if x != nil {
|
|
return x.NewAllocatedMargin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChangePositionMarginRequest) GetMarginSide() string {
|
|
if x != nil {
|
|
return x.MarginSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ChangePositionMarginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,4,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
NewAllocatedMargin float64 `protobuf:"fixed64,5,opt,name=new_allocated_margin,json=newAllocatedMargin,proto3" json:"new_allocated_margin,omitempty"`
|
|
MarginSide string `protobuf:"bytes,6,opt,name=margin_side,json=marginSide,proto3" json:"margin_side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) Reset() {
|
|
*x = ChangePositionMarginResponse{}
|
|
mi := &file_rpc_proto_msgTypes[188]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangePositionMarginResponse) ProtoMessage() {}
|
|
|
|
func (x *ChangePositionMarginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[188]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChangePositionMarginResponse.ProtoReflect.Descriptor instead.
|
|
func (*ChangePositionMarginResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{188}
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) GetNewAllocatedMargin() float64 {
|
|
if x != nil {
|
|
return x.NewAllocatedMargin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChangePositionMarginResponse) GetMarginSide() string {
|
|
if x != nil {
|
|
return x.MarginSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetMarginTypeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,4,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMarginTypeRequest) Reset() {
|
|
*x = SetMarginTypeRequest{}
|
|
mi := &file_rpc_proto_msgTypes[189]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMarginTypeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMarginTypeRequest) ProtoMessage() {}
|
|
|
|
func (x *SetMarginTypeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[189]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetMarginTypeRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetMarginTypeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{189}
|
|
}
|
|
|
|
func (x *SetMarginTypeRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMarginTypeRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMarginTypeRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetMarginTypeRequest) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetMarginTypeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMarginTypeResponse) Reset() {
|
|
*x = SetMarginTypeResponse{}
|
|
mi := &file_rpc_proto_msgTypes[190]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMarginTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMarginTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *SetMarginTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[190]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetMarginTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetMarginTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{190}
|
|
}
|
|
|
|
func (x *SetMarginTypeResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMarginTypeResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMarginTypeResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetMarginTypeResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetLeverageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
UnderlyingPair *CurrencyPair `protobuf:"bytes,4,opt,name=underlying_pair,json=underlyingPair,proto3" json:"underlying_pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,5,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
OrderSide string `protobuf:"bytes,6,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLeverageRequest) Reset() {
|
|
*x = GetLeverageRequest{}
|
|
mi := &file_rpc_proto_msgTypes[191]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLeverageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLeverageRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLeverageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[191]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLeverageRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLeverageRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{191}
|
|
}
|
|
|
|
func (x *GetLeverageRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLeverageRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLeverageRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLeverageRequest) GetUnderlyingPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.UnderlyingPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLeverageRequest) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLeverageRequest) GetOrderSide() string {
|
|
if x != nil {
|
|
return x.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLeverageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
UnderlyingPair *CurrencyPair `protobuf:"bytes,4,opt,name=underlying_pair,json=underlyingPair,proto3" json:"underlying_pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,5,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
Leverage float64 `protobuf:"fixed64,6,opt,name=leverage,proto3" json:"leverage,omitempty"`
|
|
OrderSide string `protobuf:"bytes,7,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLeverageResponse) Reset() {
|
|
*x = GetLeverageResponse{}
|
|
mi := &file_rpc_proto_msgTypes[192]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLeverageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLeverageResponse) ProtoMessage() {}
|
|
|
|
func (x *GetLeverageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[192]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLeverageResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetLeverageResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{192}
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetUnderlyingPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.UnderlyingPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetLeverage() float64 {
|
|
if x != nil {
|
|
return x.Leverage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetLeverageResponse) GetOrderSide() string {
|
|
if x != nil {
|
|
return x.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetLeverageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
UnderlyingPair *CurrencyPair `protobuf:"bytes,4,opt,name=underlying_pair,json=underlyingPair,proto3" json:"underlying_pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,5,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
Leverage float64 `protobuf:"fixed64,6,opt,name=leverage,proto3" json:"leverage,omitempty"`
|
|
OrderSide string `protobuf:"bytes,7,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetLeverageRequest) Reset() {
|
|
*x = SetLeverageRequest{}
|
|
mi := &file_rpc_proto_msgTypes[193]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetLeverageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLeverageRequest) ProtoMessage() {}
|
|
|
|
func (x *SetLeverageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[193]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLeverageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetLeverageRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{193}
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetUnderlyingPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.UnderlyingPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetLeverage() float64 {
|
|
if x != nil {
|
|
return x.Leverage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetLeverageRequest) GetOrderSide() string {
|
|
if x != nil {
|
|
return x.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetLeverageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
UnderlyingPair *CurrencyPair `protobuf:"bytes,4,opt,name=underlying_pair,json=underlyingPair,proto3" json:"underlying_pair,omitempty"`
|
|
MarginType string `protobuf:"bytes,5,opt,name=margin_type,json=marginType,proto3" json:"margin_type,omitempty"`
|
|
OrderSide string `protobuf:"bytes,6,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
Success bool `protobuf:"varint,7,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetLeverageResponse) Reset() {
|
|
*x = SetLeverageResponse{}
|
|
mi := &file_rpc_proto_msgTypes[194]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetLeverageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLeverageResponse) ProtoMessage() {}
|
|
|
|
func (x *SetLeverageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[194]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLeverageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetLeverageResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{194}
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetUnderlyingPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.UnderlyingPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetMarginType() string {
|
|
if x != nil {
|
|
return x.MarginType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetOrderSide() string {
|
|
if x != nil {
|
|
return x.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLeverageResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetCollateralRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
IncludeBreakdown bool `protobuf:"varint,3,opt,name=include_breakdown,json=includeBreakdown,proto3" json:"include_breakdown,omitempty"`
|
|
CalculateOffline bool `protobuf:"varint,4,opt,name=calculate_offline,json=calculateOffline,proto3" json:"calculate_offline,omitempty"`
|
|
IncludeZeroValues bool `protobuf:"varint,5,opt,name=include_zero_values,json=includeZeroValues,proto3" json:"include_zero_values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCollateralRequest) Reset() {
|
|
*x = GetCollateralRequest{}
|
|
mi := &file_rpc_proto_msgTypes[195]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCollateralRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCollateralRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCollateralRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[195]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCollateralRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCollateralRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{195}
|
|
}
|
|
|
|
func (x *GetCollateralRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralRequest) GetIncludeBreakdown() bool {
|
|
if x != nil {
|
|
return x.IncludeBreakdown
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetCollateralRequest) GetCalculateOffline() bool {
|
|
if x != nil {
|
|
return x.CalculateOffline
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetCollateralRequest) GetIncludeZeroValues() bool {
|
|
if x != nil {
|
|
return x.IncludeZeroValues
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetCollateralResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SubAccount string `protobuf:"bytes,1,opt,name=sub_account,json=subAccount,proto3" json:"sub_account,omitempty"`
|
|
CollateralCurrency string `protobuf:"bytes,2,opt,name=collateral_currency,json=collateralCurrency,proto3" json:"collateral_currency,omitempty"`
|
|
TotalValueOfPositiveSpotBalances string `protobuf:"bytes,3,opt,name=total_value_of_positive_spot_balances,json=totalValueOfPositiveSpotBalances,proto3" json:"total_value_of_positive_spot_balances,omitempty"`
|
|
CollateralContributedByPositiveSpotBalances string `protobuf:"bytes,4,opt,name=collateral_contributed_by_positive_spot_balances,json=collateralContributedByPositiveSpotBalances,proto3" json:"collateral_contributed_by_positive_spot_balances,omitempty"`
|
|
UsedCollateral string `protobuf:"bytes,5,opt,name=used_collateral,json=usedCollateral,proto3" json:"used_collateral,omitempty"`
|
|
UsedBreakdown *CollateralUsedBreakdown `protobuf:"bytes,6,opt,name=used_breakdown,json=usedBreakdown,proto3" json:"used_breakdown,omitempty"`
|
|
AvailableCollateral string `protobuf:"bytes,7,opt,name=available_collateral,json=availableCollateral,proto3" json:"available_collateral,omitempty"`
|
|
MaintenanceCollateral string `protobuf:"bytes,8,opt,name=maintenance_collateral,json=maintenanceCollateral,proto3" json:"maintenance_collateral,omitempty"`
|
|
UnrealisedPnl string `protobuf:"bytes,9,opt,name=unrealised_pnl,json=unrealisedPnl,proto3" json:"unrealised_pnl,omitempty"`
|
|
CurrencyBreakdown []*CollateralForCurrency `protobuf:"bytes,10,rep,name=currency_breakdown,json=currencyBreakdown,proto3" json:"currency_breakdown,omitempty"`
|
|
PositionBreakdown []*CollateralByPosition `protobuf:"bytes,11,rep,name=position_breakdown,json=positionBreakdown,proto3" json:"position_breakdown,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCollateralResponse) Reset() {
|
|
*x = GetCollateralResponse{}
|
|
mi := &file_rpc_proto_msgTypes[196]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCollateralResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCollateralResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCollateralResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[196]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCollateralResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCollateralResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{196}
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetSubAccount() string {
|
|
if x != nil {
|
|
return x.SubAccount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetCollateralCurrency() string {
|
|
if x != nil {
|
|
return x.CollateralCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetTotalValueOfPositiveSpotBalances() string {
|
|
if x != nil {
|
|
return x.TotalValueOfPositiveSpotBalances
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetCollateralContributedByPositiveSpotBalances() string {
|
|
if x != nil {
|
|
return x.CollateralContributedByPositiveSpotBalances
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetUsedCollateral() string {
|
|
if x != nil {
|
|
return x.UsedCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetUsedBreakdown() *CollateralUsedBreakdown {
|
|
if x != nil {
|
|
return x.UsedBreakdown
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetAvailableCollateral() string {
|
|
if x != nil {
|
|
return x.AvailableCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetMaintenanceCollateral() string {
|
|
if x != nil {
|
|
return x.MaintenanceCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetUnrealisedPnl() string {
|
|
if x != nil {
|
|
return x.UnrealisedPnl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetCurrencyBreakdown() []*CollateralForCurrency {
|
|
if x != nil {
|
|
return x.CurrencyBreakdown
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCollateralResponse) GetPositionBreakdown() []*CollateralByPosition {
|
|
if x != nil {
|
|
return x.PositionBreakdown
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CollateralForCurrency struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
ExcludedFromCollateral bool `protobuf:"varint,2,opt,name=excluded_from_collateral,json=excludedFromCollateral,proto3" json:"excluded_from_collateral,omitempty"`
|
|
TotalFunds string `protobuf:"bytes,3,opt,name=total_funds,json=totalFunds,proto3" json:"total_funds,omitempty"`
|
|
AvailableForUseAsCollateral string `protobuf:"bytes,4,opt,name=available_for_use_as_collateral,json=availableForUseAsCollateral,proto3" json:"available_for_use_as_collateral,omitempty"`
|
|
ApproxFairMarketValue string `protobuf:"bytes,5,opt,name=approx_fair_market_value,json=approxFairMarketValue,proto3" json:"approx_fair_market_value,omitempty"`
|
|
Weighting string `protobuf:"bytes,6,opt,name=weighting,proto3" json:"weighting,omitempty"`
|
|
CollateralContribution string `protobuf:"bytes,7,opt,name=collateral_contribution,json=collateralContribution,proto3" json:"collateral_contribution,omitempty"`
|
|
ScaledToCurrency string `protobuf:"bytes,8,opt,name=scaled_to_currency,json=scaledToCurrency,proto3" json:"scaled_to_currency,omitempty"`
|
|
UnrealisedPnl string `protobuf:"bytes,9,opt,name=unrealised_pnl,json=unrealisedPnl,proto3" json:"unrealised_pnl,omitempty"`
|
|
FundsInUse string `protobuf:"bytes,10,opt,name=funds_in_use,json=fundsInUse,proto3" json:"funds_in_use,omitempty"`
|
|
AdditionalCollateralUsed string `protobuf:"bytes,11,opt,name=additional_collateral_used,json=additionalCollateralUsed,proto3" json:"additional_collateral_used,omitempty"`
|
|
UsedBreakdown *CollateralUsedBreakdown `protobuf:"bytes,12,opt,name=used_breakdown,json=usedBreakdown,proto3" json:"used_breakdown,omitempty"`
|
|
Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CollateralForCurrency) Reset() {
|
|
*x = CollateralForCurrency{}
|
|
mi := &file_rpc_proto_msgTypes[197]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CollateralForCurrency) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CollateralForCurrency) ProtoMessage() {}
|
|
|
|
func (x *CollateralForCurrency) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[197]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CollateralForCurrency.ProtoReflect.Descriptor instead.
|
|
func (*CollateralForCurrency) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{197}
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetExcludedFromCollateral() bool {
|
|
if x != nil {
|
|
return x.ExcludedFromCollateral
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetTotalFunds() string {
|
|
if x != nil {
|
|
return x.TotalFunds
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetAvailableForUseAsCollateral() string {
|
|
if x != nil {
|
|
return x.AvailableForUseAsCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetApproxFairMarketValue() string {
|
|
if x != nil {
|
|
return x.ApproxFairMarketValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetWeighting() string {
|
|
if x != nil {
|
|
return x.Weighting
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetCollateralContribution() string {
|
|
if x != nil {
|
|
return x.CollateralContribution
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetScaledToCurrency() string {
|
|
if x != nil {
|
|
return x.ScaledToCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetUnrealisedPnl() string {
|
|
if x != nil {
|
|
return x.UnrealisedPnl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetFundsInUse() string {
|
|
if x != nil {
|
|
return x.FundsInUse
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetAdditionalCollateralUsed() string {
|
|
if x != nil {
|
|
return x.AdditionalCollateralUsed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetUsedBreakdown() *CollateralUsedBreakdown {
|
|
if x != nil {
|
|
return x.UsedBreakdown
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollateralForCurrency) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CollateralByPosition struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
OpenOrderSize string `protobuf:"bytes,3,opt,name=open_order_size,json=openOrderSize,proto3" json:"open_order_size,omitempty"`
|
|
PositionSize string `protobuf:"bytes,4,opt,name=position_size,json=positionSize,proto3" json:"position_size,omitempty"`
|
|
MarkPrice string `protobuf:"bytes,5,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
|
|
RequiredMargin string `protobuf:"bytes,6,opt,name=required_margin,json=requiredMargin,proto3" json:"required_margin,omitempty"`
|
|
TotalCollateralUsed string `protobuf:"bytes,7,opt,name=total_collateral_used,json=totalCollateralUsed,proto3" json:"total_collateral_used,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CollateralByPosition) Reset() {
|
|
*x = CollateralByPosition{}
|
|
mi := &file_rpc_proto_msgTypes[198]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CollateralByPosition) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CollateralByPosition) ProtoMessage() {}
|
|
|
|
func (x *CollateralByPosition) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[198]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CollateralByPosition.ProtoReflect.Descriptor instead.
|
|
func (*CollateralByPosition) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{198}
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetSize() string {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetOpenOrderSize() string {
|
|
if x != nil {
|
|
return x.OpenOrderSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetPositionSize() string {
|
|
if x != nil {
|
|
return x.PositionSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetMarkPrice() string {
|
|
if x != nil {
|
|
return x.MarkPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetRequiredMargin() string {
|
|
if x != nil {
|
|
return x.RequiredMargin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralByPosition) GetTotalCollateralUsed() string {
|
|
if x != nil {
|
|
return x.TotalCollateralUsed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CollateralUsedBreakdown struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
LockedInStakes string `protobuf:"bytes,1,opt,name=locked_in_stakes,json=lockedInStakes,proto3" json:"locked_in_stakes,omitempty"`
|
|
LockedInNftBids string `protobuf:"bytes,2,opt,name=locked_in_nft_bids,json=lockedInNftBids,proto3" json:"locked_in_nft_bids,omitempty"`
|
|
LockedInFeeVoucher string `protobuf:"bytes,3,opt,name=locked_in_fee_voucher,json=lockedInFeeVoucher,proto3" json:"locked_in_fee_voucher,omitempty"`
|
|
LockedInSpotMarginFundingOffers string `protobuf:"bytes,4,opt,name=locked_in_spot_margin_funding_offers,json=lockedInSpotMarginFundingOffers,proto3" json:"locked_in_spot_margin_funding_offers,omitempty"`
|
|
LockedInSpotOrders string `protobuf:"bytes,5,opt,name=locked_in_spot_orders,json=lockedInSpotOrders,proto3" json:"locked_in_spot_orders,omitempty"`
|
|
LockedAsCollateral string `protobuf:"bytes,6,opt,name=locked_as_collateral,json=lockedAsCollateral,proto3" json:"locked_as_collateral,omitempty"`
|
|
UsedInFutures string `protobuf:"bytes,7,opt,name=used_in_futures,json=usedInFutures,proto3" json:"used_in_futures,omitempty"`
|
|
UsedInSpotMargin string `protobuf:"bytes,8,opt,name=used_in_spot_margin,json=usedInSpotMargin,proto3" json:"used_in_spot_margin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) Reset() {
|
|
*x = CollateralUsedBreakdown{}
|
|
mi := &file_rpc_proto_msgTypes[199]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CollateralUsedBreakdown) ProtoMessage() {}
|
|
|
|
func (x *CollateralUsedBreakdown) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[199]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CollateralUsedBreakdown.ProtoReflect.Descriptor instead.
|
|
func (*CollateralUsedBreakdown) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{199}
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetLockedInStakes() string {
|
|
if x != nil {
|
|
return x.LockedInStakes
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetLockedInNftBids() string {
|
|
if x != nil {
|
|
return x.LockedInNftBids
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetLockedInFeeVoucher() string {
|
|
if x != nil {
|
|
return x.LockedInFeeVoucher
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetLockedInSpotMarginFundingOffers() string {
|
|
if x != nil {
|
|
return x.LockedInSpotMarginFundingOffers
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetLockedInSpotOrders() string {
|
|
if x != nil {
|
|
return x.LockedInSpotOrders
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetLockedAsCollateral() string {
|
|
if x != nil {
|
|
return x.LockedAsCollateral
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetUsedInFutures() string {
|
|
if x != nil {
|
|
return x.UsedInFutures
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollateralUsedBreakdown) GetUsedInSpotMargin() string {
|
|
if x != nil {
|
|
return x.UsedInSpotMargin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetFundingRatesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
PaymentCurrency string `protobuf:"bytes,6,opt,name=payment_currency,json=paymentCurrency,proto3" json:"payment_currency,omitempty"`
|
|
IncludePredicted bool `protobuf:"varint,7,opt,name=include_predicted,json=includePredicted,proto3" json:"include_predicted,omitempty"`
|
|
IncludePayments bool `protobuf:"varint,8,opt,name=include_payments,json=includePayments,proto3" json:"include_payments,omitempty"`
|
|
RespectHistoryLimits bool `protobuf:"varint,9,opt,name=respect_history_limits,json=respectHistoryLimits,proto3" json:"respect_history_limits,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) Reset() {
|
|
*x = GetFundingRatesRequest{}
|
|
mi := &file_rpc_proto_msgTypes[200]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFundingRatesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetFundingRatesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[200]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFundingRatesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetFundingRatesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{200}
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetPaymentCurrency() string {
|
|
if x != nil {
|
|
return x.PaymentCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetIncludePredicted() bool {
|
|
if x != nil {
|
|
return x.IncludePredicted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetIncludePayments() bool {
|
|
if x != nil {
|
|
return x.IncludePayments
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetFundingRatesRequest) GetRespectHistoryLimits() bool {
|
|
if x != nil {
|
|
return x.RespectHistoryLimits
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetFundingRatesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Rates *FundingData `protobuf:"bytes,1,opt,name=rates,proto3" json:"rates,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetFundingRatesResponse) Reset() {
|
|
*x = GetFundingRatesResponse{}
|
|
mi := &file_rpc_proto_msgTypes[201]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetFundingRatesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFundingRatesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetFundingRatesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[201]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFundingRatesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetFundingRatesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{201}
|
|
}
|
|
|
|
func (x *GetFundingRatesResponse) GetRates() *FundingData {
|
|
if x != nil {
|
|
return x.Rates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetLatestFundingRateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
IncludePredicted bool `protobuf:"varint,4,opt,name=include_predicted,json=includePredicted,proto3" json:"include_predicted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLatestFundingRateRequest) Reset() {
|
|
*x = GetLatestFundingRateRequest{}
|
|
mi := &file_rpc_proto_msgTypes[202]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLatestFundingRateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLatestFundingRateRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLatestFundingRateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[202]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLatestFundingRateRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLatestFundingRateRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{202}
|
|
}
|
|
|
|
func (x *GetLatestFundingRateRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLatestFundingRateRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLatestFundingRateRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLatestFundingRateRequest) GetIncludePredicted() bool {
|
|
if x != nil {
|
|
return x.IncludePredicted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetLatestFundingRateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Rate *FundingData `protobuf:"bytes,1,opt,name=rate,proto3" json:"rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLatestFundingRateResponse) Reset() {
|
|
*x = GetLatestFundingRateResponse{}
|
|
mi := &file_rpc_proto_msgTypes[203]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLatestFundingRateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLatestFundingRateResponse) ProtoMessage() {}
|
|
|
|
func (x *GetLatestFundingRateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[203]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLatestFundingRateResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetLatestFundingRateResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{203}
|
|
}
|
|
|
|
func (x *GetLatestFundingRateResponse) GetRate() *FundingData {
|
|
if x != nil {
|
|
return x.Rate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShutdownRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShutdownRequest) Reset() {
|
|
*x = ShutdownRequest{}
|
|
mi := &file_rpc_proto_msgTypes[204]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShutdownRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShutdownRequest) ProtoMessage() {}
|
|
|
|
func (x *ShutdownRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[204]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.
|
|
func (*ShutdownRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{204}
|
|
}
|
|
|
|
type ShutdownResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShutdownResponse) Reset() {
|
|
*x = ShutdownResponse{}
|
|
mi := &file_rpc_proto_msgTypes[205]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShutdownResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShutdownResponse) ProtoMessage() {}
|
|
|
|
func (x *ShutdownResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[205]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.
|
|
func (*ShutdownResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{205}
|
|
}
|
|
|
|
type GetTechnicalAnalysisRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
AlgorithmType string `protobuf:"bytes,4,opt,name=algorithm_type,json=algorithmType,proto3" json:"algorithm_type,omitempty"`
|
|
Interval int64 `protobuf:"varint,5,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
Start *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"`
|
|
End *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end,proto3" json:"end,omitempty"`
|
|
Period int64 `protobuf:"varint,8,opt,name=period,proto3" json:"period,omitempty"`
|
|
FastPeriod int64 `protobuf:"varint,9,opt,name=fast_period,json=fastPeriod,proto3" json:"fast_period,omitempty"`
|
|
SlowPeriod int64 `protobuf:"varint,10,opt,name=slow_period,json=slowPeriod,proto3" json:"slow_period,omitempty"`
|
|
StandardDeviationUp float64 `protobuf:"fixed64,11,opt,name=standard_deviation_up,json=standardDeviationUp,proto3" json:"standard_deviation_up,omitempty"`
|
|
StandardDeviationDown float64 `protobuf:"fixed64,12,opt,name=standard_deviation_down,json=standardDeviationDown,proto3" json:"standard_deviation_down,omitempty"`
|
|
MovingAverageType int64 `protobuf:"varint,13,opt,name=moving_average_type,json=movingAverageType,proto3" json:"moving_average_type,omitempty"`
|
|
OtherExchange string `protobuf:"bytes,14,opt,name=other_exchange,json=otherExchange,proto3" json:"other_exchange,omitempty"`
|
|
OtherPair *CurrencyPair `protobuf:"bytes,15,opt,name=other_pair,json=otherPair,proto3" json:"other_pair,omitempty"`
|
|
OtherAssetType string `protobuf:"bytes,16,opt,name=other_asset_type,json=otherAssetType,proto3" json:"other_asset_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) Reset() {
|
|
*x = GetTechnicalAnalysisRequest{}
|
|
mi := &file_rpc_proto_msgTypes[206]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTechnicalAnalysisRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[206]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTechnicalAnalysisRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTechnicalAnalysisRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{206}
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetAssetType() string {
|
|
if x != nil {
|
|
return x.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetAlgorithmType() string {
|
|
if x != nil {
|
|
return x.AlgorithmType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetInterval() int64 {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetStart() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetEnd() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetPeriod() int64 {
|
|
if x != nil {
|
|
return x.Period
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetFastPeriod() int64 {
|
|
if x != nil {
|
|
return x.FastPeriod
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetSlowPeriod() int64 {
|
|
if x != nil {
|
|
return x.SlowPeriod
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetStandardDeviationUp() float64 {
|
|
if x != nil {
|
|
return x.StandardDeviationUp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetStandardDeviationDown() float64 {
|
|
if x != nil {
|
|
return x.StandardDeviationDown
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetMovingAverageType() int64 {
|
|
if x != nil {
|
|
return x.MovingAverageType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetOtherExchange() string {
|
|
if x != nil {
|
|
return x.OtherExchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetOtherPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.OtherPair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisRequest) GetOtherAssetType() string {
|
|
if x != nil {
|
|
return x.OtherAssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListOfSignals struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Signals []float64 `protobuf:"fixed64,1,rep,packed,name=signals,proto3" json:"signals,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListOfSignals) Reset() {
|
|
*x = ListOfSignals{}
|
|
mi := &file_rpc_proto_msgTypes[207]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListOfSignals) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOfSignals) ProtoMessage() {}
|
|
|
|
func (x *ListOfSignals) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[207]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOfSignals.ProtoReflect.Descriptor instead.
|
|
func (*ListOfSignals) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{207}
|
|
}
|
|
|
|
func (x *ListOfSignals) GetSignals() []float64 {
|
|
if x != nil {
|
|
return x.Signals
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTechnicalAnalysisResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Signals map[string]*ListOfSignals `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisResponse) Reset() {
|
|
*x = GetTechnicalAnalysisResponse{}
|
|
mi := &file_rpc_proto_msgTypes[208]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTechnicalAnalysisResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTechnicalAnalysisResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[208]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTechnicalAnalysisResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTechnicalAnalysisResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{208}
|
|
}
|
|
|
|
func (x *GetTechnicalAnalysisResponse) GetSignals() map[string]*ListOfSignals {
|
|
if x != nil {
|
|
return x.Signals
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMarginRatesHistoryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
GetPredictedRate bool `protobuf:"varint,6,opt,name=get_predicted_rate,json=getPredictedRate,proto3" json:"get_predicted_rate,omitempty"`
|
|
GetLendingPayments bool `protobuf:"varint,7,opt,name=get_lending_payments,json=getLendingPayments,proto3" json:"get_lending_payments,omitempty"`
|
|
GetBorrowRates bool `protobuf:"varint,8,opt,name=get_borrow_rates,json=getBorrowRates,proto3" json:"get_borrow_rates,omitempty"`
|
|
GetBorrowCosts bool `protobuf:"varint,9,opt,name=get_borrow_costs,json=getBorrowCosts,proto3" json:"get_borrow_costs,omitempty"`
|
|
IncludeAllRates bool `protobuf:"varint,10,opt,name=include_all_rates,json=includeAllRates,proto3" json:"include_all_rates,omitempty"`
|
|
CalculateOffline bool `protobuf:"varint,11,opt,name=calculate_offline,json=calculateOffline,proto3" json:"calculate_offline,omitempty"`
|
|
TakerFeeRate string `protobuf:"bytes,12,opt,name=taker_fee_rate,json=takerFeeRate,proto3" json:"taker_fee_rate,omitempty"`
|
|
Rates []*MarginRate `protobuf:"bytes,13,rep,name=rates,proto3" json:"rates,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) Reset() {
|
|
*x = GetMarginRatesHistoryRequest{}
|
|
mi := &file_rpc_proto_msgTypes[209]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMarginRatesHistoryRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[209]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMarginRatesHistoryRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMarginRatesHistoryRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{209}
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetStartDate() string {
|
|
if x != nil {
|
|
return x.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetEndDate() string {
|
|
if x != nil {
|
|
return x.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetGetPredictedRate() bool {
|
|
if x != nil {
|
|
return x.GetPredictedRate
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetGetLendingPayments() bool {
|
|
if x != nil {
|
|
return x.GetLendingPayments
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetGetBorrowRates() bool {
|
|
if x != nil {
|
|
return x.GetBorrowRates
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetGetBorrowCosts() bool {
|
|
if x != nil {
|
|
return x.GetBorrowCosts
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetIncludeAllRates() bool {
|
|
if x != nil {
|
|
return x.IncludeAllRates
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetCalculateOffline() bool {
|
|
if x != nil {
|
|
return x.CalculateOffline
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetTakerFeeRate() string {
|
|
if x != nil {
|
|
return x.TakerFeeRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryRequest) GetRates() []*MarginRate {
|
|
if x != nil {
|
|
return x.Rates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LendingPayment struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Payment string `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
|
|
Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LendingPayment) Reset() {
|
|
*x = LendingPayment{}
|
|
mi := &file_rpc_proto_msgTypes[210]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LendingPayment) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LendingPayment) ProtoMessage() {}
|
|
|
|
func (x *LendingPayment) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[210]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LendingPayment.ProtoReflect.Descriptor instead.
|
|
func (*LendingPayment) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{210}
|
|
}
|
|
|
|
func (x *LendingPayment) GetPayment() string {
|
|
if x != nil {
|
|
return x.Payment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LendingPayment) GetSize() string {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BorrowCost struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Cost string `protobuf:"bytes,1,opt,name=cost,proto3" json:"cost,omitempty"`
|
|
Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BorrowCost) Reset() {
|
|
*x = BorrowCost{}
|
|
mi := &file_rpc_proto_msgTypes[211]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BorrowCost) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BorrowCost) ProtoMessage() {}
|
|
|
|
func (x *BorrowCost) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[211]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BorrowCost.ProtoReflect.Descriptor instead.
|
|
func (*BorrowCost) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{211}
|
|
}
|
|
|
|
func (x *BorrowCost) GetCost() string {
|
|
if x != nil {
|
|
return x.Cost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BorrowCost) GetSize() string {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MarginRate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
|
|
MarketBorrowSize string `protobuf:"bytes,2,opt,name=market_borrow_size,json=marketBorrowSize,proto3" json:"market_borrow_size,omitempty"`
|
|
HourlyRate string `protobuf:"bytes,3,opt,name=hourly_rate,json=hourlyRate,proto3" json:"hourly_rate,omitempty"`
|
|
YearlyRate string `protobuf:"bytes,4,opt,name=yearly_rate,json=yearlyRate,proto3" json:"yearly_rate,omitempty"`
|
|
HourlyBorrowRate string `protobuf:"bytes,5,opt,name=hourly_borrow_rate,json=hourlyBorrowRate,proto3" json:"hourly_borrow_rate,omitempty"`
|
|
YearlyBorrowRate string `protobuf:"bytes,6,opt,name=yearly_borrow_rate,json=yearlyBorrowRate,proto3" json:"yearly_borrow_rate,omitempty"`
|
|
LendingPayment *LendingPayment `protobuf:"bytes,7,opt,name=lending_payment,json=lendingPayment,proto3" json:"lending_payment,omitempty"`
|
|
BorrowCost *BorrowCost `protobuf:"bytes,8,opt,name=borrow_cost,json=borrowCost,proto3" json:"borrow_cost,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MarginRate) Reset() {
|
|
*x = MarginRate{}
|
|
mi := &file_rpc_proto_msgTypes[212]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MarginRate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MarginRate) ProtoMessage() {}
|
|
|
|
func (x *MarginRate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[212]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MarginRate.ProtoReflect.Descriptor instead.
|
|
func (*MarginRate) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{212}
|
|
}
|
|
|
|
func (x *MarginRate) GetTime() string {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarginRate) GetMarketBorrowSize() string {
|
|
if x != nil {
|
|
return x.MarketBorrowSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarginRate) GetHourlyRate() string {
|
|
if x != nil {
|
|
return x.HourlyRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarginRate) GetYearlyRate() string {
|
|
if x != nil {
|
|
return x.YearlyRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarginRate) GetHourlyBorrowRate() string {
|
|
if x != nil {
|
|
return x.HourlyBorrowRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarginRate) GetYearlyBorrowRate() string {
|
|
if x != nil {
|
|
return x.YearlyBorrowRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarginRate) GetLendingPayment() *LendingPayment {
|
|
if x != nil {
|
|
return x.LendingPayment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MarginRate) GetBorrowCost() *BorrowCost {
|
|
if x != nil {
|
|
return x.BorrowCost
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMarginRatesHistoryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Rates []*MarginRate `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"`
|
|
TotalRates int64 `protobuf:"varint,2,opt,name=total_rates,json=totalRates,proto3" json:"total_rates,omitempty"`
|
|
SumBorrowCosts string `protobuf:"bytes,3,opt,name=sum_borrow_costs,json=sumBorrowCosts,proto3" json:"sum_borrow_costs,omitempty"`
|
|
AvgBorrowSize string `protobuf:"bytes,4,opt,name=avg_borrow_size,json=avgBorrowSize,proto3" json:"avg_borrow_size,omitempty"`
|
|
SumLendingPayments string `protobuf:"bytes,5,opt,name=sum_lending_payments,json=sumLendingPayments,proto3" json:"sum_lending_payments,omitempty"`
|
|
AvgLendingSize string `protobuf:"bytes,6,opt,name=avg_lending_size,json=avgLendingSize,proto3" json:"avg_lending_size,omitempty"`
|
|
LatestRate *MarginRate `protobuf:"bytes,7,opt,name=latest_rate,json=latestRate,proto3" json:"latest_rate,omitempty"`
|
|
PredictedRate *MarginRate `protobuf:"bytes,8,opt,name=predicted_rate,json=predictedRate,proto3" json:"predicted_rate,omitempty"`
|
|
TakerFeeRate string `protobuf:"bytes,9,opt,name=taker_fee_rate,json=takerFeeRate,proto3" json:"taker_fee_rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) Reset() {
|
|
*x = GetMarginRatesHistoryResponse{}
|
|
mi := &file_rpc_proto_msgTypes[213]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMarginRatesHistoryResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[213]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMarginRatesHistoryResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMarginRatesHistoryResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{213}
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetRates() []*MarginRate {
|
|
if x != nil {
|
|
return x.Rates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetTotalRates() int64 {
|
|
if x != nil {
|
|
return x.TotalRates
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetSumBorrowCosts() string {
|
|
if x != nil {
|
|
return x.SumBorrowCosts
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetAvgBorrowSize() string {
|
|
if x != nil {
|
|
return x.AvgBorrowSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetSumLendingPayments() string {
|
|
if x != nil {
|
|
return x.SumLendingPayments
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetAvgLendingSize() string {
|
|
if x != nil {
|
|
return x.AvgLendingSize
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetLatestRate() *MarginRate {
|
|
if x != nil {
|
|
return x.LatestRate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetPredictedRate() *MarginRate {
|
|
if x != nil {
|
|
return x.PredictedRate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetMarginRatesHistoryResponse) GetTakerFeeRate() string {
|
|
if x != nil {
|
|
return x.TakerFeeRate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetOrderbookMovementRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,6,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Sell bool `protobuf:"varint,7,opt,name=sell,proto3" json:"sell,omitempty"`
|
|
RequiresRestOrderbook bool `protobuf:"varint,8,opt,name=requires_rest_orderbook,json=requiresRestOrderbook,proto3" json:"requires_rest_orderbook,omitempty"`
|
|
Purchase bool `protobuf:"varint,9,opt,name=purchase,proto3" json:"purchase,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) Reset() {
|
|
*x = GetOrderbookMovementRequest{}
|
|
mi := &file_rpc_proto_msgTypes[214]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookMovementRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookMovementRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[214]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookMovementRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookMovementRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{214}
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetSell() bool {
|
|
if x != nil {
|
|
return x.Sell
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetRequiresRestOrderbook() bool {
|
|
if x != nil {
|
|
return x.RequiresRestOrderbook
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetOrderbookMovementRequest) GetPurchase() bool {
|
|
if x != nil {
|
|
return x.Purchase
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetOrderbookMovementResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NominalPercentage float64 `protobuf:"fixed64,1,opt,name=nominal_percentage,json=nominalPercentage,proto3" json:"nominal_percentage,omitempty"`
|
|
ImpactPercentage float64 `protobuf:"fixed64,2,opt,name=impact_percentage,json=impactPercentage,proto3" json:"impact_percentage,omitempty"`
|
|
SlippageCost float64 `protobuf:"fixed64,3,opt,name=slippage_cost,json=slippageCost,proto3" json:"slippage_cost,omitempty"`
|
|
CurrencyBought string `protobuf:"bytes,4,opt,name=currency_bought,json=currencyBought,proto3" json:"currency_bought,omitempty"`
|
|
Bought float64 `protobuf:"fixed64,5,opt,name=bought,proto3" json:"bought,omitempty"`
|
|
CurrencySold string `protobuf:"bytes,6,opt,name=currency_sold,json=currencySold,proto3" json:"currency_sold,omitempty"`
|
|
Sold float64 `protobuf:"fixed64,7,opt,name=sold,proto3" json:"sold,omitempty"`
|
|
SideAffected string `protobuf:"bytes,8,opt,name=side_affected,json=sideAffected,proto3" json:"side_affected,omitempty"`
|
|
UpdateProtocol string `protobuf:"bytes,9,opt,name=update_protocol,json=updateProtocol,proto3" json:"update_protocol,omitempty"`
|
|
FullOrderbookSideConsumed bool `protobuf:"varint,10,opt,name=full_orderbook_side_consumed,json=fullOrderbookSideConsumed,proto3" json:"full_orderbook_side_consumed,omitempty"`
|
|
StartPrice float64 `protobuf:"fixed64,11,opt,name=start_price,json=startPrice,proto3" json:"start_price,omitempty"`
|
|
EndPrice float64 `protobuf:"fixed64,12,opt,name=end_price,json=endPrice,proto3" json:"end_price,omitempty"`
|
|
NoSlippageOccurred bool `protobuf:"varint,13,opt,name=no_slippage_occurred,json=noSlippageOccurred,proto3" json:"no_slippage_occurred,omitempty"`
|
|
AverageOrderCost float64 `protobuf:"fixed64,14,opt,name=average_order_cost,json=averageOrderCost,proto3" json:"average_order_cost,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) Reset() {
|
|
*x = GetOrderbookMovementResponse{}
|
|
mi := &file_rpc_proto_msgTypes[215]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookMovementResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookMovementResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[215]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookMovementResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookMovementResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{215}
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetNominalPercentage() float64 {
|
|
if x != nil {
|
|
return x.NominalPercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetImpactPercentage() float64 {
|
|
if x != nil {
|
|
return x.ImpactPercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetSlippageCost() float64 {
|
|
if x != nil {
|
|
return x.SlippageCost
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetCurrencyBought() string {
|
|
if x != nil {
|
|
return x.CurrencyBought
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetBought() float64 {
|
|
if x != nil {
|
|
return x.Bought
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetCurrencySold() string {
|
|
if x != nil {
|
|
return x.CurrencySold
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetSold() float64 {
|
|
if x != nil {
|
|
return x.Sold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetSideAffected() string {
|
|
if x != nil {
|
|
return x.SideAffected
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetUpdateProtocol() string {
|
|
if x != nil {
|
|
return x.UpdateProtocol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetFullOrderbookSideConsumed() bool {
|
|
if x != nil {
|
|
return x.FullOrderbookSideConsumed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetStartPrice() float64 {
|
|
if x != nil {
|
|
return x.StartPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetEndPrice() float64 {
|
|
if x != nil {
|
|
return x.EndPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetNoSlippageOccurred() bool {
|
|
if x != nil {
|
|
return x.NoSlippageOccurred
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetOrderbookMovementResponse) GetAverageOrderCost() float64 {
|
|
if x != nil {
|
|
return x.AverageOrderCost
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetOrderbookAmountByNominalRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
NominalPercentage float64 `protobuf:"fixed64,6,opt,name=nominal_percentage,json=nominalPercentage,proto3" json:"nominal_percentage,omitempty"`
|
|
Sell bool `protobuf:"varint,7,opt,name=sell,proto3" json:"sell,omitempty"`
|
|
RequiresRestOrderbook bool `protobuf:"varint,8,opt,name=requires_rest_orderbook,json=requiresRestOrderbook,proto3" json:"requires_rest_orderbook,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) Reset() {
|
|
*x = GetOrderbookAmountByNominalRequest{}
|
|
mi := &file_rpc_proto_msgTypes[216]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookAmountByNominalRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[216]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookAmountByNominalRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookAmountByNominalRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{216}
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) GetNominalPercentage() float64 {
|
|
if x != nil {
|
|
return x.NominalPercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) GetSell() bool {
|
|
if x != nil {
|
|
return x.Sell
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalRequest) GetRequiresRestOrderbook() bool {
|
|
if x != nil {
|
|
return x.RequiresRestOrderbook
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetOrderbookAmountByNominalResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AmountRequired float64 `protobuf:"fixed64,1,opt,name=amount_required,json=amountRequired,proto3" json:"amount_required,omitempty"`
|
|
CurrencySelling string `protobuf:"bytes,2,opt,name=currency_selling,json=currencySelling,proto3" json:"currency_selling,omitempty"`
|
|
AmountReceived float64 `protobuf:"fixed64,3,opt,name=amount_received,json=amountReceived,proto3" json:"amount_received,omitempty"`
|
|
CurrencyBuying string `protobuf:"bytes,4,opt,name=currency_buying,json=currencyBuying,proto3" json:"currency_buying,omitempty"`
|
|
StartPrice float64 `protobuf:"fixed64,5,opt,name=start_price,json=startPrice,proto3" json:"start_price,omitempty"`
|
|
EndPrice float64 `protobuf:"fixed64,6,opt,name=end_price,json=endPrice,proto3" json:"end_price,omitempty"`
|
|
AverageOrderCost float64 `protobuf:"fixed64,7,opt,name=average_order_cost,json=averageOrderCost,proto3" json:"average_order_cost,omitempty"`
|
|
SideAffected string `protobuf:"bytes,8,opt,name=side_affected,json=sideAffected,proto3" json:"side_affected,omitempty"`
|
|
ApproximateNominalSlippagePercentage float64 `protobuf:"fixed64,9,opt,name=approximate_nominal_slippage_percentage,json=approximateNominalSlippagePercentage,proto3" json:"approximate_nominal_slippage_percentage,omitempty"`
|
|
UpdateProtocol string `protobuf:"bytes,10,opt,name=update_protocol,json=updateProtocol,proto3" json:"update_protocol,omitempty"`
|
|
FullOrderbookSideConsumed bool `protobuf:"varint,11,opt,name=full_orderbook_side_consumed,json=fullOrderbookSideConsumed,proto3" json:"full_orderbook_side_consumed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) Reset() {
|
|
*x = GetOrderbookAmountByNominalResponse{}
|
|
mi := &file_rpc_proto_msgTypes[217]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookAmountByNominalResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[217]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookAmountByNominalResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookAmountByNominalResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{217}
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetAmountRequired() float64 {
|
|
if x != nil {
|
|
return x.AmountRequired
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetCurrencySelling() string {
|
|
if x != nil {
|
|
return x.CurrencySelling
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetAmountReceived() float64 {
|
|
if x != nil {
|
|
return x.AmountReceived
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetCurrencyBuying() string {
|
|
if x != nil {
|
|
return x.CurrencyBuying
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetStartPrice() float64 {
|
|
if x != nil {
|
|
return x.StartPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetEndPrice() float64 {
|
|
if x != nil {
|
|
return x.EndPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetAverageOrderCost() float64 {
|
|
if x != nil {
|
|
return x.AverageOrderCost
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetSideAffected() string {
|
|
if x != nil {
|
|
return x.SideAffected
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetApproximateNominalSlippagePercentage() float64 {
|
|
if x != nil {
|
|
return x.ApproximateNominalSlippagePercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetUpdateProtocol() string {
|
|
if x != nil {
|
|
return x.UpdateProtocol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByNominalResponse) GetFullOrderbookSideConsumed() bool {
|
|
if x != nil {
|
|
return x.FullOrderbookSideConsumed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetOrderbookAmountByImpactRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
ImpactPercentage float64 `protobuf:"fixed64,6,opt,name=impact_percentage,json=impactPercentage,proto3" json:"impact_percentage,omitempty"`
|
|
Sell bool `protobuf:"varint,7,opt,name=sell,proto3" json:"sell,omitempty"`
|
|
RequiresRestOrderbook bool `protobuf:"varint,8,opt,name=requires_rest_orderbook,json=requiresRestOrderbook,proto3" json:"requires_rest_orderbook,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) Reset() {
|
|
*x = GetOrderbookAmountByImpactRequest{}
|
|
mi := &file_rpc_proto_msgTypes[218]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookAmountByImpactRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[218]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookAmountByImpactRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookAmountByImpactRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{218}
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) GetImpactPercentage() float64 {
|
|
if x != nil {
|
|
return x.ImpactPercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) GetSell() bool {
|
|
if x != nil {
|
|
return x.Sell
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactRequest) GetRequiresRestOrderbook() bool {
|
|
if x != nil {
|
|
return x.RequiresRestOrderbook
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetOrderbookAmountByImpactResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AmountRequired float64 `protobuf:"fixed64,1,opt,name=amount_required,json=amountRequired,proto3" json:"amount_required,omitempty"`
|
|
CurrencySelling string `protobuf:"bytes,2,opt,name=currency_selling,json=currencySelling,proto3" json:"currency_selling,omitempty"`
|
|
AmountReceived float64 `protobuf:"fixed64,3,opt,name=amount_received,json=amountReceived,proto3" json:"amount_received,omitempty"`
|
|
CurrencyBuying string `protobuf:"bytes,4,opt,name=currency_buying,json=currencyBuying,proto3" json:"currency_buying,omitempty"`
|
|
StartPrice float64 `protobuf:"fixed64,5,opt,name=start_price,json=startPrice,proto3" json:"start_price,omitempty"`
|
|
EndPrice float64 `protobuf:"fixed64,6,opt,name=end_price,json=endPrice,proto3" json:"end_price,omitempty"`
|
|
AverageOrderCost float64 `protobuf:"fixed64,7,opt,name=average_order_cost,json=averageOrderCost,proto3" json:"average_order_cost,omitempty"`
|
|
SideAffected string `protobuf:"bytes,8,opt,name=side_affected,json=sideAffected,proto3" json:"side_affected,omitempty"`
|
|
ApproximateImpactSlippagePercentage float64 `protobuf:"fixed64,9,opt,name=approximate_impact_slippage_percentage,json=approximateImpactSlippagePercentage,proto3" json:"approximate_impact_slippage_percentage,omitempty"`
|
|
UpdateProtocol string `protobuf:"bytes,10,opt,name=update_protocol,json=updateProtocol,proto3" json:"update_protocol,omitempty"`
|
|
FullOrderbookSideConsumed bool `protobuf:"varint,11,opt,name=full_orderbook_side_consumed,json=fullOrderbookSideConsumed,proto3" json:"full_orderbook_side_consumed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) Reset() {
|
|
*x = GetOrderbookAmountByImpactResponse{}
|
|
mi := &file_rpc_proto_msgTypes[219]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrderbookAmountByImpactResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[219]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrderbookAmountByImpactResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOrderbookAmountByImpactResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{219}
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetAmountRequired() float64 {
|
|
if x != nil {
|
|
return x.AmountRequired
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetCurrencySelling() string {
|
|
if x != nil {
|
|
return x.CurrencySelling
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetAmountReceived() float64 {
|
|
if x != nil {
|
|
return x.AmountReceived
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetCurrencyBuying() string {
|
|
if x != nil {
|
|
return x.CurrencyBuying
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetStartPrice() float64 {
|
|
if x != nil {
|
|
return x.StartPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetEndPrice() float64 {
|
|
if x != nil {
|
|
return x.EndPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetAverageOrderCost() float64 {
|
|
if x != nil {
|
|
return x.AverageOrderCost
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetSideAffected() string {
|
|
if x != nil {
|
|
return x.SideAffected
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetApproximateImpactSlippagePercentage() float64 {
|
|
if x != nil {
|
|
return x.ApproximateImpactSlippagePercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetUpdateProtocol() string {
|
|
if x != nil {
|
|
return x.UpdateProtocol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOrderbookAmountByImpactResponse) GetFullOrderbookSideConsumed() bool {
|
|
if x != nil {
|
|
return x.FullOrderbookSideConsumed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetOpenInterestRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Data []*OpenInterestDataRequest `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOpenInterestRequest) Reset() {
|
|
*x = GetOpenInterestRequest{}
|
|
mi := &file_rpc_proto_msgTypes[220]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOpenInterestRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOpenInterestRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOpenInterestRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[220]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOpenInterestRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOpenInterestRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{220}
|
|
}
|
|
|
|
func (x *GetOpenInterestRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetOpenInterestRequest) GetData() []*OpenInterestDataRequest {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OpenInterestDataRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenInterestDataRequest) Reset() {
|
|
*x = OpenInterestDataRequest{}
|
|
mi := &file_rpc_proto_msgTypes[221]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenInterestDataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenInterestDataRequest) ProtoMessage() {}
|
|
|
|
func (x *OpenInterestDataRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[221]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenInterestDataRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenInterestDataRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{221}
|
|
}
|
|
|
|
func (x *OpenInterestDataRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenInterestDataRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOpenInterestResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*OpenInterestDataResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetOpenInterestResponse) Reset() {
|
|
*x = GetOpenInterestResponse{}
|
|
mi := &file_rpc_proto_msgTypes[222]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetOpenInterestResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOpenInterestResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOpenInterestResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[222]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOpenInterestResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOpenInterestResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{222}
|
|
}
|
|
|
|
func (x *GetOpenInterestResponse) GetData() []*OpenInterestDataResponse {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OpenInterestDataResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
OpenInterest float64 `protobuf:"fixed64,4,opt,name=open_interest,json=openInterest,proto3" json:"open_interest,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenInterestDataResponse) Reset() {
|
|
*x = OpenInterestDataResponse{}
|
|
mi := &file_rpc_proto_msgTypes[223]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenInterestDataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenInterestDataResponse) ProtoMessage() {}
|
|
|
|
func (x *OpenInterestDataResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[223]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenInterestDataResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenInterestDataResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{223}
|
|
}
|
|
|
|
func (x *OpenInterestDataResponse) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenInterestDataResponse) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenInterestDataResponse) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenInterestDataResponse) GetOpenInterest() float64 {
|
|
if x != nil {
|
|
return x.OpenInterest
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetCurrencyTradeURLRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLRequest) Reset() {
|
|
*x = GetCurrencyTradeURLRequest{}
|
|
mi := &file_rpc_proto_msgTypes[224]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCurrencyTradeURLRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCurrencyTradeURLRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[224]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCurrencyTradeURLRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCurrencyTradeURLRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{224}
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLRequest) GetExchange() string {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLRequest) GetAsset() string {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLRequest) GetPair() *CurrencyPair {
|
|
if x != nil {
|
|
return x.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCurrencyTradeURLResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLResponse) Reset() {
|
|
*x = GetCurrencyTradeURLResponse{}
|
|
mi := &file_rpc_proto_msgTypes[225]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCurrencyTradeURLResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCurrencyTradeURLResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_proto_msgTypes[225]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCurrencyTradeURLResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCurrencyTradeURLResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_proto_rawDescGZIP(), []int{225}
|
|
}
|
|
|
|
func (x *GetCurrencyTradeURLResponse) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_rpc_proto protoreflect.FileDescriptor
|
|
|
|
const file_rpc_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\trpc.proto\x12\x06gctrpc\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x10\n" +
|
|
"\x0eGetInfoRequest\"\xb4\x04\n" +
|
|
"\x0fGetInfoResponse\x12\x16\n" +
|
|
"\x06uptime\x18\x01 \x01(\tR\x06uptime\x12/\n" +
|
|
"\x13available_exchanges\x18\x02 \x01(\x03R\x12availableExchanges\x12+\n" +
|
|
"\x11enabled_exchanges\x18\x03 \x01(\x03R\x10enabledExchanges\x124\n" +
|
|
"\x16default_forex_provider\x18\x04 \x01(\tR\x14defaultForexProvider\x122\n" +
|
|
"\x15default_fiat_currency\x18\x05 \x01(\tR\x13defaultFiatCurrency\x12W\n" +
|
|
"\x10subsystem_status\x18\x06 \x03(\v2,.gctrpc.GetInfoResponse.SubsystemStatusEntryR\x0fsubsystemStatus\x12N\n" +
|
|
"\rrpc_endpoints\x18\a \x03(\v2).gctrpc.GetInfoResponse.RpcEndpointsEntryR\frpcEndpoints\x1aB\n" +
|
|
"\x14SubsystemStatusEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\x1aT\n" +
|
|
"\x11RpcEndpointsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x13.gctrpc.RPCEndpointR\x05value:\x028\x01\"!\n" +
|
|
"\x1fGetCommunicationRelayersRequest\"N\n" +
|
|
"\x14CommunicationRelayer\x12\x18\n" +
|
|
"\aenabled\x18\x01 \x01(\bR\aenabled\x12\x1c\n" +
|
|
"\tconnected\x18\x02 \x01(\bR\tconnected\"\x86\x02\n" +
|
|
" GetCommunicationRelayersResponse\x12z\n" +
|
|
"\x16communication_relayers\x18\x01 \x03(\v2C.gctrpc.GetCommunicationRelayersResponse.CommunicationRelayersEntryR\x15communicationRelayers\x1af\n" +
|
|
"\x1aCommunicationRelayersEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x122\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x1c.gctrpc.CommunicationRelayerR\x05value:\x028\x01\"7\n" +
|
|
"\x17GenericSubsystemRequest\x12\x1c\n" +
|
|
"\tsubsystem\x18\x01 \x01(\tR\tsubsystem\"\x16\n" +
|
|
"\x14GetSubsystemsRequest\"\xbe\x01\n" +
|
|
"\x15GetSusbsytemsResponse\x12`\n" +
|
|
"\x11subsystems_status\x18\x01 \x03(\v23.gctrpc.GetSusbsytemsResponse.SubsystemsStatusEntryR\x10subsystemsStatus\x1aC\n" +
|
|
"\x15SubsystemsStatusEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\"\x18\n" +
|
|
"\x16GetRPCEndpointsRequest\"N\n" +
|
|
"\vRPCEndpoint\x12\x18\n" +
|
|
"\astarted\x18\x01 \x01(\bR\astarted\x12%\n" +
|
|
"\x0elisten_address\x18\x02 \x01(\tR\rlistenAddress\"\xba\x01\n" +
|
|
"\x17GetRPCEndpointsResponse\x12L\n" +
|
|
"\tendpoints\x18\x01 \x03(\v2..gctrpc.GetRPCEndpointsResponse.EndpointsEntryR\tendpoints\x1aQ\n" +
|
|
"\x0eEndpointsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x13.gctrpc.RPCEndpointR\x05value:\x028\x01\"8\n" +
|
|
"\x1aGenericExchangeNameRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"/\n" +
|
|
"\x13GetExchangesRequest\x12\x18\n" +
|
|
"\aenabled\x18\x01 \x01(\bR\aenabled\"4\n" +
|
|
"\x14GetExchangesResponse\x12\x1c\n" +
|
|
"\texchanges\x18\x01 \x01(\tR\texchanges\"3\n" +
|
|
"\x16GetExchangeOTPResponse\x12\x19\n" +
|
|
"\botp_code\x18\x01 \x01(\tR\aotpCode\"\x18\n" +
|
|
"\x16GetExchangeOTPsRequest\"\xa2\x01\n" +
|
|
"\x17GetExchangeOTPsResponse\x12J\n" +
|
|
"\totp_codes\x18\x01 \x03(\v2-.gctrpc.GetExchangeOTPsResponse.OtpCodesEntryR\botpCodes\x1a;\n" +
|
|
"\rOtpCodesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"4\n" +
|
|
"\x16DisableExchangeRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"^\n" +
|
|
"\x0ePairsSupported\x12'\n" +
|
|
"\x0favailable_pairs\x18\x01 \x01(\tR\x0eavailablePairs\x12#\n" +
|
|
"\renabled_pairs\x18\x02 \x01(\tR\fenabledPairs\"\x82\x04\n" +
|
|
"\x17GetExchangeInfoResponse\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
|
|
"\aenabled\x18\x02 \x01(\bR\aenabled\x12\x18\n" +
|
|
"\averbose\x18\x03 \x01(\bR\averbose\x12#\n" +
|
|
"\rusing_sandbox\x18\x04 \x01(\bR\fusingSandbox\x12!\n" +
|
|
"\fhttp_timeout\x18\x05 \x01(\tR\vhttpTimeout\x12%\n" +
|
|
"\x0ehttp_useragent\x18\x06 \x01(\tR\rhttpUseragent\x12\x1d\n" +
|
|
"\n" +
|
|
"http_proxy\x18\a \x01(\tR\thttpProxy\x12'\n" +
|
|
"\x0fbase_currencies\x18\b \x01(\tR\x0ebaseCurrencies\x12_\n" +
|
|
"\x10supported_assets\x18\t \x03(\v24.gctrpc.GetExchangeInfoResponse.SupportedAssetsEntryR\x0fsupportedAssets\x12+\n" +
|
|
"\x11authenticated_api\x18\n" +
|
|
" \x01(\bR\x10authenticatedApi\x1aZ\n" +
|
|
"\x14SupportedAssetsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.gctrpc.PairsSupportedR\x05value:\x028\x01\"w\n" +
|
|
"\x10GetTickerRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\"V\n" +
|
|
"\fCurrencyPair\x12\x1c\n" +
|
|
"\tdelimiter\x18\x01 \x01(\tR\tdelimiter\x12\x12\n" +
|
|
"\x04base\x18\x02 \x01(\tR\x04base\x12\x14\n" +
|
|
"\x05quote\x18\x03 \x01(\tR\x05quote\"\x95\x02\n" +
|
|
"\x0eTickerResponse\x12(\n" +
|
|
"\x04pair\x18\x01 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12!\n" +
|
|
"\flast_updated\x18\x02 \x01(\x03R\vlastUpdated\x12#\n" +
|
|
"\rcurrency_pair\x18\x03 \x01(\tR\fcurrencyPair\x12\x12\n" +
|
|
"\x04last\x18\x04 \x01(\x01R\x04last\x12\x12\n" +
|
|
"\x04high\x18\x05 \x01(\x01R\x04high\x12\x10\n" +
|
|
"\x03low\x18\x06 \x01(\x01R\x03low\x12\x10\n" +
|
|
"\x03bid\x18\a \x01(\x01R\x03bid\x12\x10\n" +
|
|
"\x03ask\x18\b \x01(\x01R\x03ask\x12\x16\n" +
|
|
"\x06volume\x18\t \x01(\x01R\x06volume\x12\x1b\n" +
|
|
"\tprice_ath\x18\n" +
|
|
" \x01(\x01R\bpriceAth\"\x13\n" +
|
|
"\x11GetTickersRequest\"W\n" +
|
|
"\aTickers\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x120\n" +
|
|
"\atickers\x18\x02 \x03(\v2\x16.gctrpc.TickerResponseR\atickers\"?\n" +
|
|
"\x12GetTickersResponse\x12)\n" +
|
|
"\atickers\x18\x01 \x03(\v2\x0f.gctrpc.TickersR\atickers\"z\n" +
|
|
"\x13GetOrderbookRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\"M\n" +
|
|
"\rOrderbookItem\x12\x16\n" +
|
|
"\x06amount\x18\x01 \x01(\x01R\x06amount\x12\x14\n" +
|
|
"\x05price\x18\x02 \x01(\x01R\x05price\x12\x0e\n" +
|
|
"\x02id\x18\x03 \x01(\x03R\x02id\"\x90\x02\n" +
|
|
"\x11OrderbookResponse\x12(\n" +
|
|
"\x04pair\x18\x01 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12#\n" +
|
|
"\rcurrency_pair\x18\x02 \x01(\tR\fcurrencyPair\x12)\n" +
|
|
"\x04bids\x18\x03 \x03(\v2\x15.gctrpc.OrderbookItemR\x04bids\x12)\n" +
|
|
"\x04asks\x18\x04 \x03(\v2\x15.gctrpc.OrderbookItemR\x04asks\x12!\n" +
|
|
"\flast_updated\x18\x05 \x01(\x03R\vlastUpdated\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x06 \x01(\tR\tassetType\x12\x14\n" +
|
|
"\x05error\x18\a \x01(\tR\x05error\"\x16\n" +
|
|
"\x14GetOrderbooksRequest\"c\n" +
|
|
"\n" +
|
|
"Orderbooks\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x129\n" +
|
|
"\n" +
|
|
"orderbooks\x18\x02 \x03(\v2\x19.gctrpc.OrderbookResponseR\n" +
|
|
"orderbooks\"K\n" +
|
|
"\x15GetOrderbooksResponse\x122\n" +
|
|
"\n" +
|
|
"orderbooks\x18\x01 \x03(\v2\x12.gctrpc.OrderbooksR\n" +
|
|
"orderbooks\"V\n" +
|
|
"\x19GetAccountBalancesRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x02 \x01(\tR\tassetType\"V\n" +
|
|
"\aAccount\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12;\n" +
|
|
"\n" +
|
|
"currencies\x18\x02 \x03(\v2\x1b.gctrpc.AccountCurrencyInfoR\n" +
|
|
"currencies\"\x81\x02\n" +
|
|
"\x13AccountCurrencyInfo\x12\x1a\n" +
|
|
"\bcurrency\x18\x01 \x01(\tR\bcurrency\x12\x1f\n" +
|
|
"\vtotal_value\x18\x02 \x01(\x01R\n" +
|
|
"totalValue\x12\x12\n" +
|
|
"\x04hold\x18\x03 \x01(\x01R\x04hold\x12\x12\n" +
|
|
"\x04free\x18\x04 \x01(\x01R\x04free\x12.\n" +
|
|
"\x13free_without_borrow\x18\x05 \x01(\x01R\x11freeWithoutBorrow\x12\x1a\n" +
|
|
"\bborrowed\x18\x06 \x01(\x01R\bborrowed\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"e\n" +
|
|
"\x1aGetAccountBalancesResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12+\n" +
|
|
"\baccounts\x18\x02 \x03(\v2\x0f.gctrpc.AccountR\baccounts\"\x12\n" +
|
|
"\x10GetConfigRequest\"'\n" +
|
|
"\x11GetConfigResponse\x12\x12\n" +
|
|
"\x04data\x18\x01 \x01(\fR\x04data\"\x85\x01\n" +
|
|
"\x10PortfolioAddress\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1b\n" +
|
|
"\tcoin_type\x18\x02 \x01(\tR\bcoinType\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x18\n" +
|
|
"\abalance\x18\x04 \x01(\x01R\abalance\"\x15\n" +
|
|
"\x13GetPortfolioRequest\"N\n" +
|
|
"\x14GetPortfolioResponse\x126\n" +
|
|
"\tportfolio\x18\x01 \x03(\v2\x18.gctrpc.PortfolioAddressR\tportfolio\"\x1c\n" +
|
|
"\x1aGetPortfolioSummaryRequest\"n\n" +
|
|
"\x04Coin\x12\x12\n" +
|
|
"\x04coin\x18\x01 \x01(\tR\x04coin\x12\x18\n" +
|
|
"\abalance\x18\x02 \x01(\x01R\abalance\x12\x18\n" +
|
|
"\aaddress\x18\x03 \x01(\tR\aaddress\x12\x1e\n" +
|
|
"\n" +
|
|
"percentage\x18\x04 \x01(\x01R\n" +
|
|
"percentage\"h\n" +
|
|
"\x12OfflineCoinSummary\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x18\n" +
|
|
"\abalance\x18\x02 \x01(\x01R\abalance\x12\x1e\n" +
|
|
"\n" +
|
|
"percentage\x18\x03 \x01(\x01R\n" +
|
|
"percentage\"M\n" +
|
|
"\x11OnlineCoinSummary\x12\x18\n" +
|
|
"\abalance\x18\x01 \x01(\x01R\abalance\x12\x1e\n" +
|
|
"\n" +
|
|
"percentage\x18\x02 \x01(\x01R\n" +
|
|
"percentage\"H\n" +
|
|
"\fOfflineCoins\x128\n" +
|
|
"\taddresses\x18\x01 \x03(\v2\x1a.gctrpc.OfflineCoinSummaryR\taddresses\"\x98\x01\n" +
|
|
"\vOnlineCoins\x124\n" +
|
|
"\x05coins\x18\x01 \x03(\v2\x1e.gctrpc.OnlineCoins.CoinsEntryR\x05coins\x1aS\n" +
|
|
"\n" +
|
|
"CoinsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12/\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x19.gctrpc.OnlineCoinSummaryR\x05value:\x028\x01\"\xcb\x04\n" +
|
|
"\x1bGetPortfolioSummaryResponse\x12-\n" +
|
|
"\vcoin_totals\x18\x01 \x03(\v2\f.gctrpc.CoinR\n" +
|
|
"coinTotals\x121\n" +
|
|
"\rcoins_offline\x18\x02 \x03(\v2\f.gctrpc.CoinR\fcoinsOffline\x12p\n" +
|
|
"\x15coins_offline_summary\x18\x03 \x03(\v2<.gctrpc.GetPortfolioSummaryResponse.CoinsOfflineSummaryEntryR\x13coinsOfflineSummary\x12/\n" +
|
|
"\fcoins_online\x18\x04 \x03(\v2\f.gctrpc.CoinR\vcoinsOnline\x12m\n" +
|
|
"\x14coins_online_summary\x18\x05 \x03(\v2;.gctrpc.GetPortfolioSummaryResponse.CoinsOnlineSummaryEntryR\x12coinsOnlineSummary\x1a\\\n" +
|
|
"\x18CoinsOfflineSummaryEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12*\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x14.gctrpc.OfflineCoinsR\x05value:\x028\x01\x1aZ\n" +
|
|
"\x17CoinsOnlineSummaryEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x13.gctrpc.OnlineCoinsR\x05value:\x028\x01\"\xe3\x01\n" +
|
|
"\x1aAddPortfolioAddressRequest\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1b\n" +
|
|
"\tcoin_type\x18\x02 \x01(\tR\bcoinType\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x18\n" +
|
|
"\abalance\x18\x04 \x01(\x01R\abalance\x12/\n" +
|
|
"\x13supported_exchanges\x18\x05 \x01(\tR\x12supportedExchanges\x12!\n" +
|
|
"\fcold_storage\x18\x06 \x01(\bR\vcoldStorage\"x\n" +
|
|
"\x1dRemovePortfolioAddressRequest\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1b\n" +
|
|
"\tcoin_type\x18\x02 \x01(\tR\bcoinType\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\"\x1a\n" +
|
|
"\x18GetForexProvidersRequest\"\xed\x01\n" +
|
|
"\rForexProvider\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
|
|
"\aenabled\x18\x02 \x01(\bR\aenabled\x12\x18\n" +
|
|
"\averbose\x18\x03 \x01(\bR\averbose\x12,\n" +
|
|
"\x12rest_polling_delay\x18\x04 \x01(\tR\x10restPollingDelay\x12\x17\n" +
|
|
"\aapi_key\x18\x05 \x01(\tR\x06apiKey\x12\"\n" +
|
|
"\rapi_key_level\x18\x06 \x01(\x03R\vapiKeyLevel\x12)\n" +
|
|
"\x10primary_provider\x18\a \x01(\bR\x0fprimaryProvider\"[\n" +
|
|
"\x19GetForexProvidersResponse\x12>\n" +
|
|
"\x0fforex_providers\x18\x01 \x03(\v2\x15.gctrpc.ForexProviderR\x0eforexProviders\"\x16\n" +
|
|
"\x14GetForexRatesRequest\"q\n" +
|
|
"\x14ForexRatesConversion\x12\x12\n" +
|
|
"\x04from\x18\x01 \x01(\tR\x04from\x12\x0e\n" +
|
|
"\x02to\x18\x02 \x01(\tR\x02to\x12\x12\n" +
|
|
"\x04rate\x18\x03 \x01(\x01R\x04rate\x12!\n" +
|
|
"\finverse_rate\x18\x04 \x01(\x01R\vinverseRate\"V\n" +
|
|
"\x15GetForexRatesResponse\x12=\n" +
|
|
"\vforex_rates\x18\x01 \x03(\v2\x1c.gctrpc.ForexRatesConversionR\n" +
|
|
"forexRates\"\xb5\x04\n" +
|
|
"\fOrderDetails\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\tR\x02id\x12&\n" +
|
|
"\x0fclient_order_id\x18\x03 \x01(\tR\rclientOrderId\x12#\n" +
|
|
"\rbase_currency\x18\x04 \x01(\tR\fbaseCurrency\x12%\n" +
|
|
"\x0equote_currency\x18\x05 \x01(\tR\rquoteCurrency\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x06 \x01(\tR\tassetType\x12\x1d\n" +
|
|
"\n" +
|
|
"order_side\x18\a \x01(\tR\torderSide\x12\x1d\n" +
|
|
"\n" +
|
|
"order_type\x18\b \x01(\tR\torderType\x12#\n" +
|
|
"\rcreation_time\x18\t \x01(\tR\fcreationTime\x12\x1f\n" +
|
|
"\vupdate_time\x18\n" +
|
|
" \x01(\tR\n" +
|
|
"updateTime\x12\x16\n" +
|
|
"\x06status\x18\v \x01(\tR\x06status\x12\x14\n" +
|
|
"\x05price\x18\f \x01(\x01R\x05price\x12\x16\n" +
|
|
"\x06amount\x18\r \x01(\x01R\x06amount\x12\x1f\n" +
|
|
"\vopen_volume\x18\x0e \x01(\x01R\n" +
|
|
"openVolume\x12\x10\n" +
|
|
"\x03fee\x18\x0f \x01(\x01R\x03fee\x12\x12\n" +
|
|
"\x04cost\x18\x10 \x01(\x01R\x04cost\x12,\n" +
|
|
"\x06trades\x18\x11 \x03(\v2\x14.gctrpc.TradeHistoryR\x06trades\x12'\n" +
|
|
"\x0fcontract_amount\x18\x12 \x01(\x01R\x0econtractAmount\"\xf3\x01\n" +
|
|
"\fTradeHistory\x12#\n" +
|
|
"\rcreation_time\x18\x01 \x01(\x03R\fcreationTime\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n" +
|
|
"\x05price\x18\x03 \x01(\x01R\x05price\x12\x16\n" +
|
|
"\x06amount\x18\x04 \x01(\x01R\x06amount\x12\x1a\n" +
|
|
"\bexchange\x18\x05 \x01(\tR\bexchange\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x06 \x01(\tR\tassetType\x12\x1d\n" +
|
|
"\n" +
|
|
"order_side\x18\a \x01(\tR\torderSide\x12\x10\n" +
|
|
"\x03fee\x18\b \x01(\x01R\x03fee\x12\x14\n" +
|
|
"\x05total\x18\t \x01(\x01R\x05total\"\xb1\x01\n" +
|
|
"\x10GetOrdersRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x02 \x01(\tR\tassetType\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x04 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x05 \x01(\tR\aendDate\"A\n" +
|
|
"\x11GetOrdersResponse\x12,\n" +
|
|
"\x06orders\x18\x01 \x03(\v2\x14.gctrpc.OrderDetailsR\x06orders\"\x88\x01\n" +
|
|
"\x0fGetOrderRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x19\n" +
|
|
"\border_id\x18\x02 \x01(\tR\aorderId\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x14\n" +
|
|
"\x05asset\x18\x04 \x01(\tR\x05asset\"\x98\x02\n" +
|
|
"\x12SubmitOrderRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x12\n" +
|
|
"\x04side\x18\x03 \x01(\tR\x04side\x12\x1d\n" +
|
|
"\n" +
|
|
"order_type\x18\x04 \x01(\tR\torderType\x12\x16\n" +
|
|
"\x06amount\x18\x05 \x01(\x01R\x06amount\x12\x14\n" +
|
|
"\x05price\x18\x06 \x01(\x01R\x05price\x12\x1b\n" +
|
|
"\tclient_id\x18\a \x01(\tR\bclientId\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\b \x01(\tR\tassetType\x12\x1f\n" +
|
|
"\vmargin_type\x18\t \x01(\tR\n" +
|
|
"marginType\"e\n" +
|
|
"\x06Trades\x12\x16\n" +
|
|
"\x06amount\x18\x01 \x01(\x01R\x06amount\x12\x14\n" +
|
|
"\x05price\x18\x02 \x01(\x01R\x05price\x12\x10\n" +
|
|
"\x03fee\x18\x03 \x01(\x01R\x03fee\x12\x1b\n" +
|
|
"\tfee_asset\x18\x04 \x01(\tR\bfeeAsset\"{\n" +
|
|
"\x13SubmitOrderResponse\x12!\n" +
|
|
"\forder_placed\x18\x01 \x01(\bR\vorderPlaced\x12\x19\n" +
|
|
"\border_id\x18\x02 \x01(\tR\aorderId\x12&\n" +
|
|
"\x06trades\x18\x03 \x03(\v2\x0e.gctrpc.TradesR\x06trades\"\xa9\x01\n" +
|
|
"\x14SimulateOrderRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x16\n" +
|
|
"\x06amount\x18\x03 \x01(\x01R\x06amount\x12\x12\n" +
|
|
"\x04side\x18\x04 \x01(\tR\x04side\x12\x1f\n" +
|
|
"\vmargin_type\x18\x05 \x01(\tR\n" +
|
|
"marginType\"\xf2\x01\n" +
|
|
"\x15SimulateOrderResponse\x12-\n" +
|
|
"\x06orders\x18\x01 \x03(\v2\x15.gctrpc.OrderbookItemR\x06orders\x12\x16\n" +
|
|
"\x06amount\x18\x02 \x01(\x01R\x06amount\x12#\n" +
|
|
"\rminimum_price\x18\x03 \x01(\x01R\fminimumPrice\x12#\n" +
|
|
"\rmaximum_price\x18\x04 \x01(\x01R\fmaximumPrice\x120\n" +
|
|
"\x14percentage_gain_loss\x18\x05 \x01(\x01R\x12percentageGainLoss\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\tR\x06status\"\xae\x01\n" +
|
|
"\x10WhaleBombRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12!\n" +
|
|
"\fprice_target\x18\x03 \x01(\x01R\vpriceTarget\x12\x12\n" +
|
|
"\x04side\x18\x04 \x01(\tR\x04side\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x05 \x01(\tR\tassetType\"\xc7\x01\n" +
|
|
"\x12CancelOrderRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x02 \x01(\tR\taccountId\x12\x19\n" +
|
|
"\border_id\x18\x03 \x01(\tR\aorderId\x12(\n" +
|
|
"\x04pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x05 \x01(\tR\tassetType\x12\x12\n" +
|
|
"\x04side\x18\x06 \x01(\tR\x04side\"\xcf\x01\n" +
|
|
"\x18CancelBatchOrdersRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x02 \x01(\tR\taccountId\x12\x1b\n" +
|
|
"\torders_id\x18\x03 \x01(\tR\bordersId\x12(\n" +
|
|
"\x04pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x05 \x01(\tR\tassetType\x12\x12\n" +
|
|
"\x04side\x18\x06 \x01(\tR\x04side\"\xa8\x01\n" +
|
|
"\x06Orders\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12B\n" +
|
|
"\forder_status\x18\x02 \x03(\v2\x1f.gctrpc.Orders.OrderStatusEntryR\vorderStatus\x1a>\n" +
|
|
"\x10OrderStatusEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"C\n" +
|
|
"\x19CancelBatchOrdersResponse\x12&\n" +
|
|
"\x06orders\x18\x01 \x03(\v2\x0e.gctrpc.OrdersR\x06orders\"4\n" +
|
|
"\x16CancelAllOrdersRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"W\n" +
|
|
"\x17CancelAllOrdersResponse\x12&\n" +
|
|
"\x06orders\x18\x01 \x03(\v2\x0e.gctrpc.OrdersR\x06orders\x12\x14\n" +
|
|
"\x05count\x18\x02 \x01(\x03R\x05count\"\x12\n" +
|
|
"\x10GetEventsRequest\"\xae\x01\n" +
|
|
"\x0fConditionParams\x12\x1c\n" +
|
|
"\tcondition\x18\x01 \x01(\tR\tcondition\x12\x14\n" +
|
|
"\x05price\x18\x02 \x01(\x01R\x05price\x12\x1d\n" +
|
|
"\n" +
|
|
"check_bids\x18\x03 \x01(\bR\tcheckBids\x12\x1d\n" +
|
|
"\n" +
|
|
"check_asks\x18\x04 \x01(\bR\tcheckAsks\x12)\n" +
|
|
"\x10orderbook_amount\x18\x05 \x01(\x01R\x0forderbookAmount\"\xf5\x01\n" +
|
|
"\x11GetEventsResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
|
"\bexchange\x18\x02 \x01(\tR\bexchange\x12\x12\n" +
|
|
"\x04item\x18\x03 \x01(\tR\x04item\x12B\n" +
|
|
"\x10condition_params\x18\x04 \x01(\v2\x17.gctrpc.ConditionParamsR\x0fconditionParams\x12(\n" +
|
|
"\x04pair\x18\x05 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x16\n" +
|
|
"\x06action\x18\x06 \x01(\tR\x06action\x12\x1a\n" +
|
|
"\bexecuted\x18\a \x01(\bR\bexecuted\"\xe6\x01\n" +
|
|
"\x0fAddEventRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x12\n" +
|
|
"\x04item\x18\x02 \x01(\tR\x04item\x12B\n" +
|
|
"\x10condition_params\x18\x03 \x01(\v2\x17.gctrpc.ConditionParamsR\x0fconditionParams\x12(\n" +
|
|
"\x04pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x05 \x01(\tR\tassetType\x12\x16\n" +
|
|
"\x06action\x18\x06 \x01(\tR\x06action\"\"\n" +
|
|
"\x10AddEventResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"$\n" +
|
|
"\x12RemoveEventRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"F\n" +
|
|
"(GetCryptocurrencyDepositAddressesRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"R\n" +
|
|
"\x0eDepositAddress\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x10\n" +
|
|
"\x03tag\x18\x02 \x01(\tR\x03tag\x12\x14\n" +
|
|
"\x05chain\x18\x03 \x01(\tR\x05chain\"H\n" +
|
|
"\x10DepositAddresses\x124\n" +
|
|
"\taddresses\x18\x01 \x03(\v2\x16.gctrpc.DepositAddressR\taddresses\"\xe3\x01\n" +
|
|
")GetCryptocurrencyDepositAddressesResponse\x12^\n" +
|
|
"\taddresses\x18\x01 \x03(\v2@.gctrpc.GetCryptocurrencyDepositAddressesResponse.AddressesEntryR\taddresses\x1aV\n" +
|
|
"\x0eAddressesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12.\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x18.gctrpc.DepositAddressesR\x05value:\x028\x01\"\x9a\x01\n" +
|
|
"&GetCryptocurrencyDepositAddressRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12&\n" +
|
|
"\x0ecryptocurrency\x18\x02 \x01(\tR\x0ecryptocurrency\x12\x14\n" +
|
|
"\x05chain\x18\x03 \x01(\tR\x05chain\x12\x16\n" +
|
|
"\x06bypass\x18\x04 \x01(\bR\x06bypass\"U\n" +
|
|
"'GetCryptocurrencyDepositAddressResponse\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x10\n" +
|
|
"\x03tag\x18\x02 \x01(\tR\x03tag\"g\n" +
|
|
"!GetAvailableTransferChainsRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12&\n" +
|
|
"\x0ecryptocurrency\x18\x02 \x01(\tR\x0ecryptocurrency\"<\n" +
|
|
"\"GetAvailableTransferChainsResponse\x12\x16\n" +
|
|
"\x06chains\x18\x01 \x03(\tR\x06chains\"\xaf\x01\n" +
|
|
"\x13WithdrawFiatRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1a\n" +
|
|
"\bcurrency\x18\x02 \x01(\tR\bcurrency\x12\x16\n" +
|
|
"\x06amount\x18\x03 \x01(\x01R\x06amount\x12 \n" +
|
|
"\vdescription\x18\x04 \x01(\tR\vdescription\x12&\n" +
|
|
"\x0fbank_account_id\x18\x05 \x01(\tR\rbankAccountId\"\xec\x01\n" +
|
|
"\x15WithdrawCryptoRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x18\n" +
|
|
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x1f\n" +
|
|
"\vaddress_tag\x18\x03 \x01(\tR\n" +
|
|
"addressTag\x12\x1a\n" +
|
|
"\bcurrency\x18\x04 \x01(\tR\bcurrency\x12\x16\n" +
|
|
"\x06amount\x18\x05 \x01(\x01R\x06amount\x12\x10\n" +
|
|
"\x03fee\x18\x06 \x01(\x01R\x03fee\x12 \n" +
|
|
"\vdescription\x18\a \x01(\tR\vdescription\x12\x14\n" +
|
|
"\x05chain\x18\b \x01(\tR\x05chain\":\n" +
|
|
"\x10WithdrawResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\",\n" +
|
|
"\x1aWithdrawalEventByIDRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"T\n" +
|
|
"\x1bWithdrawalEventByIDResponse\x125\n" +
|
|
"\x05event\x18\x02 \x01(\v2\x1f.gctrpc.WithdrawalEventResponseR\x05event\"\xa0\x01\n" +
|
|
"!WithdrawalEventsByExchangeRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n" +
|
|
"\x05limit\x18\x03 \x01(\x05R\x05limit\x12\x1a\n" +
|
|
"\bcurrency\x18\x04 \x01(\tR\bcurrency\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x05 \x01(\tR\tassetType\"y\n" +
|
|
"\x1dWithdrawalEventsByDateRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05start\x18\x02 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x03 \x01(\tR\x03end\x12\x14\n" +
|
|
"\x05limit\x18\x04 \x01(\x05R\x05limit\"[\n" +
|
|
"\"WithdrawalEventsByExchangeResponse\x125\n" +
|
|
"\x05event\x18\x02 \x03(\v2\x1f.gctrpc.WithdrawalEventResponseR\x05event\"\x95\x02\n" +
|
|
"\x17WithdrawalEventResponse\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\tR\x02id\x12:\n" +
|
|
"\bexchange\x18\x03 \x01(\v2\x1e.gctrpc.WithdrawlExchangeEventR\bexchange\x128\n" +
|
|
"\arequest\x18\x04 \x01(\v2\x1e.gctrpc.WithdrawalRequestEventR\arequest\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"T\n" +
|
|
"\x16WithdrawlExchangeEvent\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\"\xea\x01\n" +
|
|
"\x16WithdrawalRequestEvent\x12\x1a\n" +
|
|
"\bcurrency\x18\x02 \x01(\tR\bcurrency\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" +
|
|
"\x06amount\x18\x04 \x01(\x01R\x06amount\x12\x12\n" +
|
|
"\x04type\x18\x05 \x01(\x03R\x04type\x12/\n" +
|
|
"\x04fiat\x18\x06 \x01(\v2\x1b.gctrpc.FiatWithdrawalEventR\x04fiat\x125\n" +
|
|
"\x06crypto\x18\a \x01(\v2\x1d.gctrpc.CryptoWithdrawalEventR\x06crypto\"\xb8\x01\n" +
|
|
"\x13FiatWithdrawalEvent\x12\x1b\n" +
|
|
"\tbank_name\x18\x01 \x01(\tR\bbankName\x12!\n" +
|
|
"\faccount_name\x18\x02 \x01(\tR\vaccountName\x12%\n" +
|
|
"\x0eaccount_number\x18\x03 \x01(\tR\raccountNumber\x12\x10\n" +
|
|
"\x03bsb\x18\x04 \x01(\tR\x03bsb\x12\x14\n" +
|
|
"\x05swift\x18\x05 \x01(\tR\x05swift\x12\x12\n" +
|
|
"\x04iban\x18\x06 \x01(\tR\x04iban\"y\n" +
|
|
"\x15CryptoWithdrawalEvent\x12\x18\n" +
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1f\n" +
|
|
"\vaddress_tag\x18\x02 \x01(\tR\n" +
|
|
"addressTag\x12\x10\n" +
|
|
"\x03fee\x18\x03 \x01(\x01R\x03fee\x12\x13\n" +
|
|
"\x05tx_id\x18\x04 \x01(\tR\x04txId\"1\n" +
|
|
"\x17GetLoggerDetailsRequest\x12\x16\n" +
|
|
"\x06logger\x18\x01 \x01(\tR\x06logger\"n\n" +
|
|
"\x18GetLoggerDetailsResponse\x12\x12\n" +
|
|
"\x04info\x18\x01 \x01(\bR\x04info\x12\x14\n" +
|
|
"\x05debug\x18\x02 \x01(\bR\x05debug\x12\x12\n" +
|
|
"\x04warn\x18\x03 \x01(\bR\x04warn\x12\x14\n" +
|
|
"\x05error\x18\x04 \x01(\bR\x05error\"G\n" +
|
|
"\x17SetLoggerDetailsRequest\x12\x16\n" +
|
|
"\x06logger\x18\x01 \x01(\tR\x06logger\x12\x14\n" +
|
|
"\x05level\x18\x02 \x01(\tR\x05level\"K\n" +
|
|
"\x17GetExchangePairsRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\"\xd8\x01\n" +
|
|
"\x18GetExchangePairsResponse\x12`\n" +
|
|
"\x10supported_assets\x18\x01 \x03(\v25.gctrpc.GetExchangePairsResponse.SupportedAssetsEntryR\x0fsupportedAssets\x1aZ\n" +
|
|
"\x14SupportedAssetsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.gctrpc.PairsSupportedR\x05value:\x028\x01\"\x97\x01\n" +
|
|
"\x16SetExchangePairRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x02 \x01(\tR\tassetType\x12*\n" +
|
|
"\x05pairs\x18\x03 \x03(\v2\x14.gctrpc.CurrencyPairR\x05pairs\x12\x16\n" +
|
|
"\x06enable\x18\x04 \x01(\bR\x06enable\"\x80\x01\n" +
|
|
"\x19GetOrderbookStreamRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\"?\n" +
|
|
"!GetExchangeOrderbookStreamRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"}\n" +
|
|
"\x16GetTickerStreamRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\"<\n" +
|
|
"\x1eGetExchangeTickerStreamRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"\x99\x01\n" +
|
|
"\x14GetAuditEventRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x01 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x02 \x01(\tR\aendDate\x12\x19\n" +
|
|
"\border_by\x18\x03 \x01(\tR\aorderBy\x12\x14\n" +
|
|
"\x05limit\x18\x04 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x05 \x01(\x05R\x06offset\"C\n" +
|
|
"\x15GetAuditEventResponse\x12*\n" +
|
|
"\x06events\x18\x01 \x03(\v2\x12.gctrpc.AuditEventR\x06events\"\xa4\x01\n" +
|
|
"\x15GetSavedTradesRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\x12\x14\n" +
|
|
"\x05start\x18\x04 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x05 \x01(\tR\x03end\"\x88\x01\n" +
|
|
"\vSavedTrades\x12\x14\n" +
|
|
"\x05price\x18\x01 \x01(\x01R\x05price\x12\x16\n" +
|
|
"\x06amount\x18\x02 \x01(\x01R\x06amount\x12\x12\n" +
|
|
"\x04side\x18\x03 \x01(\tR\x04side\x12\x1c\n" +
|
|
"\ttimestamp\x18\x04 \x01(\tR\ttimestamp\x12\x19\n" +
|
|
"\btrade_id\x18\x05 \x01(\tR\atradeId\"\xa7\x01\n" +
|
|
"\x13SavedTradesResponse\x12#\n" +
|
|
"\rexchange_name\x18\x01 \x01(\tR\fexchangeName\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12+\n" +
|
|
"\x06trades\x18\x04 \x03(\v2\x13.gctrpc.SavedTradesR\x06trades\"\xfb\x01\n" +
|
|
"\x1dConvertTradesToCandlesRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\x12\x14\n" +
|
|
"\x05start\x18\x04 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x05 \x01(\tR\x03end\x12#\n" +
|
|
"\rtime_interval\x18\x06 \x01(\x03R\ftimeInterval\x12\x12\n" +
|
|
"\x04sync\x18\a \x01(\bR\x04sync\x12\x14\n" +
|
|
"\x05force\x18\b \x01(\bR\x05force\"\xe6\x02\n" +
|
|
"\x19GetHistoricCandlesRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\x12\x14\n" +
|
|
"\x05start\x18\x04 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x05 \x01(\tR\x03end\x12#\n" +
|
|
"\rtime_interval\x18\x06 \x01(\x03R\ftimeInterval\x12\x1d\n" +
|
|
"\n" +
|
|
"ex_request\x18\a \x01(\bR\texRequest\x12\x12\n" +
|
|
"\x04sync\x18\b \x01(\bR\x04sync\x12\x15\n" +
|
|
"\x06use_db\x18\t \x01(\bR\x05useDb\x127\n" +
|
|
"\x18fill_missing_with_trades\x18\n" +
|
|
" \x01(\bR\x15fillMissingWithTrades\x12\x14\n" +
|
|
"\x05force\x18\v \x01(\bR\x05force\"\xce\x01\n" +
|
|
"\x1aGetHistoricCandlesResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x14\n" +
|
|
"\x05start\x18\x03 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x04 \x01(\tR\x03end\x12\x1a\n" +
|
|
"\binterval\x18\x06 \x01(\tR\binterval\x12&\n" +
|
|
"\x06candle\x18\x05 \x03(\v2\x0e.gctrpc.CandleR\x06candle\"\xa3\x01\n" +
|
|
"\x06Candle\x12\x12\n" +
|
|
"\x04time\x18\x01 \x01(\tR\x04time\x12\x10\n" +
|
|
"\x03low\x18\x02 \x01(\x01R\x03low\x12\x12\n" +
|
|
"\x04high\x18\x03 \x01(\x01R\x04high\x12\x12\n" +
|
|
"\x04open\x18\x04 \x01(\x01R\x04open\x12\x14\n" +
|
|
"\x05close\x18\x05 \x01(\x01R\x05close\x12\x16\n" +
|
|
"\x06volume\x18\x06 \x01(\x01R\x06volume\x12\x1d\n" +
|
|
"\n" +
|
|
"is_partial\x18\a \x01(\bR\tisPartial\"x\n" +
|
|
"\n" +
|
|
"AuditEvent\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\tR\x04type\x12\x1e\n" +
|
|
"\n" +
|
|
"identifier\x18\x02 \x01(\tR\n" +
|
|
"identifier\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1c\n" +
|
|
"\ttimestamp\x18\x04 \x01(\tR\ttimestamp\"b\n" +
|
|
"\tGCTScript\x12\x12\n" +
|
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\x12\x19\n" +
|
|
"\bnext_run\x18\x04 \x01(\tR\anextRun\"D\n" +
|
|
"\x17GCTScriptExecuteRequest\x12)\n" +
|
|
"\x06script\x18\x01 \x01(\v2\x11.gctrpc.GCTScriptR\x06script\"A\n" +
|
|
"\x14GCTScriptStopRequest\x12)\n" +
|
|
"\x06script\x18\x01 \x01(\v2\x11.gctrpc.GCTScriptR\x06script\"\x19\n" +
|
|
"\x17GCTScriptStopAllRequest\"\x18\n" +
|
|
"\x16GCTScriptStatusRequest\"\x19\n" +
|
|
"\x17GCTScriptListAllRequest\"\xa8\x01\n" +
|
|
"\x16GCTScriptUploadRequest\x12\x1f\n" +
|
|
"\vscript_name\x18\x01 \x01(\tR\n" +
|
|
"scriptName\x12\x1f\n" +
|
|
"\vscript_data\x18\x02 \x01(\tR\n" +
|
|
"scriptData\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\fR\x04data\x12\x1a\n" +
|
|
"\barchived\x18\x04 \x01(\bR\barchived\x12\x1c\n" +
|
|
"\toverwrite\x18\x05 \x01(\bR\toverwrite\"G\n" +
|
|
"\x1aGCTScriptReadScriptRequest\x12)\n" +
|
|
"\x06script\x18\x01 \x01(\v2\x11.gctrpc.GCTScriptR\x06script\"B\n" +
|
|
"\x15GCTScriptQueryRequest\x12)\n" +
|
|
"\x06script\x18\x01 \x01(\v2\x11.gctrpc.GCTScriptR\x06script\"J\n" +
|
|
"\x18GCTScriptAutoLoadRequest\x12\x16\n" +
|
|
"\x06script\x18\x01 \x01(\tR\x06script\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\bR\x06status\"^\n" +
|
|
"\x17GCTScriptStatusResponse\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\tR\x06status\x12+\n" +
|
|
"\ascripts\x18\x02 \x03(\v2\x11.gctrpc.GCTScriptR\ascripts\"o\n" +
|
|
"\x16GCTScriptQueryResponse\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\tR\x06status\x12)\n" +
|
|
"\x06script\x18\x02 \x01(\v2\x11.gctrpc.GCTScriptR\x06script\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"=\n" +
|
|
"\x0fGenericResponse\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\tR\x06status\x12\x12\n" +
|
|
"\x04data\x18\x02 \x01(\tR\x04data\"c\n" +
|
|
"\x17SetExchangeAssetRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12\x16\n" +
|
|
"\x06enable\x18\x03 \x01(\bR\x06enable\"P\n" +
|
|
"\x1aSetExchangeAllPairsRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x16\n" +
|
|
"\x06enable\x18\x02 \x01(\bR\x06enable\"A\n" +
|
|
"#UpdateExchangeSupportedPairsRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"6\n" +
|
|
"\x18GetExchangeAssetsRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"3\n" +
|
|
"\x19GetExchangeAssetsResponse\x12\x16\n" +
|
|
"\x06assets\x18\x01 \x01(\tR\x06assets\"5\n" +
|
|
"\x17WebsocketGetInfoRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"\x93\x02\n" +
|
|
"\x18WebsocketGetInfoResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x1c\n" +
|
|
"\tsupported\x18\x02 \x01(\bR\tsupported\x12\x18\n" +
|
|
"\aenabled\x18\x03 \x01(\bR\aenabled\x127\n" +
|
|
"\x17authenticated_supported\x18\x04 \x01(\bR\x16authenticatedSupported\x12$\n" +
|
|
"\rauthenticated\x18\x05 \x01(\bR\rauthenticated\x12\x1f\n" +
|
|
"\vrunning_url\x18\x06 \x01(\tR\n" +
|
|
"runningUrl\x12#\n" +
|
|
"\rproxy_address\x18\a \x01(\tR\fproxyAddress\"P\n" +
|
|
"\x1aWebsocketSetEnabledRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x16\n" +
|
|
"\x06enable\x18\x02 \x01(\bR\x06enable\">\n" +
|
|
" WebsocketGetSubscriptionsRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"u\n" +
|
|
"\x15WebsocketSubscription\x12\x18\n" +
|
|
"\achannel\x18\x01 \x01(\tR\achannel\x12\x14\n" +
|
|
"\x05pairs\x18\x02 \x01(\tR\x05pairs\x12\x14\n" +
|
|
"\x05asset\x18\x03 \x01(\tR\x05asset\x12\x16\n" +
|
|
"\x06params\x18\x04 \x01(\tR\x06params\"\x84\x01\n" +
|
|
"!WebsocketGetSubscriptionsResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12C\n" +
|
|
"\rsubscriptions\x18\x02 \x03(\v2\x1d.gctrpc.WebsocketSubscriptionR\rsubscriptions\"L\n" +
|
|
"\x18WebsocketSetProxyRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05proxy\x18\x02 \x01(\tR\x05proxy\"F\n" +
|
|
"\x16WebsocketSetURLRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x10\n" +
|
|
"\x03url\x18\x02 \x01(\tR\x03url\"\xd3\x01\n" +
|
|
"\x1fFindMissingCandlePeriodsRequest\x12#\n" +
|
|
"\rexchange_name\x18\x01 \x01(\tR\fexchangeName\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x02 \x01(\tR\tassetType\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1a\n" +
|
|
"\binterval\x18\x04 \x01(\x03R\binterval\x12\x14\n" +
|
|
"\x05start\x18\x05 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x06 \x01(\tR\x03end\"\xb6\x01\n" +
|
|
"\x1eFindMissingTradePeriodsRequest\x12#\n" +
|
|
"\rexchange_name\x18\x01 \x01(\tR\fexchangeName\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x02 \x01(\tR\tassetType\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x14\n" +
|
|
"\x05start\x18\x04 \x01(\tR\x05start\x12\x10\n" +
|
|
"\x03end\x18\x05 \x01(\tR\x03end\"\xcd\x01\n" +
|
|
"\x1cFindMissingIntervalsResponse\x12#\n" +
|
|
"\rexchange_name\x18\x01 \x01(\tR\fexchangeName\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x02 \x01(\tR\tassetType\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12'\n" +
|
|
"\x0fmissing_periods\x18\x04 \x03(\tR\x0emissingPeriods\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\tR\x06status\"W\n" +
|
|
"!SetExchangeTradeProcessingRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\bR\x06status\"\xa3\x06\n" +
|
|
"\x1bUpsertDataHistoryJobRequest\x12\x1a\n" +
|
|
"\bnickname\x18\x01 \x01(\tR\bnickname\x12\x1a\n" +
|
|
"\bexchange\x18\x02 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x03 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x05 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x06 \x01(\tR\aendDate\x12\x1a\n" +
|
|
"\binterval\x18\a \x01(\x03R\binterval\x12,\n" +
|
|
"\x12request_size_limit\x18\b \x01(\x04R\x10requestSizeLimit\x12\x1b\n" +
|
|
"\tdata_type\x18\t \x01(\x03R\bdataType\x12,\n" +
|
|
"\x12max_retry_attempts\x18\n" +
|
|
" \x01(\x04R\x10maxRetryAttempts\x12\x1d\n" +
|
|
"\n" +
|
|
"batch_size\x18\v \x01(\x04R\tbatchSize\x12\x1f\n" +
|
|
"\vinsert_only\x18\f \x01(\bR\n" +
|
|
"insertOnly\x12/\n" +
|
|
"\x13conversion_interval\x18\r \x01(\x03R\x12conversionInterval\x126\n" +
|
|
"\x17overwrite_existing_data\x18\x0e \x01(\bR\x15overwriteExistingData\x12:\n" +
|
|
"\x19prerequisite_job_nickname\x18\x0f \x01(\tR\x17prerequisiteJobNickname\x128\n" +
|
|
"\x18decimal_place_comparison\x18\x10 \x01(\x04R\x16decimalPlaceComparison\x126\n" +
|
|
"\x17secondary_exchange_name\x18\x11 \x01(\tR\x15secondaryExchangeName\x12<\n" +
|
|
"\x1aissue_tolerance_percentage\x18\x12 \x01(\x01R\x18issueTolerancePercentage\x12(\n" +
|
|
"\x10replace_on_issue\x18\x13 \x01(\bR\x0ereplaceOnIssue\"V\n" +
|
|
"\x1bInsertSequentialJobsRequest\x127\n" +
|
|
"\x04jobs\x18\x01 \x03(\v2#.gctrpc.UpsertDataHistoryJobRequestR\x04jobs\"X\n" +
|
|
"\x1cInsertSequentialJobsResponse\x128\n" +
|
|
"\x04jobs\x18\x01 \x03(\v2$.gctrpc.UpsertDataHistoryJobResponseR\x04jobs\"O\n" +
|
|
"\x1cUpsertDataHistoryJobResponse\x12\x18\n" +
|
|
"\amessage\x18\x01 \x01(\tR\amessage\x12\x15\n" +
|
|
"\x06job_id\x18\x02 \x01(\tR\x05jobId\"p\n" +
|
|
"\x1fGetDataHistoryJobDetailsRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
"\bnickname\x18\x02 \x01(\tR\bnickname\x12!\n" +
|
|
"\ffull_details\x18\x03 \x01(\bR\vfullDetails\"\x87\a\n" +
|
|
"\x0eDataHistoryJob\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
"\bnickname\x18\x02 \x01(\tR\bnickname\x12\x1a\n" +
|
|
"\bexchange\x18\x03 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x04 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x05 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x06 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\a \x01(\tR\aendDate\x12\x1a\n" +
|
|
"\binterval\x18\b \x01(\x03R\binterval\x12,\n" +
|
|
"\x12request_size_limit\x18\t \x01(\x04R\x10requestSizeLimit\x12,\n" +
|
|
"\x12max_retry_attempts\x18\n" +
|
|
" \x01(\x04R\x10maxRetryAttempts\x12\x1d\n" +
|
|
"\n" +
|
|
"batch_size\x18\v \x01(\x04R\tbatchSize\x12\x16\n" +
|
|
"\x06status\x18\f \x01(\tR\x06status\x12\x1b\n" +
|
|
"\tdata_type\x18\r \x01(\tR\bdataType\x12/\n" +
|
|
"\x13conversion_interval\x18\x0e \x01(\x03R\x12conversionInterval\x126\n" +
|
|
"\x17overwrite_existing_data\x18\x0f \x01(\bR\x15overwriteExistingData\x12:\n" +
|
|
"\x19prerequisite_job_nickname\x18\x10 \x01(\tR\x17prerequisiteJobNickname\x128\n" +
|
|
"\x18decimal_place_comparison\x18\x11 \x01(\x04R\x16decimalPlaceComparison\x126\n" +
|
|
"\x17secondary_exchange_name\x18\x12 \x01(\tR\x15secondaryExchangeName\x12<\n" +
|
|
"\x1aissue_tolerance_percentage\x18\x13 \x01(\x01R\x18issueTolerancePercentage\x12(\n" +
|
|
"\x10replace_on_issue\x18\x14 \x01(\bR\x0ereplaceOnIssue\x12=\n" +
|
|
"\vjob_results\x18\x15 \x03(\v2\x1c.gctrpc.DataHistoryJobResultR\n" +
|
|
"jobResults\x12)\n" +
|
|
"\x10result_summaries\x18\x16 \x03(\tR\x0fresultSummaries\"\xa0\x01\n" +
|
|
"\x14DataHistoryJobResult\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x01 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x02 \x01(\tR\aendDate\x12\x19\n" +
|
|
"\bhas_data\x18\x03 \x01(\bR\ahasData\x12\x18\n" +
|
|
"\amessage\x18\x04 \x01(\tR\amessage\x12\x19\n" +
|
|
"\brun_date\x18\x05 \x01(\tR\arunDate\"C\n" +
|
|
"\x0fDataHistoryJobs\x120\n" +
|
|
"\aresults\x18\x01 \x03(\v2\x16.gctrpc.DataHistoryJobR\aresults\"\\\n" +
|
|
" GetDataHistoryJobsBetweenRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x01 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x02 \x01(\tR\aendDate\"d\n" +
|
|
"\x1eSetDataHistoryJobStatusRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
"\bnickname\x18\x02 \x01(\tR\bnickname\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\x03R\x06status\"\x81\x01\n" +
|
|
"'UpdateDataHistoryJobPrerequisiteRequest\x12\x1a\n" +
|
|
"\bnickname\x18\x01 \x01(\tR\bnickname\x12:\n" +
|
|
"\x19prerequisite_job_nickname\x18\x02 \x01(\tR\x17prerequisiteJobNickname\"\xb9\x01\n" +
|
|
"\x12ModifyOrderRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x19\n" +
|
|
"\border_id\x18\x02 \x01(\tR\aorderId\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x14\n" +
|
|
"\x05asset\x18\x04 \x01(\tR\x05asset\x12\x16\n" +
|
|
"\x06amount\x18\x05 \x01(\x01R\x06amount\x12\x14\n" +
|
|
"\x05price\x18\x06 \x01(\x01R\x05price\"A\n" +
|
|
"\x13ModifyOrderResponse\x12*\n" +
|
|
"\x11modified_order_id\x18\x01 \x01(\tR\x0fmodifiedOrderId\"8\n" +
|
|
"\x1aCurrencyStateGetAllRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\"c\n" +
|
|
"\x1bCurrencyStateTradingRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12\x14\n" +
|
|
"\x05asset\x18\x03 \x01(\tR\x05asset\"g\n" +
|
|
"\x1fCurrencyStateTradingPairRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x12\n" +
|
|
"\x04pair\x18\x02 \x01(\tR\x04pair\x12\x14\n" +
|
|
"\x05asset\x18\x03 \x01(\tR\x05asset\"d\n" +
|
|
"\x1cCurrencyStateWithdrawRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12\x14\n" +
|
|
"\x05asset\x18\x03 \x01(\tR\x05asset\"c\n" +
|
|
"\x1bCurrencyStateDepositRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12\x14\n" +
|
|
"\x05asset\x18\x03 \x01(\tR\x05asset\"W\n" +
|
|
"\x15CurrencyStateResponse\x12>\n" +
|
|
"\x0fcurrency_states\x18\x01 \x03(\v2\x15.gctrpc.CurrencyStateR\x0ecurrencyStates\"\xbe\x01\n" +
|
|
"\rCurrencyState\x12\x1a\n" +
|
|
"\bcurrency\x18\x01 \x01(\tR\bcurrency\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12)\n" +
|
|
"\x10withdraw_enabled\x18\x03 \x01(\bR\x0fwithdrawEnabled\x12'\n" +
|
|
"\x0fdeposit_enabled\x18\x04 \x01(\bR\x0edepositEnabled\x12'\n" +
|
|
"\x0ftrading_enabled\x18\x05 \x01(\bR\x0etradingEnabled\"O\n" +
|
|
"\vFundingRate\x12\x12\n" +
|
|
"\x04date\x18\x01 \x01(\tR\x04date\x12\x12\n" +
|
|
"\x04rate\x18\x02 \x01(\tR\x04rate\x12\x18\n" +
|
|
"\apayment\x18\x03 \x01(\tR\apayment\"\xde\x03\n" +
|
|
"\vFundingData\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12)\n" +
|
|
"\x10payment_currency\x18\x04 \x01(\tR\x0fpaymentCurrency\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x05 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x06 \x01(\tR\aendDate\x12)\n" +
|
|
"\x05rates\x18\a \x03(\v2\x13.gctrpc.FundingRateR\x05rates\x124\n" +
|
|
"\vlatest_rate\x18\b \x01(\v2\x13.gctrpc.FundingRateR\n" +
|
|
"latestRate\x128\n" +
|
|
"\rupcoming_rate\x18\t \x01(\v2\x13.gctrpc.FundingRateR\fupcomingRate\x12\x1f\n" +
|
|
"\vpayment_sum\x18\n" +
|
|
" \x01(\tR\n" +
|
|
"paymentSum\x12'\n" +
|
|
"\x0fpayment_message\x18\v \x01(\tR\x0epaymentMessage\x12)\n" +
|
|
"\x11time_of_next_rate\x18\f \x01(\tR\x0etimeOfNextRate\"\xac\t\n" +
|
|
"\x14FuturesPositionStats\x12D\n" +
|
|
"\x1emaintenance_margin_requirement\x18\x01 \x01(\tR\x1cmaintenanceMarginRequirement\x12<\n" +
|
|
"\x1ainitial_margin_requirement\x18\x02 \x01(\tR\x18initialMarginRequirement\x12>\n" +
|
|
"\x1bestimated_liquidation_price\x18\x03 \x01(\tR\x19estimatedLiquidationPrice\x12'\n" +
|
|
"\x0fcollateral_used\x18\x04 \x01(\tR\x0ecollateralUsed\x12\x1d\n" +
|
|
"\n" +
|
|
"mark_price\x18\x05 \x01(\tR\tmarkPrice\x12!\n" +
|
|
"\fcurrent_size\x18\x06 \x01(\tR\vcurrentSize\x12#\n" +
|
|
"\rcontract_size\x18\a \x01(\tR\fcontractSize\x12/\n" +
|
|
"\x13contract_multiplier\x18\b \x01(\tR\x12contractMultiplier\x128\n" +
|
|
"\x18contract_settlement_type\x18\t \x01(\tR\x16contractSettlementType\x12(\n" +
|
|
"\x10break_even_price\x18\n" +
|
|
" \x01(\tR\x0ebreakEvenPrice\x12,\n" +
|
|
"\x12average_open_price\x18\v \x01(\tR\x10averageOpenPrice\x12\x1d\n" +
|
|
"\n" +
|
|
"recent_pnl\x18\f \x01(\tR\trecentPnl\x12'\n" +
|
|
"\x0fmargin_fraction\x18\r \x01(\tR\x0emarginFraction\x12'\n" +
|
|
"\x0ffree_collateral\x18\x0e \x01(\tR\x0efreeCollateral\x12)\n" +
|
|
"\x10total_collateral\x18\x0f \x01(\tR\x0ftotalCollateral\x12%\n" +
|
|
"\x0efrozen_balance\x18\x10 \x01(\tR\rfrozenBalance\x12,\n" +
|
|
"\x12equity_of_currency\x18\x11 \x01(\tR\x10equityOfCurrency\x12)\n" +
|
|
"\x10available_equity\x18\x12 \x01(\tR\x0favailableEquity\x12!\n" +
|
|
"\fcash_balance\x18\x13 \x01(\tR\vcashBalance\x12'\n" +
|
|
"\x0fdiscount_equity\x18\x14 \x01(\tR\x0ediscountEquity\x12\x1d\n" +
|
|
"\n" +
|
|
"equity_usd\x18\x15 \x01(\tR\tequityUsd\x12'\n" +
|
|
"\x0fisolated_equity\x18\x16 \x01(\tR\x0eisolatedEquity\x121\n" +
|
|
"\x14isolated_liabilities\x18\x17 \x01(\tR\x13isolatedLiabilities\x12!\n" +
|
|
"\fisolated_upl\x18\x18 \x01(\tR\visolatedUpl\x12+\n" +
|
|
"\x11notional_leverage\x18\x19 \x01(\tR\x10notionalLeverage\x12!\n" +
|
|
"\ftotal_equity\x18\x1a \x01(\tR\vtotalEquity\x12'\n" +
|
|
"\x0fstrategy_equity\x18\x1b \x01(\tR\x0estrategyEquity\"\x84\x06\n" +
|
|
"\x0eFuturePosition\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12!\n" +
|
|
"\fopening_date\x18\x05 \x01(\tR\vopeningDate\x12+\n" +
|
|
"\x11opening_direction\x18\x06 \x01(\tR\x10openingDirection\x12#\n" +
|
|
"\ropening_price\x18\a \x01(\tR\fopeningPrice\x12!\n" +
|
|
"\fopening_size\x18\b \x01(\tR\vopeningSize\x12+\n" +
|
|
"\x11current_direction\x18\t \x01(\tR\x10currentDirection\x12#\n" +
|
|
"\rcurrent_price\x18\n" +
|
|
" \x01(\tR\fcurrentPrice\x12!\n" +
|
|
"\fcurrent_size\x18\v \x01(\tR\vcurrentSize\x12%\n" +
|
|
"\x0eunrealised_pnl\x18\f \x01(\tR\runrealisedPnl\x12!\n" +
|
|
"\frealised_pnl\x18\r \x01(\tR\vrealisedPnl\x12!\n" +
|
|
"\fclosing_date\x18\x0e \x01(\tR\vclosingDate\x12\x1f\n" +
|
|
"\vorder_count\x18\x0f \x01(\x03R\n" +
|
|
"orderCount\x128\n" +
|
|
"\x18contract_settlement_type\x18\x10 \x01(\tR\x16contractSettlementType\x12,\n" +
|
|
"\x06orders\x18\x11 \x03(\v2\x14.gctrpc.OrderDetailsR\x06orders\x12C\n" +
|
|
"\x0eposition_stats\x18\x12 \x01(\v2\x1c.gctrpc.FuturesPositionStatsR\rpositionStats\x126\n" +
|
|
"\ffunding_data\x18\x13 \x01(\v2\x13.gctrpc.FundingDataR\vfundingData\"\xd3\x02\n" +
|
|
"\x19GetManagedPositionRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x125\n" +
|
|
"\x17include_full_order_data\x18\x04 \x01(\bR\x14includeFullOrderData\x120\n" +
|
|
"\x14get_funding_payments\x18\x05 \x01(\bR\x12getFundingPayments\x12;\n" +
|
|
"\x1ainclude_full_funding_rates\x18\x06 \x01(\bR\x17includeFullFundingRates\x124\n" +
|
|
"\x16include_predicted_rate\x18\a \x01(\bR\x14includePredictedRate\"\xfb\x01\n" +
|
|
"\x1dGetAllManagedPositionsRequest\x125\n" +
|
|
"\x17include_full_order_data\x18\x01 \x01(\bR\x14includeFullOrderData\x120\n" +
|
|
"\x14get_funding_payments\x18\x02 \x01(\bR\x12getFundingPayments\x12;\n" +
|
|
"\x1ainclude_full_funding_rates\x18\x03 \x01(\bR\x17includeFullFundingRates\x124\n" +
|
|
"\x16include_predicted_rate\x18\x04 \x01(\bR\x14includePredictedRate\"S\n" +
|
|
"\x1bGetManagedPositionsResponse\x124\n" +
|
|
"\tpositions\x18\x01 \x03(\v2\x16.gctrpc.FuturePositionR\tpositions\"\xbe\x01\n" +
|
|
"!GetFuturesPositionsSummaryRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12=\n" +
|
|
"\x0funderlying_pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x0eunderlyingPair\"\xc5\x01\n" +
|
|
"\"GetFuturesPositionsSummaryResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12C\n" +
|
|
"\x0eposition_stats\x18\x04 \x01(\v2\x1c.gctrpc.FuturesPositionStatsR\rpositionStats\"\xef\x02\n" +
|
|
" GetFuturesPositionsOrdersRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12=\n" +
|
|
"\x0funderlying_pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x0eunderlyingPair\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x05 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x06 \x01(\tR\aendDate\x12?\n" +
|
|
"\x1crespect_order_history_limits\x18\a \x01(\bR\x19respectOrderHistoryLimits\x125\n" +
|
|
"\x17sync_with_order_manager\x18\b \x01(\bR\x14syncWithOrderManager\"Y\n" +
|
|
"!GetFuturesPositionsOrdersResponse\x124\n" +
|
|
"\tpositions\x18\x06 \x03(\v2\x16.gctrpc.FuturePositionR\tpositions\"L\n" +
|
|
"\x18GetCollateralModeRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\"v\n" +
|
|
"\x19GetCollateralModeResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12'\n" +
|
|
"\x0fcollateral_mode\x18\x03 \x01(\tR\x0ecollateralMode\"u\n" +
|
|
"\x18SetCollateralModeRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12'\n" +
|
|
"\x0fcollateral_mode\x18\x03 \x01(\tR\x0ecollateralMode\"g\n" +
|
|
"\x19SetCollateralModeResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12\x18\n" +
|
|
"\asuccess\x18\x03 \x01(\bR\asuccess\"r\n" +
|
|
"\x14GetMarginTypeRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\"\x94\x01\n" +
|
|
"\x15GetMarginTypeResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x04 \x01(\tR\n" +
|
|
"marginType\"\xa9\x02\n" +
|
|
"\x1bChangePositionMarginRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x04 \x01(\tR\n" +
|
|
"marginType\x12:\n" +
|
|
"\x19original_allocated_margin\x18\x05 \x01(\x01R\x17originalAllocatedMargin\x120\n" +
|
|
"\x14new_allocated_margin\x18\x06 \x01(\x01R\x12newAllocatedMargin\x12\x1f\n" +
|
|
"\vmargin_side\x18\a \x01(\tR\n" +
|
|
"marginSide\"\xee\x01\n" +
|
|
"\x1cChangePositionMarginResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x04 \x01(\tR\n" +
|
|
"marginType\x120\n" +
|
|
"\x14new_allocated_margin\x18\x05 \x01(\x01R\x12newAllocatedMargin\x12\x1f\n" +
|
|
"\vmargin_side\x18\x06 \x01(\tR\n" +
|
|
"marginSide\"\x93\x01\n" +
|
|
"\x14SetMarginTypeRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x04 \x01(\tR\n" +
|
|
"marginType\"\x8d\x01\n" +
|
|
"\x15SetMarginTypeResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x18\n" +
|
|
"\asuccess\x18\x04 \x01(\bR\asuccess\"\xef\x01\n" +
|
|
"\x12GetLeverageRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12=\n" +
|
|
"\x0funderlying_pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x0eunderlyingPair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x05 \x01(\tR\n" +
|
|
"marginType\x12\x1d\n" +
|
|
"\n" +
|
|
"order_side\x18\x06 \x01(\tR\torderSide\"\x8c\x02\n" +
|
|
"\x13GetLeverageResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12=\n" +
|
|
"\x0funderlying_pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x0eunderlyingPair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x05 \x01(\tR\n" +
|
|
"marginType\x12\x1a\n" +
|
|
"\bleverage\x18\x06 \x01(\x01R\bleverage\x12\x1d\n" +
|
|
"\n" +
|
|
"order_side\x18\a \x01(\tR\torderSide\"\x8b\x02\n" +
|
|
"\x12SetLeverageRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12=\n" +
|
|
"\x0funderlying_pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x0eunderlyingPair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x05 \x01(\tR\n" +
|
|
"marginType\x12\x1a\n" +
|
|
"\bleverage\x18\x06 \x01(\x01R\bleverage\x12\x1d\n" +
|
|
"\n" +
|
|
"order_side\x18\a \x01(\tR\torderSide\"\x8a\x02\n" +
|
|
"\x13SetLeverageResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12=\n" +
|
|
"\x0funderlying_pair\x18\x04 \x01(\v2\x14.gctrpc.CurrencyPairR\x0eunderlyingPair\x12\x1f\n" +
|
|
"\vmargin_type\x18\x05 \x01(\tR\n" +
|
|
"marginType\x12\x1d\n" +
|
|
"\n" +
|
|
"order_side\x18\x06 \x01(\tR\torderSide\x12\x18\n" +
|
|
"\asuccess\x18\a \x01(\bR\asuccess\"\xd2\x01\n" +
|
|
"\x14GetCollateralRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12+\n" +
|
|
"\x11include_breakdown\x18\x03 \x01(\bR\x10includeBreakdown\x12+\n" +
|
|
"\x11calculate_offline\x18\x04 \x01(\bR\x10calculateOffline\x12.\n" +
|
|
"\x13include_zero_values\x18\x05 \x01(\bR\x11includeZeroValues\"\xbe\x05\n" +
|
|
"\x15GetCollateralResponse\x12\x1f\n" +
|
|
"\vsub_account\x18\x01 \x01(\tR\n" +
|
|
"subAccount\x12/\n" +
|
|
"\x13collateral_currency\x18\x02 \x01(\tR\x12collateralCurrency\x12O\n" +
|
|
"%total_value_of_positive_spot_balances\x18\x03 \x01(\tR totalValueOfPositiveSpotBalances\x12e\n" +
|
|
"0collateral_contributed_by_positive_spot_balances\x18\x04 \x01(\tR+collateralContributedByPositiveSpotBalances\x12'\n" +
|
|
"\x0fused_collateral\x18\x05 \x01(\tR\x0eusedCollateral\x12F\n" +
|
|
"\x0eused_breakdown\x18\x06 \x01(\v2\x1f.gctrpc.CollateralUsedBreakdownR\rusedBreakdown\x121\n" +
|
|
"\x14available_collateral\x18\a \x01(\tR\x13availableCollateral\x125\n" +
|
|
"\x16maintenance_collateral\x18\b \x01(\tR\x15maintenanceCollateral\x12%\n" +
|
|
"\x0eunrealised_pnl\x18\t \x01(\tR\runrealisedPnl\x12L\n" +
|
|
"\x12currency_breakdown\x18\n" +
|
|
" \x03(\v2\x1d.gctrpc.CollateralForCurrencyR\x11currencyBreakdown\x12K\n" +
|
|
"\x12position_breakdown\x18\v \x03(\v2\x1c.gctrpc.CollateralByPositionR\x11positionBreakdown\"\xf7\x04\n" +
|
|
"\x15CollateralForCurrency\x12\x1a\n" +
|
|
"\bcurrency\x18\x01 \x01(\tR\bcurrency\x128\n" +
|
|
"\x18excluded_from_collateral\x18\x02 \x01(\bR\x16excludedFromCollateral\x12\x1f\n" +
|
|
"\vtotal_funds\x18\x03 \x01(\tR\n" +
|
|
"totalFunds\x12D\n" +
|
|
"\x1favailable_for_use_as_collateral\x18\x04 \x01(\tR\x1bavailableForUseAsCollateral\x127\n" +
|
|
"\x18approx_fair_market_value\x18\x05 \x01(\tR\x15approxFairMarketValue\x12\x1c\n" +
|
|
"\tweighting\x18\x06 \x01(\tR\tweighting\x127\n" +
|
|
"\x17collateral_contribution\x18\a \x01(\tR\x16collateralContribution\x12,\n" +
|
|
"\x12scaled_to_currency\x18\b \x01(\tR\x10scaledToCurrency\x12%\n" +
|
|
"\x0eunrealised_pnl\x18\t \x01(\tR\runrealisedPnl\x12 \n" +
|
|
"\ffunds_in_use\x18\n" +
|
|
" \x01(\tR\n" +
|
|
"fundsInUse\x12<\n" +
|
|
"\x1aadditional_collateral_used\x18\v \x01(\tR\x18additionalCollateralUsed\x12F\n" +
|
|
"\x0eused_breakdown\x18\f \x01(\v2\x1f.gctrpc.CollateralUsedBreakdownR\rusedBreakdown\x12\x14\n" +
|
|
"\x05error\x18\r \x01(\tR\x05error\"\x8f\x02\n" +
|
|
"\x14CollateralByPosition\x12\x1a\n" +
|
|
"\bcurrency\x18\x01 \x01(\tR\bcurrency\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\tR\x04size\x12&\n" +
|
|
"\x0fopen_order_size\x18\x03 \x01(\tR\ropenOrderSize\x12#\n" +
|
|
"\rposition_size\x18\x04 \x01(\tR\fpositionSize\x12\x1d\n" +
|
|
"\n" +
|
|
"mark_price\x18\x05 \x01(\tR\tmarkPrice\x12'\n" +
|
|
"\x0frequired_margin\x18\x06 \x01(\tR\x0erequiredMargin\x122\n" +
|
|
"\x15total_collateral_used\x18\a \x01(\tR\x13totalCollateralUsed\"\xae\x03\n" +
|
|
"\x17CollateralUsedBreakdown\x12(\n" +
|
|
"\x10locked_in_stakes\x18\x01 \x01(\tR\x0elockedInStakes\x12+\n" +
|
|
"\x12locked_in_nft_bids\x18\x02 \x01(\tR\x0flockedInNftBids\x121\n" +
|
|
"\x15locked_in_fee_voucher\x18\x03 \x01(\tR\x12lockedInFeeVoucher\x12M\n" +
|
|
"$locked_in_spot_margin_funding_offers\x18\x04 \x01(\tR\x1flockedInSpotMarginFundingOffers\x121\n" +
|
|
"\x15locked_in_spot_orders\x18\x05 \x01(\tR\x12lockedInSpotOrders\x120\n" +
|
|
"\x14locked_as_collateral\x18\x06 \x01(\tR\x12lockedAsCollateral\x12&\n" +
|
|
"\x0fused_in_futures\x18\a \x01(\tR\rusedInFutures\x12-\n" +
|
|
"\x13used_in_spot_margin\x18\b \x01(\tR\x10usedInSpotMargin\"\xe7\x02\n" +
|
|
"\x16GetFundingRatesRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x04 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x05 \x01(\tR\aendDate\x12)\n" +
|
|
"\x10payment_currency\x18\x06 \x01(\tR\x0fpaymentCurrency\x12+\n" +
|
|
"\x11include_predicted\x18\a \x01(\bR\x10includePredicted\x12)\n" +
|
|
"\x10include_payments\x18\b \x01(\bR\x0fincludePayments\x124\n" +
|
|
"\x16respect_history_limits\x18\t \x01(\bR\x14respectHistoryLimits\"D\n" +
|
|
"\x17GetFundingRatesResponse\x12)\n" +
|
|
"\x05rates\x18\x01 \x01(\v2\x13.gctrpc.FundingDataR\x05rates\"\xa6\x01\n" +
|
|
"\x1bGetLatestFundingRateRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12+\n" +
|
|
"\x11include_predicted\x18\x04 \x01(\bR\x10includePredicted\"G\n" +
|
|
"\x1cGetLatestFundingRateResponse\x12'\n" +
|
|
"\x04rate\x18\x01 \x01(\v2\x13.gctrpc.FundingDataR\x04rate\"\x11\n" +
|
|
"\x0fShutdownRequest\"\x12\n" +
|
|
"\x10ShutdownResponse\"\xa1\x05\n" +
|
|
"\x1bGetTechnicalAnalysisRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_type\x18\x03 \x01(\tR\tassetType\x12%\n" +
|
|
"\x0ealgorithm_type\x18\x04 \x01(\tR\ralgorithmType\x12\x1a\n" +
|
|
"\binterval\x18\x05 \x01(\x03R\binterval\x120\n" +
|
|
"\x05start\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x05start\x12,\n" +
|
|
"\x03end\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\x03end\x12\x16\n" +
|
|
"\x06period\x18\b \x01(\x03R\x06period\x12\x1f\n" +
|
|
"\vfast_period\x18\t \x01(\x03R\n" +
|
|
"fastPeriod\x12\x1f\n" +
|
|
"\vslow_period\x18\n" +
|
|
" \x01(\x03R\n" +
|
|
"slowPeriod\x122\n" +
|
|
"\x15standard_deviation_up\x18\v \x01(\x01R\x13standardDeviationUp\x126\n" +
|
|
"\x17standard_deviation_down\x18\f \x01(\x01R\x15standardDeviationDown\x12.\n" +
|
|
"\x13moving_average_type\x18\r \x01(\x03R\x11movingAverageType\x12%\n" +
|
|
"\x0eother_exchange\x18\x0e \x01(\tR\rotherExchange\x123\n" +
|
|
"\n" +
|
|
"other_pair\x18\x0f \x01(\v2\x14.gctrpc.CurrencyPairR\totherPair\x12(\n" +
|
|
"\x10other_asset_type\x18\x10 \x01(\tR\x0eotherAssetType\")\n" +
|
|
"\rListOfSignals\x12\x18\n" +
|
|
"\asignals\x18\x01 \x03(\x01R\asignals\"\xbe\x01\n" +
|
|
"\x1cGetTechnicalAnalysisResponse\x12K\n" +
|
|
"\asignals\x18\x01 \x03(\v21.gctrpc.GetTechnicalAnalysisResponse.SignalsEntryR\asignals\x1aQ\n" +
|
|
"\fSignalsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12+\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x15.gctrpc.ListOfSignalsR\x05value:\x028\x01\"\x83\x04\n" +
|
|
"\x1cGetMarginRatesHistoryRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12\x1a\n" +
|
|
"\bcurrency\x18\x03 \x01(\tR\bcurrency\x12\x1d\n" +
|
|
"\n" +
|
|
"start_date\x18\x04 \x01(\tR\tstartDate\x12\x19\n" +
|
|
"\bend_date\x18\x05 \x01(\tR\aendDate\x12,\n" +
|
|
"\x12get_predicted_rate\x18\x06 \x01(\bR\x10getPredictedRate\x120\n" +
|
|
"\x14get_lending_payments\x18\a \x01(\bR\x12getLendingPayments\x12(\n" +
|
|
"\x10get_borrow_rates\x18\b \x01(\bR\x0egetBorrowRates\x12(\n" +
|
|
"\x10get_borrow_costs\x18\t \x01(\bR\x0egetBorrowCosts\x12*\n" +
|
|
"\x11include_all_rates\x18\n" +
|
|
" \x01(\bR\x0fincludeAllRates\x12+\n" +
|
|
"\x11calculate_offline\x18\v \x01(\bR\x10calculateOffline\x12$\n" +
|
|
"\x0etaker_fee_rate\x18\f \x01(\tR\ftakerFeeRate\x12(\n" +
|
|
"\x05rates\x18\r \x03(\v2\x12.gctrpc.MarginRateR\x05rates\">\n" +
|
|
"\x0eLendingPayment\x12\x18\n" +
|
|
"\apayment\x18\x01 \x01(\tR\apayment\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\tR\x04size\"4\n" +
|
|
"\n" +
|
|
"BorrowCost\x12\x12\n" +
|
|
"\x04cost\x18\x01 \x01(\tR\x04cost\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\tR\x04size\"\xe2\x02\n" +
|
|
"\n" +
|
|
"MarginRate\x12\x12\n" +
|
|
"\x04time\x18\x01 \x01(\tR\x04time\x12,\n" +
|
|
"\x12market_borrow_size\x18\x02 \x01(\tR\x10marketBorrowSize\x12\x1f\n" +
|
|
"\vhourly_rate\x18\x03 \x01(\tR\n" +
|
|
"hourlyRate\x12\x1f\n" +
|
|
"\vyearly_rate\x18\x04 \x01(\tR\n" +
|
|
"yearlyRate\x12,\n" +
|
|
"\x12hourly_borrow_rate\x18\x05 \x01(\tR\x10hourlyBorrowRate\x12,\n" +
|
|
"\x12yearly_borrow_rate\x18\x06 \x01(\tR\x10yearlyBorrowRate\x12?\n" +
|
|
"\x0flending_payment\x18\a \x01(\v2\x16.gctrpc.LendingPaymentR\x0elendingPayment\x123\n" +
|
|
"\vborrow_cost\x18\b \x01(\v2\x12.gctrpc.BorrowCostR\n" +
|
|
"borrowCost\"\xae\x03\n" +
|
|
"\x1dGetMarginRatesHistoryResponse\x12(\n" +
|
|
"\x05rates\x18\x01 \x03(\v2\x12.gctrpc.MarginRateR\x05rates\x12\x1f\n" +
|
|
"\vtotal_rates\x18\x02 \x01(\x03R\n" +
|
|
"totalRates\x12(\n" +
|
|
"\x10sum_borrow_costs\x18\x03 \x01(\tR\x0esumBorrowCosts\x12&\n" +
|
|
"\x0favg_borrow_size\x18\x04 \x01(\tR\ravgBorrowSize\x120\n" +
|
|
"\x14sum_lending_payments\x18\x05 \x01(\tR\x12sumLendingPayments\x12(\n" +
|
|
"\x10avg_lending_size\x18\x06 \x01(\tR\x0eavgLendingSize\x123\n" +
|
|
"\vlatest_rate\x18\a \x01(\v2\x12.gctrpc.MarginRateR\n" +
|
|
"latestRate\x129\n" +
|
|
"\x0epredicted_rate\x18\b \x01(\v2\x12.gctrpc.MarginRateR\rpredictedRate\x12$\n" +
|
|
"\x0etaker_fee_rate\x18\t \x01(\tR\ftakerFeeRate\"\xf9\x01\n" +
|
|
"\x1bGetOrderbookMovementRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12\x16\n" +
|
|
"\x06amount\x18\x06 \x01(\x01R\x06amount\x12\x12\n" +
|
|
"\x04sell\x18\a \x01(\bR\x04sell\x126\n" +
|
|
"\x17requires_rest_orderbook\x18\b \x01(\bR\x15requiresRestOrderbook\x12\x1a\n" +
|
|
"\bpurchase\x18\t \x01(\bR\bpurchase\"\xc6\x04\n" +
|
|
"\x1cGetOrderbookMovementResponse\x12-\n" +
|
|
"\x12nominal_percentage\x18\x01 \x01(\x01R\x11nominalPercentage\x12+\n" +
|
|
"\x11impact_percentage\x18\x02 \x01(\x01R\x10impactPercentage\x12#\n" +
|
|
"\rslippage_cost\x18\x03 \x01(\x01R\fslippageCost\x12'\n" +
|
|
"\x0fcurrency_bought\x18\x04 \x01(\tR\x0ecurrencyBought\x12\x16\n" +
|
|
"\x06bought\x18\x05 \x01(\x01R\x06bought\x12#\n" +
|
|
"\rcurrency_sold\x18\x06 \x01(\tR\fcurrencySold\x12\x12\n" +
|
|
"\x04sold\x18\a \x01(\x01R\x04sold\x12#\n" +
|
|
"\rside_affected\x18\b \x01(\tR\fsideAffected\x12'\n" +
|
|
"\x0fupdate_protocol\x18\t \x01(\tR\x0eupdateProtocol\x12?\n" +
|
|
"\x1cfull_orderbook_side_consumed\x18\n" +
|
|
" \x01(\bR\x19fullOrderbookSideConsumed\x12\x1f\n" +
|
|
"\vstart_price\x18\v \x01(\x01R\n" +
|
|
"startPrice\x12\x1b\n" +
|
|
"\tend_price\x18\f \x01(\x01R\bendPrice\x120\n" +
|
|
"\x14no_slippage_occurred\x18\r \x01(\bR\x12noSlippageOccurred\x12,\n" +
|
|
"\x12average_order_cost\x18\x0e \x01(\x01R\x10averageOrderCost\"\xfb\x01\n" +
|
|
"\"GetOrderbookAmountByNominalRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12-\n" +
|
|
"\x12nominal_percentage\x18\x06 \x01(\x01R\x11nominalPercentage\x12\x12\n" +
|
|
"\x04sell\x18\a \x01(\bR\x04sell\x126\n" +
|
|
"\x17requires_rest_orderbook\x18\b \x01(\bR\x15requiresRestOrderbook\"\x9d\x04\n" +
|
|
"#GetOrderbookAmountByNominalResponse\x12'\n" +
|
|
"\x0famount_required\x18\x01 \x01(\x01R\x0eamountRequired\x12)\n" +
|
|
"\x10currency_selling\x18\x02 \x01(\tR\x0fcurrencySelling\x12'\n" +
|
|
"\x0famount_received\x18\x03 \x01(\x01R\x0eamountReceived\x12'\n" +
|
|
"\x0fcurrency_buying\x18\x04 \x01(\tR\x0ecurrencyBuying\x12\x1f\n" +
|
|
"\vstart_price\x18\x05 \x01(\x01R\n" +
|
|
"startPrice\x12\x1b\n" +
|
|
"\tend_price\x18\x06 \x01(\x01R\bendPrice\x12,\n" +
|
|
"\x12average_order_cost\x18\a \x01(\x01R\x10averageOrderCost\x12#\n" +
|
|
"\rside_affected\x18\b \x01(\tR\fsideAffected\x12U\n" +
|
|
"'approximate_nominal_slippage_percentage\x18\t \x01(\x01R$approximateNominalSlippagePercentage\x12'\n" +
|
|
"\x0fupdate_protocol\x18\n" +
|
|
" \x01(\tR\x0eupdateProtocol\x12?\n" +
|
|
"\x1cfull_orderbook_side_consumed\x18\v \x01(\bR\x19fullOrderbookSideConsumed\"\xf8\x01\n" +
|
|
"!GetOrderbookAmountByImpactRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12+\n" +
|
|
"\x11impact_percentage\x18\x06 \x01(\x01R\x10impactPercentage\x12\x12\n" +
|
|
"\x04sell\x18\a \x01(\bR\x04sell\x126\n" +
|
|
"\x17requires_rest_orderbook\x18\b \x01(\bR\x15requiresRestOrderbook\"\x9a\x04\n" +
|
|
"\"GetOrderbookAmountByImpactResponse\x12'\n" +
|
|
"\x0famount_required\x18\x01 \x01(\x01R\x0eamountRequired\x12)\n" +
|
|
"\x10currency_selling\x18\x02 \x01(\tR\x0fcurrencySelling\x12'\n" +
|
|
"\x0famount_received\x18\x03 \x01(\x01R\x0eamountReceived\x12'\n" +
|
|
"\x0fcurrency_buying\x18\x04 \x01(\tR\x0ecurrencyBuying\x12\x1f\n" +
|
|
"\vstart_price\x18\x05 \x01(\x01R\n" +
|
|
"startPrice\x12\x1b\n" +
|
|
"\tend_price\x18\x06 \x01(\x01R\bendPrice\x12,\n" +
|
|
"\x12average_order_cost\x18\a \x01(\x01R\x10averageOrderCost\x12#\n" +
|
|
"\rside_affected\x18\b \x01(\tR\fsideAffected\x12S\n" +
|
|
"&approximate_impact_slippage_percentage\x18\t \x01(\x01R#approximateImpactSlippagePercentage\x12'\n" +
|
|
"\x0fupdate_protocol\x18\n" +
|
|
" \x01(\tR\x0eupdateProtocol\x12?\n" +
|
|
"\x1cfull_orderbook_side_consumed\x18\v \x01(\bR\x19fullOrderbookSideConsumed\"i\n" +
|
|
"\x16GetOpenInterestRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x123\n" +
|
|
"\x04data\x18\x02 \x03(\v2\x1f.gctrpc.OpenInterestDataRequestR\x04data\"Y\n" +
|
|
"\x17OpenInterestDataRequest\x12\x14\n" +
|
|
"\x05asset\x18\x01 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x02 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\"O\n" +
|
|
"\x17GetOpenInterestResponse\x124\n" +
|
|
"\x04data\x18\x01 \x03(\v2 .gctrpc.OpenInterestDataResponseR\x04data\"\x9b\x01\n" +
|
|
"\x18OpenInterestDataResponse\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\x12#\n" +
|
|
"\ropen_interest\x18\x04 \x01(\x01R\fopenInterest\"x\n" +
|
|
"\x1aGetCurrencyTradeURLRequest\x12\x1a\n" +
|
|
"\bexchange\x18\x01 \x01(\tR\bexchange\x12\x14\n" +
|
|
"\x05asset\x18\x02 \x01(\tR\x05asset\x12(\n" +
|
|
"\x04pair\x18\x03 \x01(\v2\x14.gctrpc.CurrencyPairR\x04pair\"/\n" +
|
|
"\x1bGetCurrencyTradeURLResponse\x12\x10\n" +
|
|
"\x03url\x18\x01 \x01(\tR\x03url2\xccl\n" +
|
|
"\x15GoCryptoTraderService\x12O\n" +
|
|
"\aGetInfo\x12\x16.gctrpc.GetInfoRequest\x1a\x17.gctrpc.GetInfoResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\v/v1/getinfo\x12g\n" +
|
|
"\rGetSubsystems\x12\x1c.gctrpc.GetSubsystemsRequest\x1a\x1d.gctrpc.GetSusbsytemsResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/getsubsystems\x12h\n" +
|
|
"\x0fEnableSubsystem\x12\x1f.gctrpc.GenericSubsystemRequest\x1a\x17.gctrpc.GenericResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/enablesubsystem\x12j\n" +
|
|
"\x10DisableSubsystem\x12\x1f.gctrpc.GenericSubsystemRequest\x1a\x17.gctrpc.GenericResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/disablesubsystem\x12o\n" +
|
|
"\x0fGetRPCEndpoints\x12\x1e.gctrpc.GetRPCEndpointsRequest\x1a\x1f.gctrpc.GetRPCEndpointsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/getrpcendpoints\x12\x93\x01\n" +
|
|
"\x18GetCommunicationRelayers\x12'.gctrpc.GetCommunicationRelayersRequest\x1a(.gctrpc.GetCommunicationRelayersResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/getcommunicationrelayers\x12c\n" +
|
|
"\fGetExchanges\x12\x1b.gctrpc.GetExchangesRequest\x1a\x1c.gctrpc.GetExchangesResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/getexchanges\x12n\n" +
|
|
"\x0fDisableExchange\x12\".gctrpc.GenericExchangeNameRequest\x1a\x17.gctrpc.GenericResponse\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/v1/disableexchange\x12s\n" +
|
|
"\x0fGetExchangeInfo\x12\".gctrpc.GenericExchangeNameRequest\x1a\x1f.gctrpc.GetExchangeInfoResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/getexchangeinfo\x12t\n" +
|
|
"\x12GetExchangeOTPCode\x12\".gctrpc.GenericExchangeNameRequest\x1a\x1e.gctrpc.GetExchangeOTPResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/getexchangeotp\x12s\n" +
|
|
"\x13GetExchangeOTPCodes\x12\x1e.gctrpc.GetExchangeOTPsRequest\x1a\x1f.gctrpc.GetExchangeOTPsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/getexchangeotps\x12l\n" +
|
|
"\x0eEnableExchange\x12\".gctrpc.GenericExchangeNameRequest\x1a\x17.gctrpc.GenericResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/enableexchange\x12W\n" +
|
|
"\tGetTicker\x12\x18.gctrpc.GetTickerRequest\x1a\x16.gctrpc.TickerResponse\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/v1/getticker\x12[\n" +
|
|
"\n" +
|
|
"GetTickers\x12\x19.gctrpc.GetTickersRequest\x1a\x1a.gctrpc.GetTickersResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/gettickers\x12c\n" +
|
|
"\fGetOrderbook\x12\x1b.gctrpc.GetOrderbookRequest\x1a\x19.gctrpc.OrderbookResponse\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/v1/getorderbook\x12g\n" +
|
|
"\rGetOrderbooks\x12\x1c.gctrpc.GetOrderbooksRequest\x1a\x1d.gctrpc.GetOrderbooksResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/getorderbooks\x12{\n" +
|
|
"\x12GetAccountBalances\x12!.gctrpc.GetAccountBalancesRequest\x1a\".gctrpc.GetAccountBalancesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/getaccountbalances\x12\x81\x01\n" +
|
|
"\x15UpdateAccountBalances\x12!.gctrpc.GetAccountBalancesRequest\x1a\".gctrpc.GetAccountBalancesResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/updateaccountbalances\x12\x89\x01\n" +
|
|
"\x18GetAccountBalancesStream\x12!.gctrpc.GetAccountBalancesRequest\x1a\".gctrpc.GetAccountBalancesResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/getaccountbalancesstream0\x01\x12W\n" +
|
|
"\tGetConfig\x12\x18.gctrpc.GetConfigRequest\x1a\x19.gctrpc.GetConfigResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/v1/getconfig\x12c\n" +
|
|
"\fGetPortfolio\x12\x1b.gctrpc.GetPortfolioRequest\x1a\x1c.gctrpc.GetPortfolioResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/getportfolio\x12\x7f\n" +
|
|
"\x13GetPortfolioSummary\x12\".gctrpc.GetPortfolioSummaryRequest\x1a#.gctrpc.GetPortfolioSummaryResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/getportfoliosummary\x12v\n" +
|
|
"\x13AddPortfolioAddress\x12\".gctrpc.AddPortfolioAddressRequest\x1a\x17.gctrpc.GenericResponse\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/v1/addportfolioaddress\x12\x7f\n" +
|
|
"\x16RemovePortfolioAddress\x12%.gctrpc.RemovePortfolioAddressRequest\x1a\x17.gctrpc.GenericResponse\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/v1/removeportfolioaddress\x12w\n" +
|
|
"\x11GetForexProviders\x12 .gctrpc.GetForexProvidersRequest\x1a!.gctrpc.GetForexProvidersResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/getforexproviders\x12g\n" +
|
|
"\rGetForexRates\x12\x1c.gctrpc.GetForexRatesRequest\x1a\x1d.gctrpc.GetForexRatesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/getforexrates\x12Z\n" +
|
|
"\tGetOrders\x12\x18.gctrpc.GetOrdersRequest\x1a\x19.gctrpc.GetOrdersResponse\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/v1/getorders\x12R\n" +
|
|
"\bGetOrder\x12\x17.gctrpc.GetOrderRequest\x1a\x14.gctrpc.OrderDetails\"\x17\x82\xd3\xe4\x93\x02\x11:\x01*\"\f/v1/getorder\x12b\n" +
|
|
"\vSubmitOrder\x12\x1a.gctrpc.SubmitOrderRequest\x1a\x1b.gctrpc.SubmitOrderResponse\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/v1/submitorder\x12j\n" +
|
|
"\rSimulateOrder\x12\x1c.gctrpc.SimulateOrderRequest\x1a\x1d.gctrpc.SimulateOrderResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/v1/simulateorder\x12^\n" +
|
|
"\tWhaleBomb\x12\x18.gctrpc.WhaleBombRequest\x1a\x1d.gctrpc.SimulateOrderResponse\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/v1/whalebomb\x12^\n" +
|
|
"\vCancelOrder\x12\x1a.gctrpc.CancelOrderRequest\x1a\x17.gctrpc.GenericResponse\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/v1/cancelorder\x12z\n" +
|
|
"\x11CancelBatchOrders\x12 .gctrpc.CancelBatchOrdersRequest\x1a!.gctrpc.CancelBatchOrdersResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/v1/cancelbatchorders\x12r\n" +
|
|
"\x0fCancelAllOrders\x12\x1e.gctrpc.CancelAllOrdersRequest\x1a\x1f.gctrpc.CancelAllOrdersResponse\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/v1/cancelallorders\x12W\n" +
|
|
"\tGetEvents\x12\x18.gctrpc.GetEventsRequest\x1a\x19.gctrpc.GetEventsResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/v1/getevents\x12V\n" +
|
|
"\bAddEvent\x12\x17.gctrpc.AddEventRequest\x1a\x18.gctrpc.AddEventResponse\"\x17\x82\xd3\xe4\x93\x02\x11:\x01*\"\f/v1/addevent\x12^\n" +
|
|
"\vRemoveEvent\x12\x1a.gctrpc.RemoveEventRequest\x1a\x17.gctrpc.GenericResponse\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/v1/removeevent\x12\xb2\x01\n" +
|
|
"!GetCryptocurrencyDepositAddresses\x120.gctrpc.GetCryptocurrencyDepositAddressesRequest\x1a1.gctrpc.GetCryptocurrencyDepositAddressesResponse\"(\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/v1/getcryptodepositaddresses\x12\xaa\x01\n" +
|
|
"\x1fGetCryptocurrencyDepositAddress\x12..gctrpc.GetCryptocurrencyDepositAddressRequest\x1a/.gctrpc.GetCryptocurrencyDepositAddressResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/v1/getcryptodepositaddress\x12\x9e\x01\n" +
|
|
"\x1aGetAvailableTransferChains\x12).gctrpc.GetAvailableTransferChainsRequest\x1a*.gctrpc.GetAvailableTransferChainsResponse\")\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/v1/getavailabletransferchains\x12l\n" +
|
|
"\x11WithdrawFiatFunds\x12\x1b.gctrpc.WithdrawFiatRequest\x1a\x18.gctrpc.WithdrawResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/v1/withdrawfiatfunds\x12\x8b\x01\n" +
|
|
"\x1bWithdrawCryptocurrencyFunds\x12\x1d.gctrpc.WithdrawCryptoRequest\x1a\x18.gctrpc.WithdrawResponse\"3\x82\xd3\xe4\x93\x02-:\x01*\"(/v1/withdrawithdrawcryptofundswfiatfunds\x12\x82\x01\n" +
|
|
"\x13WithdrawalEventByID\x12\".gctrpc.WithdrawalEventByIDRequest\x1a#.gctrpc.WithdrawalEventByIDResponse\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/v1/withdrawaleventbyid\x12\x9d\x01\n" +
|
|
"\x1aWithdrawalEventsByExchange\x12).gctrpc.WithdrawalEventsByExchangeRequest\x1a*.gctrpc.WithdrawalEventsByExchangeResponse\"(\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/v1/withdrawaleventbyexchange\x12\x91\x01\n" +
|
|
"\x16WithdrawalEventsByDate\x12%.gctrpc.WithdrawalEventsByDateRequest\x1a*.gctrpc.WithdrawalEventsByExchangeResponse\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/v1/withdrawaleventbydate\x12s\n" +
|
|
"\x10GetLoggerDetails\x12\x1f.gctrpc.GetLoggerDetailsRequest\x1a .gctrpc.GetLoggerDetailsResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/getloggerdetails\x12v\n" +
|
|
"\x10SetLoggerDetails\x12\x1f.gctrpc.SetLoggerDetailsRequest\x1a .gctrpc.GetLoggerDetailsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/v1/setloggerdetails\x12v\n" +
|
|
"\x10GetExchangePairs\x12\x1f.gctrpc.GetExchangePairsRequest\x1a .gctrpc.GetExchangePairsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/v1/getexchangepairs\x12j\n" +
|
|
"\x0fSetExchangePair\x12\x1e.gctrpc.SetExchangePairRequest\x1a\x17.gctrpc.GenericResponse\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/v1/setexchangepair\x12t\n" +
|
|
"\x12GetOrderbookStream\x12!.gctrpc.GetOrderbookStreamRequest\x1a\x19.gctrpc.OrderbookResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/getorderbookstream0\x01\x12\x8c\x01\n" +
|
|
"\x1aGetExchangeOrderbookStream\x12).gctrpc.GetExchangeOrderbookStreamRequest\x1a\x19.gctrpc.OrderbookResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/getexchangeorderbookstream0\x01\x12h\n" +
|
|
"\x0fGetTickerStream\x12\x1e.gctrpc.GetTickerStreamRequest\x1a\x16.gctrpc.TickerResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/gettickerstream0\x01\x12\x80\x01\n" +
|
|
"\x17GetExchangeTickerStream\x12&.gctrpc.GetExchangeTickerStreamRequest\x1a\x16.gctrpc.TickerResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/getexchangetickerstream0\x01\x12g\n" +
|
|
"\rGetAuditEvent\x12\x1c.gctrpc.GetAuditEventRequest\x1a\x1d.gctrpc.GetAuditEventResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/getauditevent\x12k\n" +
|
|
"\x10GCTScriptExecute\x12\x1f.gctrpc.GCTScriptExecuteRequest\x1a\x17.gctrpc.GenericResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/gctscript/execute\x12k\n" +
|
|
"\x0fGCTScriptUpload\x12\x1e.gctrpc.GCTScriptUploadRequest\x1a\x17.gctrpc.GenericResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/v1/gctscript/upload\x12x\n" +
|
|
"\x13GCTScriptReadScript\x12\".gctrpc.GCTScriptReadScriptRequest\x1a\x1e.gctrpc.GCTScriptQueryResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/gctscript/read\x12p\n" +
|
|
"\x0fGCTScriptStatus\x12\x1e.gctrpc.GCTScriptStatusRequest\x1a\x1f.gctrpc.GCTScriptStatusResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/gctscript/status\x12l\n" +
|
|
"\x0eGCTScriptQuery\x12\x1d.gctrpc.GCTScriptQueryRequest\x1a\x1e.gctrpc.GCTScriptQueryResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/gctscript/query\x12e\n" +
|
|
"\rGCTScriptStop\x12\x1c.gctrpc.GCTScriptStopRequest\x1a\x17.gctrpc.GenericResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/gctscript/stop\x12n\n" +
|
|
"\x10GCTScriptStopAll\x12\x1f.gctrpc.GCTScriptStopAllRequest\x1a\x17.gctrpc.GenericResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/v1/gctscript/stopall\x12s\n" +
|
|
"\x10GCTScriptListAll\x12\x1f.gctrpc.GCTScriptListAllRequest\x1a\x1f.gctrpc.GCTScriptStatusResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/gctscript/list\x12w\n" +
|
|
"\x17GCTScriptAutoLoadToggle\x12 .gctrpc.GCTScriptAutoLoadRequest\x1a\x17.gctrpc.GenericResponse\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/v1/gctscript/autoload\x12{\n" +
|
|
"\x12GetHistoricCandles\x12!.gctrpc.GetHistoricCandlesRequest\x1a\".gctrpc.GetHistoricCandlesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/gethistoriccandles\x12j\n" +
|
|
"\x10SetExchangeAsset\x12\x1f.gctrpc.SetExchangeAssetRequest\x1a\x17.gctrpc.GenericResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/setexchangeasset\x12s\n" +
|
|
"\x13SetAllExchangePairs\x12\".gctrpc.SetExchangeAllPairsRequest\x1a\x17.gctrpc.GenericResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/setallexchangepairs\x12\x8e\x01\n" +
|
|
"\x1cUpdateExchangeSupportedPairs\x12+.gctrpc.UpdateExchangeSupportedPairsRequest\x1a\x17.gctrpc.GenericResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v1/updateexchangesupportedpairs\x12w\n" +
|
|
"\x11GetExchangeAssets\x12 .gctrpc.GetExchangeAssetsRequest\x1a!.gctrpc.GetExchangeAssetsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/getexchangeassets\x12s\n" +
|
|
"\x10WebsocketGetInfo\x12\x1f.gctrpc.WebsocketGetInfoRequest\x1a .gctrpc.WebsocketGetInfoResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/websocketgetinfo\x12s\n" +
|
|
"\x13WebsocketSetEnabled\x12\".gctrpc.WebsocketSetEnabledRequest\x1a\x17.gctrpc.GenericResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/websocketsetenabled\x12\x97\x01\n" +
|
|
"\x19WebsocketGetSubscriptions\x12(.gctrpc.WebsocketGetSubscriptionsRequest\x1a).gctrpc.WebsocketGetSubscriptionsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/websocketgetsubscriptions\x12m\n" +
|
|
"\x11WebsocketSetProxy\x12 .gctrpc.WebsocketSetProxyRequest\x1a\x17.gctrpc.GenericResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/websocketsetproxy\x12g\n" +
|
|
"\x0fWebsocketSetURL\x12\x1e.gctrpc.WebsocketSetURLRequest\x1a\x17.gctrpc.GenericResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/websocketseturl\x12j\n" +
|
|
"\x0fGetRecentTrades\x12\x1d.gctrpc.GetSavedTradesRequest\x1a\x1b.gctrpc.SavedTradesResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/getrecenttrades\x12p\n" +
|
|
"\x11GetHistoricTrades\x12\x1d.gctrpc.GetSavedTradesRequest\x1a\x1b.gctrpc.SavedTradesResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/gethistorictrades0\x01\x12h\n" +
|
|
"\x0eGetSavedTrades\x12\x1d.gctrpc.GetSavedTradesRequest\x1a\x1b.gctrpc.SavedTradesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/getsavedtrades\x12\x87\x01\n" +
|
|
"\x16ConvertTradesToCandles\x12%.gctrpc.ConvertTradesToCandlesRequest\x1a\".gctrpc.GetHistoricCandlesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/converttradestocandles\x12\x9d\x01\n" +
|
|
"\x1fFindMissingSavedCandleIntervals\x12'.gctrpc.FindMissingCandlePeriodsRequest\x1a$.gctrpc.FindMissingIntervalsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v1/findmissingsavedcandleintervals\x12\x9a\x01\n" +
|
|
"\x1eFindMissingSavedTradeIntervals\x12&.gctrpc.FindMissingTradePeriodsRequest\x1a$.gctrpc.FindMissingIntervalsResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/v1/findmissingsavedtradeintervals\x12\x88\x01\n" +
|
|
"\x1aSetExchangeTradeProcessing\x12).gctrpc.SetExchangeTradeProcessingRequest\x1a\x17.gctrpc.GenericResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/setexchangetradeprocessing\x12\x86\x01\n" +
|
|
"\x14UpsertDataHistoryJob\x12#.gctrpc.UpsertDataHistoryJobRequest\x1a$.gctrpc.UpsertDataHistoryJobResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/v1/upsertdatahistoryjob\x12\x81\x01\n" +
|
|
"\x18GetDataHistoryJobDetails\x12'.gctrpc.GetDataHistoryJobDetailsRequest\x1a\x16.gctrpc.DataHistoryJob\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/getdatahistoryjobdetails\x12q\n" +
|
|
"\x18GetActiveDataHistoryJobs\x12\x16.gctrpc.GetInfoRequest\x1a\x17.gctrpc.DataHistoryJobs\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/getactivedatahistoryjobs\x12\x85\x01\n" +
|
|
"\x19GetDataHistoryJobsBetween\x12(.gctrpc.GetDataHistoryJobsBetweenRequest\x1a\x17.gctrpc.DataHistoryJobs\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/getdatahistoryjobsbetween\x12\x81\x01\n" +
|
|
"\x18GetDataHistoryJobSummary\x12'.gctrpc.GetDataHistoryJobDetailsRequest\x1a\x16.gctrpc.DataHistoryJob\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/getdatahistoryjobsummary\x12\x82\x01\n" +
|
|
"\x17SetDataHistoryJobStatus\x12&.gctrpc.SetDataHistoryJobStatusRequest\x1a\x17.gctrpc.GenericResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/v1/setdatahistoryjobstatus\x12\x9d\x01\n" +
|
|
" UpdateDataHistoryJobPrerequisite\x12/.gctrpc.UpdateDataHistoryJobPrerequisiteRequest\x1a\x17.gctrpc.GenericResponse\"/\x82\xd3\xe4\x93\x02):\x01*\"$/v1/updatedatahistoryjobprerequisite\x12h\n" +
|
|
"\x10GetManagedOrders\x12\x18.gctrpc.GetOrdersRequest\x1a\x19.gctrpc.GetOrdersResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/v1/getmanagedorders\x12_\n" +
|
|
"\vModifyOrder\x12\x1a.gctrpc.ModifyOrderRequest\x1a\x1b.gctrpc.ModifyOrderResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/modifyorder\x12y\n" +
|
|
"\x13CurrencyStateGetAll\x12\".gctrpc.CurrencyStateGetAllRequest\x1a\x1d.gctrpc.CurrencyStateResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/currencystategetall\x12v\n" +
|
|
"\x14CurrencyStateTrading\x12#.gctrpc.CurrencyStateTradingRequest\x1a\x17.gctrpc.GenericResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/currencystatetrading\x12v\n" +
|
|
"\x14CurrencyStateDeposit\x12#.gctrpc.CurrencyStateDepositRequest\x1a\x17.gctrpc.GenericResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/currencystatedeposit\x12y\n" +
|
|
"\x15CurrencyStateWithdraw\x12$.gctrpc.CurrencyStateWithdrawRequest\x1a\x17.gctrpc.GenericResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/currencystatewithdraw\x12\x82\x01\n" +
|
|
"\x18CurrencyStateTradingPair\x12'.gctrpc.CurrencyStateTradingPairRequest\x1a\x17.gctrpc.GenericResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/currencystatetradingpair\x12\x9b\x01\n" +
|
|
"\x1aGetFuturesPositionsSummary\x12).gctrpc.GetFuturesPositionsSummaryRequest\x1a*.gctrpc.GetFuturesPositionsSummaryResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/getfuturespositionssummary\x12\x97\x01\n" +
|
|
"\x19GetFuturesPositionsOrders\x12(.gctrpc.GetFuturesPositionsOrdersRequest\x1a).gctrpc.GetFuturesPositionsOrdersResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/getfuturespositionsorders\x12g\n" +
|
|
"\rGetCollateral\x12\x1c.gctrpc.GetCollateralRequest\x1a\x1d.gctrpc.GetCollateralResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/getcollateral\x12S\n" +
|
|
"\bShutdown\x12\x17.gctrpc.ShutdownRequest\x1a\x18.gctrpc.ShutdownResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\f/v1/shutdown\x12\x83\x01\n" +
|
|
"\x14GetTechnicalAnalysis\x12#.gctrpc.GetTechnicalAnalysisRequest\x1a$.gctrpc.GetTechnicalAnalysisResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/gettechnicalanalysis\x12\x87\x01\n" +
|
|
"\x15GetMarginRatesHistory\x12$.gctrpc.GetMarginRatesHistoryRequest\x1a%.gctrpc.GetMarginRatesHistoryResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/getmarginrateshistory\x12|\n" +
|
|
"\x12GetManagedPosition\x12!.gctrpc.GetManagedPositionRequest\x1a#.gctrpc.GetManagedPositionsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/getmanagedposition\x12\x88\x01\n" +
|
|
"\x16GetAllManagedPositions\x12%.gctrpc.GetAllManagedPositionsRequest\x1a#.gctrpc.GetManagedPositionsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/getallmanagedpositions\x12o\n" +
|
|
"\x0fGetFundingRates\x12\x1e.gctrpc.GetFundingRatesRequest\x1a\x1f.gctrpc.GetFundingRatesResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/getfundingrates\x12\x83\x01\n" +
|
|
"\x14GetLatestFundingRate\x12#.gctrpc.GetLatestFundingRateRequest\x1a$.gctrpc.GetLatestFundingRateResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/getlatestfundingrate\x12\x83\x01\n" +
|
|
"\x14GetOrderbookMovement\x12#.gctrpc.GetOrderbookMovementRequest\x1a$.gctrpc.GetOrderbookMovementResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/getorderbookmovement\x12\x9f\x01\n" +
|
|
"\x1bGetOrderbookAmountByNominal\x12*.gctrpc.GetOrderbookAmountByNominalRequest\x1a+.gctrpc.GetOrderbookAmountByNominalResponse\"'\x82\xd3\xe4\x93\x02!\x12\x1f/v1/getorderbookamountbynominal\x12\x9b\x01\n" +
|
|
"\x1aGetOrderbookAmountByImpact\x12).gctrpc.GetOrderbookAmountByImpactRequest\x1a*.gctrpc.GetOrderbookAmountByImpactResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/getorderbookamountbyimpact\x12w\n" +
|
|
"\x11GetCollateralMode\x12 .gctrpc.GetCollateralModeRequest\x1a!.gctrpc.GetCollateralModeResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/getcollateralmode\x12_\n" +
|
|
"\vGetLeverage\x12\x1a.gctrpc.GetLeverageRequest\x1a\x1b.gctrpc.GetLeverageResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/getleverage\x12z\n" +
|
|
"\x11SetCollateralMode\x12 .gctrpc.SetCollateralModeRequest\x1a!.gctrpc.SetCollateralModeResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/v1/getcollateralmode\x12j\n" +
|
|
"\rSetMarginType\x12\x1c.gctrpc.SetMarginTypeRequest\x1a\x1d.gctrpc.SetMarginTypeResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/v1/getmargintype\x12b\n" +
|
|
"\vSetLeverage\x12\x1a.gctrpc.SetLeverageRequest\x1a\x1b.gctrpc.SetLeverageResponse\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/v1/getleverage\x12\x86\x01\n" +
|
|
"\x14ChangePositionMargin\x12#.gctrpc.ChangePositionMarginRequest\x1a$.gctrpc.ChangePositionMarginResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/v1/changepositionmargin\x12o\n" +
|
|
"\x0fGetOpenInterest\x12\x1e.gctrpc.GetOpenInterestRequest\x1a\x1f.gctrpc.GetOpenInterestResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/getopeninterest\x12\x7f\n" +
|
|
"\x13GetCurrencyTradeURL\x12\".gctrpc.GetCurrencyTradeURLRequest\x1a#.gctrpc.GetCurrencyTradeURLResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/getcurrencytradeurlB0Z.github.com/thrasher-corp/gocryptotrader/gctrpcb\x06proto3"
|
|
|
|
var (
|
|
file_rpc_proto_rawDescOnce sync.Once
|
|
file_rpc_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_rpc_proto_rawDescGZIP() []byte {
|
|
file_rpc_proto_rawDescOnce.Do(func() {
|
|
file_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_proto_rawDesc), len(file_rpc_proto_rawDesc)))
|
|
})
|
|
return file_rpc_proto_rawDescData
|
|
}
|
|
|
|
var file_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 240)
|
|
var file_rpc_proto_goTypes = []any{
|
|
(*GetInfoRequest)(nil), // 0: gctrpc.GetInfoRequest
|
|
(*GetInfoResponse)(nil), // 1: gctrpc.GetInfoResponse
|
|
(*GetCommunicationRelayersRequest)(nil), // 2: gctrpc.GetCommunicationRelayersRequest
|
|
(*CommunicationRelayer)(nil), // 3: gctrpc.CommunicationRelayer
|
|
(*GetCommunicationRelayersResponse)(nil), // 4: gctrpc.GetCommunicationRelayersResponse
|
|
(*GenericSubsystemRequest)(nil), // 5: gctrpc.GenericSubsystemRequest
|
|
(*GetSubsystemsRequest)(nil), // 6: gctrpc.GetSubsystemsRequest
|
|
(*GetSusbsytemsResponse)(nil), // 7: gctrpc.GetSusbsytemsResponse
|
|
(*GetRPCEndpointsRequest)(nil), // 8: gctrpc.GetRPCEndpointsRequest
|
|
(*RPCEndpoint)(nil), // 9: gctrpc.RPCEndpoint
|
|
(*GetRPCEndpointsResponse)(nil), // 10: gctrpc.GetRPCEndpointsResponse
|
|
(*GenericExchangeNameRequest)(nil), // 11: gctrpc.GenericExchangeNameRequest
|
|
(*GetExchangesRequest)(nil), // 12: gctrpc.GetExchangesRequest
|
|
(*GetExchangesResponse)(nil), // 13: gctrpc.GetExchangesResponse
|
|
(*GetExchangeOTPResponse)(nil), // 14: gctrpc.GetExchangeOTPResponse
|
|
(*GetExchangeOTPsRequest)(nil), // 15: gctrpc.GetExchangeOTPsRequest
|
|
(*GetExchangeOTPsResponse)(nil), // 16: gctrpc.GetExchangeOTPsResponse
|
|
(*DisableExchangeRequest)(nil), // 17: gctrpc.DisableExchangeRequest
|
|
(*PairsSupported)(nil), // 18: gctrpc.PairsSupported
|
|
(*GetExchangeInfoResponse)(nil), // 19: gctrpc.GetExchangeInfoResponse
|
|
(*GetTickerRequest)(nil), // 20: gctrpc.GetTickerRequest
|
|
(*CurrencyPair)(nil), // 21: gctrpc.CurrencyPair
|
|
(*TickerResponse)(nil), // 22: gctrpc.TickerResponse
|
|
(*GetTickersRequest)(nil), // 23: gctrpc.GetTickersRequest
|
|
(*Tickers)(nil), // 24: gctrpc.Tickers
|
|
(*GetTickersResponse)(nil), // 25: gctrpc.GetTickersResponse
|
|
(*GetOrderbookRequest)(nil), // 26: gctrpc.GetOrderbookRequest
|
|
(*OrderbookItem)(nil), // 27: gctrpc.OrderbookItem
|
|
(*OrderbookResponse)(nil), // 28: gctrpc.OrderbookResponse
|
|
(*GetOrderbooksRequest)(nil), // 29: gctrpc.GetOrderbooksRequest
|
|
(*Orderbooks)(nil), // 30: gctrpc.Orderbooks
|
|
(*GetOrderbooksResponse)(nil), // 31: gctrpc.GetOrderbooksResponse
|
|
(*GetAccountBalancesRequest)(nil), // 32: gctrpc.GetAccountBalancesRequest
|
|
(*Account)(nil), // 33: gctrpc.Account
|
|
(*AccountCurrencyInfo)(nil), // 34: gctrpc.AccountCurrencyInfo
|
|
(*GetAccountBalancesResponse)(nil), // 35: gctrpc.GetAccountBalancesResponse
|
|
(*GetConfigRequest)(nil), // 36: gctrpc.GetConfigRequest
|
|
(*GetConfigResponse)(nil), // 37: gctrpc.GetConfigResponse
|
|
(*PortfolioAddress)(nil), // 38: gctrpc.PortfolioAddress
|
|
(*GetPortfolioRequest)(nil), // 39: gctrpc.GetPortfolioRequest
|
|
(*GetPortfolioResponse)(nil), // 40: gctrpc.GetPortfolioResponse
|
|
(*GetPortfolioSummaryRequest)(nil), // 41: gctrpc.GetPortfolioSummaryRequest
|
|
(*Coin)(nil), // 42: gctrpc.Coin
|
|
(*OfflineCoinSummary)(nil), // 43: gctrpc.OfflineCoinSummary
|
|
(*OnlineCoinSummary)(nil), // 44: gctrpc.OnlineCoinSummary
|
|
(*OfflineCoins)(nil), // 45: gctrpc.OfflineCoins
|
|
(*OnlineCoins)(nil), // 46: gctrpc.OnlineCoins
|
|
(*GetPortfolioSummaryResponse)(nil), // 47: gctrpc.GetPortfolioSummaryResponse
|
|
(*AddPortfolioAddressRequest)(nil), // 48: gctrpc.AddPortfolioAddressRequest
|
|
(*RemovePortfolioAddressRequest)(nil), // 49: gctrpc.RemovePortfolioAddressRequest
|
|
(*GetForexProvidersRequest)(nil), // 50: gctrpc.GetForexProvidersRequest
|
|
(*ForexProvider)(nil), // 51: gctrpc.ForexProvider
|
|
(*GetForexProvidersResponse)(nil), // 52: gctrpc.GetForexProvidersResponse
|
|
(*GetForexRatesRequest)(nil), // 53: gctrpc.GetForexRatesRequest
|
|
(*ForexRatesConversion)(nil), // 54: gctrpc.ForexRatesConversion
|
|
(*GetForexRatesResponse)(nil), // 55: gctrpc.GetForexRatesResponse
|
|
(*OrderDetails)(nil), // 56: gctrpc.OrderDetails
|
|
(*TradeHistory)(nil), // 57: gctrpc.TradeHistory
|
|
(*GetOrdersRequest)(nil), // 58: gctrpc.GetOrdersRequest
|
|
(*GetOrdersResponse)(nil), // 59: gctrpc.GetOrdersResponse
|
|
(*GetOrderRequest)(nil), // 60: gctrpc.GetOrderRequest
|
|
(*SubmitOrderRequest)(nil), // 61: gctrpc.SubmitOrderRequest
|
|
(*Trades)(nil), // 62: gctrpc.Trades
|
|
(*SubmitOrderResponse)(nil), // 63: gctrpc.SubmitOrderResponse
|
|
(*SimulateOrderRequest)(nil), // 64: gctrpc.SimulateOrderRequest
|
|
(*SimulateOrderResponse)(nil), // 65: gctrpc.SimulateOrderResponse
|
|
(*WhaleBombRequest)(nil), // 66: gctrpc.WhaleBombRequest
|
|
(*CancelOrderRequest)(nil), // 67: gctrpc.CancelOrderRequest
|
|
(*CancelBatchOrdersRequest)(nil), // 68: gctrpc.CancelBatchOrdersRequest
|
|
(*Orders)(nil), // 69: gctrpc.Orders
|
|
(*CancelBatchOrdersResponse)(nil), // 70: gctrpc.CancelBatchOrdersResponse
|
|
(*CancelAllOrdersRequest)(nil), // 71: gctrpc.CancelAllOrdersRequest
|
|
(*CancelAllOrdersResponse)(nil), // 72: gctrpc.CancelAllOrdersResponse
|
|
(*GetEventsRequest)(nil), // 73: gctrpc.GetEventsRequest
|
|
(*ConditionParams)(nil), // 74: gctrpc.ConditionParams
|
|
(*GetEventsResponse)(nil), // 75: gctrpc.GetEventsResponse
|
|
(*AddEventRequest)(nil), // 76: gctrpc.AddEventRequest
|
|
(*AddEventResponse)(nil), // 77: gctrpc.AddEventResponse
|
|
(*RemoveEventRequest)(nil), // 78: gctrpc.RemoveEventRequest
|
|
(*GetCryptocurrencyDepositAddressesRequest)(nil), // 79: gctrpc.GetCryptocurrencyDepositAddressesRequest
|
|
(*DepositAddress)(nil), // 80: gctrpc.DepositAddress
|
|
(*DepositAddresses)(nil), // 81: gctrpc.DepositAddresses
|
|
(*GetCryptocurrencyDepositAddressesResponse)(nil), // 82: gctrpc.GetCryptocurrencyDepositAddressesResponse
|
|
(*GetCryptocurrencyDepositAddressRequest)(nil), // 83: gctrpc.GetCryptocurrencyDepositAddressRequest
|
|
(*GetCryptocurrencyDepositAddressResponse)(nil), // 84: gctrpc.GetCryptocurrencyDepositAddressResponse
|
|
(*GetAvailableTransferChainsRequest)(nil), // 85: gctrpc.GetAvailableTransferChainsRequest
|
|
(*GetAvailableTransferChainsResponse)(nil), // 86: gctrpc.GetAvailableTransferChainsResponse
|
|
(*WithdrawFiatRequest)(nil), // 87: gctrpc.WithdrawFiatRequest
|
|
(*WithdrawCryptoRequest)(nil), // 88: gctrpc.WithdrawCryptoRequest
|
|
(*WithdrawResponse)(nil), // 89: gctrpc.WithdrawResponse
|
|
(*WithdrawalEventByIDRequest)(nil), // 90: gctrpc.WithdrawalEventByIDRequest
|
|
(*WithdrawalEventByIDResponse)(nil), // 91: gctrpc.WithdrawalEventByIDResponse
|
|
(*WithdrawalEventsByExchangeRequest)(nil), // 92: gctrpc.WithdrawalEventsByExchangeRequest
|
|
(*WithdrawalEventsByDateRequest)(nil), // 93: gctrpc.WithdrawalEventsByDateRequest
|
|
(*WithdrawalEventsByExchangeResponse)(nil), // 94: gctrpc.WithdrawalEventsByExchangeResponse
|
|
(*WithdrawalEventResponse)(nil), // 95: gctrpc.WithdrawalEventResponse
|
|
(*WithdrawlExchangeEvent)(nil), // 96: gctrpc.WithdrawlExchangeEvent
|
|
(*WithdrawalRequestEvent)(nil), // 97: gctrpc.WithdrawalRequestEvent
|
|
(*FiatWithdrawalEvent)(nil), // 98: gctrpc.FiatWithdrawalEvent
|
|
(*CryptoWithdrawalEvent)(nil), // 99: gctrpc.CryptoWithdrawalEvent
|
|
(*GetLoggerDetailsRequest)(nil), // 100: gctrpc.GetLoggerDetailsRequest
|
|
(*GetLoggerDetailsResponse)(nil), // 101: gctrpc.GetLoggerDetailsResponse
|
|
(*SetLoggerDetailsRequest)(nil), // 102: gctrpc.SetLoggerDetailsRequest
|
|
(*GetExchangePairsRequest)(nil), // 103: gctrpc.GetExchangePairsRequest
|
|
(*GetExchangePairsResponse)(nil), // 104: gctrpc.GetExchangePairsResponse
|
|
(*SetExchangePairRequest)(nil), // 105: gctrpc.SetExchangePairRequest
|
|
(*GetOrderbookStreamRequest)(nil), // 106: gctrpc.GetOrderbookStreamRequest
|
|
(*GetExchangeOrderbookStreamRequest)(nil), // 107: gctrpc.GetExchangeOrderbookStreamRequest
|
|
(*GetTickerStreamRequest)(nil), // 108: gctrpc.GetTickerStreamRequest
|
|
(*GetExchangeTickerStreamRequest)(nil), // 109: gctrpc.GetExchangeTickerStreamRequest
|
|
(*GetAuditEventRequest)(nil), // 110: gctrpc.GetAuditEventRequest
|
|
(*GetAuditEventResponse)(nil), // 111: gctrpc.GetAuditEventResponse
|
|
(*GetSavedTradesRequest)(nil), // 112: gctrpc.GetSavedTradesRequest
|
|
(*SavedTrades)(nil), // 113: gctrpc.SavedTrades
|
|
(*SavedTradesResponse)(nil), // 114: gctrpc.SavedTradesResponse
|
|
(*ConvertTradesToCandlesRequest)(nil), // 115: gctrpc.ConvertTradesToCandlesRequest
|
|
(*GetHistoricCandlesRequest)(nil), // 116: gctrpc.GetHistoricCandlesRequest
|
|
(*GetHistoricCandlesResponse)(nil), // 117: gctrpc.GetHistoricCandlesResponse
|
|
(*Candle)(nil), // 118: gctrpc.Candle
|
|
(*AuditEvent)(nil), // 119: gctrpc.AuditEvent
|
|
(*GCTScript)(nil), // 120: gctrpc.GCTScript
|
|
(*GCTScriptExecuteRequest)(nil), // 121: gctrpc.GCTScriptExecuteRequest
|
|
(*GCTScriptStopRequest)(nil), // 122: gctrpc.GCTScriptStopRequest
|
|
(*GCTScriptStopAllRequest)(nil), // 123: gctrpc.GCTScriptStopAllRequest
|
|
(*GCTScriptStatusRequest)(nil), // 124: gctrpc.GCTScriptStatusRequest
|
|
(*GCTScriptListAllRequest)(nil), // 125: gctrpc.GCTScriptListAllRequest
|
|
(*GCTScriptUploadRequest)(nil), // 126: gctrpc.GCTScriptUploadRequest
|
|
(*GCTScriptReadScriptRequest)(nil), // 127: gctrpc.GCTScriptReadScriptRequest
|
|
(*GCTScriptQueryRequest)(nil), // 128: gctrpc.GCTScriptQueryRequest
|
|
(*GCTScriptAutoLoadRequest)(nil), // 129: gctrpc.GCTScriptAutoLoadRequest
|
|
(*GCTScriptStatusResponse)(nil), // 130: gctrpc.GCTScriptStatusResponse
|
|
(*GCTScriptQueryResponse)(nil), // 131: gctrpc.GCTScriptQueryResponse
|
|
(*GenericResponse)(nil), // 132: gctrpc.GenericResponse
|
|
(*SetExchangeAssetRequest)(nil), // 133: gctrpc.SetExchangeAssetRequest
|
|
(*SetExchangeAllPairsRequest)(nil), // 134: gctrpc.SetExchangeAllPairsRequest
|
|
(*UpdateExchangeSupportedPairsRequest)(nil), // 135: gctrpc.UpdateExchangeSupportedPairsRequest
|
|
(*GetExchangeAssetsRequest)(nil), // 136: gctrpc.GetExchangeAssetsRequest
|
|
(*GetExchangeAssetsResponse)(nil), // 137: gctrpc.GetExchangeAssetsResponse
|
|
(*WebsocketGetInfoRequest)(nil), // 138: gctrpc.WebsocketGetInfoRequest
|
|
(*WebsocketGetInfoResponse)(nil), // 139: gctrpc.WebsocketGetInfoResponse
|
|
(*WebsocketSetEnabledRequest)(nil), // 140: gctrpc.WebsocketSetEnabledRequest
|
|
(*WebsocketGetSubscriptionsRequest)(nil), // 141: gctrpc.WebsocketGetSubscriptionsRequest
|
|
(*WebsocketSubscription)(nil), // 142: gctrpc.WebsocketSubscription
|
|
(*WebsocketGetSubscriptionsResponse)(nil), // 143: gctrpc.WebsocketGetSubscriptionsResponse
|
|
(*WebsocketSetProxyRequest)(nil), // 144: gctrpc.WebsocketSetProxyRequest
|
|
(*WebsocketSetURLRequest)(nil), // 145: gctrpc.WebsocketSetURLRequest
|
|
(*FindMissingCandlePeriodsRequest)(nil), // 146: gctrpc.FindMissingCandlePeriodsRequest
|
|
(*FindMissingTradePeriodsRequest)(nil), // 147: gctrpc.FindMissingTradePeriodsRequest
|
|
(*FindMissingIntervalsResponse)(nil), // 148: gctrpc.FindMissingIntervalsResponse
|
|
(*SetExchangeTradeProcessingRequest)(nil), // 149: gctrpc.SetExchangeTradeProcessingRequest
|
|
(*UpsertDataHistoryJobRequest)(nil), // 150: gctrpc.UpsertDataHistoryJobRequest
|
|
(*InsertSequentialJobsRequest)(nil), // 151: gctrpc.InsertSequentialJobsRequest
|
|
(*InsertSequentialJobsResponse)(nil), // 152: gctrpc.InsertSequentialJobsResponse
|
|
(*UpsertDataHistoryJobResponse)(nil), // 153: gctrpc.UpsertDataHistoryJobResponse
|
|
(*GetDataHistoryJobDetailsRequest)(nil), // 154: gctrpc.GetDataHistoryJobDetailsRequest
|
|
(*DataHistoryJob)(nil), // 155: gctrpc.DataHistoryJob
|
|
(*DataHistoryJobResult)(nil), // 156: gctrpc.DataHistoryJobResult
|
|
(*DataHistoryJobs)(nil), // 157: gctrpc.DataHistoryJobs
|
|
(*GetDataHistoryJobsBetweenRequest)(nil), // 158: gctrpc.GetDataHistoryJobsBetweenRequest
|
|
(*SetDataHistoryJobStatusRequest)(nil), // 159: gctrpc.SetDataHistoryJobStatusRequest
|
|
(*UpdateDataHistoryJobPrerequisiteRequest)(nil), // 160: gctrpc.UpdateDataHistoryJobPrerequisiteRequest
|
|
(*ModifyOrderRequest)(nil), // 161: gctrpc.ModifyOrderRequest
|
|
(*ModifyOrderResponse)(nil), // 162: gctrpc.ModifyOrderResponse
|
|
(*CurrencyStateGetAllRequest)(nil), // 163: gctrpc.CurrencyStateGetAllRequest
|
|
(*CurrencyStateTradingRequest)(nil), // 164: gctrpc.CurrencyStateTradingRequest
|
|
(*CurrencyStateTradingPairRequest)(nil), // 165: gctrpc.CurrencyStateTradingPairRequest
|
|
(*CurrencyStateWithdrawRequest)(nil), // 166: gctrpc.CurrencyStateWithdrawRequest
|
|
(*CurrencyStateDepositRequest)(nil), // 167: gctrpc.CurrencyStateDepositRequest
|
|
(*CurrencyStateResponse)(nil), // 168: gctrpc.CurrencyStateResponse
|
|
(*CurrencyState)(nil), // 169: gctrpc.CurrencyState
|
|
(*FundingRate)(nil), // 170: gctrpc.FundingRate
|
|
(*FundingData)(nil), // 171: gctrpc.FundingData
|
|
(*FuturesPositionStats)(nil), // 172: gctrpc.FuturesPositionStats
|
|
(*FuturePosition)(nil), // 173: gctrpc.FuturePosition
|
|
(*GetManagedPositionRequest)(nil), // 174: gctrpc.GetManagedPositionRequest
|
|
(*GetAllManagedPositionsRequest)(nil), // 175: gctrpc.GetAllManagedPositionsRequest
|
|
(*GetManagedPositionsResponse)(nil), // 176: gctrpc.GetManagedPositionsResponse
|
|
(*GetFuturesPositionsSummaryRequest)(nil), // 177: gctrpc.GetFuturesPositionsSummaryRequest
|
|
(*GetFuturesPositionsSummaryResponse)(nil), // 178: gctrpc.GetFuturesPositionsSummaryResponse
|
|
(*GetFuturesPositionsOrdersRequest)(nil), // 179: gctrpc.GetFuturesPositionsOrdersRequest
|
|
(*GetFuturesPositionsOrdersResponse)(nil), // 180: gctrpc.GetFuturesPositionsOrdersResponse
|
|
(*GetCollateralModeRequest)(nil), // 181: gctrpc.GetCollateralModeRequest
|
|
(*GetCollateralModeResponse)(nil), // 182: gctrpc.GetCollateralModeResponse
|
|
(*SetCollateralModeRequest)(nil), // 183: gctrpc.SetCollateralModeRequest
|
|
(*SetCollateralModeResponse)(nil), // 184: gctrpc.SetCollateralModeResponse
|
|
(*GetMarginTypeRequest)(nil), // 185: gctrpc.GetMarginTypeRequest
|
|
(*GetMarginTypeResponse)(nil), // 186: gctrpc.GetMarginTypeResponse
|
|
(*ChangePositionMarginRequest)(nil), // 187: gctrpc.ChangePositionMarginRequest
|
|
(*ChangePositionMarginResponse)(nil), // 188: gctrpc.ChangePositionMarginResponse
|
|
(*SetMarginTypeRequest)(nil), // 189: gctrpc.SetMarginTypeRequest
|
|
(*SetMarginTypeResponse)(nil), // 190: gctrpc.SetMarginTypeResponse
|
|
(*GetLeverageRequest)(nil), // 191: gctrpc.GetLeverageRequest
|
|
(*GetLeverageResponse)(nil), // 192: gctrpc.GetLeverageResponse
|
|
(*SetLeverageRequest)(nil), // 193: gctrpc.SetLeverageRequest
|
|
(*SetLeverageResponse)(nil), // 194: gctrpc.SetLeverageResponse
|
|
(*GetCollateralRequest)(nil), // 195: gctrpc.GetCollateralRequest
|
|
(*GetCollateralResponse)(nil), // 196: gctrpc.GetCollateralResponse
|
|
(*CollateralForCurrency)(nil), // 197: gctrpc.CollateralForCurrency
|
|
(*CollateralByPosition)(nil), // 198: gctrpc.CollateralByPosition
|
|
(*CollateralUsedBreakdown)(nil), // 199: gctrpc.CollateralUsedBreakdown
|
|
(*GetFundingRatesRequest)(nil), // 200: gctrpc.GetFundingRatesRequest
|
|
(*GetFundingRatesResponse)(nil), // 201: gctrpc.GetFundingRatesResponse
|
|
(*GetLatestFundingRateRequest)(nil), // 202: gctrpc.GetLatestFundingRateRequest
|
|
(*GetLatestFundingRateResponse)(nil), // 203: gctrpc.GetLatestFundingRateResponse
|
|
(*ShutdownRequest)(nil), // 204: gctrpc.ShutdownRequest
|
|
(*ShutdownResponse)(nil), // 205: gctrpc.ShutdownResponse
|
|
(*GetTechnicalAnalysisRequest)(nil), // 206: gctrpc.GetTechnicalAnalysisRequest
|
|
(*ListOfSignals)(nil), // 207: gctrpc.ListOfSignals
|
|
(*GetTechnicalAnalysisResponse)(nil), // 208: gctrpc.GetTechnicalAnalysisResponse
|
|
(*GetMarginRatesHistoryRequest)(nil), // 209: gctrpc.GetMarginRatesHistoryRequest
|
|
(*LendingPayment)(nil), // 210: gctrpc.LendingPayment
|
|
(*BorrowCost)(nil), // 211: gctrpc.BorrowCost
|
|
(*MarginRate)(nil), // 212: gctrpc.MarginRate
|
|
(*GetMarginRatesHistoryResponse)(nil), // 213: gctrpc.GetMarginRatesHistoryResponse
|
|
(*GetOrderbookMovementRequest)(nil), // 214: gctrpc.GetOrderbookMovementRequest
|
|
(*GetOrderbookMovementResponse)(nil), // 215: gctrpc.GetOrderbookMovementResponse
|
|
(*GetOrderbookAmountByNominalRequest)(nil), // 216: gctrpc.GetOrderbookAmountByNominalRequest
|
|
(*GetOrderbookAmountByNominalResponse)(nil), // 217: gctrpc.GetOrderbookAmountByNominalResponse
|
|
(*GetOrderbookAmountByImpactRequest)(nil), // 218: gctrpc.GetOrderbookAmountByImpactRequest
|
|
(*GetOrderbookAmountByImpactResponse)(nil), // 219: gctrpc.GetOrderbookAmountByImpactResponse
|
|
(*GetOpenInterestRequest)(nil), // 220: gctrpc.GetOpenInterestRequest
|
|
(*OpenInterestDataRequest)(nil), // 221: gctrpc.OpenInterestDataRequest
|
|
(*GetOpenInterestResponse)(nil), // 222: gctrpc.GetOpenInterestResponse
|
|
(*OpenInterestDataResponse)(nil), // 223: gctrpc.OpenInterestDataResponse
|
|
(*GetCurrencyTradeURLRequest)(nil), // 224: gctrpc.GetCurrencyTradeURLRequest
|
|
(*GetCurrencyTradeURLResponse)(nil), // 225: gctrpc.GetCurrencyTradeURLResponse
|
|
nil, // 226: gctrpc.GetInfoResponse.SubsystemStatusEntry
|
|
nil, // 227: gctrpc.GetInfoResponse.RpcEndpointsEntry
|
|
nil, // 228: gctrpc.GetCommunicationRelayersResponse.CommunicationRelayersEntry
|
|
nil, // 229: gctrpc.GetSusbsytemsResponse.SubsystemsStatusEntry
|
|
nil, // 230: gctrpc.GetRPCEndpointsResponse.EndpointsEntry
|
|
nil, // 231: gctrpc.GetExchangeOTPsResponse.OtpCodesEntry
|
|
nil, // 232: gctrpc.GetExchangeInfoResponse.SupportedAssetsEntry
|
|
nil, // 233: gctrpc.OnlineCoins.CoinsEntry
|
|
nil, // 234: gctrpc.GetPortfolioSummaryResponse.CoinsOfflineSummaryEntry
|
|
nil, // 235: gctrpc.GetPortfolioSummaryResponse.CoinsOnlineSummaryEntry
|
|
nil, // 236: gctrpc.Orders.OrderStatusEntry
|
|
nil, // 237: gctrpc.GetCryptocurrencyDepositAddressesResponse.AddressesEntry
|
|
nil, // 238: gctrpc.GetExchangePairsResponse.SupportedAssetsEntry
|
|
nil, // 239: gctrpc.GetTechnicalAnalysisResponse.SignalsEntry
|
|
(*timestamppb.Timestamp)(nil), // 240: google.protobuf.Timestamp
|
|
}
|
|
var file_rpc_proto_depIdxs = []int32{
|
|
226, // 0: gctrpc.GetInfoResponse.subsystem_status:type_name -> gctrpc.GetInfoResponse.SubsystemStatusEntry
|
|
227, // 1: gctrpc.GetInfoResponse.rpc_endpoints:type_name -> gctrpc.GetInfoResponse.RpcEndpointsEntry
|
|
228, // 2: gctrpc.GetCommunicationRelayersResponse.communication_relayers:type_name -> gctrpc.GetCommunicationRelayersResponse.CommunicationRelayersEntry
|
|
229, // 3: gctrpc.GetSusbsytemsResponse.subsystems_status:type_name -> gctrpc.GetSusbsytemsResponse.SubsystemsStatusEntry
|
|
230, // 4: gctrpc.GetRPCEndpointsResponse.endpoints:type_name -> gctrpc.GetRPCEndpointsResponse.EndpointsEntry
|
|
231, // 5: gctrpc.GetExchangeOTPsResponse.otp_codes:type_name -> gctrpc.GetExchangeOTPsResponse.OtpCodesEntry
|
|
232, // 6: gctrpc.GetExchangeInfoResponse.supported_assets:type_name -> gctrpc.GetExchangeInfoResponse.SupportedAssetsEntry
|
|
21, // 7: gctrpc.GetTickerRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 8: gctrpc.TickerResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
22, // 9: gctrpc.Tickers.tickers:type_name -> gctrpc.TickerResponse
|
|
24, // 10: gctrpc.GetTickersResponse.tickers:type_name -> gctrpc.Tickers
|
|
21, // 11: gctrpc.GetOrderbookRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 12: gctrpc.OrderbookResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
27, // 13: gctrpc.OrderbookResponse.bids:type_name -> gctrpc.OrderbookItem
|
|
27, // 14: gctrpc.OrderbookResponse.asks:type_name -> gctrpc.OrderbookItem
|
|
28, // 15: gctrpc.Orderbooks.orderbooks:type_name -> gctrpc.OrderbookResponse
|
|
30, // 16: gctrpc.GetOrderbooksResponse.orderbooks:type_name -> gctrpc.Orderbooks
|
|
34, // 17: gctrpc.Account.currencies:type_name -> gctrpc.AccountCurrencyInfo
|
|
240, // 18: gctrpc.AccountCurrencyInfo.updated_at:type_name -> google.protobuf.Timestamp
|
|
33, // 19: gctrpc.GetAccountBalancesResponse.accounts:type_name -> gctrpc.Account
|
|
38, // 20: gctrpc.GetPortfolioResponse.portfolio:type_name -> gctrpc.PortfolioAddress
|
|
43, // 21: gctrpc.OfflineCoins.addresses:type_name -> gctrpc.OfflineCoinSummary
|
|
233, // 22: gctrpc.OnlineCoins.coins:type_name -> gctrpc.OnlineCoins.CoinsEntry
|
|
42, // 23: gctrpc.GetPortfolioSummaryResponse.coin_totals:type_name -> gctrpc.Coin
|
|
42, // 24: gctrpc.GetPortfolioSummaryResponse.coins_offline:type_name -> gctrpc.Coin
|
|
234, // 25: gctrpc.GetPortfolioSummaryResponse.coins_offline_summary:type_name -> gctrpc.GetPortfolioSummaryResponse.CoinsOfflineSummaryEntry
|
|
42, // 26: gctrpc.GetPortfolioSummaryResponse.coins_online:type_name -> gctrpc.Coin
|
|
235, // 27: gctrpc.GetPortfolioSummaryResponse.coins_online_summary:type_name -> gctrpc.GetPortfolioSummaryResponse.CoinsOnlineSummaryEntry
|
|
51, // 28: gctrpc.GetForexProvidersResponse.forex_providers:type_name -> gctrpc.ForexProvider
|
|
54, // 29: gctrpc.GetForexRatesResponse.forex_rates:type_name -> gctrpc.ForexRatesConversion
|
|
57, // 30: gctrpc.OrderDetails.trades:type_name -> gctrpc.TradeHistory
|
|
21, // 31: gctrpc.GetOrdersRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
56, // 32: gctrpc.GetOrdersResponse.orders:type_name -> gctrpc.OrderDetails
|
|
21, // 33: gctrpc.GetOrderRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 34: gctrpc.SubmitOrderRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
62, // 35: gctrpc.SubmitOrderResponse.trades:type_name -> gctrpc.Trades
|
|
21, // 36: gctrpc.SimulateOrderRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
27, // 37: gctrpc.SimulateOrderResponse.orders:type_name -> gctrpc.OrderbookItem
|
|
21, // 38: gctrpc.WhaleBombRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 39: gctrpc.CancelOrderRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 40: gctrpc.CancelBatchOrdersRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
236, // 41: gctrpc.Orders.order_status:type_name -> gctrpc.Orders.OrderStatusEntry
|
|
69, // 42: gctrpc.CancelBatchOrdersResponse.orders:type_name -> gctrpc.Orders
|
|
69, // 43: gctrpc.CancelAllOrdersResponse.orders:type_name -> gctrpc.Orders
|
|
74, // 44: gctrpc.GetEventsResponse.condition_params:type_name -> gctrpc.ConditionParams
|
|
21, // 45: gctrpc.GetEventsResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
74, // 46: gctrpc.AddEventRequest.condition_params:type_name -> gctrpc.ConditionParams
|
|
21, // 47: gctrpc.AddEventRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
80, // 48: gctrpc.DepositAddresses.addresses:type_name -> gctrpc.DepositAddress
|
|
237, // 49: gctrpc.GetCryptocurrencyDepositAddressesResponse.addresses:type_name -> gctrpc.GetCryptocurrencyDepositAddressesResponse.AddressesEntry
|
|
95, // 50: gctrpc.WithdrawalEventByIDResponse.event:type_name -> gctrpc.WithdrawalEventResponse
|
|
95, // 51: gctrpc.WithdrawalEventsByExchangeResponse.event:type_name -> gctrpc.WithdrawalEventResponse
|
|
96, // 52: gctrpc.WithdrawalEventResponse.exchange:type_name -> gctrpc.WithdrawlExchangeEvent
|
|
97, // 53: gctrpc.WithdrawalEventResponse.request:type_name -> gctrpc.WithdrawalRequestEvent
|
|
240, // 54: gctrpc.WithdrawalEventResponse.created_at:type_name -> google.protobuf.Timestamp
|
|
240, // 55: gctrpc.WithdrawalEventResponse.updated_at:type_name -> google.protobuf.Timestamp
|
|
98, // 56: gctrpc.WithdrawalRequestEvent.fiat:type_name -> gctrpc.FiatWithdrawalEvent
|
|
99, // 57: gctrpc.WithdrawalRequestEvent.crypto:type_name -> gctrpc.CryptoWithdrawalEvent
|
|
238, // 58: gctrpc.GetExchangePairsResponse.supported_assets:type_name -> gctrpc.GetExchangePairsResponse.SupportedAssetsEntry
|
|
21, // 59: gctrpc.SetExchangePairRequest.pairs:type_name -> gctrpc.CurrencyPair
|
|
21, // 60: gctrpc.GetOrderbookStreamRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 61: gctrpc.GetTickerStreamRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
119, // 62: gctrpc.GetAuditEventResponse.events:type_name -> gctrpc.AuditEvent
|
|
21, // 63: gctrpc.GetSavedTradesRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 64: gctrpc.SavedTradesResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
113, // 65: gctrpc.SavedTradesResponse.trades:type_name -> gctrpc.SavedTrades
|
|
21, // 66: gctrpc.ConvertTradesToCandlesRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 67: gctrpc.GetHistoricCandlesRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 68: gctrpc.GetHistoricCandlesResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
118, // 69: gctrpc.GetHistoricCandlesResponse.candle:type_name -> gctrpc.Candle
|
|
120, // 70: gctrpc.GCTScriptExecuteRequest.script:type_name -> gctrpc.GCTScript
|
|
120, // 71: gctrpc.GCTScriptStopRequest.script:type_name -> gctrpc.GCTScript
|
|
120, // 72: gctrpc.GCTScriptReadScriptRequest.script:type_name -> gctrpc.GCTScript
|
|
120, // 73: gctrpc.GCTScriptQueryRequest.script:type_name -> gctrpc.GCTScript
|
|
120, // 74: gctrpc.GCTScriptStatusResponse.scripts:type_name -> gctrpc.GCTScript
|
|
120, // 75: gctrpc.GCTScriptQueryResponse.script:type_name -> gctrpc.GCTScript
|
|
142, // 76: gctrpc.WebsocketGetSubscriptionsResponse.subscriptions:type_name -> gctrpc.WebsocketSubscription
|
|
21, // 77: gctrpc.FindMissingCandlePeriodsRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 78: gctrpc.FindMissingTradePeriodsRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 79: gctrpc.FindMissingIntervalsResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 80: gctrpc.UpsertDataHistoryJobRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
150, // 81: gctrpc.InsertSequentialJobsRequest.jobs:type_name -> gctrpc.UpsertDataHistoryJobRequest
|
|
153, // 82: gctrpc.InsertSequentialJobsResponse.jobs:type_name -> gctrpc.UpsertDataHistoryJobResponse
|
|
21, // 83: gctrpc.DataHistoryJob.pair:type_name -> gctrpc.CurrencyPair
|
|
156, // 84: gctrpc.DataHistoryJob.job_results:type_name -> gctrpc.DataHistoryJobResult
|
|
155, // 85: gctrpc.DataHistoryJobs.results:type_name -> gctrpc.DataHistoryJob
|
|
21, // 86: gctrpc.ModifyOrderRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
169, // 87: gctrpc.CurrencyStateResponse.currency_states:type_name -> gctrpc.CurrencyState
|
|
21, // 88: gctrpc.FundingData.pair:type_name -> gctrpc.CurrencyPair
|
|
170, // 89: gctrpc.FundingData.rates:type_name -> gctrpc.FundingRate
|
|
170, // 90: gctrpc.FundingData.latest_rate:type_name -> gctrpc.FundingRate
|
|
170, // 91: gctrpc.FundingData.upcoming_rate:type_name -> gctrpc.FundingRate
|
|
21, // 92: gctrpc.FuturePosition.pair:type_name -> gctrpc.CurrencyPair
|
|
56, // 93: gctrpc.FuturePosition.orders:type_name -> gctrpc.OrderDetails
|
|
172, // 94: gctrpc.FuturePosition.position_stats:type_name -> gctrpc.FuturesPositionStats
|
|
171, // 95: gctrpc.FuturePosition.funding_data:type_name -> gctrpc.FundingData
|
|
21, // 96: gctrpc.GetManagedPositionRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
173, // 97: gctrpc.GetManagedPositionsResponse.positions:type_name -> gctrpc.FuturePosition
|
|
21, // 98: gctrpc.GetFuturesPositionsSummaryRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 99: gctrpc.GetFuturesPositionsSummaryRequest.underlying_pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 100: gctrpc.GetFuturesPositionsSummaryResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
172, // 101: gctrpc.GetFuturesPositionsSummaryResponse.position_stats:type_name -> gctrpc.FuturesPositionStats
|
|
21, // 102: gctrpc.GetFuturesPositionsOrdersRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 103: gctrpc.GetFuturesPositionsOrdersRequest.underlying_pair:type_name -> gctrpc.CurrencyPair
|
|
173, // 104: gctrpc.GetFuturesPositionsOrdersResponse.positions:type_name -> gctrpc.FuturePosition
|
|
21, // 105: gctrpc.GetMarginTypeRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 106: gctrpc.GetMarginTypeResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 107: gctrpc.ChangePositionMarginRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 108: gctrpc.ChangePositionMarginResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 109: gctrpc.SetMarginTypeRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 110: gctrpc.SetMarginTypeResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 111: gctrpc.GetLeverageRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 112: gctrpc.GetLeverageRequest.underlying_pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 113: gctrpc.GetLeverageResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 114: gctrpc.GetLeverageResponse.underlying_pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 115: gctrpc.SetLeverageRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 116: gctrpc.SetLeverageRequest.underlying_pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 117: gctrpc.SetLeverageResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 118: gctrpc.SetLeverageResponse.underlying_pair:type_name -> gctrpc.CurrencyPair
|
|
199, // 119: gctrpc.GetCollateralResponse.used_breakdown:type_name -> gctrpc.CollateralUsedBreakdown
|
|
197, // 120: gctrpc.GetCollateralResponse.currency_breakdown:type_name -> gctrpc.CollateralForCurrency
|
|
198, // 121: gctrpc.GetCollateralResponse.position_breakdown:type_name -> gctrpc.CollateralByPosition
|
|
199, // 122: gctrpc.CollateralForCurrency.used_breakdown:type_name -> gctrpc.CollateralUsedBreakdown
|
|
21, // 123: gctrpc.GetFundingRatesRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
171, // 124: gctrpc.GetFundingRatesResponse.rates:type_name -> gctrpc.FundingData
|
|
21, // 125: gctrpc.GetLatestFundingRateRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
171, // 126: gctrpc.GetLatestFundingRateResponse.rate:type_name -> gctrpc.FundingData
|
|
21, // 127: gctrpc.GetTechnicalAnalysisRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
240, // 128: gctrpc.GetTechnicalAnalysisRequest.start:type_name -> google.protobuf.Timestamp
|
|
240, // 129: gctrpc.GetTechnicalAnalysisRequest.end:type_name -> google.protobuf.Timestamp
|
|
21, // 130: gctrpc.GetTechnicalAnalysisRequest.other_pair:type_name -> gctrpc.CurrencyPair
|
|
239, // 131: gctrpc.GetTechnicalAnalysisResponse.signals:type_name -> gctrpc.GetTechnicalAnalysisResponse.SignalsEntry
|
|
212, // 132: gctrpc.GetMarginRatesHistoryRequest.rates:type_name -> gctrpc.MarginRate
|
|
210, // 133: gctrpc.MarginRate.lending_payment:type_name -> gctrpc.LendingPayment
|
|
211, // 134: gctrpc.MarginRate.borrow_cost:type_name -> gctrpc.BorrowCost
|
|
212, // 135: gctrpc.GetMarginRatesHistoryResponse.rates:type_name -> gctrpc.MarginRate
|
|
212, // 136: gctrpc.GetMarginRatesHistoryResponse.latest_rate:type_name -> gctrpc.MarginRate
|
|
212, // 137: gctrpc.GetMarginRatesHistoryResponse.predicted_rate:type_name -> gctrpc.MarginRate
|
|
21, // 138: gctrpc.GetOrderbookMovementRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 139: gctrpc.GetOrderbookAmountByNominalRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 140: gctrpc.GetOrderbookAmountByImpactRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
221, // 141: gctrpc.GetOpenInterestRequest.data:type_name -> gctrpc.OpenInterestDataRequest
|
|
21, // 142: gctrpc.OpenInterestDataRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
223, // 143: gctrpc.GetOpenInterestResponse.data:type_name -> gctrpc.OpenInterestDataResponse
|
|
21, // 144: gctrpc.OpenInterestDataResponse.pair:type_name -> gctrpc.CurrencyPair
|
|
21, // 145: gctrpc.GetCurrencyTradeURLRequest.pair:type_name -> gctrpc.CurrencyPair
|
|
9, // 146: gctrpc.GetInfoResponse.RpcEndpointsEntry.value:type_name -> gctrpc.RPCEndpoint
|
|
3, // 147: gctrpc.GetCommunicationRelayersResponse.CommunicationRelayersEntry.value:type_name -> gctrpc.CommunicationRelayer
|
|
9, // 148: gctrpc.GetRPCEndpointsResponse.EndpointsEntry.value:type_name -> gctrpc.RPCEndpoint
|
|
18, // 149: gctrpc.GetExchangeInfoResponse.SupportedAssetsEntry.value:type_name -> gctrpc.PairsSupported
|
|
44, // 150: gctrpc.OnlineCoins.CoinsEntry.value:type_name -> gctrpc.OnlineCoinSummary
|
|
45, // 151: gctrpc.GetPortfolioSummaryResponse.CoinsOfflineSummaryEntry.value:type_name -> gctrpc.OfflineCoins
|
|
46, // 152: gctrpc.GetPortfolioSummaryResponse.CoinsOnlineSummaryEntry.value:type_name -> gctrpc.OnlineCoins
|
|
81, // 153: gctrpc.GetCryptocurrencyDepositAddressesResponse.AddressesEntry.value:type_name -> gctrpc.DepositAddresses
|
|
18, // 154: gctrpc.GetExchangePairsResponse.SupportedAssetsEntry.value:type_name -> gctrpc.PairsSupported
|
|
207, // 155: gctrpc.GetTechnicalAnalysisResponse.SignalsEntry.value:type_name -> gctrpc.ListOfSignals
|
|
0, // 156: gctrpc.GoCryptoTraderService.GetInfo:input_type -> gctrpc.GetInfoRequest
|
|
6, // 157: gctrpc.GoCryptoTraderService.GetSubsystems:input_type -> gctrpc.GetSubsystemsRequest
|
|
5, // 158: gctrpc.GoCryptoTraderService.EnableSubsystem:input_type -> gctrpc.GenericSubsystemRequest
|
|
5, // 159: gctrpc.GoCryptoTraderService.DisableSubsystem:input_type -> gctrpc.GenericSubsystemRequest
|
|
8, // 160: gctrpc.GoCryptoTraderService.GetRPCEndpoints:input_type -> gctrpc.GetRPCEndpointsRequest
|
|
2, // 161: gctrpc.GoCryptoTraderService.GetCommunicationRelayers:input_type -> gctrpc.GetCommunicationRelayersRequest
|
|
12, // 162: gctrpc.GoCryptoTraderService.GetExchanges:input_type -> gctrpc.GetExchangesRequest
|
|
11, // 163: gctrpc.GoCryptoTraderService.DisableExchange:input_type -> gctrpc.GenericExchangeNameRequest
|
|
11, // 164: gctrpc.GoCryptoTraderService.GetExchangeInfo:input_type -> gctrpc.GenericExchangeNameRequest
|
|
11, // 165: gctrpc.GoCryptoTraderService.GetExchangeOTPCode:input_type -> gctrpc.GenericExchangeNameRequest
|
|
15, // 166: gctrpc.GoCryptoTraderService.GetExchangeOTPCodes:input_type -> gctrpc.GetExchangeOTPsRequest
|
|
11, // 167: gctrpc.GoCryptoTraderService.EnableExchange:input_type -> gctrpc.GenericExchangeNameRequest
|
|
20, // 168: gctrpc.GoCryptoTraderService.GetTicker:input_type -> gctrpc.GetTickerRequest
|
|
23, // 169: gctrpc.GoCryptoTraderService.GetTickers:input_type -> gctrpc.GetTickersRequest
|
|
26, // 170: gctrpc.GoCryptoTraderService.GetOrderbook:input_type -> gctrpc.GetOrderbookRequest
|
|
29, // 171: gctrpc.GoCryptoTraderService.GetOrderbooks:input_type -> gctrpc.GetOrderbooksRequest
|
|
32, // 172: gctrpc.GoCryptoTraderService.GetAccountBalances:input_type -> gctrpc.GetAccountBalancesRequest
|
|
32, // 173: gctrpc.GoCryptoTraderService.UpdateAccountBalances:input_type -> gctrpc.GetAccountBalancesRequest
|
|
32, // 174: gctrpc.GoCryptoTraderService.GetAccountBalancesStream:input_type -> gctrpc.GetAccountBalancesRequest
|
|
36, // 175: gctrpc.GoCryptoTraderService.GetConfig:input_type -> gctrpc.GetConfigRequest
|
|
39, // 176: gctrpc.GoCryptoTraderService.GetPortfolio:input_type -> gctrpc.GetPortfolioRequest
|
|
41, // 177: gctrpc.GoCryptoTraderService.GetPortfolioSummary:input_type -> gctrpc.GetPortfolioSummaryRequest
|
|
48, // 178: gctrpc.GoCryptoTraderService.AddPortfolioAddress:input_type -> gctrpc.AddPortfolioAddressRequest
|
|
49, // 179: gctrpc.GoCryptoTraderService.RemovePortfolioAddress:input_type -> gctrpc.RemovePortfolioAddressRequest
|
|
50, // 180: gctrpc.GoCryptoTraderService.GetForexProviders:input_type -> gctrpc.GetForexProvidersRequest
|
|
53, // 181: gctrpc.GoCryptoTraderService.GetForexRates:input_type -> gctrpc.GetForexRatesRequest
|
|
58, // 182: gctrpc.GoCryptoTraderService.GetOrders:input_type -> gctrpc.GetOrdersRequest
|
|
60, // 183: gctrpc.GoCryptoTraderService.GetOrder:input_type -> gctrpc.GetOrderRequest
|
|
61, // 184: gctrpc.GoCryptoTraderService.SubmitOrder:input_type -> gctrpc.SubmitOrderRequest
|
|
64, // 185: gctrpc.GoCryptoTraderService.SimulateOrder:input_type -> gctrpc.SimulateOrderRequest
|
|
66, // 186: gctrpc.GoCryptoTraderService.WhaleBomb:input_type -> gctrpc.WhaleBombRequest
|
|
67, // 187: gctrpc.GoCryptoTraderService.CancelOrder:input_type -> gctrpc.CancelOrderRequest
|
|
68, // 188: gctrpc.GoCryptoTraderService.CancelBatchOrders:input_type -> gctrpc.CancelBatchOrdersRequest
|
|
71, // 189: gctrpc.GoCryptoTraderService.CancelAllOrders:input_type -> gctrpc.CancelAllOrdersRequest
|
|
73, // 190: gctrpc.GoCryptoTraderService.GetEvents:input_type -> gctrpc.GetEventsRequest
|
|
76, // 191: gctrpc.GoCryptoTraderService.AddEvent:input_type -> gctrpc.AddEventRequest
|
|
78, // 192: gctrpc.GoCryptoTraderService.RemoveEvent:input_type -> gctrpc.RemoveEventRequest
|
|
79, // 193: gctrpc.GoCryptoTraderService.GetCryptocurrencyDepositAddresses:input_type -> gctrpc.GetCryptocurrencyDepositAddressesRequest
|
|
83, // 194: gctrpc.GoCryptoTraderService.GetCryptocurrencyDepositAddress:input_type -> gctrpc.GetCryptocurrencyDepositAddressRequest
|
|
85, // 195: gctrpc.GoCryptoTraderService.GetAvailableTransferChains:input_type -> gctrpc.GetAvailableTransferChainsRequest
|
|
87, // 196: gctrpc.GoCryptoTraderService.WithdrawFiatFunds:input_type -> gctrpc.WithdrawFiatRequest
|
|
88, // 197: gctrpc.GoCryptoTraderService.WithdrawCryptocurrencyFunds:input_type -> gctrpc.WithdrawCryptoRequest
|
|
90, // 198: gctrpc.GoCryptoTraderService.WithdrawalEventByID:input_type -> gctrpc.WithdrawalEventByIDRequest
|
|
92, // 199: gctrpc.GoCryptoTraderService.WithdrawalEventsByExchange:input_type -> gctrpc.WithdrawalEventsByExchangeRequest
|
|
93, // 200: gctrpc.GoCryptoTraderService.WithdrawalEventsByDate:input_type -> gctrpc.WithdrawalEventsByDateRequest
|
|
100, // 201: gctrpc.GoCryptoTraderService.GetLoggerDetails:input_type -> gctrpc.GetLoggerDetailsRequest
|
|
102, // 202: gctrpc.GoCryptoTraderService.SetLoggerDetails:input_type -> gctrpc.SetLoggerDetailsRequest
|
|
103, // 203: gctrpc.GoCryptoTraderService.GetExchangePairs:input_type -> gctrpc.GetExchangePairsRequest
|
|
105, // 204: gctrpc.GoCryptoTraderService.SetExchangePair:input_type -> gctrpc.SetExchangePairRequest
|
|
106, // 205: gctrpc.GoCryptoTraderService.GetOrderbookStream:input_type -> gctrpc.GetOrderbookStreamRequest
|
|
107, // 206: gctrpc.GoCryptoTraderService.GetExchangeOrderbookStream:input_type -> gctrpc.GetExchangeOrderbookStreamRequest
|
|
108, // 207: gctrpc.GoCryptoTraderService.GetTickerStream:input_type -> gctrpc.GetTickerStreamRequest
|
|
109, // 208: gctrpc.GoCryptoTraderService.GetExchangeTickerStream:input_type -> gctrpc.GetExchangeTickerStreamRequest
|
|
110, // 209: gctrpc.GoCryptoTraderService.GetAuditEvent:input_type -> gctrpc.GetAuditEventRequest
|
|
121, // 210: gctrpc.GoCryptoTraderService.GCTScriptExecute:input_type -> gctrpc.GCTScriptExecuteRequest
|
|
126, // 211: gctrpc.GoCryptoTraderService.GCTScriptUpload:input_type -> gctrpc.GCTScriptUploadRequest
|
|
127, // 212: gctrpc.GoCryptoTraderService.GCTScriptReadScript:input_type -> gctrpc.GCTScriptReadScriptRequest
|
|
124, // 213: gctrpc.GoCryptoTraderService.GCTScriptStatus:input_type -> gctrpc.GCTScriptStatusRequest
|
|
128, // 214: gctrpc.GoCryptoTraderService.GCTScriptQuery:input_type -> gctrpc.GCTScriptQueryRequest
|
|
122, // 215: gctrpc.GoCryptoTraderService.GCTScriptStop:input_type -> gctrpc.GCTScriptStopRequest
|
|
123, // 216: gctrpc.GoCryptoTraderService.GCTScriptStopAll:input_type -> gctrpc.GCTScriptStopAllRequest
|
|
125, // 217: gctrpc.GoCryptoTraderService.GCTScriptListAll:input_type -> gctrpc.GCTScriptListAllRequest
|
|
129, // 218: gctrpc.GoCryptoTraderService.GCTScriptAutoLoadToggle:input_type -> gctrpc.GCTScriptAutoLoadRequest
|
|
116, // 219: gctrpc.GoCryptoTraderService.GetHistoricCandles:input_type -> gctrpc.GetHistoricCandlesRequest
|
|
133, // 220: gctrpc.GoCryptoTraderService.SetExchangeAsset:input_type -> gctrpc.SetExchangeAssetRequest
|
|
134, // 221: gctrpc.GoCryptoTraderService.SetAllExchangePairs:input_type -> gctrpc.SetExchangeAllPairsRequest
|
|
135, // 222: gctrpc.GoCryptoTraderService.UpdateExchangeSupportedPairs:input_type -> gctrpc.UpdateExchangeSupportedPairsRequest
|
|
136, // 223: gctrpc.GoCryptoTraderService.GetExchangeAssets:input_type -> gctrpc.GetExchangeAssetsRequest
|
|
138, // 224: gctrpc.GoCryptoTraderService.WebsocketGetInfo:input_type -> gctrpc.WebsocketGetInfoRequest
|
|
140, // 225: gctrpc.GoCryptoTraderService.WebsocketSetEnabled:input_type -> gctrpc.WebsocketSetEnabledRequest
|
|
141, // 226: gctrpc.GoCryptoTraderService.WebsocketGetSubscriptions:input_type -> gctrpc.WebsocketGetSubscriptionsRequest
|
|
144, // 227: gctrpc.GoCryptoTraderService.WebsocketSetProxy:input_type -> gctrpc.WebsocketSetProxyRequest
|
|
145, // 228: gctrpc.GoCryptoTraderService.WebsocketSetURL:input_type -> gctrpc.WebsocketSetURLRequest
|
|
112, // 229: gctrpc.GoCryptoTraderService.GetRecentTrades:input_type -> gctrpc.GetSavedTradesRequest
|
|
112, // 230: gctrpc.GoCryptoTraderService.GetHistoricTrades:input_type -> gctrpc.GetSavedTradesRequest
|
|
112, // 231: gctrpc.GoCryptoTraderService.GetSavedTrades:input_type -> gctrpc.GetSavedTradesRequest
|
|
115, // 232: gctrpc.GoCryptoTraderService.ConvertTradesToCandles:input_type -> gctrpc.ConvertTradesToCandlesRequest
|
|
146, // 233: gctrpc.GoCryptoTraderService.FindMissingSavedCandleIntervals:input_type -> gctrpc.FindMissingCandlePeriodsRequest
|
|
147, // 234: gctrpc.GoCryptoTraderService.FindMissingSavedTradeIntervals:input_type -> gctrpc.FindMissingTradePeriodsRequest
|
|
149, // 235: gctrpc.GoCryptoTraderService.SetExchangeTradeProcessing:input_type -> gctrpc.SetExchangeTradeProcessingRequest
|
|
150, // 236: gctrpc.GoCryptoTraderService.UpsertDataHistoryJob:input_type -> gctrpc.UpsertDataHistoryJobRequest
|
|
154, // 237: gctrpc.GoCryptoTraderService.GetDataHistoryJobDetails:input_type -> gctrpc.GetDataHistoryJobDetailsRequest
|
|
0, // 238: gctrpc.GoCryptoTraderService.GetActiveDataHistoryJobs:input_type -> gctrpc.GetInfoRequest
|
|
158, // 239: gctrpc.GoCryptoTraderService.GetDataHistoryJobsBetween:input_type -> gctrpc.GetDataHistoryJobsBetweenRequest
|
|
154, // 240: gctrpc.GoCryptoTraderService.GetDataHistoryJobSummary:input_type -> gctrpc.GetDataHistoryJobDetailsRequest
|
|
159, // 241: gctrpc.GoCryptoTraderService.SetDataHistoryJobStatus:input_type -> gctrpc.SetDataHistoryJobStatusRequest
|
|
160, // 242: gctrpc.GoCryptoTraderService.UpdateDataHistoryJobPrerequisite:input_type -> gctrpc.UpdateDataHistoryJobPrerequisiteRequest
|
|
58, // 243: gctrpc.GoCryptoTraderService.GetManagedOrders:input_type -> gctrpc.GetOrdersRequest
|
|
161, // 244: gctrpc.GoCryptoTraderService.ModifyOrder:input_type -> gctrpc.ModifyOrderRequest
|
|
163, // 245: gctrpc.GoCryptoTraderService.CurrencyStateGetAll:input_type -> gctrpc.CurrencyStateGetAllRequest
|
|
164, // 246: gctrpc.GoCryptoTraderService.CurrencyStateTrading:input_type -> gctrpc.CurrencyStateTradingRequest
|
|
167, // 247: gctrpc.GoCryptoTraderService.CurrencyStateDeposit:input_type -> gctrpc.CurrencyStateDepositRequest
|
|
166, // 248: gctrpc.GoCryptoTraderService.CurrencyStateWithdraw:input_type -> gctrpc.CurrencyStateWithdrawRequest
|
|
165, // 249: gctrpc.GoCryptoTraderService.CurrencyStateTradingPair:input_type -> gctrpc.CurrencyStateTradingPairRequest
|
|
177, // 250: gctrpc.GoCryptoTraderService.GetFuturesPositionsSummary:input_type -> gctrpc.GetFuturesPositionsSummaryRequest
|
|
179, // 251: gctrpc.GoCryptoTraderService.GetFuturesPositionsOrders:input_type -> gctrpc.GetFuturesPositionsOrdersRequest
|
|
195, // 252: gctrpc.GoCryptoTraderService.GetCollateral:input_type -> gctrpc.GetCollateralRequest
|
|
204, // 253: gctrpc.GoCryptoTraderService.Shutdown:input_type -> gctrpc.ShutdownRequest
|
|
206, // 254: gctrpc.GoCryptoTraderService.GetTechnicalAnalysis:input_type -> gctrpc.GetTechnicalAnalysisRequest
|
|
209, // 255: gctrpc.GoCryptoTraderService.GetMarginRatesHistory:input_type -> gctrpc.GetMarginRatesHistoryRequest
|
|
174, // 256: gctrpc.GoCryptoTraderService.GetManagedPosition:input_type -> gctrpc.GetManagedPositionRequest
|
|
175, // 257: gctrpc.GoCryptoTraderService.GetAllManagedPositions:input_type -> gctrpc.GetAllManagedPositionsRequest
|
|
200, // 258: gctrpc.GoCryptoTraderService.GetFundingRates:input_type -> gctrpc.GetFundingRatesRequest
|
|
202, // 259: gctrpc.GoCryptoTraderService.GetLatestFundingRate:input_type -> gctrpc.GetLatestFundingRateRequest
|
|
214, // 260: gctrpc.GoCryptoTraderService.GetOrderbookMovement:input_type -> gctrpc.GetOrderbookMovementRequest
|
|
216, // 261: gctrpc.GoCryptoTraderService.GetOrderbookAmountByNominal:input_type -> gctrpc.GetOrderbookAmountByNominalRequest
|
|
218, // 262: gctrpc.GoCryptoTraderService.GetOrderbookAmountByImpact:input_type -> gctrpc.GetOrderbookAmountByImpactRequest
|
|
181, // 263: gctrpc.GoCryptoTraderService.GetCollateralMode:input_type -> gctrpc.GetCollateralModeRequest
|
|
191, // 264: gctrpc.GoCryptoTraderService.GetLeverage:input_type -> gctrpc.GetLeverageRequest
|
|
183, // 265: gctrpc.GoCryptoTraderService.SetCollateralMode:input_type -> gctrpc.SetCollateralModeRequest
|
|
189, // 266: gctrpc.GoCryptoTraderService.SetMarginType:input_type -> gctrpc.SetMarginTypeRequest
|
|
193, // 267: gctrpc.GoCryptoTraderService.SetLeverage:input_type -> gctrpc.SetLeverageRequest
|
|
187, // 268: gctrpc.GoCryptoTraderService.ChangePositionMargin:input_type -> gctrpc.ChangePositionMarginRequest
|
|
220, // 269: gctrpc.GoCryptoTraderService.GetOpenInterest:input_type -> gctrpc.GetOpenInterestRequest
|
|
224, // 270: gctrpc.GoCryptoTraderService.GetCurrencyTradeURL:input_type -> gctrpc.GetCurrencyTradeURLRequest
|
|
1, // 271: gctrpc.GoCryptoTraderService.GetInfo:output_type -> gctrpc.GetInfoResponse
|
|
7, // 272: gctrpc.GoCryptoTraderService.GetSubsystems:output_type -> gctrpc.GetSusbsytemsResponse
|
|
132, // 273: gctrpc.GoCryptoTraderService.EnableSubsystem:output_type -> gctrpc.GenericResponse
|
|
132, // 274: gctrpc.GoCryptoTraderService.DisableSubsystem:output_type -> gctrpc.GenericResponse
|
|
10, // 275: gctrpc.GoCryptoTraderService.GetRPCEndpoints:output_type -> gctrpc.GetRPCEndpointsResponse
|
|
4, // 276: gctrpc.GoCryptoTraderService.GetCommunicationRelayers:output_type -> gctrpc.GetCommunicationRelayersResponse
|
|
13, // 277: gctrpc.GoCryptoTraderService.GetExchanges:output_type -> gctrpc.GetExchangesResponse
|
|
132, // 278: gctrpc.GoCryptoTraderService.DisableExchange:output_type -> gctrpc.GenericResponse
|
|
19, // 279: gctrpc.GoCryptoTraderService.GetExchangeInfo:output_type -> gctrpc.GetExchangeInfoResponse
|
|
14, // 280: gctrpc.GoCryptoTraderService.GetExchangeOTPCode:output_type -> gctrpc.GetExchangeOTPResponse
|
|
16, // 281: gctrpc.GoCryptoTraderService.GetExchangeOTPCodes:output_type -> gctrpc.GetExchangeOTPsResponse
|
|
132, // 282: gctrpc.GoCryptoTraderService.EnableExchange:output_type -> gctrpc.GenericResponse
|
|
22, // 283: gctrpc.GoCryptoTraderService.GetTicker:output_type -> gctrpc.TickerResponse
|
|
25, // 284: gctrpc.GoCryptoTraderService.GetTickers:output_type -> gctrpc.GetTickersResponse
|
|
28, // 285: gctrpc.GoCryptoTraderService.GetOrderbook:output_type -> gctrpc.OrderbookResponse
|
|
31, // 286: gctrpc.GoCryptoTraderService.GetOrderbooks:output_type -> gctrpc.GetOrderbooksResponse
|
|
35, // 287: gctrpc.GoCryptoTraderService.GetAccountBalances:output_type -> gctrpc.GetAccountBalancesResponse
|
|
35, // 288: gctrpc.GoCryptoTraderService.UpdateAccountBalances:output_type -> gctrpc.GetAccountBalancesResponse
|
|
35, // 289: gctrpc.GoCryptoTraderService.GetAccountBalancesStream:output_type -> gctrpc.GetAccountBalancesResponse
|
|
37, // 290: gctrpc.GoCryptoTraderService.GetConfig:output_type -> gctrpc.GetConfigResponse
|
|
40, // 291: gctrpc.GoCryptoTraderService.GetPortfolio:output_type -> gctrpc.GetPortfolioResponse
|
|
47, // 292: gctrpc.GoCryptoTraderService.GetPortfolioSummary:output_type -> gctrpc.GetPortfolioSummaryResponse
|
|
132, // 293: gctrpc.GoCryptoTraderService.AddPortfolioAddress:output_type -> gctrpc.GenericResponse
|
|
132, // 294: gctrpc.GoCryptoTraderService.RemovePortfolioAddress:output_type -> gctrpc.GenericResponse
|
|
52, // 295: gctrpc.GoCryptoTraderService.GetForexProviders:output_type -> gctrpc.GetForexProvidersResponse
|
|
55, // 296: gctrpc.GoCryptoTraderService.GetForexRates:output_type -> gctrpc.GetForexRatesResponse
|
|
59, // 297: gctrpc.GoCryptoTraderService.GetOrders:output_type -> gctrpc.GetOrdersResponse
|
|
56, // 298: gctrpc.GoCryptoTraderService.GetOrder:output_type -> gctrpc.OrderDetails
|
|
63, // 299: gctrpc.GoCryptoTraderService.SubmitOrder:output_type -> gctrpc.SubmitOrderResponse
|
|
65, // 300: gctrpc.GoCryptoTraderService.SimulateOrder:output_type -> gctrpc.SimulateOrderResponse
|
|
65, // 301: gctrpc.GoCryptoTraderService.WhaleBomb:output_type -> gctrpc.SimulateOrderResponse
|
|
132, // 302: gctrpc.GoCryptoTraderService.CancelOrder:output_type -> gctrpc.GenericResponse
|
|
70, // 303: gctrpc.GoCryptoTraderService.CancelBatchOrders:output_type -> gctrpc.CancelBatchOrdersResponse
|
|
72, // 304: gctrpc.GoCryptoTraderService.CancelAllOrders:output_type -> gctrpc.CancelAllOrdersResponse
|
|
75, // 305: gctrpc.GoCryptoTraderService.GetEvents:output_type -> gctrpc.GetEventsResponse
|
|
77, // 306: gctrpc.GoCryptoTraderService.AddEvent:output_type -> gctrpc.AddEventResponse
|
|
132, // 307: gctrpc.GoCryptoTraderService.RemoveEvent:output_type -> gctrpc.GenericResponse
|
|
82, // 308: gctrpc.GoCryptoTraderService.GetCryptocurrencyDepositAddresses:output_type -> gctrpc.GetCryptocurrencyDepositAddressesResponse
|
|
84, // 309: gctrpc.GoCryptoTraderService.GetCryptocurrencyDepositAddress:output_type -> gctrpc.GetCryptocurrencyDepositAddressResponse
|
|
86, // 310: gctrpc.GoCryptoTraderService.GetAvailableTransferChains:output_type -> gctrpc.GetAvailableTransferChainsResponse
|
|
89, // 311: gctrpc.GoCryptoTraderService.WithdrawFiatFunds:output_type -> gctrpc.WithdrawResponse
|
|
89, // 312: gctrpc.GoCryptoTraderService.WithdrawCryptocurrencyFunds:output_type -> gctrpc.WithdrawResponse
|
|
91, // 313: gctrpc.GoCryptoTraderService.WithdrawalEventByID:output_type -> gctrpc.WithdrawalEventByIDResponse
|
|
94, // 314: gctrpc.GoCryptoTraderService.WithdrawalEventsByExchange:output_type -> gctrpc.WithdrawalEventsByExchangeResponse
|
|
94, // 315: gctrpc.GoCryptoTraderService.WithdrawalEventsByDate:output_type -> gctrpc.WithdrawalEventsByExchangeResponse
|
|
101, // 316: gctrpc.GoCryptoTraderService.GetLoggerDetails:output_type -> gctrpc.GetLoggerDetailsResponse
|
|
101, // 317: gctrpc.GoCryptoTraderService.SetLoggerDetails:output_type -> gctrpc.GetLoggerDetailsResponse
|
|
104, // 318: gctrpc.GoCryptoTraderService.GetExchangePairs:output_type -> gctrpc.GetExchangePairsResponse
|
|
132, // 319: gctrpc.GoCryptoTraderService.SetExchangePair:output_type -> gctrpc.GenericResponse
|
|
28, // 320: gctrpc.GoCryptoTraderService.GetOrderbookStream:output_type -> gctrpc.OrderbookResponse
|
|
28, // 321: gctrpc.GoCryptoTraderService.GetExchangeOrderbookStream:output_type -> gctrpc.OrderbookResponse
|
|
22, // 322: gctrpc.GoCryptoTraderService.GetTickerStream:output_type -> gctrpc.TickerResponse
|
|
22, // 323: gctrpc.GoCryptoTraderService.GetExchangeTickerStream:output_type -> gctrpc.TickerResponse
|
|
111, // 324: gctrpc.GoCryptoTraderService.GetAuditEvent:output_type -> gctrpc.GetAuditEventResponse
|
|
132, // 325: gctrpc.GoCryptoTraderService.GCTScriptExecute:output_type -> gctrpc.GenericResponse
|
|
132, // 326: gctrpc.GoCryptoTraderService.GCTScriptUpload:output_type -> gctrpc.GenericResponse
|
|
131, // 327: gctrpc.GoCryptoTraderService.GCTScriptReadScript:output_type -> gctrpc.GCTScriptQueryResponse
|
|
130, // 328: gctrpc.GoCryptoTraderService.GCTScriptStatus:output_type -> gctrpc.GCTScriptStatusResponse
|
|
131, // 329: gctrpc.GoCryptoTraderService.GCTScriptQuery:output_type -> gctrpc.GCTScriptQueryResponse
|
|
132, // 330: gctrpc.GoCryptoTraderService.GCTScriptStop:output_type -> gctrpc.GenericResponse
|
|
132, // 331: gctrpc.GoCryptoTraderService.GCTScriptStopAll:output_type -> gctrpc.GenericResponse
|
|
130, // 332: gctrpc.GoCryptoTraderService.GCTScriptListAll:output_type -> gctrpc.GCTScriptStatusResponse
|
|
132, // 333: gctrpc.GoCryptoTraderService.GCTScriptAutoLoadToggle:output_type -> gctrpc.GenericResponse
|
|
117, // 334: gctrpc.GoCryptoTraderService.GetHistoricCandles:output_type -> gctrpc.GetHistoricCandlesResponse
|
|
132, // 335: gctrpc.GoCryptoTraderService.SetExchangeAsset:output_type -> gctrpc.GenericResponse
|
|
132, // 336: gctrpc.GoCryptoTraderService.SetAllExchangePairs:output_type -> gctrpc.GenericResponse
|
|
132, // 337: gctrpc.GoCryptoTraderService.UpdateExchangeSupportedPairs:output_type -> gctrpc.GenericResponse
|
|
137, // 338: gctrpc.GoCryptoTraderService.GetExchangeAssets:output_type -> gctrpc.GetExchangeAssetsResponse
|
|
139, // 339: gctrpc.GoCryptoTraderService.WebsocketGetInfo:output_type -> gctrpc.WebsocketGetInfoResponse
|
|
132, // 340: gctrpc.GoCryptoTraderService.WebsocketSetEnabled:output_type -> gctrpc.GenericResponse
|
|
143, // 341: gctrpc.GoCryptoTraderService.WebsocketGetSubscriptions:output_type -> gctrpc.WebsocketGetSubscriptionsResponse
|
|
132, // 342: gctrpc.GoCryptoTraderService.WebsocketSetProxy:output_type -> gctrpc.GenericResponse
|
|
132, // 343: gctrpc.GoCryptoTraderService.WebsocketSetURL:output_type -> gctrpc.GenericResponse
|
|
114, // 344: gctrpc.GoCryptoTraderService.GetRecentTrades:output_type -> gctrpc.SavedTradesResponse
|
|
114, // 345: gctrpc.GoCryptoTraderService.GetHistoricTrades:output_type -> gctrpc.SavedTradesResponse
|
|
114, // 346: gctrpc.GoCryptoTraderService.GetSavedTrades:output_type -> gctrpc.SavedTradesResponse
|
|
117, // 347: gctrpc.GoCryptoTraderService.ConvertTradesToCandles:output_type -> gctrpc.GetHistoricCandlesResponse
|
|
148, // 348: gctrpc.GoCryptoTraderService.FindMissingSavedCandleIntervals:output_type -> gctrpc.FindMissingIntervalsResponse
|
|
148, // 349: gctrpc.GoCryptoTraderService.FindMissingSavedTradeIntervals:output_type -> gctrpc.FindMissingIntervalsResponse
|
|
132, // 350: gctrpc.GoCryptoTraderService.SetExchangeTradeProcessing:output_type -> gctrpc.GenericResponse
|
|
153, // 351: gctrpc.GoCryptoTraderService.UpsertDataHistoryJob:output_type -> gctrpc.UpsertDataHistoryJobResponse
|
|
155, // 352: gctrpc.GoCryptoTraderService.GetDataHistoryJobDetails:output_type -> gctrpc.DataHistoryJob
|
|
157, // 353: gctrpc.GoCryptoTraderService.GetActiveDataHistoryJobs:output_type -> gctrpc.DataHistoryJobs
|
|
157, // 354: gctrpc.GoCryptoTraderService.GetDataHistoryJobsBetween:output_type -> gctrpc.DataHistoryJobs
|
|
155, // 355: gctrpc.GoCryptoTraderService.GetDataHistoryJobSummary:output_type -> gctrpc.DataHistoryJob
|
|
132, // 356: gctrpc.GoCryptoTraderService.SetDataHistoryJobStatus:output_type -> gctrpc.GenericResponse
|
|
132, // 357: gctrpc.GoCryptoTraderService.UpdateDataHistoryJobPrerequisite:output_type -> gctrpc.GenericResponse
|
|
59, // 358: gctrpc.GoCryptoTraderService.GetManagedOrders:output_type -> gctrpc.GetOrdersResponse
|
|
162, // 359: gctrpc.GoCryptoTraderService.ModifyOrder:output_type -> gctrpc.ModifyOrderResponse
|
|
168, // 360: gctrpc.GoCryptoTraderService.CurrencyStateGetAll:output_type -> gctrpc.CurrencyStateResponse
|
|
132, // 361: gctrpc.GoCryptoTraderService.CurrencyStateTrading:output_type -> gctrpc.GenericResponse
|
|
132, // 362: gctrpc.GoCryptoTraderService.CurrencyStateDeposit:output_type -> gctrpc.GenericResponse
|
|
132, // 363: gctrpc.GoCryptoTraderService.CurrencyStateWithdraw:output_type -> gctrpc.GenericResponse
|
|
132, // 364: gctrpc.GoCryptoTraderService.CurrencyStateTradingPair:output_type -> gctrpc.GenericResponse
|
|
178, // 365: gctrpc.GoCryptoTraderService.GetFuturesPositionsSummary:output_type -> gctrpc.GetFuturesPositionsSummaryResponse
|
|
180, // 366: gctrpc.GoCryptoTraderService.GetFuturesPositionsOrders:output_type -> gctrpc.GetFuturesPositionsOrdersResponse
|
|
196, // 367: gctrpc.GoCryptoTraderService.GetCollateral:output_type -> gctrpc.GetCollateralResponse
|
|
205, // 368: gctrpc.GoCryptoTraderService.Shutdown:output_type -> gctrpc.ShutdownResponse
|
|
208, // 369: gctrpc.GoCryptoTraderService.GetTechnicalAnalysis:output_type -> gctrpc.GetTechnicalAnalysisResponse
|
|
213, // 370: gctrpc.GoCryptoTraderService.GetMarginRatesHistory:output_type -> gctrpc.GetMarginRatesHistoryResponse
|
|
176, // 371: gctrpc.GoCryptoTraderService.GetManagedPosition:output_type -> gctrpc.GetManagedPositionsResponse
|
|
176, // 372: gctrpc.GoCryptoTraderService.GetAllManagedPositions:output_type -> gctrpc.GetManagedPositionsResponse
|
|
201, // 373: gctrpc.GoCryptoTraderService.GetFundingRates:output_type -> gctrpc.GetFundingRatesResponse
|
|
203, // 374: gctrpc.GoCryptoTraderService.GetLatestFundingRate:output_type -> gctrpc.GetLatestFundingRateResponse
|
|
215, // 375: gctrpc.GoCryptoTraderService.GetOrderbookMovement:output_type -> gctrpc.GetOrderbookMovementResponse
|
|
217, // 376: gctrpc.GoCryptoTraderService.GetOrderbookAmountByNominal:output_type -> gctrpc.GetOrderbookAmountByNominalResponse
|
|
219, // 377: gctrpc.GoCryptoTraderService.GetOrderbookAmountByImpact:output_type -> gctrpc.GetOrderbookAmountByImpactResponse
|
|
182, // 378: gctrpc.GoCryptoTraderService.GetCollateralMode:output_type -> gctrpc.GetCollateralModeResponse
|
|
192, // 379: gctrpc.GoCryptoTraderService.GetLeverage:output_type -> gctrpc.GetLeverageResponse
|
|
184, // 380: gctrpc.GoCryptoTraderService.SetCollateralMode:output_type -> gctrpc.SetCollateralModeResponse
|
|
190, // 381: gctrpc.GoCryptoTraderService.SetMarginType:output_type -> gctrpc.SetMarginTypeResponse
|
|
194, // 382: gctrpc.GoCryptoTraderService.SetLeverage:output_type -> gctrpc.SetLeverageResponse
|
|
188, // 383: gctrpc.GoCryptoTraderService.ChangePositionMargin:output_type -> gctrpc.ChangePositionMarginResponse
|
|
222, // 384: gctrpc.GoCryptoTraderService.GetOpenInterest:output_type -> gctrpc.GetOpenInterestResponse
|
|
225, // 385: gctrpc.GoCryptoTraderService.GetCurrencyTradeURL:output_type -> gctrpc.GetCurrencyTradeURLResponse
|
|
271, // [271:386] is the sub-list for method output_type
|
|
156, // [156:271] is the sub-list for method input_type
|
|
156, // [156:156] is the sub-list for extension type_name
|
|
156, // [156:156] is the sub-list for extension extendee
|
|
0, // [0:156] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rpc_proto_init() }
|
|
func file_rpc_proto_init() {
|
|
if File_rpc_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_proto_rawDesc), len(file_rpc_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 240,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_rpc_proto_goTypes,
|
|
DependencyIndexes: file_rpc_proto_depIdxs,
|
|
MessageInfos: file_rpc_proto_msgTypes,
|
|
}.Build()
|
|
File_rpc_proto = out.File
|
|
file_rpc_proto_goTypes = nil
|
|
file_rpc_proto_depIdxs = nil
|
|
}
|