// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v5.29.3
// source: alt/v1/live_trading.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)
)

// GetLiveBrokerCapabilitiesRequest is a query sent to the worker to discover
// what markets, venues, and order types the live broker adapter supports.
type GetLiveBrokerCapabilitiesRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetLiveBrokerCapabilitiesRequest) ProtoMessage() {}

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

func (x *GetLiveBrokerCapabilitiesRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

// GetLiveBrokerCapabilitiesResponse wraps the broker capability report or an
// error explaining why the probe failed.
type GetLiveBrokerCapabilitiesResponse struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	BrokerCapabilities *LiveBrokerCapability  `protobuf:"bytes,1,opt,name=broker_capabilities,json=brokerCapabilities,proto3" json:"broker_capabilities,omitempty"`
	Error              *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*GetLiveBrokerCapabilitiesResponse) ProtoMessage() {}

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

func (x *GetLiveBrokerCapabilitiesResponse) GetBrokerCapabilities() *LiveBrokerCapability {
	if x != nil {
		return x.BrokerCapabilities
	}
	return nil
}

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

// LiveBrokerCapability describes what a live broker supports. It mirrors the
// domain types in packages/domain/trading but is wire-format only so that
// generated code stays minimal for this milestone.
type LiveBrokerCapability struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	Broker            string                 `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
	Markets           []Market               `protobuf:"varint,2,rep,packed,name=markets,proto3,enum=alt.v1.Market" json:"markets,omitempty"`
	Venues            []Venue                `protobuf:"varint,3,rep,packed,name=venues,proto3,enum=alt.v1.Venue" json:"venues,omitempty"`
	OrderTypes        []string               `protobuf:"bytes,4,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
	SupportsAmend     bool                   `protobuf:"varint,5,opt,name=supports_amend,json=supportsAmend,proto3" json:"supports_amend,omitempty"`
	SupportsCancel    bool                   `protobuf:"varint,6,opt,name=supports_cancel,json=supportsCancel,proto3" json:"supports_cancel,omitempty"`
	SupportsAccount   bool                   `protobuf:"varint,7,opt,name=supports_account,json=supportsAccount,proto3" json:"supports_account,omitempty"`
	SupportsAuditTags bool                   `protobuf:"varint,8,opt,name=supports_audit_tags,json=supportsAuditTags,proto3" json:"supports_audit_tags,omitempty"`
	CheckedAtUnixMs   int64                  `protobuf:"varint,9,opt,name=checked_at_unix_ms,json=checkedAtUnixMs,proto3" json:"checked_at_unix_ms,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*LiveBrokerCapability) ProtoMessage() {}

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

func (x *LiveBrokerCapability) GetBroker() string {
	if x != nil {
		return x.Broker
	}
	return ""
}

func (x *LiveBrokerCapability) GetMarkets() []Market {
	if x != nil {
		return x.Markets
	}
	return nil
}

func (x *LiveBrokerCapability) GetVenues() []Venue {
	if x != nil {
		return x.Venues
	}
	return nil
}

func (x *LiveBrokerCapability) GetOrderTypes() []string {
	if x != nil {
		return x.OrderTypes
	}
	return nil
}

func (x *LiveBrokerCapability) GetSupportsAmend() bool {
	if x != nil {
		return x.SupportsAmend
	}
	return false
}

func (x *LiveBrokerCapability) GetSupportsCancel() bool {
	if x != nil {
		return x.SupportsCancel
	}
	return false
}

func (x *LiveBrokerCapability) GetSupportsAccount() bool {
	if x != nil {
		return x.SupportsAccount
	}
	return false
}

func (x *LiveBrokerCapability) GetSupportsAuditTags() bool {
	if x != nil {
		return x.SupportsAuditTags
	}
	return false
}

func (x *LiveBrokerCapability) GetCheckedAtUnixMs() int64 {
	if x != nil {
		return x.CheckedAtUnixMs
	}
	return 0
}

// LiveOrderIntent mirrors the backtest/trading domain intent but belongs to
// the live protobuf surface so live consumers can decode it without importing
// backtest messages. Side/type/status stay string-typed to match the domain
// vocabulary and to keep the lifecycle additive without new enums.
type LiveOrderIntent struct {
	state        protoimpl.MessageState `protogen:"open.v1"`
	InstrumentId string                 `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"`
	// side is "buy" or "sell".
	Side     string    `protobuf:"bytes,2,opt,name=side,proto3" json:"side,omitempty"`
	Quantity *Quantity `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// type is "market", "limit", or broker-specific (e.g. "kis_best_limit").
	Type           string            `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	TimeInForce    string            `protobuf:"bytes,5,opt,name=time_in_force,json=timeInForce,proto3" json:"time_in_force,omitempty"`
	LimitPrice     *Price            `protobuf:"bytes,6,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"`
	BrokerClientId string            `protobuf:"bytes,7,opt,name=broker_client_id,json=brokerClientId,proto3" json:"broker_client_id,omitempty"`
	CustomTags     map[string]string `protobuf:"bytes,8,rep,name=custom_tags,json=customTags,proto3" json:"custom_tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*LiveOrderIntent) ProtoMessage() {}

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

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

func (x *LiveOrderIntent) GetSide() string {
	if x != nil {
		return x.Side
	}
	return ""
}

func (x *LiveOrderIntent) GetQuantity() *Quantity {
	if x != nil {
		return x.Quantity
	}
	return nil
}

func (x *LiveOrderIntent) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *LiveOrderIntent) GetTimeInForce() string {
	if x != nil {
		return x.TimeInForce
	}
	return ""
}

func (x *LiveOrderIntent) GetLimitPrice() *Price {
	if x != nil {
		return x.LimitPrice
	}
	return nil
}

func (x *LiveOrderIntent) GetBrokerClientId() string {
	if x != nil {
		return x.BrokerClientId
	}
	return ""
}

func (x *LiveOrderIntent) GetCustomTags() map[string]string {
	if x != nil {
		return x.CustomTags
	}
	return nil
}

// LiveOrder is a broker-submitted order with execution status updates. It uses
// string-typed side/type/status so unknown broker values are preserved.
type LiveOrder struct {
	state        protoimpl.MessageState `protogen:"open.v1"`
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BrokerId     string                 `protobuf:"bytes,2,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
	ClientId     string                 `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	AccountId    string                 `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	InstrumentId string                 `protobuf:"bytes,5,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"`
	Side         string                 `protobuf:"bytes,6,opt,name=side,proto3" json:"side,omitempty"`
	Quantity     *Quantity              `protobuf:"bytes,7,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Type         string                 `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
	TimeInForce  string                 `protobuf:"bytes,9,opt,name=time_in_force,json=timeInForce,proto3" json:"time_in_force,omitempty"`
	LimitPrice   *Price                 `protobuf:"bytes,10,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"`
	Status       string                 `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// broker_status mirrors the raw status reported by the broker.
	BrokerStatus    string         `protobuf:"bytes,12,opt,name=broker_status,json=brokerStatus,proto3" json:"broker_status,omitempty"`
	Fill            *BacktestTrade `protobuf:"bytes,13,opt,name=fill,proto3" json:"fill,omitempty"`
	RejectionReason string         `protobuf:"bytes,14,opt,name=rejection_reason,json=rejectionReason,proto3" json:"rejection_reason,omitempty"`
	CreatedAtUnixMs int64          `protobuf:"varint,15,opt,name=created_at_unix_ms,json=createdAtUnixMs,proto3" json:"created_at_unix_ms,omitempty"`
	UpdatedAtUnixMs int64          `protobuf:"varint,16,opt,name=updated_at_unix_ms,json=updatedAtUnixMs,proto3" json:"updated_at_unix_ms,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*LiveOrder) ProtoMessage() {}

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

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

func (x *LiveOrder) GetBrokerId() string {
	if x != nil {
		return x.BrokerId
	}
	return ""
}

func (x *LiveOrder) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *LiveOrder) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

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

func (x *LiveOrder) GetSide() string {
	if x != nil {
		return x.Side
	}
	return ""
}

func (x *LiveOrder) GetQuantity() *Quantity {
	if x != nil {
		return x.Quantity
	}
	return nil
}

func (x *LiveOrder) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *LiveOrder) GetTimeInForce() string {
	if x != nil {
		return x.TimeInForce
	}
	return ""
}

func (x *LiveOrder) GetLimitPrice() *Price {
	if x != nil {
		return x.LimitPrice
	}
	return nil
}

func (x *LiveOrder) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

func (x *LiveOrder) GetBrokerStatus() string {
	if x != nil {
		return x.BrokerStatus
	}
	return ""
}

func (x *LiveOrder) GetFill() *BacktestTrade {
	if x != nil {
		return x.Fill
	}
	return nil
}

func (x *LiveOrder) GetRejectionReason() string {
	if x != nil {
		return x.RejectionReason
	}
	return ""
}

func (x *LiveOrder) GetCreatedAtUnixMs() int64 {
	if x != nil {
		return x.CreatedAtUnixMs
	}
	return 0
}

func (x *LiveOrder) GetUpdatedAtUnixMs() int64 {
	if x != nil {
		return x.UpdatedAtUnixMs
	}
	return 0
}

// LiveCashBalance is a single currency-denominated cash entry in a live account.
// Raw account numbers and provider-specific identifiers are never included.
type LiveCashBalance 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 *LiveCashBalance) Reset() {
	*x = LiveCashBalance{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LiveCashBalance) ProtoMessage() {}

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

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

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

// LiveAccountSnapshot carries sanitized live account state from a broker.
// Raw account numbers and provider payload are never exposed.
type LiveAccountSnapshot struct {
	state          protoimpl.MessageState  `protogen:"open.v1"`
	AccountId      string                  `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Broker         string                  `protobuf:"bytes,2,opt,name=broker,proto3" json:"broker,omitempty"`
	Cash           []*LiveCashBalance      `protobuf:"bytes,3,rep,name=cash,proto3" json:"cash,omitempty"`
	Positions      []*LivePositionSnapshot `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty"`
	SyncedAtUnixMs int64                   `protobuf:"varint,5,opt,name=synced_at_unix_ms,json=syncedAtUnixMs,proto3" json:"synced_at_unix_ms,omitempty"`
	Stale          bool                    `protobuf:"varint,6,opt,name=stale,proto3" json:"stale,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*LiveAccountSnapshot) ProtoMessage() {}

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

func (x *LiveAccountSnapshot) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *LiveAccountSnapshot) GetBroker() string {
	if x != nil {
		return x.Broker
	}
	return ""
}

func (x *LiveAccountSnapshot) GetCash() []*LiveCashBalance {
	if x != nil {
		return x.Cash
	}
	return nil
}

func (x *LiveAccountSnapshot) GetPositions() []*LivePositionSnapshot {
	if x != nil {
		return x.Positions
	}
	return nil
}

func (x *LiveAccountSnapshot) GetSyncedAtUnixMs() int64 {
	if x != nil {
		return x.SyncedAtUnixMs
	}
	return 0
}

func (x *LiveAccountSnapshot) GetStale() bool {
	if x != nil {
		return x.Stale
	}
	return false
}

// SyncLiveAccountRequest triggers a fresh account snapshot fetch from the broker.
type SyncLiveAccountRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SyncLiveAccountRequest) ProtoMessage() {}

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

func (x *SyncLiveAccountRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

// SyncLiveAccountResponse returns the refreshed snapshot or a typed error.
type SyncLiveAccountResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Snapshot      *LiveAccountSnapshot   `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SyncLiveAccountResponse) ProtoMessage() {}

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

func (x *SyncLiveAccountResponse) GetSnapshot() *LiveAccountSnapshot {
	if x != nil {
		return x.Snapshot
	}
	return nil
}

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

// GetLiveAccountSnapshotRequest retrieves the last synced account snapshot.
type GetLiveAccountSnapshotRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetLiveAccountSnapshotRequest) ProtoMessage() {}

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

func (x *GetLiveAccountSnapshotRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

// GetLiveAccountSnapshotResponse returns the cached snapshot or a typed error.
type GetLiveAccountSnapshotResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Snapshot      *LiveAccountSnapshot   `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveAccountSnapshotResponse) Reset() {
	*x = GetLiveAccountSnapshotResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveAccountSnapshotResponse) ProtoMessage() {}

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

func (x *GetLiveAccountSnapshotResponse) GetSnapshot() *LiveAccountSnapshot {
	if x != nil {
		return x.Snapshot
	}
	return nil
}

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

// LivePositionSnapshot is a single position inside a live account.
type LivePositionSnapshot struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	InstrumentId  string                 `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"`
	Side          string                 `protobuf:"bytes,2,opt,name=side,proto3" json:"side,omitempty"`
	Quantity      *Quantity              `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	AvgPrice      *Price                 `protobuf:"bytes,4,opt,name=avg_price,json=avgPrice,proto3" json:"avg_price,omitempty"`
	CurrentPrice  *Price                 `protobuf:"bytes,5,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	MarketValue   *Decimal               `protobuf:"bytes,6,opt,name=market_value,json=marketValue,proto3" json:"market_value,omitempty"`
	Pnl           *Decimal               `protobuf:"bytes,7,opt,name=pnl,proto3" json:"pnl,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *LivePositionSnapshot) Reset() {
	*x = LivePositionSnapshot{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LivePositionSnapshot) ProtoMessage() {}

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

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

func (x *LivePositionSnapshot) GetSide() string {
	if x != nil {
		return x.Side
	}
	return ""
}

func (x *LivePositionSnapshot) GetQuantity() *Quantity {
	if x != nil {
		return x.Quantity
	}
	return nil
}

func (x *LivePositionSnapshot) GetAvgPrice() *Price {
	if x != nil {
		return x.AvgPrice
	}
	return nil
}

func (x *LivePositionSnapshot) GetCurrentPrice() *Price {
	if x != nil {
		return x.CurrentPrice
	}
	return nil
}

func (x *LivePositionSnapshot) GetMarketValue() *Decimal {
	if x != nil {
		return x.MarketValue
	}
	return nil
}

func (x *LivePositionSnapshot) GetPnl() *Decimal {
	if x != nil {
		return x.Pnl
	}
	return nil
}

// LiveAuditEvent is a durable, broker-neutral record of a live operation event.
// Payload must never carry raw tokens, account numbers, or provider bodies.
type LiveAuditEvent struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Type            string                 `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	TimestampUnixMs int64                  `protobuf:"varint,2,opt,name=timestamp_unix_ms,json=timestampUnixMs,proto3" json:"timestamp_unix_ms,omitempty"`
	Broker          string                 `protobuf:"bytes,3,opt,name=broker,proto3" json:"broker,omitempty"`
	AccountId       string                 `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Payload         map[string]string      `protobuf:"bytes,5,rep,name=payload,proto3" json:"payload,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	EventId         string                 `protobuf:"bytes,6,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	OrderId         string                 `protobuf:"bytes,7,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Status          string                 `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	Reason          string                 `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
	Actor           string                 `protobuf:"bytes,10,opt,name=actor,proto3" json:"actor,omitempty"`
	CorrelationId   string                 `protobuf:"bytes,11,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *LiveAuditEvent) Reset() {
	*x = LiveAuditEvent{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LiveAuditEvent) ProtoMessage() {}

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

func (x *LiveAuditEvent) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

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

func (x *LiveAuditEvent) GetBroker() string {
	if x != nil {
		return x.Broker
	}
	return ""
}

func (x *LiveAuditEvent) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *LiveAuditEvent) GetPayload() map[string]string {
	if x != nil {
		return x.Payload
	}
	return nil
}

func (x *LiveAuditEvent) GetEventId() string {
	if x != nil {
		return x.EventId
	}
	return ""
}

func (x *LiveAuditEvent) GetOrderId() string {
	if x != nil {
		return x.OrderId
	}
	return ""
}

func (x *LiveAuditEvent) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

func (x *LiveAuditEvent) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

func (x *LiveAuditEvent) GetActor() string {
	if x != nil {
		return x.Actor
	}
	return ""
}

func (x *LiveAuditEvent) GetCorrelationId() string {
	if x != nil {
		return x.CorrelationId
	}
	return ""
}

// ListLiveAuditEventsRequest queries the durable audit trail with optional
// filters by account, order, and event type.
type ListLiveAuditEventsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	OrderId       string                 `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	EventType     string                 `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	Limit         int32                  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListLiveAuditEventsRequest) Reset() {
	*x = ListLiveAuditEventsRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListLiveAuditEventsRequest) ProtoMessage() {}

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

func (x *ListLiveAuditEventsRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *ListLiveAuditEventsRequest) GetOrderId() string {
	if x != nil {
		return x.OrderId
	}
	return ""
}

func (x *ListLiveAuditEventsRequest) GetEventType() string {
	if x != nil {
		return x.EventType
	}
	return ""
}

func (x *ListLiveAuditEventsRequest) GetLimit() int32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

// ListLiveAuditEventsResponse returns the matching audit event records or a
// typed error.
type ListLiveAuditEventsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Events        []*LiveAuditEvent      `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListLiveAuditEventsResponse) Reset() {
	*x = ListLiveAuditEventsResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListLiveAuditEventsResponse) ProtoMessage() {}

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

func (x *ListLiveAuditEventsResponse) GetEvents() []*LiveAuditEvent {
	if x != nil {
		return x.Events
	}
	return nil
}

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

// OperatorConfirmation is the explicit operator gate required before any live
// order reaches the broker. A missing or unconfirmed field causes the worker to
// return invalid_request without touching the broker.
type OperatorConfirmation struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	Confirmed         bool                   `protobuf:"varint,1,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
	OperatorId        string                 `protobuf:"bytes,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	Reason            string                 `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	ConfirmedAtUnixMs int64                  `protobuf:"varint,4,opt,name=confirmed_at_unix_ms,json=confirmedAtUnixMs,proto3" json:"confirmed_at_unix_ms,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *OperatorConfirmation) Reset() {
	*x = OperatorConfirmation{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*OperatorConfirmation) ProtoMessage() {}

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

func (x *OperatorConfirmation) GetConfirmed() bool {
	if x != nil {
		return x.Confirmed
	}
	return false
}

func (x *OperatorConfirmation) GetOperatorId() string {
	if x != nil {
		return x.OperatorId
	}
	return ""
}

func (x *OperatorConfirmation) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

func (x *OperatorConfirmation) GetConfirmedAtUnixMs() int64 {
	if x != nil {
		return x.ConfirmedAtUnixMs
	}
	return 0
}

// SubmitLiveOrderRequest submits a live order through the broker. The
// operator_confirmation gate must be present and confirmed=true or the worker
// returns invalid_request.
type SubmitLiveOrderRequest struct {
	state                protoimpl.MessageState `protogen:"open.v1"`
	AccountId            string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Intent               *LiveOrderIntent       `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
	OperatorConfirmation *OperatorConfirmation  `protobuf:"bytes,3,opt,name=operator_confirmation,json=operatorConfirmation,proto3" json:"operator_confirmation,omitempty"`
	IdempotencyKey       string                 `protobuf:"bytes,4,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *SubmitLiveOrderRequest) Reset() {
	*x = SubmitLiveOrderRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SubmitLiveOrderRequest) ProtoMessage() {}

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

func (x *SubmitLiveOrderRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *SubmitLiveOrderRequest) GetIntent() *LiveOrderIntent {
	if x != nil {
		return x.Intent
	}
	return nil
}

func (x *SubmitLiveOrderRequest) GetOperatorConfirmation() *OperatorConfirmation {
	if x != nil {
		return x.OperatorConfirmation
	}
	return nil
}

func (x *SubmitLiveOrderRequest) GetIdempotencyKey() string {
	if x != nil {
		return x.IdempotencyKey
	}
	return ""
}

// LiveRiskDecision carries the outcome of a risk policy evaluation for a live
// order submission. It is included in SubmitLiveOrderResponse when the risk
// guard blocked the order so headless operators can surface the denial reason
// alongside the rejected order record.
type LiveRiskDecision struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Allowed       bool                   `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	Reason        string                 `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *LiveRiskDecision) Reset() {
	*x = LiveRiskDecision{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LiveRiskDecision) ProtoMessage() {}

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

func (x *LiveRiskDecision) GetAllowed() bool {
	if x != nil {
		return x.Allowed
	}
	return false
}

func (x *LiveRiskDecision) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

// SubmitLiveOrderResponse carries the submitted live order or a typed error.
// When the order was blocked by the risk policy, order carries the rejected
// in-memory record and risk_decision carries the denial reason.
type SubmitLiveOrderResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Order         *LiveOrder             `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	RiskDecision  *LiveRiskDecision      `protobuf:"bytes,3,opt,name=risk_decision,json=riskDecision,proto3" json:"risk_decision,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SubmitLiveOrderResponse) Reset() {
	*x = SubmitLiveOrderResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SubmitLiveOrderResponse) ProtoMessage() {}

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

func (x *SubmitLiveOrderResponse) GetOrder() *LiveOrder {
	if x != nil {
		return x.Order
	}
	return nil
}

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

func (x *SubmitLiveOrderResponse) GetRiskDecision() *LiveRiskDecision {
	if x != nil {
		return x.RiskDecision
	}
	return nil
}

// CancelLiveOrderRequest cancels a pending live order by its live order id.
type CancelLiveOrderRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	LiveOrderId   string                 `protobuf:"bytes,2,opt,name=live_order_id,json=liveOrderId,proto3" json:"live_order_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelLiveOrderRequest) Reset() {
	*x = CancelLiveOrderRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CancelLiveOrderRequest) ProtoMessage() {}

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

func (x *CancelLiveOrderRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *CancelLiveOrderRequest) GetLiveOrderId() string {
	if x != nil {
		return x.LiveOrderId
	}
	return ""
}

// CancelLiveOrderResponse carries the cancelled order or a typed error.
type CancelLiveOrderResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Order         *LiveOrder             `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelLiveOrderResponse) Reset() {
	*x = CancelLiveOrderResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CancelLiveOrderResponse) ProtoMessage() {}

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

func (x *CancelLiveOrderResponse) GetOrder() *LiveOrder {
	if x != nil {
		return x.Order
	}
	return nil
}

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

// GetLiveOrderRequest retrieves the current state of a live order.
type GetLiveOrderRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	LiveOrderId   string                 `protobuf:"bytes,2,opt,name=live_order_id,json=liveOrderId,proto3" json:"live_order_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveOrderRequest) Reset() {
	*x = GetLiveOrderRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveOrderRequest) ProtoMessage() {}

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

func (x *GetLiveOrderRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *GetLiveOrderRequest) GetLiveOrderId() string {
	if x != nil {
		return x.LiveOrderId
	}
	return ""
}

// GetLiveOrderResponse carries the retrieved live order or a typed error.
type GetLiveOrderResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Order         *LiveOrder             `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveOrderResponse) Reset() {
	*x = GetLiveOrderResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveOrderResponse) ProtoMessage() {}

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

func (x *GetLiveOrderResponse) GetOrder() *LiveOrder {
	if x != nil {
		return x.Order
	}
	return nil
}

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

// LiveRiskPolicy describes the active risk limits applied before any live order
// reaches the broker. All limits are adjustable at runtime; a zero value for
// a numeric limit means the limit is not enforced.
type LiveRiskPolicy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// max_order_notional_by_currency maps a currency code (e.g. "KRW", "USD")
	// to the maximum allowed notional value per order as a decimal string.
	MaxOrderNotionalByCurrency map[string]string `protobuf:"bytes,1,rep,name=max_order_notional_by_currency,json=maxOrderNotionalByCurrency,proto3" json:"max_order_notional_by_currency,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	MaxDailyOrders             int32             `protobuf:"varint,2,opt,name=max_daily_orders,json=maxDailyOrders,proto3" json:"max_daily_orders,omitempty"`
	MaxOpenOrders              int32             `protobuf:"varint,3,opt,name=max_open_orders,json=maxOpenOrders,proto3" json:"max_open_orders,omitempty"`
	AllowShortSelling          bool              `protobuf:"varint,4,opt,name=allow_short_selling,json=allowShortSelling,proto3" json:"allow_short_selling,omitempty"`
	unknownFields              protoimpl.UnknownFields
	sizeCache                  protoimpl.SizeCache
}

func (x *LiveRiskPolicy) Reset() {
	*x = LiveRiskPolicy{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LiveRiskPolicy) ProtoMessage() {}

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

func (x *LiveRiskPolicy) GetMaxOrderNotionalByCurrency() map[string]string {
	if x != nil {
		return x.MaxOrderNotionalByCurrency
	}
	return nil
}

func (x *LiveRiskPolicy) GetMaxDailyOrders() int32 {
	if x != nil {
		return x.MaxDailyOrders
	}
	return 0
}

func (x *LiveRiskPolicy) GetMaxOpenOrders() int32 {
	if x != nil {
		return x.MaxOpenOrders
	}
	return 0
}

func (x *LiveRiskPolicy) GetAllowShortSelling() bool {
	if x != nil {
		return x.AllowShortSelling
	}
	return false
}

// LiveKillSwitchState captures whether live order submission is globally halted.
// The safe default is halted=true; operators must explicitly disable the kill
// switch before any live order can reach the broker.
type LiveKillSwitchState struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Halted        bool                   `protobuf:"varint,1,opt,name=halted,proto3" json:"halted,omitempty"`
	Reason        string                 `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *LiveKillSwitchState) Reset() {
	*x = LiveKillSwitchState{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LiveKillSwitchState) ProtoMessage() {}

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

func (x *LiveKillSwitchState) GetHalted() bool {
	if x != nil {
		return x.Halted
	}
	return false
}

func (x *LiveKillSwitchState) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

// GetLiveRiskPolicyRequest queries the active risk policy for a live account.
type GetLiveRiskPolicyRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveRiskPolicyRequest) Reset() {
	*x = GetLiveRiskPolicyRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveRiskPolicyRequest) ProtoMessage() {}

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

func (x *GetLiveRiskPolicyRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

// GetLiveRiskPolicyResponse returns the active risk policy or a typed error.
type GetLiveRiskPolicyResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Policy        *LiveRiskPolicy        `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveRiskPolicyResponse) Reset() {
	*x = GetLiveRiskPolicyResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveRiskPolicyResponse) ProtoMessage() {}

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

func (x *GetLiveRiskPolicyResponse) GetPolicy() *LiveRiskPolicy {
	if x != nil {
		return x.Policy
	}
	return nil
}

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

// GetLiveKillSwitchRequest queries the current kill switch state.
type GetLiveKillSwitchRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveKillSwitchRequest) Reset() {
	*x = GetLiveKillSwitchRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveKillSwitchRequest) ProtoMessage() {}

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

func (x *GetLiveKillSwitchRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

// GetLiveKillSwitchResponse returns the current kill switch state or a typed error.
type GetLiveKillSwitchResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	State         *LiveKillSwitchState   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetLiveKillSwitchResponse) Reset() {
	*x = GetLiveKillSwitchResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetLiveKillSwitchResponse) ProtoMessage() {}

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

func (x *GetLiveKillSwitchResponse) GetState() *LiveKillSwitchState {
	if x != nil {
		return x.State
	}
	return nil
}

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

// SetLiveKillSwitchRequest sets the kill switch to halted or unhalted.
type SetLiveKillSwitchRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccountId     string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Halted        bool                   `protobuf:"varint,2,opt,name=halted,proto3" json:"halted,omitempty"`
	Reason        string                 `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SetLiveKillSwitchRequest) Reset() {
	*x = SetLiveKillSwitchRequest{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SetLiveKillSwitchRequest) ProtoMessage() {}

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

func (x *SetLiveKillSwitchRequest) GetAccountId() string {
	if x != nil {
		return x.AccountId
	}
	return ""
}

func (x *SetLiveKillSwitchRequest) GetHalted() bool {
	if x != nil {
		return x.Halted
	}
	return false
}

func (x *SetLiveKillSwitchRequest) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

// SetLiveKillSwitchResponse returns the new kill switch state or a typed error.
type SetLiveKillSwitchResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	State         *LiveKillSwitchState   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Error         *ErrorInfo             `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SetLiveKillSwitchResponse) Reset() {
	*x = SetLiveKillSwitchResponse{}
	mi := &file_alt_v1_live_trading_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SetLiveKillSwitchResponse) ProtoMessage() {}

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

func (x *SetLiveKillSwitchResponse) GetState() *LiveKillSwitchState {
	if x != nil {
		return x.State
	}
	return nil
}

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

var File_alt_v1_live_trading_proto protoreflect.FileDescriptor

const file_alt_v1_live_trading_proto_rawDesc = "" +
	"\n" +
	"\x19alt/v1/live_trading.proto\x12\x06alt.v1\x1a\x13alt/v1/common.proto\x1a\x13alt/v1/market.proto\x1a\x15alt/v1/backtest.proto\"A\n" +
	" GetLiveBrokerCapabilitiesRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\"\x9b\x01\n" +
	"!GetLiveBrokerCapabilitiesResponse\x12M\n" +
	"\x13broker_capabilities\x18\x01 \x01(\v2\x1c.alt.v1.LiveBrokerCapabilityR\x12brokerCapabilities\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"\xf8\x02\n" +
	"\x14LiveBrokerCapability\x12\x16\n" +
	"\x06broker\x18\x01 \x01(\tR\x06broker\x12(\n" +
	"\amarkets\x18\x02 \x03(\x0e2\x0e.alt.v1.MarketR\amarkets\x12%\n" +
	"\x06venues\x18\x03 \x03(\x0e2\r.alt.v1.VenueR\x06venues\x12\x1f\n" +
	"\vorder_types\x18\x04 \x03(\tR\n" +
	"orderTypes\x12%\n" +
	"\x0esupports_amend\x18\x05 \x01(\bR\rsupportsAmend\x12'\n" +
	"\x0fsupports_cancel\x18\x06 \x01(\bR\x0esupportsCancel\x12)\n" +
	"\x10supports_account\x18\a \x01(\bR\x0fsupportsAccount\x12.\n" +
	"\x13supports_audit_tags\x18\b \x01(\bR\x11supportsAuditTags\x12+\n" +
	"\x12checked_at_unix_ms\x18\t \x01(\x03R\x0fcheckedAtUnixMs\"\x93\x03\n" +
	"\x0fLiveOrderIntent\x12#\n" +
	"\rinstrument_id\x18\x01 \x01(\tR\finstrumentId\x12\x12\n" +
	"\x04side\x18\x02 \x01(\tR\x04side\x12,\n" +
	"\bquantity\x18\x03 \x01(\v2\x10.alt.v1.QuantityR\bquantity\x12\x12\n" +
	"\x04type\x18\x04 \x01(\tR\x04type\x12\"\n" +
	"\rtime_in_force\x18\x05 \x01(\tR\vtimeInForce\x12.\n" +
	"\vlimit_price\x18\x06 \x01(\v2\r.alt.v1.PriceR\n" +
	"limitPrice\x12(\n" +
	"\x10broker_client_id\x18\a \x01(\tR\x0ebrokerClientId\x12H\n" +
	"\vcustom_tags\x18\b \x03(\v2'.alt.v1.LiveOrderIntent.CustomTagsEntryR\n" +
	"customTags\x1a=\n" +
	"\x0fCustomTagsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb0\x04\n" +
	"\tLiveOrder\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tbroker_id\x18\x02 \x01(\tR\bbrokerId\x12\x1b\n" +
	"\tclient_id\x18\x03 \x01(\tR\bclientId\x12\x1d\n" +
	"\n" +
	"account_id\x18\x04 \x01(\tR\taccountId\x12#\n" +
	"\rinstrument_id\x18\x05 \x01(\tR\finstrumentId\x12\x12\n" +
	"\x04side\x18\x06 \x01(\tR\x04side\x12,\n" +
	"\bquantity\x18\a \x01(\v2\x10.alt.v1.QuantityR\bquantity\x12\x12\n" +
	"\x04type\x18\b \x01(\tR\x04type\x12\"\n" +
	"\rtime_in_force\x18\t \x01(\tR\vtimeInForce\x12.\n" +
	"\vlimit_price\x18\n" +
	" \x01(\v2\r.alt.v1.PriceR\n" +
	"limitPrice\x12\x16\n" +
	"\x06status\x18\v \x01(\tR\x06status\x12#\n" +
	"\rbroker_status\x18\f \x01(\tR\fbrokerStatus\x12)\n" +
	"\x04fill\x18\r \x01(\v2\x15.alt.v1.BacktestTradeR\x04fill\x12)\n" +
	"\x10rejection_reason\x18\x0e \x01(\tR\x0frejectionReason\x12+\n" +
	"\x12created_at_unix_ms\x18\x0f \x01(\x03R\x0fcreatedAtUnixMs\x12+\n" +
	"\x12updated_at_unix_ms\x18\x10 \x01(\x03R\x0fupdatedAtUnixMs\"h\n" +
	"\x0fLiveCashBalance\x12,\n" +
	"\bcurrency\x18\x01 \x01(\x0e2\x10.alt.v1.CurrencyR\bcurrency\x12'\n" +
	"\x06amount\x18\x02 \x01(\v2\x0f.alt.v1.DecimalR\x06amount\"\xf6\x01\n" +
	"\x13LiveAccountSnapshot\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\x12\x16\n" +
	"\x06broker\x18\x02 \x01(\tR\x06broker\x12+\n" +
	"\x04cash\x18\x03 \x03(\v2\x17.alt.v1.LiveCashBalanceR\x04cash\x12:\n" +
	"\tpositions\x18\x04 \x03(\v2\x1c.alt.v1.LivePositionSnapshotR\tpositions\x12)\n" +
	"\x11synced_at_unix_ms\x18\x05 \x01(\x03R\x0esyncedAtUnixMs\x12\x14\n" +
	"\x05stale\x18\x06 \x01(\bR\x05stale\"7\n" +
	"\x16SyncLiveAccountRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\"{\n" +
	"\x17SyncLiveAccountResponse\x127\n" +
	"\bsnapshot\x18\x01 \x01(\v2\x1b.alt.v1.LiveAccountSnapshotR\bsnapshot\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\">\n" +
	"\x1dGetLiveAccountSnapshotRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\"\x82\x01\n" +
	"\x1eGetLiveAccountSnapshotResponse\x127\n" +
	"\bsnapshot\x18\x01 \x01(\v2\x1b.alt.v1.LiveAccountSnapshotR\bsnapshot\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"\xb4\x02\n" +
	"\x14LivePositionSnapshot\x12#\n" +
	"\rinstrument_id\x18\x01 \x01(\tR\finstrumentId\x12\x12\n" +
	"\x04side\x18\x02 \x01(\tR\x04side\x12,\n" +
	"\bquantity\x18\x03 \x01(\v2\x10.alt.v1.QuantityR\bquantity\x12*\n" +
	"\tavg_price\x18\x04 \x01(\v2\r.alt.v1.PriceR\bavgPrice\x122\n" +
	"\rcurrent_price\x18\x05 \x01(\v2\r.alt.v1.PriceR\fcurrentPrice\x122\n" +
	"\fmarket_value\x18\x06 \x01(\v2\x0f.alt.v1.DecimalR\vmarketValue\x12!\n" +
	"\x03pnl\x18\a \x01(\v2\x0f.alt.v1.DecimalR\x03pnl\"\xa5\x03\n" +
	"\x0eLiveAuditEvent\x12\x12\n" +
	"\x04type\x18\x01 \x01(\tR\x04type\x12*\n" +
	"\x11timestamp_unix_ms\x18\x02 \x01(\x03R\x0ftimestampUnixMs\x12\x16\n" +
	"\x06broker\x18\x03 \x01(\tR\x06broker\x12\x1d\n" +
	"\n" +
	"account_id\x18\x04 \x01(\tR\taccountId\x12=\n" +
	"\apayload\x18\x05 \x03(\v2#.alt.v1.LiveAuditEvent.PayloadEntryR\apayload\x12\x19\n" +
	"\bevent_id\x18\x06 \x01(\tR\aeventId\x12\x19\n" +
	"\border_id\x18\a \x01(\tR\aorderId\x12\x16\n" +
	"\x06status\x18\b \x01(\tR\x06status\x12\x16\n" +
	"\x06reason\x18\t \x01(\tR\x06reason\x12\x14\n" +
	"\x05actor\x18\n" +
	" \x01(\tR\x05actor\x12%\n" +
	"\x0ecorrelation_id\x18\v \x01(\tR\rcorrelationId\x1a:\n" +
	"\fPayloadEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8b\x01\n" +
	"\x1aListLiveAuditEventsRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\x12\x19\n" +
	"\border_id\x18\x02 \x01(\tR\aorderId\x12\x1d\n" +
	"\n" +
	"event_type\x18\x03 \x01(\tR\teventType\x12\x14\n" +
	"\x05limit\x18\x04 \x01(\x05R\x05limit\"v\n" +
	"\x1bListLiveAuditEventsResponse\x12.\n" +
	"\x06events\x18\x01 \x03(\v2\x16.alt.v1.LiveAuditEventR\x06events\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"\x9e\x01\n" +
	"\x14OperatorConfirmation\x12\x1c\n" +
	"\tconfirmed\x18\x01 \x01(\bR\tconfirmed\x12\x1f\n" +
	"\voperator_id\x18\x02 \x01(\tR\n" +
	"operatorId\x12\x16\n" +
	"\x06reason\x18\x03 \x01(\tR\x06reason\x12/\n" +
	"\x14confirmed_at_unix_ms\x18\x04 \x01(\x03R\x11confirmedAtUnixMs\"\xe4\x01\n" +
	"\x16SubmitLiveOrderRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\x12/\n" +
	"\x06intent\x18\x02 \x01(\v2\x17.alt.v1.LiveOrderIntentR\x06intent\x12Q\n" +
	"\x15operator_confirmation\x18\x03 \x01(\v2\x1c.alt.v1.OperatorConfirmationR\x14operatorConfirmation\x12'\n" +
	"\x0fidempotency_key\x18\x04 \x01(\tR\x0eidempotencyKey\"D\n" +
	"\x10LiveRiskDecision\x12\x18\n" +
	"\aallowed\x18\x01 \x01(\bR\aallowed\x12\x16\n" +
	"\x06reason\x18\x02 \x01(\tR\x06reason\"\xaa\x01\n" +
	"\x17SubmitLiveOrderResponse\x12'\n" +
	"\x05order\x18\x01 \x01(\v2\x11.alt.v1.LiveOrderR\x05order\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\x12=\n" +
	"\rrisk_decision\x18\x03 \x01(\v2\x18.alt.v1.LiveRiskDecisionR\friskDecision\"[\n" +
	"\x16CancelLiveOrderRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\x12\"\n" +
	"\rlive_order_id\x18\x02 \x01(\tR\vliveOrderId\"k\n" +
	"\x17CancelLiveOrderResponse\x12'\n" +
	"\x05order\x18\x01 \x01(\v2\x11.alt.v1.LiveOrderR\x05order\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"X\n" +
	"\x13GetLiveOrderRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\x12\"\n" +
	"\rlive_order_id\x18\x02 \x01(\tR\vliveOrderId\"h\n" +
	"\x14GetLiveOrderResponse\x12'\n" +
	"\x05order\x18\x01 \x01(\v2\x11.alt.v1.LiveOrderR\x05order\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"\xdd\x02\n" +
	"\x0eLiveRiskPolicy\x12z\n" +
	"\x1emax_order_notional_by_currency\x18\x01 \x03(\v26.alt.v1.LiveRiskPolicy.MaxOrderNotionalByCurrencyEntryR\x1amaxOrderNotionalByCurrency\x12(\n" +
	"\x10max_daily_orders\x18\x02 \x01(\x05R\x0emaxDailyOrders\x12&\n" +
	"\x0fmax_open_orders\x18\x03 \x01(\x05R\rmaxOpenOrders\x12.\n" +
	"\x13allow_short_selling\x18\x04 \x01(\bR\x11allowShortSelling\x1aM\n" +
	"\x1fMaxOrderNotionalByCurrencyEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"E\n" +
	"\x13LiveKillSwitchState\x12\x16\n" +
	"\x06halted\x18\x01 \x01(\bR\x06halted\x12\x16\n" +
	"\x06reason\x18\x02 \x01(\tR\x06reason\"9\n" +
	"\x18GetLiveRiskPolicyRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\"t\n" +
	"\x19GetLiveRiskPolicyResponse\x12.\n" +
	"\x06policy\x18\x01 \x01(\v2\x16.alt.v1.LiveRiskPolicyR\x06policy\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"9\n" +
	"\x18GetLiveKillSwitchRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\"w\n" +
	"\x19GetLiveKillSwitchResponse\x121\n" +
	"\x05state\x18\x01 \x01(\v2\x1b.alt.v1.LiveKillSwitchStateR\x05state\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05error\"i\n" +
	"\x18SetLiveKillSwitchRequest\x12\x1d\n" +
	"\n" +
	"account_id\x18\x01 \x01(\tR\taccountId\x12\x16\n" +
	"\x06halted\x18\x02 \x01(\bR\x06halted\x12\x16\n" +
	"\x06reason\x18\x03 \x01(\tR\x06reason\"w\n" +
	"\x19SetLiveKillSwitchResponse\x121\n" +
	"\x05state\x18\x01 \x01(\v2\x1b.alt.v1.LiveKillSwitchStateR\x05state\x12'\n" +
	"\x05error\x18\x02 \x01(\v2\x11.alt.v1.ErrorInfoR\x05errorBCZAgit.toki-labs.com/toki/alt/packages/contracts/gen/go/alt/v1;altv1b\x06proto3"

var (
	file_alt_v1_live_trading_proto_rawDescOnce sync.Once
	file_alt_v1_live_trading_proto_rawDescData []byte
)

func file_alt_v1_live_trading_proto_rawDescGZIP() []byte {
	file_alt_v1_live_trading_proto_rawDescOnce.Do(func() {
		file_alt_v1_live_trading_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_alt_v1_live_trading_proto_rawDesc), len(file_alt_v1_live_trading_proto_rawDesc)))
	})
	return file_alt_v1_live_trading_proto_rawDescData
}

var file_alt_v1_live_trading_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
var file_alt_v1_live_trading_proto_goTypes = []any{
	(*GetLiveBrokerCapabilitiesRequest)(nil),  // 0: alt.v1.GetLiveBrokerCapabilitiesRequest
	(*GetLiveBrokerCapabilitiesResponse)(nil), // 1: alt.v1.GetLiveBrokerCapabilitiesResponse
	(*LiveBrokerCapability)(nil),              // 2: alt.v1.LiveBrokerCapability
	(*LiveOrderIntent)(nil),                   // 3: alt.v1.LiveOrderIntent
	(*LiveOrder)(nil),                         // 4: alt.v1.LiveOrder
	(*LiveCashBalance)(nil),                   // 5: alt.v1.LiveCashBalance
	(*LiveAccountSnapshot)(nil),               // 6: alt.v1.LiveAccountSnapshot
	(*SyncLiveAccountRequest)(nil),            // 7: alt.v1.SyncLiveAccountRequest
	(*SyncLiveAccountResponse)(nil),           // 8: alt.v1.SyncLiveAccountResponse
	(*GetLiveAccountSnapshotRequest)(nil),     // 9: alt.v1.GetLiveAccountSnapshotRequest
	(*GetLiveAccountSnapshotResponse)(nil),    // 10: alt.v1.GetLiveAccountSnapshotResponse
	(*LivePositionSnapshot)(nil),              // 11: alt.v1.LivePositionSnapshot
	(*LiveAuditEvent)(nil),                    // 12: alt.v1.LiveAuditEvent
	(*ListLiveAuditEventsRequest)(nil),        // 13: alt.v1.ListLiveAuditEventsRequest
	(*ListLiveAuditEventsResponse)(nil),       // 14: alt.v1.ListLiveAuditEventsResponse
	(*OperatorConfirmation)(nil),              // 15: alt.v1.OperatorConfirmation
	(*SubmitLiveOrderRequest)(nil),            // 16: alt.v1.SubmitLiveOrderRequest
	(*LiveRiskDecision)(nil),                  // 17: alt.v1.LiveRiskDecision
	(*SubmitLiveOrderResponse)(nil),           // 18: alt.v1.SubmitLiveOrderResponse
	(*CancelLiveOrderRequest)(nil),            // 19: alt.v1.CancelLiveOrderRequest
	(*CancelLiveOrderResponse)(nil),           // 20: alt.v1.CancelLiveOrderResponse
	(*GetLiveOrderRequest)(nil),               // 21: alt.v1.GetLiveOrderRequest
	(*GetLiveOrderResponse)(nil),              // 22: alt.v1.GetLiveOrderResponse
	(*LiveRiskPolicy)(nil),                    // 23: alt.v1.LiveRiskPolicy
	(*LiveKillSwitchState)(nil),               // 24: alt.v1.LiveKillSwitchState
	(*GetLiveRiskPolicyRequest)(nil),          // 25: alt.v1.GetLiveRiskPolicyRequest
	(*GetLiveRiskPolicyResponse)(nil),         // 26: alt.v1.GetLiveRiskPolicyResponse
	(*GetLiveKillSwitchRequest)(nil),          // 27: alt.v1.GetLiveKillSwitchRequest
	(*GetLiveKillSwitchResponse)(nil),         // 28: alt.v1.GetLiveKillSwitchResponse
	(*SetLiveKillSwitchRequest)(nil),          // 29: alt.v1.SetLiveKillSwitchRequest
	(*SetLiveKillSwitchResponse)(nil),         // 30: alt.v1.SetLiveKillSwitchResponse
	nil,                                       // 31: alt.v1.LiveOrderIntent.CustomTagsEntry
	nil,                                       // 32: alt.v1.LiveAuditEvent.PayloadEntry
	nil,                                       // 33: alt.v1.LiveRiskPolicy.MaxOrderNotionalByCurrencyEntry
	(*ErrorInfo)(nil),                         // 34: alt.v1.ErrorInfo
	(Market)(0),                               // 35: alt.v1.Market
	(Venue)(0),                                // 36: alt.v1.Venue
	(*Quantity)(nil),                          // 37: alt.v1.Quantity
	(*Price)(nil),                             // 38: alt.v1.Price
	(*BacktestTrade)(nil),                     // 39: alt.v1.BacktestTrade
	(Currency)(0),                             // 40: alt.v1.Currency
	(*Decimal)(nil),                           // 41: alt.v1.Decimal
}
var file_alt_v1_live_trading_proto_depIdxs = []int32{
	2,  // 0: alt.v1.GetLiveBrokerCapabilitiesResponse.broker_capabilities:type_name -> alt.v1.LiveBrokerCapability
	34, // 1: alt.v1.GetLiveBrokerCapabilitiesResponse.error:type_name -> alt.v1.ErrorInfo
	35, // 2: alt.v1.LiveBrokerCapability.markets:type_name -> alt.v1.Market
	36, // 3: alt.v1.LiveBrokerCapability.venues:type_name -> alt.v1.Venue
	37, // 4: alt.v1.LiveOrderIntent.quantity:type_name -> alt.v1.Quantity
	38, // 5: alt.v1.LiveOrderIntent.limit_price:type_name -> alt.v1.Price
	31, // 6: alt.v1.LiveOrderIntent.custom_tags:type_name -> alt.v1.LiveOrderIntent.CustomTagsEntry
	37, // 7: alt.v1.LiveOrder.quantity:type_name -> alt.v1.Quantity
	38, // 8: alt.v1.LiveOrder.limit_price:type_name -> alt.v1.Price
	39, // 9: alt.v1.LiveOrder.fill:type_name -> alt.v1.BacktestTrade
	40, // 10: alt.v1.LiveCashBalance.currency:type_name -> alt.v1.Currency
	41, // 11: alt.v1.LiveCashBalance.amount:type_name -> alt.v1.Decimal
	5,  // 12: alt.v1.LiveAccountSnapshot.cash:type_name -> alt.v1.LiveCashBalance
	11, // 13: alt.v1.LiveAccountSnapshot.positions:type_name -> alt.v1.LivePositionSnapshot
	6,  // 14: alt.v1.SyncLiveAccountResponse.snapshot:type_name -> alt.v1.LiveAccountSnapshot
	34, // 15: alt.v1.SyncLiveAccountResponse.error:type_name -> alt.v1.ErrorInfo
	6,  // 16: alt.v1.GetLiveAccountSnapshotResponse.snapshot:type_name -> alt.v1.LiveAccountSnapshot
	34, // 17: alt.v1.GetLiveAccountSnapshotResponse.error:type_name -> alt.v1.ErrorInfo
	37, // 18: alt.v1.LivePositionSnapshot.quantity:type_name -> alt.v1.Quantity
	38, // 19: alt.v1.LivePositionSnapshot.avg_price:type_name -> alt.v1.Price
	38, // 20: alt.v1.LivePositionSnapshot.current_price:type_name -> alt.v1.Price
	41, // 21: alt.v1.LivePositionSnapshot.market_value:type_name -> alt.v1.Decimal
	41, // 22: alt.v1.LivePositionSnapshot.pnl:type_name -> alt.v1.Decimal
	32, // 23: alt.v1.LiveAuditEvent.payload:type_name -> alt.v1.LiveAuditEvent.PayloadEntry
	12, // 24: alt.v1.ListLiveAuditEventsResponse.events:type_name -> alt.v1.LiveAuditEvent
	34, // 25: alt.v1.ListLiveAuditEventsResponse.error:type_name -> alt.v1.ErrorInfo
	3,  // 26: alt.v1.SubmitLiveOrderRequest.intent:type_name -> alt.v1.LiveOrderIntent
	15, // 27: alt.v1.SubmitLiveOrderRequest.operator_confirmation:type_name -> alt.v1.OperatorConfirmation
	4,  // 28: alt.v1.SubmitLiveOrderResponse.order:type_name -> alt.v1.LiveOrder
	34, // 29: alt.v1.SubmitLiveOrderResponse.error:type_name -> alt.v1.ErrorInfo
	17, // 30: alt.v1.SubmitLiveOrderResponse.risk_decision:type_name -> alt.v1.LiveRiskDecision
	4,  // 31: alt.v1.CancelLiveOrderResponse.order:type_name -> alt.v1.LiveOrder
	34, // 32: alt.v1.CancelLiveOrderResponse.error:type_name -> alt.v1.ErrorInfo
	4,  // 33: alt.v1.GetLiveOrderResponse.order:type_name -> alt.v1.LiveOrder
	34, // 34: alt.v1.GetLiveOrderResponse.error:type_name -> alt.v1.ErrorInfo
	33, // 35: alt.v1.LiveRiskPolicy.max_order_notional_by_currency:type_name -> alt.v1.LiveRiskPolicy.MaxOrderNotionalByCurrencyEntry
	23, // 36: alt.v1.GetLiveRiskPolicyResponse.policy:type_name -> alt.v1.LiveRiskPolicy
	34, // 37: alt.v1.GetLiveRiskPolicyResponse.error:type_name -> alt.v1.ErrorInfo
	24, // 38: alt.v1.GetLiveKillSwitchResponse.state:type_name -> alt.v1.LiveKillSwitchState
	34, // 39: alt.v1.GetLiveKillSwitchResponse.error:type_name -> alt.v1.ErrorInfo
	24, // 40: alt.v1.SetLiveKillSwitchResponse.state:type_name -> alt.v1.LiveKillSwitchState
	34, // 41: alt.v1.SetLiveKillSwitchResponse.error:type_name -> alt.v1.ErrorInfo
	42, // [42:42] is the sub-list for method output_type
	42, // [42:42] is the sub-list for method input_type
	42, // [42:42] is the sub-list for extension type_name
	42, // [42:42] is the sub-list for extension extendee
	0,  // [0:42] is the sub-list for field type_name
}

func init() { file_alt_v1_live_trading_proto_init() }
func file_alt_v1_live_trading_proto_init() {
	if File_alt_v1_live_trading_proto != nil {
		return
	}
	file_alt_v1_common_proto_init()
	file_alt_v1_market_proto_init()
	file_alt_v1_backtest_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_alt_v1_live_trading_proto_rawDesc), len(file_alt_v1_live_trading_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   34,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_alt_v1_live_trading_proto_goTypes,
		DependencyIndexes: file_alt_v1_live_trading_proto_depIdxs,
		MessageInfos:      file_alt_v1_live_trading_proto_msgTypes,
	}.Build()
	File_alt_v1_live_trading_proto = out.File
	file_alt_v1_live_trading_proto_goTypes = nil
	file_alt_v1_live_trading_proto_depIdxs = nil
}
