// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v5.29.3
// source: alt/v1/market.proto

package altv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 Instrument struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Market          Market                 `protobuf:"varint,2,opt,name=market,proto3,enum=alt.v1.Market" json:"market,omitempty"`
	Venue           Venue                  `protobuf:"varint,3,opt,name=venue,proto3,enum=alt.v1.Venue" json:"venue,omitempty"`
	Symbol          string                 `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Name            string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Currency        Currency               `protobuf:"varint,6,opt,name=currency,proto3,enum=alt.v1.Currency" json:"currency,omitempty"`
	ProviderSymbols map[string]string      `protobuf:"bytes,7,rep,name=provider_symbols,json=providerSymbols,proto3" json:"provider_symbols,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	AssetType       AssetType              `protobuf:"varint,8,opt,name=asset_type,json=assetType,proto3,enum=alt.v1.AssetType" json:"asset_type,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *Instrument) Reset() {
	*x = Instrument{}
	mi := &file_alt_v1_market_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Instrument) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Instrument) ProtoMessage() {}

func (x *Instrument) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 Instrument.ProtoReflect.Descriptor instead.
func (*Instrument) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{0}
}

func (x *Instrument) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Instrument) GetMarket() Market {
	if x != nil {
		return x.Market
	}
	return Market_MARKET_UNSPECIFIED
}

func (x *Instrument) GetVenue() Venue {
	if x != nil {
		return x.Venue
	}
	return Venue_VENUE_UNSPECIFIED
}

func (x *Instrument) GetSymbol() string {
	if x != nil {
		return x.Symbol
	}
	return ""
}

func (x *Instrument) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Instrument) GetCurrency() Currency {
	if x != nil {
		return x.Currency
	}
	return Currency_CURRENCY_UNSPECIFIED
}

func (x *Instrument) GetProviderSymbols() map[string]string {
	if x != nil {
		return x.ProviderSymbols
	}
	return nil
}

func (x *Instrument) GetAssetType() AssetType {
	if x != nil {
		return x.AssetType
	}
	return AssetType_ASSET_TYPE_UNSPECIFIED
}

type Price struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Currency      Currency               `protobuf:"varint,1,opt,name=currency,proto3,enum=alt.v1.Currency" json:"currency,omitempty"`
	Amount        *Decimal               `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Price) Reset() {
	*x = Price{}
	mi := &file_alt_v1_market_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Price) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Price) ProtoMessage() {}

func (x *Price) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 Price.ProtoReflect.Descriptor instead.
func (*Price) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{1}
}

func (x *Price) GetCurrency() Currency {
	if x != nil {
		return x.Currency
	}
	return Currency_CURRENCY_UNSPECIFIED
}

func (x *Price) GetAmount() *Decimal {
	if x != nil {
		return x.Amount
	}
	return nil
}

type Quantity struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Amount        *Decimal               `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Quantity) Reset() {
	*x = Quantity{}
	mi := &file_alt_v1_market_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Quantity) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Quantity) ProtoMessage() {}

func (x *Quantity) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 Quantity.ProtoReflect.Descriptor instead.
func (*Quantity) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{2}
}

func (x *Quantity) GetAmount() *Decimal {
	if x != nil {
		return x.Amount
	}
	return nil
}

type Bar struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	InstrumentId    string                 `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"`
	Timeframe       Timeframe              `protobuf:"varint,2,opt,name=timeframe,proto3,enum=alt.v1.Timeframe" json:"timeframe,omitempty"`
	TimestampUnixMs int64                  `protobuf:"varint,3,opt,name=timestamp_unix_ms,json=timestampUnixMs,proto3" json:"timestamp_unix_ms,omitempty"`
	Open            *Price                 `protobuf:"bytes,4,opt,name=open,proto3" json:"open,omitempty"`
	High            *Price                 `protobuf:"bytes,5,opt,name=high,proto3" json:"high,omitempty"`
	Low             *Price                 `protobuf:"bytes,6,opt,name=low,proto3" json:"low,omitempty"`
	Close           *Price                 `protobuf:"bytes,7,opt,name=close,proto3" json:"close,omitempty"`
	Volume          *Quantity              `protobuf:"bytes,8,opt,name=volume,proto3" json:"volume,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *Bar) Reset() {
	*x = Bar{}
	mi := &file_alt_v1_market_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bar) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bar) ProtoMessage() {}

func (x *Bar) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 Bar.ProtoReflect.Descriptor instead.
func (*Bar) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{3}
}

func (x *Bar) GetInstrumentId() string {
	if x != nil {
		return x.InstrumentId
	}
	return ""
}

func (x *Bar) GetTimeframe() Timeframe {
	if x != nil {
		return x.Timeframe
	}
	return Timeframe_TIMEFRAME_UNSPECIFIED
}

func (x *Bar) GetTimestampUnixMs() int64 {
	if x != nil {
		return x.TimestampUnixMs
	}
	return 0
}

func (x *Bar) GetOpen() *Price {
	if x != nil {
		return x.Open
	}
	return nil
}

func (x *Bar) GetHigh() *Price {
	if x != nil {
		return x.High
	}
	return nil
}

func (x *Bar) GetLow() *Price {
	if x != nil {
		return x.Low
	}
	return nil
}

func (x *Bar) GetClose() *Price {
	if x != nil {
		return x.Close
	}
	return nil
}

func (x *Bar) GetVolume() *Quantity {
	if x != nil {
		return x.Volume
	}
	return nil
}

type ListInstrumentsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Market        Market                 `protobuf:"varint,1,opt,name=market,proto3,enum=alt.v1.Market" json:"market,omitempty"`
	Provider      string                 `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListInstrumentsRequest) Reset() {
	*x = ListInstrumentsRequest{}
	mi := &file_alt_v1_market_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListInstrumentsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListInstrumentsRequest) ProtoMessage() {}

func (x *ListInstrumentsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 ListInstrumentsRequest.ProtoReflect.Descriptor instead.
func (*ListInstrumentsRequest) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{4}
}

func (x *ListInstrumentsRequest) GetMarket() Market {
	if x != nil {
		return x.Market
	}
	return Market_MARKET_UNSPECIFIED
}

func (x *ListInstrumentsRequest) GetProvider() string {
	if x != nil {
		return x.Provider
	}
	return ""
}

type ListInstrumentsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Instruments   []*Instrument          `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListInstrumentsResponse) Reset() {
	*x = ListInstrumentsResponse{}
	mi := &file_alt_v1_market_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListInstrumentsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListInstrumentsResponse) ProtoMessage() {}

func (x *ListInstrumentsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 ListInstrumentsResponse.ProtoReflect.Descriptor instead.
func (*ListInstrumentsResponse) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{5}
}

func (x *ListInstrumentsResponse) GetInstruments() []*Instrument {
	if x != nil {
		return x.Instruments
	}
	return nil
}

func (x *ListInstrumentsResponse) GetError() *ErrorInfo {
	if x != nil {
		return x.Error
	}
	return nil
}

type ListBarsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	InstrumentId  string                 `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"`
	Timeframe     Timeframe              `protobuf:"varint,2,opt,name=timeframe,proto3,enum=alt.v1.Timeframe" json:"timeframe,omitempty"`
	FromUnixMs    int64                  `protobuf:"varint,3,opt,name=from_unix_ms,json=fromUnixMs,proto3" json:"from_unix_ms,omitempty"`
	ToUnixMs      int64                  `protobuf:"varint,4,opt,name=to_unix_ms,json=toUnixMs,proto3" json:"to_unix_ms,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListBarsRequest) Reset() {
	*x = ListBarsRequest{}
	mi := &file_alt_v1_market_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListBarsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListBarsRequest) ProtoMessage() {}

func (x *ListBarsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 ListBarsRequest.ProtoReflect.Descriptor instead.
func (*ListBarsRequest) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{6}
}

func (x *ListBarsRequest) GetInstrumentId() string {
	if x != nil {
		return x.InstrumentId
	}
	return ""
}

func (x *ListBarsRequest) GetTimeframe() Timeframe {
	if x != nil {
		return x.Timeframe
	}
	return Timeframe_TIMEFRAME_UNSPECIFIED
}

func (x *ListBarsRequest) GetFromUnixMs() int64 {
	if x != nil {
		return x.FromUnixMs
	}
	return 0
}

func (x *ListBarsRequest) GetToUnixMs() int64 {
	if x != nil {
		return x.ToUnixMs
	}
	return 0
}

type ListBarsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Bars          []*Bar                 `protobuf:"bytes,1,rep,name=bars,proto3" json:"bars,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListBarsResponse) Reset() {
	*x = ListBarsResponse{}
	mi := &file_alt_v1_market_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListBarsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListBarsResponse) ProtoMessage() {}

func (x *ListBarsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 ListBarsResponse.ProtoReflect.Descriptor instead.
func (*ListBarsResponse) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{7}
}

func (x *ListBarsResponse) GetBars() []*Bar {
	if x != nil {
		return x.Bars
	}
	return nil
}

func (x *ListBarsResponse) GetError() *ErrorInfo {
	if x != nil {
		return x.Error
	}
	return nil
}

type ImportDailyBarsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Provider      string                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	SelectorKind  string                 `protobuf:"bytes,2,opt,name=selector_kind,json=selectorKind,proto3" json:"selector_kind,omitempty"`
	Market        Market                 `protobuf:"varint,3,opt,name=market,proto3,enum=alt.v1.Market" json:"market,omitempty"`
	Venue         Venue                  `protobuf:"varint,4,opt,name=venue,proto3,enum=alt.v1.Venue" json:"venue,omitempty"`
	Name          string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Symbols       []string               `protobuf:"bytes,6,rep,name=symbols,proto3" json:"symbols,omitempty"`
	FromYyyymmdd  string                 `protobuf:"bytes,7,opt,name=from_yyyymmdd,json=fromYyyymmdd,proto3" json:"from_yyyymmdd,omitempty"`
	ToYyyymmdd    string                 `protobuf:"bytes,8,opt,name=to_yyyymmdd,json=toYyyymmdd,proto3" json:"to_yyyymmdd,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ImportDailyBarsRequest) Reset() {
	*x = ImportDailyBarsRequest{}
	mi := &file_alt_v1_market_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ImportDailyBarsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ImportDailyBarsRequest) ProtoMessage() {}

func (x *ImportDailyBarsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 ImportDailyBarsRequest.ProtoReflect.Descriptor instead.
func (*ImportDailyBarsRequest) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{8}
}

func (x *ImportDailyBarsRequest) GetProvider() string {
	if x != nil {
		return x.Provider
	}
	return ""
}

func (x *ImportDailyBarsRequest) GetSelectorKind() string {
	if x != nil {
		return x.SelectorKind
	}
	return ""
}

func (x *ImportDailyBarsRequest) GetMarket() Market {
	if x != nil {
		return x.Market
	}
	return Market_MARKET_UNSPECIFIED
}

func (x *ImportDailyBarsRequest) GetVenue() Venue {
	if x != nil {
		return x.Venue
	}
	return Venue_VENUE_UNSPECIFIED
}

func (x *ImportDailyBarsRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ImportDailyBarsRequest) GetSymbols() []string {
	if x != nil {
		return x.Symbols
	}
	return nil
}

func (x *ImportDailyBarsRequest) GetFromYyyymmdd() string {
	if x != nil {
		return x.FromYyyymmdd
	}
	return ""
}

func (x *ImportDailyBarsRequest) GetToYyyymmdd() string {
	if x != nil {
		return x.ToYyyymmdd
	}
	return ""
}

type ImportDailyBarsResponse struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Provider        string                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	InstrumentCount int32                  `protobuf:"varint,2,opt,name=instrument_count,json=instrumentCount,proto3" json:"instrument_count,omitempty"`
	BarCount        int32                  `protobuf:"varint,3,opt,name=bar_count,json=barCount,proto3" json:"bar_count,omitempty"`
	Error           *ErrorInfo             `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *ImportDailyBarsResponse) Reset() {
	*x = ImportDailyBarsResponse{}
	mi := &file_alt_v1_market_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ImportDailyBarsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ImportDailyBarsResponse) ProtoMessage() {}

func (x *ImportDailyBarsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_market_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 ImportDailyBarsResponse.ProtoReflect.Descriptor instead.
func (*ImportDailyBarsResponse) Descriptor() ([]byte, []int) {
	return file_alt_v1_market_proto_rawDescGZIP(), []int{9}
}

func (x *ImportDailyBarsResponse) GetProvider() string {
	if x != nil {
		return x.Provider
	}
	return ""
}

func (x *ImportDailyBarsResponse) GetInstrumentCount() int32 {
	if x != nil {
		return x.InstrumentCount
	}
	return 0
}

func (x *ImportDailyBarsResponse) GetBarCount() int32 {
	if x != nil {
		return x.BarCount
	}
	return 0
}

func (x *ImportDailyBarsResponse) GetError() *ErrorInfo {
	if x != nil {
		return x.Error
	}
	return nil
}

var File_alt_v1_market_proto protoreflect.FileDescriptor

const file_alt_v1_market_proto_rawDesc = "" +
	"\n" +
	"\x13alt/v1/market.proto\x12\x06alt.v1\x1a\x13alt/v1/common.proto\"\x8d\x03\n" +
	"\n" +
	"Instrument\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12&\n" +
	"\x06market\x18\x02 \x01(\x0e2\x0e.alt.v1.MarketR\x06market\x12#\n" +
	"\x05venue\x18\x03 \x01(\x0e2\r.alt.v1.VenueR\x05venue\x12\x16\n" +
	"\x06symbol\x18\x04 \x01(\tR\x06symbol\x12\x12\n" +
	"\x04name\x18\x05 \x01(\tR\x04name\x12,\n" +
	"\bcurrency\x18\x06 \x01(\x0e2\x10.alt.v1.CurrencyR\bcurrency\x12R\n" +
	"\x10provider_symbols\x18\a \x03(\v2'.alt.v1.Instrument.ProviderSymbolsEntryR\x0fproviderSymbols\x120\n" +
	"\n" +
	"asset_type\x18\b \x01(\x0e2\x11.alt.v1.AssetTypeR\tassetType\x1aB\n" +
	"\x14ProviderSymbolsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"^\n" +
	"\x05Price\x12,\n" +
	"\bcurrency\x18\x01 \x01(\x0e2\x10.alt.v1.CurrencyR\bcurrency\x12'\n" +
	"\x06amount\x18\x02 \x01(\v2\x0f.alt.v1.DecimalR\x06amount\"3\n" +
	"\bQuantity\x12'\n" +
	"\x06amount\x18\x01 \x01(\v2\x0f.alt.v1.DecimalR\x06amount\"\xbd\x02\n" +
	"\x03Bar\x12#\n" +
	"\rinstrument_id\x18\x01 \x01(\tR\finstrumentId\x12/\n" +
	"\ttimeframe\x18\x02 \x01(\x0e2\x11.alt.v1.TimeframeR\ttimeframe\x12*\n" +
	"\x11timestamp_unix_ms\x18\x03 \x01(\x03R\x0ftimestampUnixMs\x12!\n" +
	"\x04open\x18\x04 \x01(\v2\r.alt.v1.PriceR\x04open\x12!\n" +
	"\x04high\x18\x05 \x01(\v2\r.alt.v1.PriceR\x04high\x12\x1f\n" +
	"\x03low\x18\x06 \x01(\v2\r.alt.v1.PriceR\x03low\x12#\n" +
	"\x05close\x18\a \x01(\v2\r.alt.v1.PriceR\x05close\x12(\n" +
	"\x06volume\x18\b \x01(\v2\x10.alt.v1.QuantityR\x06volume\"\\\n" +
	"\x16ListInstrumentsRequest\x12&\n" +
	"\x06market\x18\x01 \x01(\x0e2\x0e.alt.v1.MarketR\x06market\x12\x1a\n" +
	"\bprovider\x18\x02 \x01(\tR\bprovider\"x\n" +
	"\x17ListInstrumentsResponse\x124\n" +
	"\vinstruments\x18\x01 \x03(\v2\x12.alt.v1.InstrumentR\vinstruments\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"\xa7\x01\n" +
	"\x0fListBarsRequest\x12#\n" +
	"\rinstrument_id\x18\x01 \x01(\tR\finstrumentId\x12/\n" +
	"\ttimeframe\x18\x02 \x01(\x0e2\x11.alt.v1.TimeframeR\ttimeframe\x12 \n" +
	"\ffrom_unix_ms\x18\x03 \x01(\x03R\n" +
	"fromUnixMs\x12\x1c\n" +
	"\n" +
	"to_unix_ms\x18\x04 \x01(\x03R\btoUnixMs\"\\\n" +
	"\x10ListBarsResponse\x12\x1f\n" +
	"\x04bars\x18\x01 \x03(\v2\v.alt.v1.BarR\x04bars\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"\x9a\x02\n" +
	"\x16ImportDailyBarsRequest\x12\x1a\n" +
	"\bprovider\x18\x01 \x01(\tR\bprovider\x12#\n" +
	"\rselector_kind\x18\x02 \x01(\tR\fselectorKind\x12&\n" +
	"\x06market\x18\x03 \x01(\x0e2\x0e.alt.v1.MarketR\x06market\x12#\n" +
	"\x05venue\x18\x04 \x01(\x0e2\r.alt.v1.VenueR\x05venue\x12\x12\n" +
	"\x04name\x18\x05 \x01(\tR\x04name\x12\x18\n" +
	"\asymbols\x18\x06 \x03(\tR\asymbols\x12#\n" +
	"\rfrom_yyyymmdd\x18\a \x01(\tR\ffromYyyymmdd\x12\x1f\n" +
	"\vto_yyyymmdd\x18\b \x01(\tR\n" +
	"toYyyymmdd\"\xa6\x01\n" +
	"\x17ImportDailyBarsResponse\x12\x1a\n" +
	"\bprovider\x18\x01 \x01(\tR\bprovider\x12)\n" +
	"\x10instrument_count\x18\x02 \x01(\x05R\x0finstrumentCount\x12\x1b\n" +
	"\tbar_count\x18\x03 \x01(\x05R\bbarCount\x12'\n" +
	"\x05error\x18\x04 \x01(\v2\x11.alt.v1.ErrorInfoR\x05errorBCZAgit.toki-labs.com/toki/alt/packages/contracts/gen/go/alt/v1;altv1b\x06proto3"

var (
	file_alt_v1_market_proto_rawDescOnce sync.Once
	file_alt_v1_market_proto_rawDescData []byte
)

func file_alt_v1_market_proto_rawDescGZIP() []byte {
	file_alt_v1_market_proto_rawDescOnce.Do(func() {
		file_alt_v1_market_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_alt_v1_market_proto_rawDesc), len(file_alt_v1_market_proto_rawDesc)))
	})
	return file_alt_v1_market_proto_rawDescData
}

var file_alt_v1_market_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_alt_v1_market_proto_goTypes = []any{
	(*Instrument)(nil),              // 0: alt.v1.Instrument
	(*Price)(nil),                   // 1: alt.v1.Price
	(*Quantity)(nil),                // 2: alt.v1.Quantity
	(*Bar)(nil),                     // 3: alt.v1.Bar
	(*ListInstrumentsRequest)(nil),  // 4: alt.v1.ListInstrumentsRequest
	(*ListInstrumentsResponse)(nil), // 5: alt.v1.ListInstrumentsResponse
	(*ListBarsRequest)(nil),         // 6: alt.v1.ListBarsRequest
	(*ListBarsResponse)(nil),        // 7: alt.v1.ListBarsResponse
	(*ImportDailyBarsRequest)(nil),  // 8: alt.v1.ImportDailyBarsRequest
	(*ImportDailyBarsResponse)(nil), // 9: alt.v1.ImportDailyBarsResponse
	nil,                             // 10: alt.v1.Instrument.ProviderSymbolsEntry
	(Market)(0),                     // 11: alt.v1.Market
	(Venue)(0),                      // 12: alt.v1.Venue
	(Currency)(0),                   // 13: alt.v1.Currency
	(AssetType)(0),                  // 14: alt.v1.AssetType
	(*Decimal)(nil),                 // 15: alt.v1.Decimal
	(Timeframe)(0),                  // 16: alt.v1.Timeframe
	(*ErrorInfo)(nil),               // 17: alt.v1.ErrorInfo
}
var file_alt_v1_market_proto_depIdxs = []int32{
	11, // 0: alt.v1.Instrument.market:type_name -> alt.v1.Market
	12, // 1: alt.v1.Instrument.venue:type_name -> alt.v1.Venue
	13, // 2: alt.v1.Instrument.currency:type_name -> alt.v1.Currency
	10, // 3: alt.v1.Instrument.provider_symbols:type_name -> alt.v1.Instrument.ProviderSymbolsEntry
	14, // 4: alt.v1.Instrument.asset_type:type_name -> alt.v1.AssetType
	13, // 5: alt.v1.Price.currency:type_name -> alt.v1.Currency
	15, // 6: alt.v1.Price.amount:type_name -> alt.v1.Decimal
	15, // 7: alt.v1.Quantity.amount:type_name -> alt.v1.Decimal
	16, // 8: alt.v1.Bar.timeframe:type_name -> alt.v1.Timeframe
	1,  // 9: alt.v1.Bar.open:type_name -> alt.v1.Price
	1,  // 10: alt.v1.Bar.high:type_name -> alt.v1.Price
	1,  // 11: alt.v1.Bar.low:type_name -> alt.v1.Price
	1,  // 12: alt.v1.Bar.close:type_name -> alt.v1.Price
	2,  // 13: alt.v1.Bar.volume:type_name -> alt.v1.Quantity
	11, // 14: alt.v1.ListInstrumentsRequest.market:type_name -> alt.v1.Market
	0,  // 15: alt.v1.ListInstrumentsResponse.instruments:type_name -> alt.v1.Instrument
	17, // 16: alt.v1.ListInstrumentsResponse.error:type_name -> alt.v1.ErrorInfo
	16, // 17: alt.v1.ListBarsRequest.timeframe:type_name -> alt.v1.Timeframe
	3,  // 18: alt.v1.ListBarsResponse.bars:type_name -> alt.v1.Bar
	17, // 19: alt.v1.ListBarsResponse.error:type_name -> alt.v1.ErrorInfo
	11, // 20: alt.v1.ImportDailyBarsRequest.market:type_name -> alt.v1.Market
	12, // 21: alt.v1.ImportDailyBarsRequest.venue:type_name -> alt.v1.Venue
	17, // 22: alt.v1.ImportDailyBarsResponse.error:type_name -> alt.v1.ErrorInfo
	23, // [23:23] is the sub-list for method output_type
	23, // [23:23] is the sub-list for method input_type
	23, // [23:23] is the sub-list for extension type_name
	23, // [23:23] is the sub-list for extension extendee
	0,  // [0:23] is the sub-list for field type_name
}

func init() { file_alt_v1_market_proto_init() }
func file_alt_v1_market_proto_init() {
	if File_alt_v1_market_proto != nil {
		return
	}
	file_alt_v1_common_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_alt_v1_market_proto_rawDesc), len(file_alt_v1_market_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_alt_v1_market_proto_goTypes,
		DependencyIndexes: file_alt_v1_market_proto_depIdxs,
		MessageInfos:      file_alt_v1_market_proto_msgTypes,
	}.Build()
	File_alt_v1_market_proto = out.File
	file_alt_v1_market_proto_goTypes = nil
	file_alt_v1_market_proto_depIdxs = nil
}
