investapi

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const (
	InstrumentsService_TradingSchedules_FullMethodName      = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/TradingSchedules"
	InstrumentsService_BondBy_FullMethodName                = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/BondBy"
	InstrumentsService_Bonds_FullMethodName                 = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Bonds"
	InstrumentsService_GetBondCoupons_FullMethodName        = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondCoupons"
	InstrumentsService_GetBondEvents_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondEvents"
	InstrumentsService_CurrencyBy_FullMethodName            = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/CurrencyBy"
	InstrumentsService_Currencies_FullMethodName            = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Currencies"
	InstrumentsService_EtfBy_FullMethodName                 = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/EtfBy"
	InstrumentsService_Etfs_FullMethodName                  = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Etfs"
	InstrumentsService_FutureBy_FullMethodName              = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/FutureBy"
	InstrumentsService_Futures_FullMethodName               = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Futures"
	InstrumentsService_OptionBy_FullMethodName              = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionBy"
	InstrumentsService_Options_FullMethodName               = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Options"
	InstrumentsService_OptionsBy_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionsBy"
	InstrumentsService_ShareBy_FullMethodName               = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/ShareBy"
	InstrumentsService_Shares_FullMethodName                = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Shares"
	InstrumentsService_Indicatives_FullMethodName           = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/Indicatives"
	InstrumentsService_GetAccruedInterests_FullMethodName   = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAccruedInterests"
	InstrumentsService_GetFuturesMargin_FullMethodName      = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFuturesMargin"
	InstrumentsService_GetInstrumentBy_FullMethodName       = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInstrumentBy"
	InstrumentsService_GetDividends_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetDividends"
	InstrumentsService_GetAssetBy_FullMethodName            = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetBy"
	InstrumentsService_GetAssets_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssets"
	InstrumentsService_GetFavorites_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavorites"
	InstrumentsService_EditFavorites_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/EditFavorites"
	InstrumentsService_GetCountries_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetCountries"
	InstrumentsService_FindInstrument_FullMethodName        = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/FindInstrument"
	InstrumentsService_GetBrands_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrands"
	InstrumentsService_GetBrandBy_FullMethodName            = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrandBy"
	InstrumentsService_GetAssetFundamentals_FullMethodName  = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetFundamentals"
	InstrumentsService_GetAssetReports_FullMethodName       = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetReports"
	InstrumentsService_GetConsensusForecasts_FullMethodName = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetConsensusForecasts"
	InstrumentsService_GetForecastBy_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetForecastBy"
)
View Source
const (
	MarketDataService_GetCandles_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetCandles"
	MarketDataService_GetLastPrices_FullMethodName      = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetLastPrices"
	MarketDataService_GetOrderBook_FullMethodName       = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetOrderBook"
	MarketDataService_GetTradingStatus_FullMethodName   = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetTradingStatus"
	MarketDataService_GetTradingStatuses_FullMethodName = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetTradingStatuses"
	MarketDataService_GetLastTrades_FullMethodName      = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetLastTrades"
	MarketDataService_GetClosePrices_FullMethodName     = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetClosePrices"
	MarketDataService_GetTechAnalysis_FullMethodName    = "/tinkoff.public.invest.api.contract.v1.MarketDataService/GetTechAnalysis"
)
View Source
const (
	MarketDataStreamService_MarketDataStream_FullMethodName           = "/tinkoff.public.invest.api.contract.v1.MarketDataStreamService/MarketDataStream"
	MarketDataStreamService_MarketDataServerSideStream_FullMethodName = "/tinkoff.public.invest.api.contract.v1.MarketDataStreamService/MarketDataServerSideStream"
)
View Source
const (
	OperationsService_GetOperations_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetOperations"
	OperationsService_GetPortfolio_FullMethodName              = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetPortfolio"
	OperationsService_GetPositions_FullMethodName              = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetPositions"
	OperationsService_GetWithdrawLimits_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetWithdrawLimits"
	OperationsService_GetBrokerReport_FullMethodName           = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetBrokerReport"
	OperationsService_GetDividendsForeignIssuer_FullMethodName = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetDividendsForeignIssuer"
	OperationsService_GetOperationsByCursor_FullMethodName     = "/tinkoff.public.invest.api.contract.v1.OperationsService/GetOperationsByCursor"
)
View Source
const (
	OperationsStreamService_PortfolioStream_FullMethodName = "/tinkoff.public.invest.api.contract.v1.OperationsStreamService/PortfolioStream"
	OperationsStreamService_PositionsStream_FullMethodName = "/tinkoff.public.invest.api.contract.v1.OperationsStreamService/PositionsStream"
)
View Source
const (
	OrdersStreamService_TradesStream_FullMethodName     = "/tinkoff.public.invest.api.contract.v1.OrdersStreamService/TradesStream"
	OrdersStreamService_OrderStateStream_FullMethodName = "/tinkoff.public.invest.api.contract.v1.OrdersStreamService/OrderStateStream"
)
View Source
const (
	OrdersService_PostOrder_FullMethodName      = "/tinkoff.public.invest.api.contract.v1.OrdersService/PostOrder"
	OrdersService_PostOrderAsync_FullMethodName = "/tinkoff.public.invest.api.contract.v1.OrdersService/PostOrderAsync"
	OrdersService_CancelOrder_FullMethodName    = "/tinkoff.public.invest.api.contract.v1.OrdersService/CancelOrder"
	OrdersService_GetOrderState_FullMethodName  = "/tinkoff.public.invest.api.contract.v1.OrdersService/GetOrderState"
	OrdersService_GetOrders_FullMethodName      = "/tinkoff.public.invest.api.contract.v1.OrdersService/GetOrders"
	OrdersService_ReplaceOrder_FullMethodName   = "/tinkoff.public.invest.api.contract.v1.OrdersService/ReplaceOrder"
	OrdersService_GetMaxLots_FullMethodName     = "/tinkoff.public.invest.api.contract.v1.OrdersService/GetMaxLots"
	OrdersService_GetOrderPrice_FullMethodName  = "/tinkoff.public.invest.api.contract.v1.OrdersService/GetOrderPrice"
)
View Source
const (
	SandboxService_OpenSandboxAccount_FullMethodName           = "/tinkoff.public.invest.api.contract.v1.SandboxService/OpenSandboxAccount"
	SandboxService_GetSandboxAccounts_FullMethodName           = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxAccounts"
	SandboxService_CloseSandboxAccount_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.SandboxService/CloseSandboxAccount"
	SandboxService_PostSandboxOrder_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.SandboxService/PostSandboxOrder"
	SandboxService_ReplaceSandboxOrder_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.SandboxService/ReplaceSandboxOrder"
	SandboxService_GetSandboxOrders_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOrders"
	SandboxService_CancelSandboxOrder_FullMethodName           = "/tinkoff.public.invest.api.contract.v1.SandboxService/CancelSandboxOrder"
	SandboxService_GetSandboxOrderState_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOrderState"
	SandboxService_GetSandboxPositions_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxPositions"
	SandboxService_GetSandboxOperations_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOperations"
	SandboxService_GetSandboxOperationsByCursor_FullMethodName = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOperationsByCursor"
	SandboxService_GetSandboxPortfolio_FullMethodName          = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxPortfolio"
	SandboxService_SandboxPayIn_FullMethodName                 = "/tinkoff.public.invest.api.contract.v1.SandboxService/SandboxPayIn"
	SandboxService_GetSandboxWithdrawLimits_FullMethodName     = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxWithdrawLimits"
	SandboxService_GetSandboxMaxLots_FullMethodName            = "/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxMaxLots"
)
View Source
const (
	SignalService_GetStrategies_FullMethodName = "/tinkoff.public.invest.api.contract.v1.SignalService/GetStrategies"
	SignalService_GetSignals_FullMethodName    = "/tinkoff.public.invest.api.contract.v1.SignalService/GetSignals"
)
View Source
const (
	StopOrdersService_PostStopOrder_FullMethodName   = "/tinkoff.public.invest.api.contract.v1.StopOrdersService/PostStopOrder"
	StopOrdersService_GetStopOrders_FullMethodName   = "/tinkoff.public.invest.api.contract.v1.StopOrdersService/GetStopOrders"
	StopOrdersService_CancelStopOrder_FullMethodName = "/tinkoff.public.invest.api.contract.v1.StopOrdersService/CancelStopOrder"
)
View Source
const (
	UsersService_GetAccounts_FullMethodName         = "/tinkoff.public.invest.api.contract.v1.UsersService/GetAccounts"
	UsersService_GetMarginAttributes_FullMethodName = "/tinkoff.public.invest.api.contract.v1.UsersService/GetMarginAttributes"
	UsersService_GetUserTariff_FullMethodName       = "/tinkoff.public.invest.api.contract.v1.UsersService/GetUserTariff"
	UsersService_GetInfo_FullMethodName             = "/tinkoff.public.invest.api.contract.v1.UsersService/GetInfo"
)
View Source
const DefaultEndpoint = "invest-public-api.tinkoff.ru:443"

DefaultEndpoint - это адрес, на котором работает продукционное окружение InvestAPI

View Source
const SandboxEndpoint = "sandbox-invest-public-api.tinkoff.ru:443"

SandboxEndpoint - это адрес, на котором работает тестовое окружение

View Source
const Version = "0fa7cafc0cce135f623c3acc8397b45130a7f446"

Version содержит хэш коммита, из которого был сгенерирован код клиента. В данном случае это - https://github.com/RussianInvestments/investAPI/commit/0fa7cafc0cce135f623c3acc8397b45130a7f446

Variables

View Source
var (
	InstrumentType_name = map[int32]string{
		0:  "INSTRUMENT_TYPE_UNSPECIFIED",
		1:  "INSTRUMENT_TYPE_BOND",
		2:  "INSTRUMENT_TYPE_SHARE",
		3:  "INSTRUMENT_TYPE_CURRENCY",
		4:  "INSTRUMENT_TYPE_ETF",
		5:  "INSTRUMENT_TYPE_FUTURES",
		6:  "INSTRUMENT_TYPE_SP",
		7:  "INSTRUMENT_TYPE_OPTION",
		8:  "INSTRUMENT_TYPE_CLEARING_CERTIFICATE",
		9:  "INSTRUMENT_TYPE_INDEX",
		10: "INSTRUMENT_TYPE_COMMODITY",
	}
	InstrumentType_value = map[string]int32{
		"INSTRUMENT_TYPE_UNSPECIFIED":          0,
		"INSTRUMENT_TYPE_BOND":                 1,
		"INSTRUMENT_TYPE_SHARE":                2,
		"INSTRUMENT_TYPE_CURRENCY":             3,
		"INSTRUMENT_TYPE_ETF":                  4,
		"INSTRUMENT_TYPE_FUTURES":              5,
		"INSTRUMENT_TYPE_SP":                   6,
		"INSTRUMENT_TYPE_OPTION":               7,
		"INSTRUMENT_TYPE_CLEARING_CERTIFICATE": 8,
		"INSTRUMENT_TYPE_INDEX":                9,
		"INSTRUMENT_TYPE_COMMODITY":            10,
	}
)

Enum value maps for InstrumentType.

View Source
var (
	InstrumentStatus_name = map[int32]string{
		0: "INSTRUMENT_STATUS_UNSPECIFIED",
		1: "INSTRUMENT_STATUS_BASE",
		2: "INSTRUMENT_STATUS_ALL",
	}
	InstrumentStatus_value = map[string]int32{
		"INSTRUMENT_STATUS_UNSPECIFIED": 0,
		"INSTRUMENT_STATUS_BASE":        1,
		"INSTRUMENT_STATUS_ALL":         2,
	}
)

Enum value maps for InstrumentStatus.

View Source
var (
	SecurityTradingStatus_name = map[int32]string{
		0:  "SECURITY_TRADING_STATUS_UNSPECIFIED",
		1:  "SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING",
		2:  "SECURITY_TRADING_STATUS_OPENING_PERIOD",
		3:  "SECURITY_TRADING_STATUS_CLOSING_PERIOD",
		4:  "SECURITY_TRADING_STATUS_BREAK_IN_TRADING",
		5:  "SECURITY_TRADING_STATUS_NORMAL_TRADING",
		6:  "SECURITY_TRADING_STATUS_CLOSING_AUCTION",
		7:  "SECURITY_TRADING_STATUS_DARK_POOL_AUCTION",
		8:  "SECURITY_TRADING_STATUS_DISCRETE_AUCTION",
		9:  "SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD",
		10: "SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE",
		11: "SECURITY_TRADING_STATUS_SESSION_ASSIGNED",
		12: "SECURITY_TRADING_STATUS_SESSION_CLOSE",
		13: "SECURITY_TRADING_STATUS_SESSION_OPEN",
		14: "SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING",
		15: "SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING",
		16: "SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING",
	}
	SecurityTradingStatus_value = map[string]int32{
		"SECURITY_TRADING_STATUS_UNSPECIFIED":                      0,
		"SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING":        1,
		"SECURITY_TRADING_STATUS_OPENING_PERIOD":                   2,
		"SECURITY_TRADING_STATUS_CLOSING_PERIOD":                   3,
		"SECURITY_TRADING_STATUS_BREAK_IN_TRADING":                 4,
		"SECURITY_TRADING_STATUS_NORMAL_TRADING":                   5,
		"SECURITY_TRADING_STATUS_CLOSING_AUCTION":                  6,
		"SECURITY_TRADING_STATUS_DARK_POOL_AUCTION":                7,
		"SECURITY_TRADING_STATUS_DISCRETE_AUCTION":                 8,
		"SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD":           9,
		"SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE": 10,
		"SECURITY_TRADING_STATUS_SESSION_ASSIGNED":                 11,
		"SECURITY_TRADING_STATUS_SESSION_CLOSE":                    12,
		"SECURITY_TRADING_STATUS_SESSION_OPEN":                     13,
		"SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING":            14,
		"SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING":          15,
		"SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING": 16,
	}
)

Enum value maps for SecurityTradingStatus.

View Source
var (
	PriceType_name = map[int32]string{
		0: "PRICE_TYPE_UNSPECIFIED",
		1: "PRICE_TYPE_POINT",
		2: "PRICE_TYPE_CURRENCY",
	}
	PriceType_value = map[string]int32{
		"PRICE_TYPE_UNSPECIFIED": 0,
		"PRICE_TYPE_POINT":       1,
		"PRICE_TYPE_CURRENCY":    2,
	}
)

Enum value maps for PriceType.

View Source
var (
	ResultSubscriptionStatus_name = map[int32]string{
		0:  "RESULT_SUBSCRIPTION_STATUS_UNSPECIFIED",
		1:  "RESULT_SUBSCRIPTION_STATUS_OK",
		13: "RESULT_SUBSCRIPTION_STATUS_ERROR",
	}
	ResultSubscriptionStatus_value = map[string]int32{
		"RESULT_SUBSCRIPTION_STATUS_UNSPECIFIED": 0,
		"RESULT_SUBSCRIPTION_STATUS_OK":          1,
		"RESULT_SUBSCRIPTION_STATUS_ERROR":       13,
	}
)

Enum value maps for ResultSubscriptionStatus.

View Source
var (
	CouponType_name = map[int32]string{
		0: "COUPON_TYPE_UNSPECIFIED",
		1: "COUPON_TYPE_CONSTANT",
		2: "COUPON_TYPE_FLOATING",
		3: "COUPON_TYPE_DISCOUNT",
		4: "COUPON_TYPE_MORTGAGE",
		5: "COUPON_TYPE_FIX",
		6: "COUPON_TYPE_VARIABLE",
		7: "COUPON_TYPE_OTHER",
	}
	CouponType_value = map[string]int32{
		"COUPON_TYPE_UNSPECIFIED": 0,
		"COUPON_TYPE_CONSTANT":    1,
		"COUPON_TYPE_FLOATING":    2,
		"COUPON_TYPE_DISCOUNT":    3,
		"COUPON_TYPE_MORTGAGE":    4,
		"COUPON_TYPE_FIX":         5,
		"COUPON_TYPE_VARIABLE":    6,
		"COUPON_TYPE_OTHER":       7,
	}
)

Enum value maps for CouponType.

View Source
var (
	OptionDirection_name = map[int32]string{
		0: "OPTION_DIRECTION_UNSPECIFIED",
		1: "OPTION_DIRECTION_PUT",
		2: "OPTION_DIRECTION_CALL",
	}
	OptionDirection_value = map[string]int32{
		"OPTION_DIRECTION_UNSPECIFIED": 0,
		"OPTION_DIRECTION_PUT":         1,
		"OPTION_DIRECTION_CALL":        2,
	}
)

Enum value maps for OptionDirection.

View Source
var (
	OptionPaymentType_name = map[int32]string{
		0: "OPTION_PAYMENT_TYPE_UNSPECIFIED",
		1: "OPTION_PAYMENT_TYPE_PREMIUM",
		2: "OPTION_PAYMENT_TYPE_MARGINAL",
	}
	OptionPaymentType_value = map[string]int32{
		"OPTION_PAYMENT_TYPE_UNSPECIFIED": 0,
		"OPTION_PAYMENT_TYPE_PREMIUM":     1,
		"OPTION_PAYMENT_TYPE_MARGINAL":    2,
	}
)

Enum value maps for OptionPaymentType.

View Source
var (
	OptionStyle_name = map[int32]string{
		0: "OPTION_STYLE_UNSPECIFIED",
		1: "OPTION_STYLE_AMERICAN",
		2: "OPTION_STYLE_EUROPEAN",
	}
	OptionStyle_value = map[string]int32{
		"OPTION_STYLE_UNSPECIFIED": 0,
		"OPTION_STYLE_AMERICAN":    1,
		"OPTION_STYLE_EUROPEAN":    2,
	}
)

Enum value maps for OptionStyle.

View Source
var (
	OptionSettlementType_name = map[int32]string{
		0: "OPTION_EXECUTION_TYPE_UNSPECIFIED",
		1: "OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY",
		2: "OPTION_EXECUTION_TYPE_CASH_SETTLEMENT",
	}
	OptionSettlementType_value = map[string]int32{
		"OPTION_EXECUTION_TYPE_UNSPECIFIED":       0,
		"OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY": 1,
		"OPTION_EXECUTION_TYPE_CASH_SETTLEMENT":   2,
	}
)

Enum value maps for OptionSettlementType.

View Source
var (
	InstrumentIdType_name = map[int32]string{
		0: "INSTRUMENT_ID_UNSPECIFIED",
		1: "INSTRUMENT_ID_TYPE_FIGI",
		2: "INSTRUMENT_ID_TYPE_TICKER",
		3: "INSTRUMENT_ID_TYPE_UID",
		4: "INSTRUMENT_ID_TYPE_POSITION_UID",
	}
	InstrumentIdType_value = map[string]int32{
		"INSTRUMENT_ID_UNSPECIFIED":       0,
		"INSTRUMENT_ID_TYPE_FIGI":         1,
		"INSTRUMENT_ID_TYPE_TICKER":       2,
		"INSTRUMENT_ID_TYPE_UID":          3,
		"INSTRUMENT_ID_TYPE_POSITION_UID": 4,
	}
)

Enum value maps for InstrumentIdType.

View Source
var (
	ShareType_name = map[int32]string{
		0: "SHARE_TYPE_UNSPECIFIED",
		1: "SHARE_TYPE_COMMON",
		2: "SHARE_TYPE_PREFERRED",
		3: "SHARE_TYPE_ADR",
		4: "SHARE_TYPE_GDR",
		5: "SHARE_TYPE_MLP",
		6: "SHARE_TYPE_NY_REG_SHRS",
		7: "SHARE_TYPE_CLOSED_END_FUND",
		8: "SHARE_TYPE_REIT",
	}
	ShareType_value = map[string]int32{
		"SHARE_TYPE_UNSPECIFIED":     0,
		"SHARE_TYPE_COMMON":          1,
		"SHARE_TYPE_PREFERRED":       2,
		"SHARE_TYPE_ADR":             3,
		"SHARE_TYPE_GDR":             4,
		"SHARE_TYPE_MLP":             5,
		"SHARE_TYPE_NY_REG_SHRS":     6,
		"SHARE_TYPE_CLOSED_END_FUND": 7,
		"SHARE_TYPE_REIT":            8,
	}
)

Enum value maps for ShareType.

View Source
var (
	AssetType_name = map[int32]string{
		0: "ASSET_TYPE_UNSPECIFIED",
		1: "ASSET_TYPE_CURRENCY",
		2: "ASSET_TYPE_COMMODITY",
		3: "ASSET_TYPE_INDEX",
		4: "ASSET_TYPE_SECURITY",
	}
	AssetType_value = map[string]int32{
		"ASSET_TYPE_UNSPECIFIED": 0,
		"ASSET_TYPE_CURRENCY":    1,
		"ASSET_TYPE_COMMODITY":   2,
		"ASSET_TYPE_INDEX":       3,
		"ASSET_TYPE_SECURITY":    4,
	}
)

Enum value maps for AssetType.

View Source
var (
	StructuredProductType_name = map[int32]string{
		0: "SP_TYPE_UNSPECIFIED",
		1: "SP_TYPE_DELIVERABLE",
		2: "SP_TYPE_NON_DELIVERABLE",
	}
	StructuredProductType_value = map[string]int32{
		"SP_TYPE_UNSPECIFIED":     0,
		"SP_TYPE_DELIVERABLE":     1,
		"SP_TYPE_NON_DELIVERABLE": 2,
	}
)

Enum value maps for StructuredProductType.

View Source
var (
	EditFavoritesActionType_name = map[int32]string{
		0: "EDIT_FAVORITES_ACTION_TYPE_UNSPECIFIED",
		1: "EDIT_FAVORITES_ACTION_TYPE_ADD",
		2: "EDIT_FAVORITES_ACTION_TYPE_DEL",
	}
	EditFavoritesActionType_value = map[string]int32{
		"EDIT_FAVORITES_ACTION_TYPE_UNSPECIFIED": 0,
		"EDIT_FAVORITES_ACTION_TYPE_ADD":         1,
		"EDIT_FAVORITES_ACTION_TYPE_DEL":         2,
	}
)

Enum value maps for EditFavoritesActionType.

View Source
var (
	RealExchange_name = map[int32]string{
		0: "REAL_EXCHANGE_UNSPECIFIED",
		1: "REAL_EXCHANGE_MOEX",
		2: "REAL_EXCHANGE_RTS",
		3: "REAL_EXCHANGE_OTC",
		4: "REAL_EXCHANGE_DEALER",
	}
	RealExchange_value = map[string]int32{
		"REAL_EXCHANGE_UNSPECIFIED": 0,
		"REAL_EXCHANGE_MOEX":        1,
		"REAL_EXCHANGE_RTS":         2,
		"REAL_EXCHANGE_OTC":         3,
		"REAL_EXCHANGE_DEALER":      4,
	}
)

Enum value maps for RealExchange.

View Source
var (
	Recommendation_name = map[int32]string{
		0: "RECOMMENDATION_UNSPECIFIED",
		1: "RECOMMENDATION_BUY",
		2: "RECOMMENDATION_HOLD",
		3: "RECOMMENDATION_SELL",
	}
	Recommendation_value = map[string]int32{
		"RECOMMENDATION_UNSPECIFIED": 0,
		"RECOMMENDATION_BUY":         1,
		"RECOMMENDATION_HOLD":        2,
		"RECOMMENDATION_SELL":        3,
	}
)

Enum value maps for Recommendation.

View Source
var (
	RiskLevel_name = map[int32]string{
		0: "RISK_LEVEL_UNSPECIFIED",
		1: "RISK_LEVEL_LOW",
		2: "RISK_LEVEL_MODERATE",
		3: "RISK_LEVEL_HIGH",
	}
	RiskLevel_value = map[string]int32{
		"RISK_LEVEL_UNSPECIFIED": 0,
		"RISK_LEVEL_LOW":         1,
		"RISK_LEVEL_MODERATE":    2,
		"RISK_LEVEL_HIGH":        3,
	}
)

Enum value maps for RiskLevel.

View Source
var (
	BondType_name = map[int32]string{
		0: "BOND_TYPE_UNSPECIFIED",
		1: "BOND_TYPE_REPLACED",
	}
	BondType_value = map[string]int32{
		"BOND_TYPE_UNSPECIFIED": 0,
		"BOND_TYPE_REPLACED":    1,
	}
)

Enum value maps for BondType.

View Source
var (
	InstrumentExchangeType_name = map[int32]string{
		0: "INSTRUMENT_EXCHANGE_UNSPECIFIED",
		1: "INSTRUMENT_EXCHANGE_DEALER",
	}
	InstrumentExchangeType_value = map[string]int32{
		"INSTRUMENT_EXCHANGE_UNSPECIFIED": 0,
		"INSTRUMENT_EXCHANGE_DEALER":      1,
	}
)

Enum value maps for InstrumentExchangeType.

View Source
var (
	GetBondEventsRequest_EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNSPECIFIED",
		1: "EVENT_TYPE_CPN",
		2: "EVENT_TYPE_CALL",
		3: "EVENT_TYPE_MTY",
		4: "EVENT_TYPE_CONV",
	}
	GetBondEventsRequest_EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED": 0,
		"EVENT_TYPE_CPN":         1,
		"EVENT_TYPE_CALL":        2,
		"EVENT_TYPE_MTY":         3,
		"EVENT_TYPE_CONV":        4,
	}
)

Enum value maps for GetBondEventsRequest_EventType.

View Source
var (
	GetAssetReportsResponse_AssetReportPeriodType_name = map[int32]string{
		0: "PERIOD_TYPE_UNSPECIFIED",
		1: "PERIOD_TYPE_QUARTER",
		2: "PERIOD_TYPE_SEMIANNUAL",
		3: "PERIOD_TYPE_ANNUAL",
	}
	GetAssetReportsResponse_AssetReportPeriodType_value = map[string]int32{
		"PERIOD_TYPE_UNSPECIFIED": 0,
		"PERIOD_TYPE_QUARTER":     1,
		"PERIOD_TYPE_SEMIANNUAL":  2,
		"PERIOD_TYPE_ANNUAL":      3,
	}
)

Enum value maps for GetAssetReportsResponse_AssetReportPeriodType.

View Source
var (
	SubscriptionAction_name = map[int32]string{
		0: "SUBSCRIPTION_ACTION_UNSPECIFIED",
		1: "SUBSCRIPTION_ACTION_SUBSCRIBE",
		2: "SUBSCRIPTION_ACTION_UNSUBSCRIBE",
	}
	SubscriptionAction_value = map[string]int32{
		"SUBSCRIPTION_ACTION_UNSPECIFIED": 0,
		"SUBSCRIPTION_ACTION_SUBSCRIBE":   1,
		"SUBSCRIPTION_ACTION_UNSUBSCRIBE": 2,
	}
)

Enum value maps for SubscriptionAction.

View Source
var (
	SubscriptionInterval_name = map[int32]string{
		0:  "SUBSCRIPTION_INTERVAL_UNSPECIFIED",
		1:  "SUBSCRIPTION_INTERVAL_ONE_MINUTE",
		2:  "SUBSCRIPTION_INTERVAL_FIVE_MINUTES",
		3:  "SUBSCRIPTION_INTERVAL_FIFTEEN_MINUTES",
		4:  "SUBSCRIPTION_INTERVAL_ONE_HOUR",
		5:  "SUBSCRIPTION_INTERVAL_ONE_DAY",
		6:  "SUBSCRIPTION_INTERVAL_2_MIN",
		7:  "SUBSCRIPTION_INTERVAL_3_MIN",
		8:  "SUBSCRIPTION_INTERVAL_10_MIN",
		9:  "SUBSCRIPTION_INTERVAL_30_MIN",
		10: "SUBSCRIPTION_INTERVAL_2_HOUR",
		11: "SUBSCRIPTION_INTERVAL_4_HOUR",
		12: "SUBSCRIPTION_INTERVAL_WEEK",
		13: "SUBSCRIPTION_INTERVAL_MONTH",
	}
	SubscriptionInterval_value = map[string]int32{
		"SUBSCRIPTION_INTERVAL_UNSPECIFIED":     0,
		"SUBSCRIPTION_INTERVAL_ONE_MINUTE":      1,
		"SUBSCRIPTION_INTERVAL_FIVE_MINUTES":    2,
		"SUBSCRIPTION_INTERVAL_FIFTEEN_MINUTES": 3,
		"SUBSCRIPTION_INTERVAL_ONE_HOUR":        4,
		"SUBSCRIPTION_INTERVAL_ONE_DAY":         5,
		"SUBSCRIPTION_INTERVAL_2_MIN":           6,
		"SUBSCRIPTION_INTERVAL_3_MIN":           7,
		"SUBSCRIPTION_INTERVAL_10_MIN":          8,
		"SUBSCRIPTION_INTERVAL_30_MIN":          9,
		"SUBSCRIPTION_INTERVAL_2_HOUR":          10,
		"SUBSCRIPTION_INTERVAL_4_HOUR":          11,
		"SUBSCRIPTION_INTERVAL_WEEK":            12,
		"SUBSCRIPTION_INTERVAL_MONTH":           13,
	}
)

Enum value maps for SubscriptionInterval.

View Source
var (
	SubscriptionStatus_name = map[int32]string{
		0:  "SUBSCRIPTION_STATUS_UNSPECIFIED",
		1:  "SUBSCRIPTION_STATUS_SUCCESS",
		2:  "SUBSCRIPTION_STATUS_INSTRUMENT_NOT_FOUND",
		3:  "SUBSCRIPTION_STATUS_SUBSCRIPTION_ACTION_IS_INVALID",
		4:  "SUBSCRIPTION_STATUS_DEPTH_IS_INVALID",
		5:  "SUBSCRIPTION_STATUS_INTERVAL_IS_INVALID",
		6:  "SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED",
		7:  "SUBSCRIPTION_STATUS_INTERNAL_ERROR",
		8:  "SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS",
		9:  "SUBSCRIPTION_STATUS_SUBSCRIPTION_NOT_FOUND",
		10: "SUBSCRIPTION_STATUS_SOURCE_IS_INVALID",
	}
	SubscriptionStatus_value = map[string]int32{
		"SUBSCRIPTION_STATUS_UNSPECIFIED":                    0,
		"SUBSCRIPTION_STATUS_SUCCESS":                        1,
		"SUBSCRIPTION_STATUS_INSTRUMENT_NOT_FOUND":           2,
		"SUBSCRIPTION_STATUS_SUBSCRIPTION_ACTION_IS_INVALID": 3,
		"SUBSCRIPTION_STATUS_DEPTH_IS_INVALID":               4,
		"SUBSCRIPTION_STATUS_INTERVAL_IS_INVALID":            5,
		"SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED":              6,
		"SUBSCRIPTION_STATUS_INTERNAL_ERROR":                 7,
		"SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS":              8,
		"SUBSCRIPTION_STATUS_SUBSCRIPTION_NOT_FOUND":         9,
		"SUBSCRIPTION_STATUS_SOURCE_IS_INVALID":              10,
	}
)

Enum value maps for SubscriptionStatus.

View Source
var (
	TradeSourceType_name = map[int32]string{
		0: "TRADE_SOURCE_UNSPECIFIED",
		1: "TRADE_SOURCE_EXCHANGE",
		2: "TRADE_SOURCE_DEALER",
		3: "TRADE_SOURCE_ALL",
	}
	TradeSourceType_value = map[string]int32{
		"TRADE_SOURCE_UNSPECIFIED": 0,
		"TRADE_SOURCE_EXCHANGE":    1,
		"TRADE_SOURCE_DEALER":      2,
		"TRADE_SOURCE_ALL":         3,
	}
)

Enum value maps for TradeSourceType.

View Source
var (
	TradeDirection_name = map[int32]string{
		0: "TRADE_DIRECTION_UNSPECIFIED",
		1: "TRADE_DIRECTION_BUY",
		2: "TRADE_DIRECTION_SELL",
	}
	TradeDirection_value = map[string]int32{
		"TRADE_DIRECTION_UNSPECIFIED": 0,
		"TRADE_DIRECTION_BUY":         1,
		"TRADE_DIRECTION_SELL":        2,
	}
)

Enum value maps for TradeDirection.

View Source
var (
	CandleInterval_name = map[int32]string{
		0:  "CANDLE_INTERVAL_UNSPECIFIED",
		1:  "CANDLE_INTERVAL_1_MIN",
		2:  "CANDLE_INTERVAL_5_MIN",
		3:  "CANDLE_INTERVAL_15_MIN",
		4:  "CANDLE_INTERVAL_HOUR",
		5:  "CANDLE_INTERVAL_DAY",
		6:  "CANDLE_INTERVAL_2_MIN",
		7:  "CANDLE_INTERVAL_3_MIN",
		8:  "CANDLE_INTERVAL_10_MIN",
		9:  "CANDLE_INTERVAL_30_MIN",
		10: "CANDLE_INTERVAL_2_HOUR",
		11: "CANDLE_INTERVAL_4_HOUR",
		12: "CANDLE_INTERVAL_WEEK",
		13: "CANDLE_INTERVAL_MONTH",
	}
	CandleInterval_value = map[string]int32{
		"CANDLE_INTERVAL_UNSPECIFIED": 0,
		"CANDLE_INTERVAL_1_MIN":       1,
		"CANDLE_INTERVAL_5_MIN":       2,
		"CANDLE_INTERVAL_15_MIN":      3,
		"CANDLE_INTERVAL_HOUR":        4,
		"CANDLE_INTERVAL_DAY":         5,
		"CANDLE_INTERVAL_2_MIN":       6,
		"CANDLE_INTERVAL_3_MIN":       7,
		"CANDLE_INTERVAL_10_MIN":      8,
		"CANDLE_INTERVAL_30_MIN":      9,
		"CANDLE_INTERVAL_2_HOUR":      10,
		"CANDLE_INTERVAL_4_HOUR":      11,
		"CANDLE_INTERVAL_WEEK":        12,
		"CANDLE_INTERVAL_MONTH":       13,
	}
)

Enum value maps for CandleInterval.

View Source
var (
	CandleSource_name = map[int32]string{
		0: "CANDLE_SOURCE_UNSPECIFIED",
		1: "CANDLE_SOURCE_EXCHANGE",
		2: "CANDLE_SOURCE_DEALER_WEEKEND",
	}
	CandleSource_value = map[string]int32{
		"CANDLE_SOURCE_UNSPECIFIED":    0,
		"CANDLE_SOURCE_EXCHANGE":       1,
		"CANDLE_SOURCE_DEALER_WEEKEND": 2,
	}
)

Enum value maps for CandleSource.

View Source
var (
	OrderBookType_name = map[int32]string{
		0: "ORDERBOOK_TYPE_UNSPECIFIED",
		1: "ORDERBOOK_TYPE_EXCHANGE",
		2: "ORDERBOOK_TYPE_DEALER",
		3: "ORDERBOOK_TYPE_ALL",
	}
	OrderBookType_value = map[string]int32{
		"ORDERBOOK_TYPE_UNSPECIFIED": 0,
		"ORDERBOOK_TYPE_EXCHANGE":    1,
		"ORDERBOOK_TYPE_DEALER":      2,
		"ORDERBOOK_TYPE_ALL":         3,
	}
)

Enum value maps for OrderBookType.

View Source
var (
	LastPriceType_name = map[int32]string{
		0: "LAST_PRICE_UNSPECIFIED",
		1: "LAST_PRICE_EXCHANGE",
		2: "LAST_PRICE_DEALER",
	}
	LastPriceType_value = map[string]int32{
		"LAST_PRICE_UNSPECIFIED": 0,
		"LAST_PRICE_EXCHANGE":    1,
		"LAST_PRICE_DEALER":      2,
	}
)

Enum value maps for LastPriceType.

View Source
var (
	GetCandlesRequest_CandleSource_name = map[int32]string{
		0: "CANDLE_SOURCE_UNSPECIFIED",
		1: "CANDLE_SOURCE_EXCHANGE",
		3: "CANDLE_SOURCE_INCLUDE_WEEKEND",
	}
	GetCandlesRequest_CandleSource_value = map[string]int32{
		"CANDLE_SOURCE_UNSPECIFIED":     0,
		"CANDLE_SOURCE_EXCHANGE":        1,
		"CANDLE_SOURCE_INCLUDE_WEEKEND": 3,
	}
)

Enum value maps for GetCandlesRequest_CandleSource.

View Source
var (
	GetTechAnalysisRequest_IndicatorInterval_name = map[int32]string{
		0:  "INDICATOR_INTERVAL_UNSPECIFIED",
		1:  "INDICATOR_INTERVAL_ONE_MINUTE",
		2:  "INDICATOR_INTERVAL_FIVE_MINUTES",
		3:  "INDICATOR_INTERVAL_FIFTEEN_MINUTES",
		4:  "INDICATOR_INTERVAL_ONE_HOUR",
		5:  "INDICATOR_INTERVAL_ONE_DAY",
		6:  "INDICATOR_INTERVAL_2_MIN",
		7:  "INDICATOR_INTERVAL_3_MIN",
		8:  "INDICATOR_INTERVAL_10_MIN",
		9:  "INDICATOR_INTERVAL_30_MIN",
		10: "INDICATOR_INTERVAL_2_HOUR",
		11: "INDICATOR_INTERVAL_4_HOUR",
		12: "INDICATOR_INTERVAL_WEEK",
		13: "INDICATOR_INTERVAL_MONTH",
	}
	GetTechAnalysisRequest_IndicatorInterval_value = map[string]int32{
		"INDICATOR_INTERVAL_UNSPECIFIED":     0,
		"INDICATOR_INTERVAL_ONE_MINUTE":      1,
		"INDICATOR_INTERVAL_FIVE_MINUTES":    2,
		"INDICATOR_INTERVAL_FIFTEEN_MINUTES": 3,
		"INDICATOR_INTERVAL_ONE_HOUR":        4,
		"INDICATOR_INTERVAL_ONE_DAY":         5,
		"INDICATOR_INTERVAL_2_MIN":           6,
		"INDICATOR_INTERVAL_3_MIN":           7,
		"INDICATOR_INTERVAL_10_MIN":          8,
		"INDICATOR_INTERVAL_30_MIN":          9,
		"INDICATOR_INTERVAL_2_HOUR":          10,
		"INDICATOR_INTERVAL_4_HOUR":          11,
		"INDICATOR_INTERVAL_WEEK":            12,
		"INDICATOR_INTERVAL_MONTH":           13,
	}
)

Enum value maps for GetTechAnalysisRequest_IndicatorInterval.

View Source
var (
	GetTechAnalysisRequest_TypeOfPrice_name = map[int32]string{
		0: "TYPE_OF_PRICE_UNSPECIFIED",
		1: "TYPE_OF_PRICE_CLOSE",
		2: "TYPE_OF_PRICE_OPEN",
		3: "TYPE_OF_PRICE_HIGH",
		4: "TYPE_OF_PRICE_LOW",
		5: "TYPE_OF_PRICE_AVG",
	}
	GetTechAnalysisRequest_TypeOfPrice_value = map[string]int32{
		"TYPE_OF_PRICE_UNSPECIFIED": 0,
		"TYPE_OF_PRICE_CLOSE":       1,
		"TYPE_OF_PRICE_OPEN":        2,
		"TYPE_OF_PRICE_HIGH":        3,
		"TYPE_OF_PRICE_LOW":         4,
		"TYPE_OF_PRICE_AVG":         5,
	}
)

Enum value maps for GetTechAnalysisRequest_TypeOfPrice.

View Source
var (
	GetTechAnalysisRequest_IndicatorType_name = map[int32]string{
		0: "INDICATOR_TYPE_UNSPECIFIED",
		1: "INDICATOR_TYPE_BB",
		2: "INDICATOR_TYPE_EMA",
		3: "INDICATOR_TYPE_RSI",
		4: "INDICATOR_TYPE_MACD",
		5: "INDICATOR_TYPE_SMA",
	}
	GetTechAnalysisRequest_IndicatorType_value = map[string]int32{
		"INDICATOR_TYPE_UNSPECIFIED": 0,
		"INDICATOR_TYPE_BB":          1,
		"INDICATOR_TYPE_EMA":         2,
		"INDICATOR_TYPE_RSI":         3,
		"INDICATOR_TYPE_MACD":        4,
		"INDICATOR_TYPE_SMA":         5,
	}
)

Enum value maps for GetTechAnalysisRequest_IndicatorType.

View Source
var (
	OperationState_name = map[int32]string{
		0: "OPERATION_STATE_UNSPECIFIED",
		1: "OPERATION_STATE_EXECUTED",
		2: "OPERATION_STATE_CANCELED",
		3: "OPERATION_STATE_PROGRESS",
	}
	OperationState_value = map[string]int32{
		"OPERATION_STATE_UNSPECIFIED": 0,
		"OPERATION_STATE_EXECUTED":    1,
		"OPERATION_STATE_CANCELED":    2,
		"OPERATION_STATE_PROGRESS":    3,
	}
)

Enum value maps for OperationState.

View Source
var (
	OperationType_name = map[int32]string{
		0:  "OPERATION_TYPE_UNSPECIFIED",
		1:  "OPERATION_TYPE_INPUT",
		2:  "OPERATION_TYPE_BOND_TAX",
		3:  "OPERATION_TYPE_OUTPUT_SECURITIES",
		4:  "OPERATION_TYPE_OVERNIGHT",
		5:  "OPERATION_TYPE_TAX",
		6:  "OPERATION_TYPE_BOND_REPAYMENT_FULL",
		7:  "OPERATION_TYPE_SELL_CARD",
		8:  "OPERATION_TYPE_DIVIDEND_TAX",
		9:  "OPERATION_TYPE_OUTPUT",
		10: "OPERATION_TYPE_BOND_REPAYMENT",
		11: "OPERATION_TYPE_TAX_CORRECTION",
		12: "OPERATION_TYPE_SERVICE_FEE",
		13: "OPERATION_TYPE_BENEFIT_TAX",
		14: "OPERATION_TYPE_MARGIN_FEE",
		15: "OPERATION_TYPE_BUY",
		16: "OPERATION_TYPE_BUY_CARD",
		17: "OPERATION_TYPE_INPUT_SECURITIES",
		18: "OPERATION_TYPE_SELL_MARGIN",
		19: "OPERATION_TYPE_BROKER_FEE",
		20: "OPERATION_TYPE_BUY_MARGIN",
		21: "OPERATION_TYPE_DIVIDEND",
		22: "OPERATION_TYPE_SELL",
		23: "OPERATION_TYPE_COUPON",
		24: "OPERATION_TYPE_SUCCESS_FEE",
		25: "OPERATION_TYPE_DIVIDEND_TRANSFER",
		26: "OPERATION_TYPE_ACCRUING_VARMARGIN",
		27: "OPERATION_TYPE_WRITING_OFF_VARMARGIN",
		28: "OPERATION_TYPE_DELIVERY_BUY",
		29: "OPERATION_TYPE_DELIVERY_SELL",
		30: "OPERATION_TYPE_TRACK_MFEE",
		31: "OPERATION_TYPE_TRACK_PFEE",
		32: "OPERATION_TYPE_TAX_PROGRESSIVE",
		33: "OPERATION_TYPE_BOND_TAX_PROGRESSIVE",
		34: "OPERATION_TYPE_DIVIDEND_TAX_PROGRESSIVE",
		35: "OPERATION_TYPE_BENEFIT_TAX_PROGRESSIVE",
		36: "OPERATION_TYPE_TAX_CORRECTION_PROGRESSIVE",
		37: "OPERATION_TYPE_TAX_REPO_PROGRESSIVE",
		38: "OPERATION_TYPE_TAX_REPO",
		39: "OPERATION_TYPE_TAX_REPO_HOLD",
		40: "OPERATION_TYPE_TAX_REPO_REFUND",
		41: "OPERATION_TYPE_TAX_REPO_HOLD_PROGRESSIVE",
		42: "OPERATION_TYPE_TAX_REPO_REFUND_PROGRESSIVE",
		43: "OPERATION_TYPE_DIV_EXT",
		44: "OPERATION_TYPE_TAX_CORRECTION_COUPON",
		45: "OPERATION_TYPE_CASH_FEE",
		46: "OPERATION_TYPE_OUT_FEE",
		47: "OPERATION_TYPE_OUT_STAMP_DUTY",
		50: "OPERATION_TYPE_OUTPUT_SWIFT",
		51: "OPERATION_TYPE_INPUT_SWIFT",
		53: "OPERATION_TYPE_OUTPUT_ACQUIRING",
		54: "OPERATION_TYPE_INPUT_ACQUIRING",
		55: "OPERATION_TYPE_OUTPUT_PENALTY",
		56: "OPERATION_TYPE_ADVICE_FEE",
		57: "OPERATION_TYPE_TRANS_IIS_BS",
		58: "OPERATION_TYPE_TRANS_BS_BS",
		59: "OPERATION_TYPE_OUT_MULTI",
		60: "OPERATION_TYPE_INP_MULTI",
		61: "OPERATION_TYPE_OVER_PLACEMENT",
		62: "OPERATION_TYPE_OVER_COM",
		63: "OPERATION_TYPE_OVER_INCOME",
		64: "OPERATION_TYPE_OPTION_EXPIRATION",
		65: "OPERATION_TYPE_FUTURE_EXPIRATION",
	}
	OperationType_value = map[string]int32{
		"OPERATION_TYPE_UNSPECIFIED":                 0,
		"OPERATION_TYPE_INPUT":                       1,
		"OPERATION_TYPE_BOND_TAX":                    2,
		"OPERATION_TYPE_OUTPUT_SECURITIES":           3,
		"OPERATION_TYPE_OVERNIGHT":                   4,
		"OPERATION_TYPE_TAX":                         5,
		"OPERATION_TYPE_BOND_REPAYMENT_FULL":         6,
		"OPERATION_TYPE_SELL_CARD":                   7,
		"OPERATION_TYPE_DIVIDEND_TAX":                8,
		"OPERATION_TYPE_OUTPUT":                      9,
		"OPERATION_TYPE_BOND_REPAYMENT":              10,
		"OPERATION_TYPE_TAX_CORRECTION":              11,
		"OPERATION_TYPE_SERVICE_FEE":                 12,
		"OPERATION_TYPE_BENEFIT_TAX":                 13,
		"OPERATION_TYPE_MARGIN_FEE":                  14,
		"OPERATION_TYPE_BUY":                         15,
		"OPERATION_TYPE_BUY_CARD":                    16,
		"OPERATION_TYPE_INPUT_SECURITIES":            17,
		"OPERATION_TYPE_SELL_MARGIN":                 18,
		"OPERATION_TYPE_BROKER_FEE":                  19,
		"OPERATION_TYPE_BUY_MARGIN":                  20,
		"OPERATION_TYPE_DIVIDEND":                    21,
		"OPERATION_TYPE_SELL":                        22,
		"OPERATION_TYPE_COUPON":                      23,
		"OPERATION_TYPE_SUCCESS_FEE":                 24,
		"OPERATION_TYPE_DIVIDEND_TRANSFER":           25,
		"OPERATION_TYPE_ACCRUING_VARMARGIN":          26,
		"OPERATION_TYPE_WRITING_OFF_VARMARGIN":       27,
		"OPERATION_TYPE_DELIVERY_BUY":                28,
		"OPERATION_TYPE_DELIVERY_SELL":               29,
		"OPERATION_TYPE_TRACK_MFEE":                  30,
		"OPERATION_TYPE_TRACK_PFEE":                  31,
		"OPERATION_TYPE_TAX_PROGRESSIVE":             32,
		"OPERATION_TYPE_BOND_TAX_PROGRESSIVE":        33,
		"OPERATION_TYPE_DIVIDEND_TAX_PROGRESSIVE":    34,
		"OPERATION_TYPE_BENEFIT_TAX_PROGRESSIVE":     35,
		"OPERATION_TYPE_TAX_CORRECTION_PROGRESSIVE":  36,
		"OPERATION_TYPE_TAX_REPO_PROGRESSIVE":        37,
		"OPERATION_TYPE_TAX_REPO":                    38,
		"OPERATION_TYPE_TAX_REPO_HOLD":               39,
		"OPERATION_TYPE_TAX_REPO_REFUND":             40,
		"OPERATION_TYPE_TAX_REPO_HOLD_PROGRESSIVE":   41,
		"OPERATION_TYPE_TAX_REPO_REFUND_PROGRESSIVE": 42,
		"OPERATION_TYPE_DIV_EXT":                     43,
		"OPERATION_TYPE_TAX_CORRECTION_COUPON":       44,
		"OPERATION_TYPE_CASH_FEE":                    45,
		"OPERATION_TYPE_OUT_FEE":                     46,
		"OPERATION_TYPE_OUT_STAMP_DUTY":              47,
		"OPERATION_TYPE_OUTPUT_SWIFT":                50,
		"OPERATION_TYPE_INPUT_SWIFT":                 51,
		"OPERATION_TYPE_OUTPUT_ACQUIRING":            53,
		"OPERATION_TYPE_INPUT_ACQUIRING":             54,
		"OPERATION_TYPE_OUTPUT_PENALTY":              55,
		"OPERATION_TYPE_ADVICE_FEE":                  56,
		"OPERATION_TYPE_TRANS_IIS_BS":                57,
		"OPERATION_TYPE_TRANS_BS_BS":                 58,
		"OPERATION_TYPE_OUT_MULTI":                   59,
		"OPERATION_TYPE_INP_MULTI":                   60,
		"OPERATION_TYPE_OVER_PLACEMENT":              61,
		"OPERATION_TYPE_OVER_COM":                    62,
		"OPERATION_TYPE_OVER_INCOME":                 63,
		"OPERATION_TYPE_OPTION_EXPIRATION":           64,
		"OPERATION_TYPE_FUTURE_EXPIRATION":           65,
	}
)

Enum value maps for OperationType.

View Source
var (
	PortfolioSubscriptionStatus_name = map[int32]string{
		0: "PORTFOLIO_SUBSCRIPTION_STATUS_UNSPECIFIED",
		1: "PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS",
		2: "PORTFOLIO_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND",
		3: "PORTFOLIO_SUBSCRIPTION_STATUS_INTERNAL_ERROR",
	}
	PortfolioSubscriptionStatus_value = map[string]int32{
		"PORTFOLIO_SUBSCRIPTION_STATUS_UNSPECIFIED":       0,
		"PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS":           1,
		"PORTFOLIO_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND": 2,
		"PORTFOLIO_SUBSCRIPTION_STATUS_INTERNAL_ERROR":    3,
	}
)

Enum value maps for PortfolioSubscriptionStatus.

View Source
var (
	PositionsAccountSubscriptionStatus_name = map[int32]string{
		0: "POSITIONS_SUBSCRIPTION_STATUS_UNSPECIFIED",
		1: "POSITIONS_SUBSCRIPTION_STATUS_SUCCESS",
		2: "POSITIONS_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND",
		3: "POSITIONS_SUBSCRIPTION_STATUS_INTERNAL_ERROR",
	}
	PositionsAccountSubscriptionStatus_value = map[string]int32{
		"POSITIONS_SUBSCRIPTION_STATUS_UNSPECIFIED":       0,
		"POSITIONS_SUBSCRIPTION_STATUS_SUCCESS":           1,
		"POSITIONS_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND": 2,
		"POSITIONS_SUBSCRIPTION_STATUS_INTERNAL_ERROR":    3,
	}
)

Enum value maps for PositionsAccountSubscriptionStatus.

View Source
var (
	PortfolioRequest_CurrencyRequest_name = map[int32]string{
		0: "RUB",
		1: "USD",
		2: "EUR",
	}
	PortfolioRequest_CurrencyRequest_value = map[string]int32{
		"RUB": 0,
		"USD": 1,
		"EUR": 2,
	}
)

Enum value maps for PortfolioRequest_CurrencyRequest.

View Source
var (
	OrderDirection_name = map[int32]string{
		0: "ORDER_DIRECTION_UNSPECIFIED",
		1: "ORDER_DIRECTION_BUY",
		2: "ORDER_DIRECTION_SELL",
	}
	OrderDirection_value = map[string]int32{
		"ORDER_DIRECTION_UNSPECIFIED": 0,
		"ORDER_DIRECTION_BUY":         1,
		"ORDER_DIRECTION_SELL":        2,
	}
)

Enum value maps for OrderDirection.

View Source
var (
	OrderType_name = map[int32]string{
		0: "ORDER_TYPE_UNSPECIFIED",
		1: "ORDER_TYPE_LIMIT",
		2: "ORDER_TYPE_MARKET",
		3: "ORDER_TYPE_BESTPRICE",
	}
	OrderType_value = map[string]int32{
		"ORDER_TYPE_UNSPECIFIED": 0,
		"ORDER_TYPE_LIMIT":       1,
		"ORDER_TYPE_MARKET":      2,
		"ORDER_TYPE_BESTPRICE":   3,
	}
)

Enum value maps for OrderType.

View Source
var (
	OrderExecutionReportStatus_name = map[int32]string{
		0: "EXECUTION_REPORT_STATUS_UNSPECIFIED",
		1: "EXECUTION_REPORT_STATUS_FILL",
		2: "EXECUTION_REPORT_STATUS_REJECTED",
		3: "EXECUTION_REPORT_STATUS_CANCELLED",
		4: "EXECUTION_REPORT_STATUS_NEW",
		5: "EXECUTION_REPORT_STATUS_PARTIALLYFILL",
	}
	OrderExecutionReportStatus_value = map[string]int32{
		"EXECUTION_REPORT_STATUS_UNSPECIFIED":   0,
		"EXECUTION_REPORT_STATUS_FILL":          1,
		"EXECUTION_REPORT_STATUS_REJECTED":      2,
		"EXECUTION_REPORT_STATUS_CANCELLED":     3,
		"EXECUTION_REPORT_STATUS_NEW":           4,
		"EXECUTION_REPORT_STATUS_PARTIALLYFILL": 5,
	}
)

Enum value maps for OrderExecutionReportStatus.

View Source
var (
	TimeInForceType_name = map[int32]string{
		0: "TIME_IN_FORCE_UNSPECIFIED",
		1: "TIME_IN_FORCE_DAY",
		2: "TIME_IN_FORCE_FILL_AND_KILL",
		3: "TIME_IN_FORCE_FILL_OR_KILL",
	}
	TimeInForceType_value = map[string]int32{
		"TIME_IN_FORCE_UNSPECIFIED":   0,
		"TIME_IN_FORCE_DAY":           1,
		"TIME_IN_FORCE_FILL_AND_KILL": 2,
		"TIME_IN_FORCE_FILL_OR_KILL":  3,
	}
)

Enum value maps for TimeInForceType.

View Source
var (
	OrderIdType_name = map[int32]string{
		0: "ORDER_ID_TYPE_UNSPECIFIED",
		1: "ORDER_ID_TYPE_EXCHANGE",
		2: "ORDER_ID_TYPE_REQUEST",
	}
	OrderIdType_value = map[string]int32{
		"ORDER_ID_TYPE_UNSPECIFIED": 0,
		"ORDER_ID_TYPE_EXCHANGE":    1,
		"ORDER_ID_TYPE_REQUEST":     2,
	}
)

Enum value maps for OrderIdType.

View Source
var (
	OrderStateStreamResponse_MarkerType_name = map[int32]string{
		0: "MARKER_UNKNOWN",
		1: "MARKER_BROKER",
		2: "MARKER_CHAT",
		3: "MARKER_PAPER",
		4: "MARKER_MARGIN",
		5: "MARKER_TKBNM",
		6: "MARKER_SHORT",
		7: "MARKER_SPECMM",
		8: "MARKER_PO",
	}
	OrderStateStreamResponse_MarkerType_value = map[string]int32{
		"MARKER_UNKNOWN": 0,
		"MARKER_BROKER":  1,
		"MARKER_CHAT":    2,
		"MARKER_PAPER":   3,
		"MARKER_MARGIN":  4,
		"MARKER_TKBNM":   5,
		"MARKER_SHORT":   6,
		"MARKER_SPECMM":  7,
		"MARKER_PO":      8,
	}
)

Enum value maps for OrderStateStreamResponse_MarkerType.

View Source
var (
	OrderStateStreamResponse_StatusCauseInfo_name = map[int32]string{
		0:  "CAUSE_UNSPECIFIED",
		15: "CAUSE_CANCELLED_BY_CLIENT",
		1:  "CAUSE_CANCELLED_BY_EXCHANGE",
		2:  "CAUSE_CANCELLED_NOT_ENOUGH_POSITION",
		3:  "CAUSE_CANCELLED_BY_CLIENT_BLOCK",
		4:  "CAUSE_REJECTED_BY_BROKER",
		5:  "CAUSE_REJECTED_BY_EXCHANGE",
		6:  "CAUSE_CANCELLED_BY_BROKER",
	}
	OrderStateStreamResponse_StatusCauseInfo_value = map[string]int32{
		"CAUSE_UNSPECIFIED":                   0,
		"CAUSE_CANCELLED_BY_CLIENT":           15,
		"CAUSE_CANCELLED_BY_EXCHANGE":         1,
		"CAUSE_CANCELLED_NOT_ENOUGH_POSITION": 2,
		"CAUSE_CANCELLED_BY_CLIENT_BLOCK":     3,
		"CAUSE_REJECTED_BY_BROKER":            4,
		"CAUSE_REJECTED_BY_EXCHANGE":          5,
		"CAUSE_CANCELLED_BY_BROKER":           6,
	}
)

Enum value maps for OrderStateStreamResponse_StatusCauseInfo.

View Source
var (
	StrategyType_name = map[int32]string{
		0: "STRATEGY_TYPE_UNSPECIFIED",
		1: "STRATEGY_TYPE_TECHNICAL",
		2: "STRATEGY_TYPE_FUNDAMENTAL",
	}
	StrategyType_value = map[string]int32{
		"STRATEGY_TYPE_UNSPECIFIED": 0,
		"STRATEGY_TYPE_TECHNICAL":   1,
		"STRATEGY_TYPE_FUNDAMENTAL": 2,
	}
)

Enum value maps for StrategyType.

View Source
var (
	SignalDirection_name = map[int32]string{
		0: "SIGNAL_DIRECTION_UNSPECIFIED",
		1: "SIGNAL_DIRECTION_BUY",
		2: "SIGNAL_DIRECTION_SELL",
	}
	SignalDirection_value = map[string]int32{
		"SIGNAL_DIRECTION_UNSPECIFIED": 0,
		"SIGNAL_DIRECTION_BUY":         1,
		"SIGNAL_DIRECTION_SELL":        2,
	}
)

Enum value maps for SignalDirection.

View Source
var (
	SignalState_name = map[int32]string{
		0: "SIGNAL_STATE_UNSPECIFIED",
		1: "SIGNAL_STATE_ACTIVE",
		2: "SIGNAL_STATE_CLOSED",
		3: "SIGNAL_STATE_ALL",
	}
	SignalState_value = map[string]int32{
		"SIGNAL_STATE_UNSPECIFIED": 0,
		"SIGNAL_STATE_ACTIVE":      1,
		"SIGNAL_STATE_CLOSED":      2,
		"SIGNAL_STATE_ALL":         3,
	}
)

Enum value maps for SignalState.

View Source
var (
	StopOrderDirection_name = map[int32]string{
		0: "STOP_ORDER_DIRECTION_UNSPECIFIED",
		1: "STOP_ORDER_DIRECTION_BUY",
		2: "STOP_ORDER_DIRECTION_SELL",
	}
	StopOrderDirection_value = map[string]int32{
		"STOP_ORDER_DIRECTION_UNSPECIFIED": 0,
		"STOP_ORDER_DIRECTION_BUY":         1,
		"STOP_ORDER_DIRECTION_SELL":        2,
	}
)

Enum value maps for StopOrderDirection.

View Source
var (
	StopOrderExpirationType_name = map[int32]string{
		0: "STOP_ORDER_EXPIRATION_TYPE_UNSPECIFIED",
		1: "STOP_ORDER_EXPIRATION_TYPE_GOOD_TILL_CANCEL",
		2: "STOP_ORDER_EXPIRATION_TYPE_GOOD_TILL_DATE",
	}
	StopOrderExpirationType_value = map[string]int32{
		"STOP_ORDER_EXPIRATION_TYPE_UNSPECIFIED":      0,
		"STOP_ORDER_EXPIRATION_TYPE_GOOD_TILL_CANCEL": 1,
		"STOP_ORDER_EXPIRATION_TYPE_GOOD_TILL_DATE":   2,
	}
)

Enum value maps for StopOrderExpirationType.

View Source
var (
	StopOrderType_name = map[int32]string{
		0: "STOP_ORDER_TYPE_UNSPECIFIED",
		1: "STOP_ORDER_TYPE_TAKE_PROFIT",
		2: "STOP_ORDER_TYPE_STOP_LOSS",
		3: "STOP_ORDER_TYPE_STOP_LIMIT",
	}
	StopOrderType_value = map[string]int32{
		"STOP_ORDER_TYPE_UNSPECIFIED": 0,
		"STOP_ORDER_TYPE_TAKE_PROFIT": 1,
		"STOP_ORDER_TYPE_STOP_LOSS":   2,
		"STOP_ORDER_TYPE_STOP_LIMIT":  3,
	}
)

Enum value maps for StopOrderType.

View Source
var (
	StopOrderStatusOption_name = map[int32]string{
		0: "STOP_ORDER_STATUS_UNSPECIFIED",
		1: "STOP_ORDER_STATUS_ALL",
		2: "STOP_ORDER_STATUS_ACTIVE",
		3: "STOP_ORDER_STATUS_EXECUTED",
		4: "STOP_ORDER_STATUS_CANCELED",
		5: "STOP_ORDER_STATUS_EXPIRED",
	}
	StopOrderStatusOption_value = map[string]int32{
		"STOP_ORDER_STATUS_UNSPECIFIED": 0,
		"STOP_ORDER_STATUS_ALL":         1,
		"STOP_ORDER_STATUS_ACTIVE":      2,
		"STOP_ORDER_STATUS_EXECUTED":    3,
		"STOP_ORDER_STATUS_CANCELED":    4,
		"STOP_ORDER_STATUS_EXPIRED":     5,
	}
)

Enum value maps for StopOrderStatusOption.

View Source
var (
	ExchangeOrderType_name = map[int32]string{
		0: "EXCHANGE_ORDER_TYPE_UNSPECIFIED",
		1: "EXCHANGE_ORDER_TYPE_MARKET",
		2: "EXCHANGE_ORDER_TYPE_LIMIT",
	}
	ExchangeOrderType_value = map[string]int32{
		"EXCHANGE_ORDER_TYPE_UNSPECIFIED": 0,
		"EXCHANGE_ORDER_TYPE_MARKET":      1,
		"EXCHANGE_ORDER_TYPE_LIMIT":       2,
	}
)

Enum value maps for ExchangeOrderType.

View Source
var (
	TakeProfitType_name = map[int32]string{
		0: "TAKE_PROFIT_TYPE_UNSPECIFIED",
		1: "TAKE_PROFIT_TYPE_REGULAR",
		2: "TAKE_PROFIT_TYPE_TRAILING",
	}
	TakeProfitType_value = map[string]int32{
		"TAKE_PROFIT_TYPE_UNSPECIFIED": 0,
		"TAKE_PROFIT_TYPE_REGULAR":     1,
		"TAKE_PROFIT_TYPE_TRAILING":    2,
	}
)

Enum value maps for TakeProfitType.

View Source
var (
	TrailingValueType_name = map[int32]string{
		0: "TRAILING_VALUE_UNSPECIFIED",
		1: "TRAILING_VALUE_ABSOLUTE",
		2: "TRAILING_VALUE_RELATIVE",
	}
	TrailingValueType_value = map[string]int32{
		"TRAILING_VALUE_UNSPECIFIED": 0,
		"TRAILING_VALUE_ABSOLUTE":    1,
		"TRAILING_VALUE_RELATIVE":    2,
	}
)

Enum value maps for TrailingValueType.

View Source
var (
	TrailingStopStatus_name = map[int32]string{
		0: "TRAILING_STOP_UNSPECIFIED",
		1: "TRAILING_STOP_ACTIVE",
		2: "TRAILING_STOP_ACTIVATED",
	}
	TrailingStopStatus_value = map[string]int32{
		"TRAILING_STOP_UNSPECIFIED": 0,
		"TRAILING_STOP_ACTIVE":      1,
		"TRAILING_STOP_ACTIVATED":   2,
	}
)

Enum value maps for TrailingStopStatus.

View Source
var (
	AccountType_name = map[int32]string{
		0: "ACCOUNT_TYPE_UNSPECIFIED",
		1: "ACCOUNT_TYPE_TINKOFF",
		2: "ACCOUNT_TYPE_TINKOFF_IIS",
		3: "ACCOUNT_TYPE_INVEST_BOX",
		4: "ACCOUNT_TYPE_INVEST_FUND",
	}
	AccountType_value = map[string]int32{
		"ACCOUNT_TYPE_UNSPECIFIED": 0,
		"ACCOUNT_TYPE_TINKOFF":     1,
		"ACCOUNT_TYPE_TINKOFF_IIS": 2,
		"ACCOUNT_TYPE_INVEST_BOX":  3,
		"ACCOUNT_TYPE_INVEST_FUND": 4,
	}
)

Enum value maps for AccountType.

View Source
var (
	AccountStatus_name = map[int32]string{
		0: "ACCOUNT_STATUS_UNSPECIFIED",
		1: "ACCOUNT_STATUS_NEW",
		2: "ACCOUNT_STATUS_OPEN",
		3: "ACCOUNT_STATUS_CLOSED",
		4: "ACCOUNT_STATUS_ALL",
	}
	AccountStatus_value = map[string]int32{
		"ACCOUNT_STATUS_UNSPECIFIED": 0,
		"ACCOUNT_STATUS_NEW":         1,
		"ACCOUNT_STATUS_OPEN":        2,
		"ACCOUNT_STATUS_CLOSED":      3,
		"ACCOUNT_STATUS_ALL":         4,
	}
)

Enum value maps for AccountStatus.

View Source
var (
	AccessLevel_name = map[int32]string{
		0: "ACCOUNT_ACCESS_LEVEL_UNSPECIFIED",
		1: "ACCOUNT_ACCESS_LEVEL_FULL_ACCESS",
		2: "ACCOUNT_ACCESS_LEVEL_READ_ONLY",
		3: "ACCOUNT_ACCESS_LEVEL_NO_ACCESS",
	}
	AccessLevel_value = map[string]int32{
		"ACCOUNT_ACCESS_LEVEL_UNSPECIFIED": 0,
		"ACCOUNT_ACCESS_LEVEL_FULL_ACCESS": 1,
		"ACCOUNT_ACCESS_LEVEL_READ_ONLY":   2,
		"ACCOUNT_ACCESS_LEVEL_NO_ACCESS":   3,
	}
)

Enum value maps for AccessLevel.

View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_instruments_proto protoreflect.FileDescriptor
View Source
var File_marketdata_proto protoreflect.FileDescriptor
View Source
var File_operations_proto protoreflect.FileDescriptor
View Source
var File_orders_proto protoreflect.FileDescriptor
View Source
var File_sandbox_proto protoreflect.FileDescriptor
View Source
var File_signals_proto protoreflect.FileDescriptor
View Source
var File_stoporders_proto protoreflect.FileDescriptor
View Source
var File_users_proto protoreflect.FileDescriptor
View Source
var InstrumentsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.InstrumentsService",
	HandlerType: (*InstrumentsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TradingSchedules",
			Handler:    _InstrumentsService_TradingSchedules_Handler,
		},
		{
			MethodName: "BondBy",
			Handler:    _InstrumentsService_BondBy_Handler,
		},
		{
			MethodName: "Bonds",
			Handler:    _InstrumentsService_Bonds_Handler,
		},
		{
			MethodName: "GetBondCoupons",
			Handler:    _InstrumentsService_GetBondCoupons_Handler,
		},
		{
			MethodName: "GetBondEvents",
			Handler:    _InstrumentsService_GetBondEvents_Handler,
		},
		{
			MethodName: "CurrencyBy",
			Handler:    _InstrumentsService_CurrencyBy_Handler,
		},
		{
			MethodName: "Currencies",
			Handler:    _InstrumentsService_Currencies_Handler,
		},
		{
			MethodName: "EtfBy",
			Handler:    _InstrumentsService_EtfBy_Handler,
		},
		{
			MethodName: "Etfs",
			Handler:    _InstrumentsService_Etfs_Handler,
		},
		{
			MethodName: "FutureBy",
			Handler:    _InstrumentsService_FutureBy_Handler,
		},
		{
			MethodName: "Futures",
			Handler:    _InstrumentsService_Futures_Handler,
		},
		{
			MethodName: "OptionBy",
			Handler:    _InstrumentsService_OptionBy_Handler,
		},
		{
			MethodName: "Options",
			Handler:    _InstrumentsService_Options_Handler,
		},
		{
			MethodName: "OptionsBy",
			Handler:    _InstrumentsService_OptionsBy_Handler,
		},
		{
			MethodName: "ShareBy",
			Handler:    _InstrumentsService_ShareBy_Handler,
		},
		{
			MethodName: "Shares",
			Handler:    _InstrumentsService_Shares_Handler,
		},
		{
			MethodName: "Indicatives",
			Handler:    _InstrumentsService_Indicatives_Handler,
		},
		{
			MethodName: "GetAccruedInterests",
			Handler:    _InstrumentsService_GetAccruedInterests_Handler,
		},
		{
			MethodName: "GetFuturesMargin",
			Handler:    _InstrumentsService_GetFuturesMargin_Handler,
		},
		{
			MethodName: "GetInstrumentBy",
			Handler:    _InstrumentsService_GetInstrumentBy_Handler,
		},
		{
			MethodName: "GetDividends",
			Handler:    _InstrumentsService_GetDividends_Handler,
		},
		{
			MethodName: "GetAssetBy",
			Handler:    _InstrumentsService_GetAssetBy_Handler,
		},
		{
			MethodName: "GetAssets",
			Handler:    _InstrumentsService_GetAssets_Handler,
		},
		{
			MethodName: "GetFavorites",
			Handler:    _InstrumentsService_GetFavorites_Handler,
		},
		{
			MethodName: "EditFavorites",
			Handler:    _InstrumentsService_EditFavorites_Handler,
		},
		{
			MethodName: "GetCountries",
			Handler:    _InstrumentsService_GetCountries_Handler,
		},
		{
			MethodName: "FindInstrument",
			Handler:    _InstrumentsService_FindInstrument_Handler,
		},
		{
			MethodName: "GetBrands",
			Handler:    _InstrumentsService_GetBrands_Handler,
		},
		{
			MethodName: "GetBrandBy",
			Handler:    _InstrumentsService_GetBrandBy_Handler,
		},
		{
			MethodName: "GetAssetFundamentals",
			Handler:    _InstrumentsService_GetAssetFundamentals_Handler,
		},
		{
			MethodName: "GetAssetReports",
			Handler:    _InstrumentsService_GetAssetReports_Handler,
		},
		{
			MethodName: "GetConsensusForecasts",
			Handler:    _InstrumentsService_GetConsensusForecasts_Handler,
		},
		{
			MethodName: "GetForecastBy",
			Handler:    _InstrumentsService_GetForecastBy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "instruments.proto",
}

InstrumentsService_ServiceDesc is the grpc.ServiceDesc for InstrumentsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MarketDataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.MarketDataService",
	HandlerType: (*MarketDataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCandles",
			Handler:    _MarketDataService_GetCandles_Handler,
		},
		{
			MethodName: "GetLastPrices",
			Handler:    _MarketDataService_GetLastPrices_Handler,
		},
		{
			MethodName: "GetOrderBook",
			Handler:    _MarketDataService_GetOrderBook_Handler,
		},
		{
			MethodName: "GetTradingStatus",
			Handler:    _MarketDataService_GetTradingStatus_Handler,
		},
		{
			MethodName: "GetTradingStatuses",
			Handler:    _MarketDataService_GetTradingStatuses_Handler,
		},
		{
			MethodName: "GetLastTrades",
			Handler:    _MarketDataService_GetLastTrades_Handler,
		},
		{
			MethodName: "GetClosePrices",
			Handler:    _MarketDataService_GetClosePrices_Handler,
		},
		{
			MethodName: "GetTechAnalysis",
			Handler:    _MarketDataService_GetTechAnalysis_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "marketdata.proto",
}

MarketDataService_ServiceDesc is the grpc.ServiceDesc for MarketDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MarketDataStreamService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.MarketDataStreamService",
	HandlerType: (*MarketDataStreamServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "MarketDataStream",
			Handler:       _MarketDataStreamService_MarketDataStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "MarketDataServerSideStream",
			Handler:       _MarketDataStreamService_MarketDataServerSideStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "marketdata.proto",
}

MarketDataStreamService_ServiceDesc is the grpc.ServiceDesc for MarketDataStreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OperationsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.OperationsService",
	HandlerType: (*OperationsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOperations",
			Handler:    _OperationsService_GetOperations_Handler,
		},
		{
			MethodName: "GetPortfolio",
			Handler:    _OperationsService_GetPortfolio_Handler,
		},
		{
			MethodName: "GetPositions",
			Handler:    _OperationsService_GetPositions_Handler,
		},
		{
			MethodName: "GetWithdrawLimits",
			Handler:    _OperationsService_GetWithdrawLimits_Handler,
		},
		{
			MethodName: "GetBrokerReport",
			Handler:    _OperationsService_GetBrokerReport_Handler,
		},
		{
			MethodName: "GetDividendsForeignIssuer",
			Handler:    _OperationsService_GetDividendsForeignIssuer_Handler,
		},
		{
			MethodName: "GetOperationsByCursor",
			Handler:    _OperationsService_GetOperationsByCursor_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "operations.proto",
}

OperationsService_ServiceDesc is the grpc.ServiceDesc for OperationsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OperationsStreamService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.OperationsStreamService",
	HandlerType: (*OperationsStreamServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PortfolioStream",
			Handler:       _OperationsStreamService_PortfolioStream_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PositionsStream",
			Handler:       _OperationsStreamService_PositionsStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "operations.proto",
}

OperationsStreamService_ServiceDesc is the grpc.ServiceDesc for OperationsStreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OrdersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.OrdersService",
	HandlerType: (*OrdersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PostOrder",
			Handler:    _OrdersService_PostOrder_Handler,
		},
		{
			MethodName: "PostOrderAsync",
			Handler:    _OrdersService_PostOrderAsync_Handler,
		},
		{
			MethodName: "CancelOrder",
			Handler:    _OrdersService_CancelOrder_Handler,
		},
		{
			MethodName: "GetOrderState",
			Handler:    _OrdersService_GetOrderState_Handler,
		},
		{
			MethodName: "GetOrders",
			Handler:    _OrdersService_GetOrders_Handler,
		},
		{
			MethodName: "ReplaceOrder",
			Handler:    _OrdersService_ReplaceOrder_Handler,
		},
		{
			MethodName: "GetMaxLots",
			Handler:    _OrdersService_GetMaxLots_Handler,
		},
		{
			MethodName: "GetOrderPrice",
			Handler:    _OrdersService_GetOrderPrice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "orders.proto",
}

OrdersService_ServiceDesc is the grpc.ServiceDesc for OrdersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OrdersStreamService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.OrdersStreamService",
	HandlerType: (*OrdersStreamServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "TradesStream",
			Handler:       _OrdersStreamService_TradesStream_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "OrderStateStream",
			Handler:       _OrdersStreamService_OrderStateStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "orders.proto",
}

OrdersStreamService_ServiceDesc is the grpc.ServiceDesc for OrdersStreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SandboxService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.SandboxService",
	HandlerType: (*SandboxServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OpenSandboxAccount",
			Handler:    _SandboxService_OpenSandboxAccount_Handler,
		},
		{
			MethodName: "GetSandboxAccounts",
			Handler:    _SandboxService_GetSandboxAccounts_Handler,
		},
		{
			MethodName: "CloseSandboxAccount",
			Handler:    _SandboxService_CloseSandboxAccount_Handler,
		},
		{
			MethodName: "PostSandboxOrder",
			Handler:    _SandboxService_PostSandboxOrder_Handler,
		},
		{
			MethodName: "ReplaceSandboxOrder",
			Handler:    _SandboxService_ReplaceSandboxOrder_Handler,
		},
		{
			MethodName: "GetSandboxOrders",
			Handler:    _SandboxService_GetSandboxOrders_Handler,
		},
		{
			MethodName: "CancelSandboxOrder",
			Handler:    _SandboxService_CancelSandboxOrder_Handler,
		},
		{
			MethodName: "GetSandboxOrderState",
			Handler:    _SandboxService_GetSandboxOrderState_Handler,
		},
		{
			MethodName: "GetSandboxPositions",
			Handler:    _SandboxService_GetSandboxPositions_Handler,
		},
		{
			MethodName: "GetSandboxOperations",
			Handler:    _SandboxService_GetSandboxOperations_Handler,
		},
		{
			MethodName: "GetSandboxOperationsByCursor",
			Handler:    _SandboxService_GetSandboxOperationsByCursor_Handler,
		},
		{
			MethodName: "GetSandboxPortfolio",
			Handler:    _SandboxService_GetSandboxPortfolio_Handler,
		},
		{
			MethodName: "SandboxPayIn",
			Handler:    _SandboxService_SandboxPayIn_Handler,
		},
		{
			MethodName: "GetSandboxWithdrawLimits",
			Handler:    _SandboxService_GetSandboxWithdrawLimits_Handler,
		},
		{
			MethodName: "GetSandboxMaxLots",
			Handler:    _SandboxService_GetSandboxMaxLots_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sandbox.proto",
}

SandboxService_ServiceDesc is the grpc.ServiceDesc for SandboxService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SignalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.SignalService",
	HandlerType: (*SignalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStrategies",
			Handler:    _SignalService_GetStrategies_Handler,
		},
		{
			MethodName: "GetSignals",
			Handler:    _SignalService_GetSignals_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "signals.proto",
}

SignalService_ServiceDesc is the grpc.ServiceDesc for SignalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StopOrdersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.StopOrdersService",
	HandlerType: (*StopOrdersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PostStopOrder",
			Handler:    _StopOrdersService_PostStopOrder_Handler,
		},
		{
			MethodName: "GetStopOrders",
			Handler:    _StopOrdersService_GetStopOrders_Handler,
		},
		{
			MethodName: "CancelStopOrder",
			Handler:    _StopOrdersService_CancelStopOrder_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "stoporders.proto",
}

StopOrdersService_ServiceDesc is the grpc.ServiceDesc for StopOrdersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UsersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tinkoff.public.invest.api.contract.v1.UsersService",
	HandlerType: (*UsersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccounts",
			Handler:    _UsersService_GetAccounts_Handler,
		},
		{
			MethodName: "GetMarginAttributes",
			Handler:    _UsersService_GetMarginAttributes_Handler,
		},
		{
			MethodName: "GetUserTariff",
			Handler:    _UsersService_GetUserTariff_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _UsersService_GetInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "users.proto",
}

UsersService_ServiceDesc is the grpc.ServiceDesc for UsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterInstrumentsServiceServer

func RegisterInstrumentsServiceServer(s grpc.ServiceRegistrar, srv InstrumentsServiceServer)

func RegisterMarketDataServiceServer

func RegisterMarketDataServiceServer(s grpc.ServiceRegistrar, srv MarketDataServiceServer)

func RegisterMarketDataStreamServiceServer

func RegisterMarketDataStreamServiceServer(s grpc.ServiceRegistrar, srv MarketDataStreamServiceServer)

func RegisterOperationsServiceServer

func RegisterOperationsServiceServer(s grpc.ServiceRegistrar, srv OperationsServiceServer)

func RegisterOperationsStreamServiceServer added in v1.1.2

func RegisterOperationsStreamServiceServer(s grpc.ServiceRegistrar, srv OperationsStreamServiceServer)

func RegisterOrdersServiceServer

func RegisterOrdersServiceServer(s grpc.ServiceRegistrar, srv OrdersServiceServer)

func RegisterOrdersStreamServiceServer

func RegisterOrdersStreamServiceServer(s grpc.ServiceRegistrar, srv OrdersStreamServiceServer)

func RegisterSandboxServiceServer

func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)

func RegisterSignalServiceServer added in v1.6.0

func RegisterSignalServiceServer(s grpc.ServiceRegistrar, srv SignalServiceServer)

func RegisterStopOrdersServiceServer

func RegisterStopOrdersServiceServer(s grpc.ServiceRegistrar, srv StopOrdersServiceServer)

func RegisterUsersServiceServer

func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)

Types

type AccessLevel

type AccessLevel int32

Уровень доступа к счёту.

const (
	AccessLevel_ACCOUNT_ACCESS_LEVEL_UNSPECIFIED AccessLevel = 0 //Уровень доступа не определён.
	AccessLevel_ACCOUNT_ACCESS_LEVEL_FULL_ACCESS AccessLevel = 1 //Полный доступ к счёту.
	AccessLevel_ACCOUNT_ACCESS_LEVEL_READ_ONLY   AccessLevel = 2 //Доступ с уровнем прав «только чтение».
	AccessLevel_ACCOUNT_ACCESS_LEVEL_NO_ACCESS   AccessLevel = 3 //Доступа нет.
)

func (AccessLevel) Descriptor

func (AccessLevel) Enum

func (x AccessLevel) Enum() *AccessLevel

func (AccessLevel) EnumDescriptor deprecated

func (AccessLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccessLevel.Descriptor instead.

func (AccessLevel) Number

func (x AccessLevel) Number() protoreflect.EnumNumber

func (AccessLevel) String

func (x AccessLevel) String() string

func (AccessLevel) Type

type Account

type Account struct {

	// Идентификатор счёта.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Тип счёта.
	Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.AccountType" json:"type,omitempty"`
	// Название счёта.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Статус счёта.
	Status AccountStatus `protobuf:"varint,4,opt,name=status,proto3,enum=tinkoff.public.invest.api.contract.v1.AccountStatus" json:"status,omitempty"`
	// Дата открытия счёта в часовом поясе UTC.
	OpenedDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=opened_date,json=openedDate,proto3" json:"opened_date,omitempty"`
	// Дата закрытия счёта в часовом поясе UTC.
	ClosedDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=closed_date,json=closedDate,proto3" json:"closed_date,omitempty"`
	// Уровень доступа к текущему счёту (определяется токеном).
	AccessLevel AccessLevel `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

Информация о счёте.

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccessLevel

func (x *Account) GetAccessLevel() AccessLevel

func (*Account) GetClosedDate

func (x *Account) GetClosedDate() *timestamppb.Timestamp

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetOpenedDate

func (x *Account) GetOpenedDate() *timestamppb.Timestamp

func (*Account) GetStatus

func (x *Account) GetStatus() AccountStatus

func (*Account) GetType

func (x *Account) GetType() AccountType

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountStatus

type AccountStatus int32

Статус счёта.

const (
	AccountStatus_ACCOUNT_STATUS_UNSPECIFIED AccountStatus = 0 //Статус счёта не определён.
	AccountStatus_ACCOUNT_STATUS_NEW         AccountStatus = 1 //Новый, в процессе открытия.
	AccountStatus_ACCOUNT_STATUS_OPEN        AccountStatus = 2 //Открытый и активный счёт.
	AccountStatus_ACCOUNT_STATUS_CLOSED      AccountStatus = 3 //Закрытый счёт.
	AccountStatus_ACCOUNT_STATUS_ALL         AccountStatus = 4 //Все счета.
)

func (AccountStatus) Descriptor

func (AccountStatus) Enum

func (x AccountStatus) Enum() *AccountStatus

func (AccountStatus) EnumDescriptor deprecated

func (AccountStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountStatus.Descriptor instead.

func (AccountStatus) Number

func (AccountStatus) String

func (x AccountStatus) String() string

func (AccountStatus) Type

type AccountSubscriptionStatus added in v1.1.2

type AccountSubscriptionStatus struct {
	AccountId          string                      `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта.
	SubscriptionStatus PortfolioSubscriptionStatus ``                                                                                         //Результат подписки.
	/* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

Счёт клиента.

func (*AccountSubscriptionStatus) Descriptor deprecated added in v1.1.2

func (*AccountSubscriptionStatus) Descriptor() ([]byte, []int)

Deprecated: Use AccountSubscriptionStatus.ProtoReflect.Descriptor instead.

func (*AccountSubscriptionStatus) GetAccountId added in v1.1.2

func (x *AccountSubscriptionStatus) GetAccountId() string

func (*AccountSubscriptionStatus) GetSubscriptionStatus added in v1.1.2

func (x *AccountSubscriptionStatus) GetSubscriptionStatus() PortfolioSubscriptionStatus

func (*AccountSubscriptionStatus) ProtoMessage added in v1.1.2

func (*AccountSubscriptionStatus) ProtoMessage()

func (*AccountSubscriptionStatus) ProtoReflect added in v1.1.2

func (*AccountSubscriptionStatus) Reset added in v1.1.2

func (x *AccountSubscriptionStatus) Reset()

func (*AccountSubscriptionStatus) String added in v1.1.2

func (x *AccountSubscriptionStatus) String() string

type AccountType

type AccountType int32

Тип счёта.

const (
	AccountType_ACCOUNT_TYPE_UNSPECIFIED AccountType = 0 //Тип аккаунта не определён.
	AccountType_ACCOUNT_TYPE_TINKOFF     AccountType = 1 //Брокерский счёт Т-Инвестиций.
	AccountType_ACCOUNT_TYPE_TINKOFF_IIS AccountType = 2 //ИИС.
	AccountType_ACCOUNT_TYPE_INVEST_BOX  AccountType = 3 //Инвесткопилка.
	AccountType_ACCOUNT_TYPE_INVEST_FUND AccountType = 4 //Фонд денежного рынка.
)

func (AccountType) Descriptor

func (AccountType) Enum

func (x AccountType) Enum() *AccountType

func (AccountType) EnumDescriptor deprecated

func (AccountType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountType.Descriptor instead.

func (AccountType) Number

func (x AccountType) Number() protoreflect.EnumNumber

func (AccountType) String

func (x AccountType) String() string

func (AccountType) Type

type AccruedInterest

type AccruedInterest struct {
	Date         *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`                                     //Дата и время выплаты по UTC.
	Value        *Quotation             `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`                                   //Величина выплаты.
	ValuePercent *Quotation             `protobuf:"bytes,3,opt,name=value_percent,json=valuePercent,proto3" json:"value_percent,omitempty"` //Величина выплаты в процентах от номинала.
	Nominal      *Quotation             `protobuf:"bytes,4,opt,name=nominal,proto3" json:"nominal,omitempty"`                               //Номинал облигации.
	// contains filtered or unexported fields
}

Операция начисления купонов.

func (*AccruedInterest) Descriptor deprecated

func (*AccruedInterest) Descriptor() ([]byte, []int)

Deprecated: Use AccruedInterest.ProtoReflect.Descriptor instead.

func (*AccruedInterest) GetDate

func (x *AccruedInterest) GetDate() *timestamppb.Timestamp

func (*AccruedInterest) GetNominal

func (x *AccruedInterest) GetNominal() *Quotation

func (*AccruedInterest) GetValue

func (x *AccruedInterest) GetValue() *Quotation

func (*AccruedInterest) GetValuePercent

func (x *AccruedInterest) GetValuePercent() *Quotation

func (*AccruedInterest) ProtoMessage

func (*AccruedInterest) ProtoMessage()

func (*AccruedInterest) ProtoReflect

func (x *AccruedInterest) ProtoReflect() protoreflect.Message

func (*AccruedInterest) Reset

func (x *AccruedInterest) Reset()

func (*AccruedInterest) String

func (x *AccruedInterest) String() string

type Asset

type Asset struct {
	Uid         string             `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                                         //Уникальный идентификатор актива.
	Type        AssetType          `protobuf:"varint,2,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.AssetType" json:"type,omitempty"` //Тип актива.
	Name        string             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                                       //Наименование актива.
	Instruments []*AssetInstrument `protobuf:"bytes,4,rep,name=instruments,proto3" json:"instruments,omitempty"`                                         //Массив идентификаторов инструментов.
	// contains filtered or unexported fields
}

Информация об активе.

func (*Asset) Descriptor deprecated

func (*Asset) Descriptor() ([]byte, []int)

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetInstruments

func (x *Asset) GetInstruments() []*AssetInstrument

func (*Asset) GetName

func (x *Asset) GetName() string

func (*Asset) GetType

func (x *Asset) GetType() AssetType

func (*Asset) GetUid

func (x *Asset) GetUid() string

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetBond

type AssetBond struct {
	CurrentNominal        *Quotation `protobuf:"bytes,1,opt,name=current_nominal,json=currentNominal,proto3" json:"current_nominal,omitempty"`    //Текущий номинал.
	BorrowName            string     `protobuf:"bytes,2,opt,name=borrow_name,json=borrowName,proto3" json:"borrow_name,omitempty"`                //Наименование заемщика.
	IssueSize             *Quotation `protobuf:"bytes,3,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"`                   //Объем эмиссии облигации (стоимость).
	Nominal               *Quotation `protobuf:"bytes,4,opt,name=nominal,proto3" json:"nominal,omitempty"`                                        //Номинал облигации.
	NominalCurrency       string     `protobuf:"bytes,5,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"` //Валюта номинала.
	IssueKind             string     `protobuf:"bytes,6,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"`                   //Форма выпуска облигации.
	InterestKind          string     `protobuf:"bytes,7,opt,name=interest_kind,json=interestKind,proto3" json:"interest_kind,omitempty"`          //Форма дохода облигации.
	CouponQuantityPerYear int32      ``                                                                                                           //Количество выплат в год.
	/* 129-byte string literal not displayed */
	IndexedNominalFlag bool                   `protobuf:"varint,9,opt,name=indexed_nominal_flag,json=indexedNominalFlag,proto3" json:"indexed_nominal_flag,omitempty"`  //Признак облигации с индексируемым номиналом.
	SubordinatedFlag   bool                   `protobuf:"varint,10,opt,name=subordinated_flag,json=subordinatedFlag,proto3" json:"subordinated_flag,omitempty"`         //Признак субординированной облигации.
	CollateralFlag     bool                   `protobuf:"varint,11,opt,name=collateral_flag,json=collateralFlag,proto3" json:"collateral_flag,omitempty"`               //Признак обеспеченной облигации.
	TaxFreeFlag        bool                   `protobuf:"varint,12,opt,name=tax_free_flag,json=taxFreeFlag,proto3" json:"tax_free_flag,omitempty"`                      //Признак показывает, что купоны облигации не облагаются налогом — для mass market.
	AmortizationFlag   bool                   `protobuf:"varint,13,opt,name=amortization_flag,json=amortizationFlag,proto3" json:"amortization_flag,omitempty"`         //Признак облигации с амортизацией долга.
	FloatingCouponFlag bool                   `protobuf:"varint,14,opt,name=floating_coupon_flag,json=floatingCouponFlag,proto3" json:"floating_coupon_flag,omitempty"` //Признак облигации с плавающим купоном.
	PerpetualFlag      bool                   `protobuf:"varint,15,opt,name=perpetual_flag,json=perpetualFlag,proto3" json:"perpetual_flag,omitempty"`                  //Признак бессрочной облигации.
	MaturityDate       *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"`                      //Дата погашения облигации.
	ReturnCondition    string                 `protobuf:"bytes,17,opt,name=return_condition,json=returnCondition,proto3" json:"return_condition,omitempty"`             //Описание и условия получения дополнительного дохода.
	StateRegDate       *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=state_reg_date,json=stateRegDate,proto3" json:"state_reg_date,omitempty"`                    //Дата выпуска облигации.
	PlacementDate      *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"`                   //Дата размещения облигации.
	PlacementPrice     *Quotation             `protobuf:"bytes,20,opt,name=placement_price,json=placementPrice,proto3" json:"placement_price,omitempty"`                //Цена размещения облигации.
	IssueSizePlan      *Quotation             `protobuf:"bytes,21,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"`                 //Объявленное количество, шт.
	// contains filtered or unexported fields
}

Облигация.

func (*AssetBond) Descriptor deprecated

func (*AssetBond) Descriptor() ([]byte, []int)

Deprecated: Use AssetBond.ProtoReflect.Descriptor instead.

func (*AssetBond) GetAmortizationFlag

func (x *AssetBond) GetAmortizationFlag() bool

func (*AssetBond) GetBorrowName

func (x *AssetBond) GetBorrowName() string

func (*AssetBond) GetCollateralFlag

func (x *AssetBond) GetCollateralFlag() bool

func (*AssetBond) GetCouponQuantityPerYear

func (x *AssetBond) GetCouponQuantityPerYear() int32

func (*AssetBond) GetCurrentNominal

func (x *AssetBond) GetCurrentNominal() *Quotation

func (*AssetBond) GetFloatingCouponFlag

func (x *AssetBond) GetFloatingCouponFlag() bool

func (*AssetBond) GetIndexedNominalFlag

func (x *AssetBond) GetIndexedNominalFlag() bool

func (*AssetBond) GetInterestKind

func (x *AssetBond) GetInterestKind() string

func (*AssetBond) GetIssueKind

func (x *AssetBond) GetIssueKind() string

func (*AssetBond) GetIssueSize

func (x *AssetBond) GetIssueSize() *Quotation

func (*AssetBond) GetIssueSizePlan

func (x *AssetBond) GetIssueSizePlan() *Quotation

func (*AssetBond) GetMaturityDate

func (x *AssetBond) GetMaturityDate() *timestamppb.Timestamp

func (*AssetBond) GetNominal

func (x *AssetBond) GetNominal() *Quotation

func (*AssetBond) GetNominalCurrency

func (x *AssetBond) GetNominalCurrency() string

func (*AssetBond) GetPerpetualFlag

func (x *AssetBond) GetPerpetualFlag() bool

func (*AssetBond) GetPlacementDate

func (x *AssetBond) GetPlacementDate() *timestamppb.Timestamp

func (*AssetBond) GetPlacementPrice

func (x *AssetBond) GetPlacementPrice() *Quotation

func (*AssetBond) GetReturnCondition

func (x *AssetBond) GetReturnCondition() string

func (*AssetBond) GetStateRegDate

func (x *AssetBond) GetStateRegDate() *timestamppb.Timestamp

func (*AssetBond) GetSubordinatedFlag

func (x *AssetBond) GetSubordinatedFlag() bool

func (*AssetBond) GetTaxFreeFlag

func (x *AssetBond) GetTaxFreeFlag() bool

func (*AssetBond) ProtoMessage

func (*AssetBond) ProtoMessage()

func (*AssetBond) ProtoReflect

func (x *AssetBond) ProtoReflect() protoreflect.Message

func (*AssetBond) Reset

func (x *AssetBond) Reset()

func (*AssetBond) String

func (x *AssetBond) String() string

type AssetClearingCertificate

type AssetClearingCertificate struct {
	Nominal         *Quotation `protobuf:"bytes,1,opt,name=nominal,proto3" json:"nominal,omitempty"`                                        //Номинал.
	NominalCurrency string     `protobuf:"bytes,2,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"` //Валюта номинала.
	// contains filtered or unexported fields
}

Клиринговый сертификат участия.

func (*AssetClearingCertificate) Descriptor deprecated

func (*AssetClearingCertificate) Descriptor() ([]byte, []int)

Deprecated: Use AssetClearingCertificate.ProtoReflect.Descriptor instead.

func (*AssetClearingCertificate) GetNominal

func (x *AssetClearingCertificate) GetNominal() *Quotation

func (*AssetClearingCertificate) GetNominalCurrency

func (x *AssetClearingCertificate) GetNominalCurrency() string

func (*AssetClearingCertificate) ProtoMessage

func (*AssetClearingCertificate) ProtoMessage()

func (*AssetClearingCertificate) ProtoReflect

func (x *AssetClearingCertificate) ProtoReflect() protoreflect.Message

func (*AssetClearingCertificate) Reset

func (x *AssetClearingCertificate) Reset()

func (*AssetClearingCertificate) String

func (x *AssetClearingCertificate) String() string

type AssetCurrency

type AssetCurrency struct {
	BaseCurrency string `protobuf:"bytes,1,opt,name=base_currency,json=baseCurrency,proto3" json:"base_currency,omitempty"` //ISO-код валюты.
	// contains filtered or unexported fields
}

Валюта.

func (*AssetCurrency) Descriptor deprecated

func (*AssetCurrency) Descriptor() ([]byte, []int)

Deprecated: Use AssetCurrency.ProtoReflect.Descriptor instead.

func (*AssetCurrency) GetBaseCurrency

func (x *AssetCurrency) GetBaseCurrency() string

func (*AssetCurrency) ProtoMessage

func (*AssetCurrency) ProtoMessage()

func (*AssetCurrency) ProtoReflect

func (x *AssetCurrency) ProtoReflect() protoreflect.Message

func (*AssetCurrency) Reset

func (x *AssetCurrency) Reset()

func (*AssetCurrency) String

func (x *AssetCurrency) String() string

type AssetEtf

type AssetEtf struct {
	TotalExpense            *Quotation             `protobuf:"bytes,1,opt,name=total_expense,json=totalExpense,proto3" json:"total_expense,omitempty"`           //Суммарные расходы фонда в процентах.
	HurdleRate              *Quotation             `protobuf:"bytes,2,opt,name=hurdle_rate,json=hurdleRate,proto3" json:"hurdle_rate,omitempty"`                 //Барьерная ставка доходности, после которой фонд имеет право на perfomance fee — в процентах.
	PerformanceFee          *Quotation             `protobuf:"bytes,3,opt,name=performance_fee,json=performanceFee,proto3" json:"performance_fee,omitempty"`     //Комиссия за успешные результаты фонда в процентах.
	FixedCommission         *Quotation             `protobuf:"bytes,4,opt,name=fixed_commission,json=fixedCommission,proto3" json:"fixed_commission,omitempty"`  //Фиксированная комиссия за управление в процентах.
	PaymentType             string                 `protobuf:"bytes,5,opt,name=payment_type,json=paymentType,proto3" json:"payment_type,omitempty"`              //Тип распределения доходов от выплат по бумагам.
	WatermarkFlag           bool                   `protobuf:"varint,6,opt,name=watermark_flag,json=watermarkFlag,proto3" json:"watermark_flag,omitempty"`       //Признак необходимости выхода фонда в плюс для получения комиссии.
	BuyPremium              *Quotation             `protobuf:"bytes,7,opt,name=buy_premium,json=buyPremium,proto3" json:"buy_premium,omitempty"`                 //Премия (надбавка к цене) при покупке доли в фонде — в процентах.
	SellDiscount            *Quotation             `protobuf:"bytes,8,opt,name=sell_discount,json=sellDiscount,proto3" json:"sell_discount,omitempty"`           //Ставка дисконта (вычет из цены) при продаже доли в фонде — в процентах.
	RebalancingFlag         bool                   `protobuf:"varint,9,opt,name=rebalancing_flag,json=rebalancingFlag,proto3" json:"rebalancing_flag,omitempty"` //Признак ребалансируемости портфеля фонда.
	RebalancingFreq         string                 `protobuf:"bytes,10,opt,name=rebalancing_freq,json=rebalancingFreq,proto3" json:"rebalancing_freq,omitempty"` //Периодичность ребалансировки.
	ManagementType          string                 `protobuf:"bytes,11,opt,name=management_type,json=managementType,proto3" json:"management_type,omitempty"`    //Тип управления.
	PrimaryIndex            string                 `protobuf:"bytes,12,opt,name=primary_index,json=primaryIndex,proto3" json:"primary_index,omitempty"`          //Индекс, который реплицирует (старается копировать) фонд.
	FocusType               string                 `protobuf:"bytes,13,opt,name=focus_type,json=focusType,proto3" json:"focus_type,omitempty"`                   //База ETF.
	LeveragedFlag           bool                   `protobuf:"varint,14,opt,name=leveraged_flag,json=leveragedFlag,proto3" json:"leveraged_flag,omitempty"`      //Признак использования заемных активов (плечо).
	NumShare                *Quotation             `protobuf:"bytes,15,opt,name=num_share,json=numShare,proto3" json:"num_share,omitempty"`                      //Количество акций в обращении.
	UcitsFlag               bool                   `protobuf:"varint,16,opt,name=ucits_flag,json=ucitsFlag,proto3" json:"ucits_flag,omitempty"`                  //Признак обязательства по отчетности перед регулятором.
	ReleasedDate            *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=released_date,json=releasedDate,proto3" json:"released_date,omitempty"`          //Дата выпуска.
	Description             string                 `protobuf:"bytes,18,opt,name=description,proto3" json:"description,omitempty"`                                //Описание фонда.
	PrimaryIndexDescription string                 ``                                                                                                            //Описание индекса, за которым следует фонд.
	/* 133-byte string literal not displayed */
	PrimaryIndexCompany       string     `protobuf:"bytes,20,opt,name=primary_index_company,json=primaryIndexCompany,proto3" json:"primary_index_company,omitempty"` //Основные компании, в которые вкладывается фонд.
	IndexRecoveryPeriod       *Quotation `protobuf:"bytes,21,opt,name=index_recovery_period,json=indexRecoveryPeriod,proto3" json:"index_recovery_period,omitempty"` //Срок восстановления индекса после просадки.
	InavCode                  string     `protobuf:"bytes,22,opt,name=inav_code,json=inavCode,proto3" json:"inav_code,omitempty"`                                    //IVAV-код.
	DivYieldFlag              bool       `protobuf:"varint,23,opt,name=div_yield_flag,json=divYieldFlag,proto3" json:"div_yield_flag,omitempty"`                     //Признак наличия дивидендной доходности.
	ExpenseCommission         *Quotation `protobuf:"bytes,24,opt,name=expense_commission,json=expenseCommission,proto3" json:"expense_commission,omitempty"`         //Комиссия на покрытие расходов фонда в процентах.
	PrimaryIndexTrackingError *Quotation ``                                                                                                                          //Ошибка следования за индексом в процентах.
	/* 141-byte string literal not displayed */
	RebalancingPlan  string                   `protobuf:"bytes,26,opt,name=rebalancing_plan,json=rebalancingPlan,proto3" json:"rebalancing_plan,omitempty"`    //Плановая ребалансировка портфеля.
	TaxRate          string                   `protobuf:"bytes,27,opt,name=tax_rate,json=taxRate,proto3" json:"tax_rate,omitempty"`                            //Ставки налогообложения дивидендов и купонов.
	RebalancingDates []*timestamppb.Timestamp `protobuf:"bytes,28,rep,name=rebalancing_dates,json=rebalancingDates,proto3" json:"rebalancing_dates,omitempty"` //Даты ребалансировок.
	IssueKind        string                   `protobuf:"bytes,29,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"`                      //Форма выпуска.
	Nominal          *Quotation               `protobuf:"bytes,30,opt,name=nominal,proto3" json:"nominal,omitempty"`                                           //Номинал.
	NominalCurrency  string                   `protobuf:"bytes,31,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"`    //Валюта номинала.
	// contains filtered or unexported fields
}

Фонд.

func (*AssetEtf) Descriptor deprecated

func (*AssetEtf) Descriptor() ([]byte, []int)

Deprecated: Use AssetEtf.ProtoReflect.Descriptor instead.

func (*AssetEtf) GetBuyPremium

func (x *AssetEtf) GetBuyPremium() *Quotation

func (*AssetEtf) GetDescription

func (x *AssetEtf) GetDescription() string

func (*AssetEtf) GetDivYieldFlag

func (x *AssetEtf) GetDivYieldFlag() bool

func (*AssetEtf) GetExpenseCommission

func (x *AssetEtf) GetExpenseCommission() *Quotation

func (*AssetEtf) GetFixedCommission

func (x *AssetEtf) GetFixedCommission() *Quotation

func (*AssetEtf) GetFocusType

func (x *AssetEtf) GetFocusType() string

func (*AssetEtf) GetHurdleRate

func (x *AssetEtf) GetHurdleRate() *Quotation

func (*AssetEtf) GetInavCode

func (x *AssetEtf) GetInavCode() string

func (*AssetEtf) GetIndexRecoveryPeriod

func (x *AssetEtf) GetIndexRecoveryPeriod() *Quotation

func (*AssetEtf) GetIssueKind

func (x *AssetEtf) GetIssueKind() string

func (*AssetEtf) GetLeveragedFlag

func (x *AssetEtf) GetLeveragedFlag() bool

func (*AssetEtf) GetManagementType

func (x *AssetEtf) GetManagementType() string

func (*AssetEtf) GetNominal

func (x *AssetEtf) GetNominal() *Quotation

func (*AssetEtf) GetNominalCurrency

func (x *AssetEtf) GetNominalCurrency() string

func (*AssetEtf) GetNumShare

func (x *AssetEtf) GetNumShare() *Quotation

func (*AssetEtf) GetPaymentType

func (x *AssetEtf) GetPaymentType() string

func (*AssetEtf) GetPerformanceFee

func (x *AssetEtf) GetPerformanceFee() *Quotation

func (*AssetEtf) GetPrimaryIndex

func (x *AssetEtf) GetPrimaryIndex() string

func (*AssetEtf) GetPrimaryIndexCompany

func (x *AssetEtf) GetPrimaryIndexCompany() string

func (*AssetEtf) GetPrimaryIndexDescription

func (x *AssetEtf) GetPrimaryIndexDescription() string

func (*AssetEtf) GetPrimaryIndexTrackingError

func (x *AssetEtf) GetPrimaryIndexTrackingError() *Quotation

func (*AssetEtf) GetRebalancingDates

func (x *AssetEtf) GetRebalancingDates() []*timestamppb.Timestamp

func (*AssetEtf) GetRebalancingFlag

func (x *AssetEtf) GetRebalancingFlag() bool

func (*AssetEtf) GetRebalancingFreq

func (x *AssetEtf) GetRebalancingFreq() string

func (*AssetEtf) GetRebalancingPlan

func (x *AssetEtf) GetRebalancingPlan() string

func (*AssetEtf) GetReleasedDate

func (x *AssetEtf) GetReleasedDate() *timestamppb.Timestamp

func (*AssetEtf) GetSellDiscount

func (x *AssetEtf) GetSellDiscount() *Quotation

func (*AssetEtf) GetTaxRate

func (x *AssetEtf) GetTaxRate() string

func (*AssetEtf) GetTotalExpense

func (x *AssetEtf) GetTotalExpense() *Quotation

func (*AssetEtf) GetUcitsFlag

func (x *AssetEtf) GetUcitsFlag() bool

func (*AssetEtf) GetWatermarkFlag

func (x *AssetEtf) GetWatermarkFlag() bool

func (*AssetEtf) ProtoMessage

func (*AssetEtf) ProtoMessage()

func (*AssetEtf) ProtoReflect

func (x *AssetEtf) ProtoReflect() protoreflect.Message

func (*AssetEtf) Reset

func (x *AssetEtf) Reset()

func (*AssetEtf) String

func (x *AssetEtf) String() string

type AssetFull

type AssetFull struct {
	Uid           string                 `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                                         //Уникальный идентификатор актива.
	Type          AssetType              `protobuf:"varint,2,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.AssetType" json:"type,omitempty"` //Тип актива.
	Name          string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                                       //Наименование актива.
	NameBrief     string                 `protobuf:"bytes,4,opt,name=name_brief,json=nameBrief,proto3" json:"name_brief,omitempty"`                            //Короткое наименование актива.
	Description   string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`                                         //Описание актива.
	DeletedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`                            //Дата и время удаления актива.
	RequiredTests []string               `protobuf:"bytes,7,rep,name=required_tests,json=requiredTests,proto3" json:"required_tests,omitempty"`                //Тестирование клиентов.
	// Types that are assignable to Ext:
	//
	//	*AssetFull_Currency
	//	*AssetFull_Security
	Ext         isAssetFull_Ext        `protobuf_oneof:"ext"`
	GosRegCode  string                 `protobuf:"bytes,10,opt,name=gos_reg_code,json=gosRegCode,proto3" json:"gos_reg_code,omitempty"` //Номер государственной регистрации.
	Cfi         string                 `protobuf:"bytes,11,opt,name=cfi,proto3" json:"cfi,omitempty"`                                   //Код CFI.
	CodeNsd     string                 `protobuf:"bytes,12,opt,name=code_nsd,json=codeNsd,proto3" json:"code_nsd,omitempty"`            //Код НРД инструмента.
	Status      string                 `protobuf:"bytes,13,opt,name=status,proto3" json:"status,omitempty"`                             //Статус актива.
	Brand       *Brand                 `protobuf:"bytes,14,opt,name=brand,proto3" json:"brand,omitempty"`                               //Бренд.
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`      //Дата и время последнего обновления записи.
	BrCode      string                 `protobuf:"bytes,16,opt,name=br_code,json=brCode,proto3" json:"br_code,omitempty"`               //Код типа ц.б. по классификации Банка России.
	BrCodeName  string                 `protobuf:"bytes,17,opt,name=br_code_name,json=brCodeName,proto3" json:"br_code_name,omitempty"` //Наименование кода типа ц.б. по классификации Банка России.
	Instruments []*AssetInstrument     `protobuf:"bytes,18,rep,name=instruments,proto3" json:"instruments,omitempty"`                   //Массив идентификаторов инструментов.
	// contains filtered or unexported fields
}

func (*AssetFull) Descriptor deprecated

func (*AssetFull) Descriptor() ([]byte, []int)

Deprecated: Use AssetFull.ProtoReflect.Descriptor instead.

func (*AssetFull) GetBrCode

func (x *AssetFull) GetBrCode() string

func (*AssetFull) GetBrCodeName

func (x *AssetFull) GetBrCodeName() string

func (*AssetFull) GetBrand

func (x *AssetFull) GetBrand() *Brand

func (*AssetFull) GetCfi

func (x *AssetFull) GetCfi() string

func (*AssetFull) GetCodeNsd

func (x *AssetFull) GetCodeNsd() string

func (*AssetFull) GetCurrency

func (x *AssetFull) GetCurrency() *AssetCurrency

func (*AssetFull) GetDeletedAt

func (x *AssetFull) GetDeletedAt() *timestamppb.Timestamp

func (*AssetFull) GetDescription

func (x *AssetFull) GetDescription() string

func (*AssetFull) GetExt

func (m *AssetFull) GetExt() isAssetFull_Ext

func (*AssetFull) GetGosRegCode

func (x *AssetFull) GetGosRegCode() string

func (*AssetFull) GetInstruments

func (x *AssetFull) GetInstruments() []*AssetInstrument

func (*AssetFull) GetName

func (x *AssetFull) GetName() string

func (*AssetFull) GetNameBrief

func (x *AssetFull) GetNameBrief() string

func (*AssetFull) GetRequiredTests

func (x *AssetFull) GetRequiredTests() []string

func (*AssetFull) GetSecurity

func (x *AssetFull) GetSecurity() *AssetSecurity

func (*AssetFull) GetStatus

func (x *AssetFull) GetStatus() string

func (*AssetFull) GetType

func (x *AssetFull) GetType() AssetType

func (*AssetFull) GetUid

func (x *AssetFull) GetUid() string

func (*AssetFull) GetUpdatedAt

func (x *AssetFull) GetUpdatedAt() *timestamppb.Timestamp

func (*AssetFull) ProtoMessage

func (*AssetFull) ProtoMessage()

func (*AssetFull) ProtoReflect

func (x *AssetFull) ProtoReflect() protoreflect.Message

func (*AssetFull) Reset

func (x *AssetFull) Reset()

func (*AssetFull) String

func (x *AssetFull) String() string

type AssetFull_Currency

type AssetFull_Currency struct {
	Currency *AssetCurrency `protobuf:"bytes,8,opt,name=currency,proto3,oneof"` //Валюта. Обязательно и заполняется только для `type = ASSET_TYPE_CURRENCY`.
}

type AssetFull_Security

type AssetFull_Security struct {
	Security *AssetSecurity `protobuf:"bytes,9,opt,name=security,proto3,oneof"` //Ценная бумага. Обязательно и заполняется только для `type = ASSET_TYPE_SECURITY`.
}

type AssetInstrument

type AssetInstrument struct {
	Uid            string            `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                             //UID-идентификатор инструмента.
	Figi           string            `protobuf:"bytes,2,opt,name=figi,proto3" json:"figi,omitempty"`                                           //FIGI-идентификатор инструмента.
	InstrumentType string            `protobuf:"bytes,3,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента.
	Ticker         string            `protobuf:"bytes,4,opt,name=ticker,proto3" json:"ticker,omitempty"`                                       //Тикер инструмента.
	ClassCode      string            `protobuf:"bytes,5,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"`                //Класс-код (секция торгов).
	Links          []*InstrumentLink `protobuf:"bytes,6,rep,name=links,proto3" json:"links,omitempty"`                                         //Массив связанных инструментов.
	InstrumentKind InstrumentType    ``                                                                                                        //Тип инструмента.
	/* 163-byte string literal not displayed */
	PositionUid string `protobuf:"bytes,11,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //ID позиции.
	// contains filtered or unexported fields
}

Идентификаторы инструмента.

func (*AssetInstrument) Descriptor deprecated

func (*AssetInstrument) Descriptor() ([]byte, []int)

Deprecated: Use AssetInstrument.ProtoReflect.Descriptor instead.

func (*AssetInstrument) GetClassCode

func (x *AssetInstrument) GetClassCode() string

func (*AssetInstrument) GetFigi

func (x *AssetInstrument) GetFigi() string

func (*AssetInstrument) GetInstrumentKind added in v1.2.4

func (x *AssetInstrument) GetInstrumentKind() InstrumentType

func (*AssetInstrument) GetInstrumentType

func (x *AssetInstrument) GetInstrumentType() string
func (x *AssetInstrument) GetLinks() []*InstrumentLink

func (*AssetInstrument) GetPositionUid added in v1.2.5

func (x *AssetInstrument) GetPositionUid() string

func (*AssetInstrument) GetTicker

func (x *AssetInstrument) GetTicker() string

func (*AssetInstrument) GetUid

func (x *AssetInstrument) GetUid() string

func (*AssetInstrument) ProtoMessage

func (*AssetInstrument) ProtoMessage()

func (*AssetInstrument) ProtoReflect

func (x *AssetInstrument) ProtoReflect() protoreflect.Message

func (*AssetInstrument) Reset

func (x *AssetInstrument) Reset()

func (*AssetInstrument) String

func (x *AssetInstrument) String() string

type AssetRequest

type AssetRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //UID-идентификатор актива.
	// contains filtered or unexported fields
}

Запрос актива по идентификатору.

func (*AssetRequest) Descriptor deprecated

func (*AssetRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssetRequest.ProtoReflect.Descriptor instead.

func (*AssetRequest) GetId

func (x *AssetRequest) GetId() string

func (*AssetRequest) ProtoMessage

func (*AssetRequest) ProtoMessage()

func (*AssetRequest) ProtoReflect

func (x *AssetRequest) ProtoReflect() protoreflect.Message

func (*AssetRequest) Reset

func (x *AssetRequest) Reset()

func (*AssetRequest) String

func (x *AssetRequest) String() string

type AssetResponse

type AssetResponse struct {
	Asset *AssetFull `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` //Актив.
	// contains filtered or unexported fields
}

Данные по активу.

func (*AssetResponse) Descriptor deprecated

func (*AssetResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssetResponse.ProtoReflect.Descriptor instead.

func (*AssetResponse) GetAsset

func (x *AssetResponse) GetAsset() *AssetFull

func (*AssetResponse) ProtoMessage

func (*AssetResponse) ProtoMessage()

func (*AssetResponse) ProtoReflect

func (x *AssetResponse) ProtoReflect() protoreflect.Message

func (*AssetResponse) Reset

func (x *AssetResponse) Reset()

func (*AssetResponse) String

func (x *AssetResponse) String() string

type AssetSecurity

type AssetSecurity struct {
	Isin           string         `protobuf:"bytes,1,opt,name=isin,proto3" json:"isin,omitempty"` //ISIN-идентификатор ценной бумаги.
	Type           string         `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` //Тип ценной бумаги.
	InstrumentKind InstrumentType ``                                                              //Тип инструмента.
	/* 163-byte string literal not displayed */
	// Types that are assignable to Ext:
	//
	//	*AssetSecurity_Share
	//	*AssetSecurity_Bond
	//	*AssetSecurity_Sp
	//	*AssetSecurity_Etf
	//	*AssetSecurity_ClearingCertificate
	Ext isAssetSecurity_Ext `protobuf_oneof:"ext"`
	// contains filtered or unexported fields
}

Ценная бумага.

func (*AssetSecurity) Descriptor deprecated

func (*AssetSecurity) Descriptor() ([]byte, []int)

Deprecated: Use AssetSecurity.ProtoReflect.Descriptor instead.

func (*AssetSecurity) GetBond

func (x *AssetSecurity) GetBond() *AssetBond

func (*AssetSecurity) GetClearingCertificate

func (x *AssetSecurity) GetClearingCertificate() *AssetClearingCertificate

func (*AssetSecurity) GetEtf

func (x *AssetSecurity) GetEtf() *AssetEtf

func (*AssetSecurity) GetExt

func (m *AssetSecurity) GetExt() isAssetSecurity_Ext

func (*AssetSecurity) GetInstrumentKind added in v1.2.4

func (x *AssetSecurity) GetInstrumentKind() InstrumentType

func (*AssetSecurity) GetIsin

func (x *AssetSecurity) GetIsin() string

func (*AssetSecurity) GetShare

func (x *AssetSecurity) GetShare() *AssetShare

func (*AssetSecurity) GetSp

func (*AssetSecurity) GetType

func (x *AssetSecurity) GetType() string

func (*AssetSecurity) ProtoMessage

func (*AssetSecurity) ProtoMessage()

func (*AssetSecurity) ProtoReflect

func (x *AssetSecurity) ProtoReflect() protoreflect.Message

func (*AssetSecurity) Reset

func (x *AssetSecurity) Reset()

func (*AssetSecurity) String

func (x *AssetSecurity) String() string

type AssetSecurity_Bond

type AssetSecurity_Bond struct {
	Bond *AssetBond `protobuf:"bytes,4,opt,name=bond,proto3,oneof"` //Облигация. Заполняется только для облигаций — тип актива `asset.type = ASSET_TYPE_SECURITY` и `security.type = bond`.
}

type AssetSecurity_ClearingCertificate

type AssetSecurity_ClearingCertificate struct {
	ClearingCertificate *AssetClearingCertificate `protobuf:"bytes,7,opt,name=clearing_certificate,json=clearingCertificate,proto3,oneof"` // Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов — тип актива `asset.type = ASSET_TYPE_SECURITY` и security.type = `clearing_certificate`.
}

type AssetSecurity_Etf

type AssetSecurity_Etf struct {
	Etf *AssetEtf `protobuf:"bytes,6,opt,name=etf,proto3,oneof"` // Фонд. Заполняется только для фондов — тип актива `asset.type = ASSET_TYPE_SECURITY` и `security.type = etf`.
}

type AssetSecurity_Share

type AssetSecurity_Share struct {
	Share *AssetShare `protobuf:"bytes,3,opt,name=share,proto3,oneof"` //Акция. Заполняется только для акций — тип актива `asset.type = ASSET_TYPE_SECURITY` и `security.type = share`.
}

type AssetSecurity_Sp

type AssetSecurity_Sp struct {
	Sp *AssetStructuredProduct `protobuf:"bytes,5,opt,name=sp,proto3,oneof"` //Структурная нота. Заполняется только для структурных продуктов — тип актива `asset.type = ASSET_TYPE_SECURITY` и `security.type = sp`.
}

type AssetShare

type AssetShare struct {
	Type               ShareType              `protobuf:"varint,1,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.ShareType" json:"type,omitempty"`   //Тип акции.
	IssueSize          *Quotation             `protobuf:"bytes,2,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"`                              //Объем выпуска (шт.).
	Nominal            *Quotation             `protobuf:"bytes,3,opt,name=nominal,proto3" json:"nominal,omitempty"`                                                   //Номинал.
	NominalCurrency    string                 `protobuf:"bytes,4,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"`            //Валюта номинала.
	PrimaryIndex       string                 `protobuf:"bytes,5,opt,name=primary_index,json=primaryIndex,proto3" json:"primary_index,omitempty"`                     //Индекс (Bloomberg).
	DividendRate       *Quotation             `protobuf:"bytes,6,opt,name=dividend_rate,json=dividendRate,proto3" json:"dividend_rate,omitempty"`                     //Ставка дивиденда (для привилегированных акций).
	PreferredShareType string                 `protobuf:"bytes,7,opt,name=preferred_share_type,json=preferredShareType,proto3" json:"preferred_share_type,omitempty"` //Тип привилегированных акций.
	IpoDate            *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=ipo_date,json=ipoDate,proto3" json:"ipo_date,omitempty"`                                    //Дата IPO.
	RegistryDate       *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=registry_date,json=registryDate,proto3" json:"registry_date,omitempty"`                     //Дата регистрации.
	DivYieldFlag       bool                   `protobuf:"varint,10,opt,name=div_yield_flag,json=divYieldFlag,proto3" json:"div_yield_flag,omitempty"`                 //Признак наличия дивидендной доходности.
	IssueKind          string                 `protobuf:"bytes,11,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"`                             //Форма выпуска ФИ.
	PlacementDate      *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"`                 //Дата размещения акции.
	RepresIsin         string                 `protobuf:"bytes,13,opt,name=repres_isin,json=represIsin,proto3" json:"repres_isin,omitempty"`                          //ISIN базового актива.
	IssueSizePlan      *Quotation             `protobuf:"bytes,14,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"`               //Объявленное количество, шт.
	TotalFloat         *Quotation             `protobuf:"bytes,15,opt,name=total_float,json=totalFloat,proto3" json:"total_float,omitempty"`                          //Количество акций в свободном обращении.
	// contains filtered or unexported fields
}

Акция.

func (*AssetShare) Descriptor deprecated

func (*AssetShare) Descriptor() ([]byte, []int)

Deprecated: Use AssetShare.ProtoReflect.Descriptor instead.

func (*AssetShare) GetDivYieldFlag

func (x *AssetShare) GetDivYieldFlag() bool

func (*AssetShare) GetDividendRate

func (x *AssetShare) GetDividendRate() *Quotation

func (*AssetShare) GetIpoDate

func (x *AssetShare) GetIpoDate() *timestamppb.Timestamp

func (*AssetShare) GetIssueKind

func (x *AssetShare) GetIssueKind() string

func (*AssetShare) GetIssueSize

func (x *AssetShare) GetIssueSize() *Quotation

func (*AssetShare) GetIssueSizePlan

func (x *AssetShare) GetIssueSizePlan() *Quotation

func (*AssetShare) GetNominal

func (x *AssetShare) GetNominal() *Quotation

func (*AssetShare) GetNominalCurrency

func (x *AssetShare) GetNominalCurrency() string

func (*AssetShare) GetPlacementDate

func (x *AssetShare) GetPlacementDate() *timestamppb.Timestamp

func (*AssetShare) GetPreferredShareType

func (x *AssetShare) GetPreferredShareType() string

func (*AssetShare) GetPrimaryIndex

func (x *AssetShare) GetPrimaryIndex() string

func (*AssetShare) GetRegistryDate

func (x *AssetShare) GetRegistryDate() *timestamppb.Timestamp

func (*AssetShare) GetRepresIsin

func (x *AssetShare) GetRepresIsin() string

func (*AssetShare) GetTotalFloat

func (x *AssetShare) GetTotalFloat() *Quotation

func (*AssetShare) GetType

func (x *AssetShare) GetType() ShareType

func (*AssetShare) ProtoMessage

func (*AssetShare) ProtoMessage()

func (*AssetShare) ProtoReflect

func (x *AssetShare) ProtoReflect() protoreflect.Message

func (*AssetShare) Reset

func (x *AssetShare) Reset()

func (*AssetShare) String

func (x *AssetShare) String() string

type AssetStructuredProduct

type AssetStructuredProduct struct {
	BorrowName      string                `protobuf:"bytes,1,opt,name=borrow_name,json=borrowName,proto3" json:"borrow_name,omitempty"`                //Наименование заёмщика.
	Nominal         *Quotation            `protobuf:"bytes,2,opt,name=nominal,proto3" json:"nominal,omitempty"`                                        //Номинал.
	NominalCurrency string                `protobuf:"bytes,3,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"` //Валюта номинала.
	Type            StructuredProductType ``                                                                                                           //Тип структурной ноты.
	/* 127-byte string literal not displayed */
	LogicPortfolio string    `protobuf:"bytes,5,opt,name=logic_portfolio,json=logicPortfolio,proto3" json:"logic_portfolio,omitempty"` //Стратегия портфеля.
	AssetType      AssetType ``                                                                                                        //Тип базового актива.
	/* 142-byte string literal not displayed */
	BasicAsset    string                 `protobuf:"bytes,7,opt,name=basic_asset,json=basicAsset,proto3" json:"basic_asset,omitempty"`             //Вид базового актива в зависимости от типа базового актива.
	SafetyBarrier *Quotation             `protobuf:"bytes,8,opt,name=safety_barrier,json=safetyBarrier,proto3" json:"safety_barrier,omitempty"`    //Барьер сохранности в процентах.
	MaturityDate  *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"`       //Дата погашения.
	IssueSizePlan *Quotation             `protobuf:"bytes,10,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"` //Объявленное количество, шт.
	IssueSize     *Quotation             `protobuf:"bytes,11,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"`               //Объём размещения.
	PlacementDate *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"`   //Дата размещения ноты.
	IssueKind     string                 `protobuf:"bytes,13,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"`               //Форма выпуска.
	// contains filtered or unexported fields
}

Структурная нота.

func (*AssetStructuredProduct) Descriptor deprecated

func (*AssetStructuredProduct) Descriptor() ([]byte, []int)

Deprecated: Use AssetStructuredProduct.ProtoReflect.Descriptor instead.

func (*AssetStructuredProduct) GetAssetType

func (x *AssetStructuredProduct) GetAssetType() AssetType

func (*AssetStructuredProduct) GetBasicAsset

func (x *AssetStructuredProduct) GetBasicAsset() string

func (*AssetStructuredProduct) GetBorrowName

func (x *AssetStructuredProduct) GetBorrowName() string

func (*AssetStructuredProduct) GetIssueKind

func (x *AssetStructuredProduct) GetIssueKind() string

func (*AssetStructuredProduct) GetIssueSize

func (x *AssetStructuredProduct) GetIssueSize() *Quotation

func (*AssetStructuredProduct) GetIssueSizePlan

func (x *AssetStructuredProduct) GetIssueSizePlan() *Quotation

func (*AssetStructuredProduct) GetLogicPortfolio

func (x *AssetStructuredProduct) GetLogicPortfolio() string

func (*AssetStructuredProduct) GetMaturityDate

func (x *AssetStructuredProduct) GetMaturityDate() *timestamppb.Timestamp

func (*AssetStructuredProduct) GetNominal

func (x *AssetStructuredProduct) GetNominal() *Quotation

func (*AssetStructuredProduct) GetNominalCurrency

func (x *AssetStructuredProduct) GetNominalCurrency() string

func (*AssetStructuredProduct) GetPlacementDate

func (x *AssetStructuredProduct) GetPlacementDate() *timestamppb.Timestamp

func (*AssetStructuredProduct) GetSafetyBarrier

func (x *AssetStructuredProduct) GetSafetyBarrier() *Quotation

func (*AssetStructuredProduct) GetType

func (*AssetStructuredProduct) ProtoMessage

func (*AssetStructuredProduct) ProtoMessage()

func (*AssetStructuredProduct) ProtoReflect

func (x *AssetStructuredProduct) ProtoReflect() protoreflect.Message

func (*AssetStructuredProduct) Reset

func (x *AssetStructuredProduct) Reset()

func (*AssetStructuredProduct) String

func (x *AssetStructuredProduct) String() string

type AssetType

type AssetType int32

Тип актива.

const (
	AssetType_ASSET_TYPE_UNSPECIFIED AssetType = 0 //Тип не определён.
	AssetType_ASSET_TYPE_CURRENCY    AssetType = 1 //Валюта.
	AssetType_ASSET_TYPE_COMMODITY   AssetType = 2 //Товар.
	AssetType_ASSET_TYPE_INDEX       AssetType = 3 //Индекс.
	AssetType_ASSET_TYPE_SECURITY    AssetType = 4 //Ценная бумага.
)

func (AssetType) Descriptor

func (AssetType) Descriptor() protoreflect.EnumDescriptor

func (AssetType) Enum

func (x AssetType) Enum() *AssetType

func (AssetType) EnumDescriptor deprecated

func (AssetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AssetType.Descriptor instead.

func (AssetType) Number

func (x AssetType) Number() protoreflect.EnumNumber

func (AssetType) String

func (x AssetType) String() string

func (AssetType) Type

type AssetsRequest

type AssetsRequest struct {
	InstrumentType   *InstrumentType   `` /* 168-byte string literal not displayed */
	InstrumentStatus *InstrumentStatus `` //Статус запрашиваемых инструментов. [Возможные значения](#instrumentstatus).
	/* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос списка активов.

func (*AssetsRequest) Descriptor deprecated

func (*AssetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssetsRequest.ProtoReflect.Descriptor instead.

func (*AssetsRequest) GetInstrumentStatus added in v1.8.2

func (x *AssetsRequest) GetInstrumentStatus() InstrumentStatus

func (*AssetsRequest) GetInstrumentType added in v1.2.5

func (x *AssetsRequest) GetInstrumentType() InstrumentType

func (*AssetsRequest) ProtoMessage

func (*AssetsRequest) ProtoMessage()

func (*AssetsRequest) ProtoReflect

func (x *AssetsRequest) ProtoReflect() protoreflect.Message

func (*AssetsRequest) Reset

func (x *AssetsRequest) Reset()

func (*AssetsRequest) String

func (x *AssetsRequest) String() string

type AssetsResponse

type AssetsResponse struct {
	Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` //Активы.
	// contains filtered or unexported fields
}

Список активов.

func (*AssetsResponse) Descriptor deprecated

func (*AssetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssetsResponse.ProtoReflect.Descriptor instead.

func (*AssetsResponse) GetAssets

func (x *AssetsResponse) GetAssets() []*Asset

func (*AssetsResponse) ProtoMessage

func (*AssetsResponse) ProtoMessage()

func (*AssetsResponse) ProtoReflect

func (x *AssetsResponse) ProtoReflect() protoreflect.Message

func (*AssetsResponse) Reset

func (x *AssetsResponse) Reset()

func (*AssetsResponse) String

func (x *AssetsResponse) String() string

type Bond

type Bond struct {
	Figi      string     `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //FIGI-идентификатор инструмента.
	Ticker    string     `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента.
	ClassCode string     `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов).
	Isin      string     `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                            //ISIN-идентификатор инструмента.
	Lot       int32      `protobuf:"varint,5,opt,name=lot,proto3" json:"lot,omitempty"`                             //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру `lot`. [Подробнее](https://russianinvestments.github.io/investAPI/glossary#lot).
	Currency  string     `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`                    //Валюта расчётов.
	Klong     *Quotation `protobuf:"bytes,7,opt,name=klong,proto3" json:"klong,omitempty"`                          //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort    *Quotation `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                        //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` // Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin             *Quotation `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                         //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ShortEnabledFlag      bool       `protobuf:"varint,13,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"` //Признак доступности для операций в шорт.
	Name                  string     `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"`                                                    //Название инструмента.
	Exchange              string     `protobuf:"bytes,16,opt,name=exchange,proto3" json:"exchange,omitempty"`                                            //Tорговая площадка (секция биржи).
	CouponQuantityPerYear int32      ``                                                                                                                  //Количество выплат по купонам в год.
	/* 130-byte string literal not displayed */
	MaturityDate      *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"`                    //Дата погашения облигации по UTC.
	Nominal           *MoneyValue            `protobuf:"bytes,19,opt,name=nominal,proto3" json:"nominal,omitempty"`                                                  //Номинал облигации.
	InitialNominal    *MoneyValue            `protobuf:"bytes,20,opt,name=initial_nominal,json=initialNominal,proto3" json:"initial_nominal,omitempty"`              //Первоначальный номинал облигации.
	StateRegDate      *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=state_reg_date,json=stateRegDate,proto3" json:"state_reg_date,omitempty"`                  //Дата выпуска облигации по UTC.
	PlacementDate     *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"`                 //Дата размещения по UTC.
	PlacementPrice    *MoneyValue            `protobuf:"bytes,23,opt,name=placement_price,json=placementPrice,proto3" json:"placement_price,omitempty"`              //Цена размещения.
	AciValue          *MoneyValue            `protobuf:"bytes,24,opt,name=aci_value,json=aciValue,proto3" json:"aci_value,omitempty"`                                //Значение НКД (накопленного купонного дохода) на дату.
	CountryOfRisk     string                 `protobuf:"bytes,25,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска — то есть страны, в которой компания ведёт основной бизнес.
	CountryOfRiskName string                 `protobuf:"bytes,26,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска — то есть страны, в которой компания ведёт основной бизнес.
	Sector            string                 `protobuf:"bytes,27,opt,name=sector,proto3" json:"sector,omitempty"`                                                    //Сектор экономики.
	IssueKind         string                 `protobuf:"bytes,28,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"`                             //Форма выпуска. Возможные значения: </br>**documentary** — документарная; </br>**non_documentary** — бездокументарная.
	IssueSize         int64                  `protobuf:"varint,29,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"`                            //Размер выпуска.
	IssueSizePlan     int64                  `protobuf:"varint,30,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"`              //Плановый размер выпуска.
	TradingStatus     SecurityTradingStatus  ``                                                                                                                      //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	OtcFlag               bool       `protobuf:"varint,32,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                    //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag      bool       `protobuf:"varint,33,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`       //Признак доступности для покупки.
	SellAvailableFlag     bool       `protobuf:"varint,34,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"`    //Признак доступности для продажи.
	FloatingCouponFlag    bool       `protobuf:"varint,35,opt,name=floating_coupon_flag,json=floatingCouponFlag,proto3" json:"floating_coupon_flag,omitempty"` //Признак облигации с плавающим купоном.
	PerpetualFlag         bool       `protobuf:"varint,36,opt,name=perpetual_flag,json=perpetualFlag,proto3" json:"perpetual_flag,omitempty"`                  //Признак бессрочной облигации.
	AmortizationFlag      bool       `protobuf:"varint,37,opt,name=amortization_flag,json=amortizationFlag,proto3" json:"amortization_flag,omitempty"`         //Признак облигации с амортизацией долга.
	MinPriceIncrement     *Quotation `protobuf:"bytes,38,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`     //Шаг цены.
	ApiTradeAvailableFlag bool       ``                                                                                                                        //Параметр указывает на возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	Uid          string       `protobuf:"bytes,40,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента.
	RealExchange RealExchange ``                                                             //Реальная площадка исполнения расчётов. (биржа)
	/* 155-byte string literal not displayed */
	PositionUid          string                 `protobuf:"bytes,42,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`                              //Уникальный идентификатор позиции инструмента.
	AssetUid             string                 `protobuf:"bytes,43,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`                                       //Уникальный идентификатор актива.
	ForIisFlag           bool                   `protobuf:"varint,51,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	ForQualInvestorFlag  bool                   `protobuf:"varint,52,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag          bool                   `protobuf:"varint,53,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag       bool                   `protobuf:"varint,54,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	SubordinatedFlag     bool                   `protobuf:"varint,55,opt,name=subordinated_flag,json=subordinatedFlag,proto3" json:"subordinated_flag,omitempty"`              //Признак субординированной облигации.
	LiquidityFlag        bool                   `protobuf:"varint,56,opt,name=liquidity_flag,json=liquidityFlag,proto3" json:"liquidity_flag,omitempty"`                       //Флаг достаточной ликвидности.
	First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,61,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи.
	First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,62,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи.
	RiskLevel            RiskLevel              ``                                                                                                                             //Уровень риска.
	/* 143-byte string literal not displayed */
	Brand    *BrandData `protobuf:"bytes,64,opt,name=brand,proto3" json:"brand,omitempty"` // Информация о бренде.
	BondType BondType   ``                                                                 // Тип облигации.
	/* 139-byte string literal not displayed */
	CallDate     *timestamppb.Timestamp `protobuf:"bytes,69,opt,name=call_date,json=callDate,proto3" json:"call_date,omitempty"`             // Дата погашения облигации.
	DlongClient  *Quotation             `protobuf:"bytes,90,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`    //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient *Quotation             `protobuf:"bytes,91,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"` //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// contains filtered or unexported fields
}

Объект передачи информации об облигации.

func (*Bond) Descriptor deprecated

func (*Bond) Descriptor() ([]byte, []int)

Deprecated: Use Bond.ProtoReflect.Descriptor instead.

func (*Bond) GetAciValue

func (x *Bond) GetAciValue() *MoneyValue

func (*Bond) GetAmortizationFlag

func (x *Bond) GetAmortizationFlag() bool

func (*Bond) GetApiTradeAvailableFlag

func (x *Bond) GetApiTradeAvailableFlag() bool

func (*Bond) GetAssetUid added in v1.4.0

func (x *Bond) GetAssetUid() string

func (*Bond) GetBlockedTcaFlag added in v1.2.3

func (x *Bond) GetBlockedTcaFlag() bool

func (*Bond) GetBondType added in v1.4.0

func (x *Bond) GetBondType() BondType

func (*Bond) GetBrand added in v1.4.0

func (x *Bond) GetBrand() *BrandData

func (*Bond) GetBuyAvailableFlag

func (x *Bond) GetBuyAvailableFlag() bool

func (*Bond) GetCallDate added in v1.8.1

func (x *Bond) GetCallDate() *timestamppb.Timestamp

func (*Bond) GetClassCode

func (x *Bond) GetClassCode() string

func (*Bond) GetCountryOfRisk

func (x *Bond) GetCountryOfRisk() string

func (*Bond) GetCountryOfRiskName

func (x *Bond) GetCountryOfRiskName() string

func (*Bond) GetCouponQuantityPerYear

func (x *Bond) GetCouponQuantityPerYear() int32

func (*Bond) GetCurrency

func (x *Bond) GetCurrency() string

func (*Bond) GetDlong deprecated

func (x *Bond) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Bond) GetDlongClient added in v1.8.1

func (x *Bond) GetDlongClient() *Quotation

func (*Bond) GetDlongMin deprecated

func (x *Bond) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Bond) GetDshort deprecated

func (x *Bond) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Bond) GetDshortClient added in v1.8.1

func (x *Bond) GetDshortClient() *Quotation

func (*Bond) GetDshortMin deprecated

func (x *Bond) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Bond) GetExchange

func (x *Bond) GetExchange() string

func (*Bond) GetFigi

func (x *Bond) GetFigi() string

func (*Bond) GetFirst_1DayCandleDate added in v1.1.3

func (x *Bond) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Bond) GetFirst_1MinCandleDate added in v1.1.3

func (x *Bond) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Bond) GetFloatingCouponFlag

func (x *Bond) GetFloatingCouponFlag() bool

func (*Bond) GetForIisFlag added in v1.1.3

func (x *Bond) GetForIisFlag() bool

func (*Bond) GetForQualInvestorFlag added in v1.2.0

func (x *Bond) GetForQualInvestorFlag() bool

func (*Bond) GetInitialNominal added in v1.2.0

func (x *Bond) GetInitialNominal() *MoneyValue

func (*Bond) GetIsin

func (x *Bond) GetIsin() string

func (*Bond) GetIssueKind

func (x *Bond) GetIssueKind() string

func (*Bond) GetIssueSize

func (x *Bond) GetIssueSize() int64

func (*Bond) GetIssueSizePlan

func (x *Bond) GetIssueSizePlan() int64

func (*Bond) GetKlong

func (x *Bond) GetKlong() *Quotation

func (*Bond) GetKshort

func (x *Bond) GetKshort() *Quotation

func (*Bond) GetLiquidityFlag added in v1.2.5

func (x *Bond) GetLiquidityFlag() bool

func (*Bond) GetLot

func (x *Bond) GetLot() int32

func (*Bond) GetMaturityDate

func (x *Bond) GetMaturityDate() *timestamppb.Timestamp

func (*Bond) GetMinPriceIncrement

func (x *Bond) GetMinPriceIncrement() *Quotation

func (*Bond) GetName

func (x *Bond) GetName() string

func (*Bond) GetNominal

func (x *Bond) GetNominal() *MoneyValue

func (*Bond) GetOtcFlag

func (x *Bond) GetOtcFlag() bool

func (*Bond) GetPerpetualFlag

func (x *Bond) GetPerpetualFlag() bool

func (*Bond) GetPlacementDate

func (x *Bond) GetPlacementDate() *timestamppb.Timestamp

func (*Bond) GetPlacementPrice

func (x *Bond) GetPlacementPrice() *MoneyValue

func (*Bond) GetPositionUid added in v1.1.2

func (x *Bond) GetPositionUid() string

func (*Bond) GetRealExchange

func (x *Bond) GetRealExchange() RealExchange

func (*Bond) GetRiskLevel added in v1.2.4

func (x *Bond) GetRiskLevel() RiskLevel

func (*Bond) GetSector

func (x *Bond) GetSector() string

func (*Bond) GetSellAvailableFlag

func (x *Bond) GetSellAvailableFlag() bool

func (*Bond) GetShortEnabledFlag

func (x *Bond) GetShortEnabledFlag() bool

func (*Bond) GetStateRegDate

func (x *Bond) GetStateRegDate() *timestamppb.Timestamp

func (*Bond) GetSubordinatedFlag added in v1.2.4

func (x *Bond) GetSubordinatedFlag() bool

func (*Bond) GetTicker

func (x *Bond) GetTicker() string

func (*Bond) GetTradingStatus

func (x *Bond) GetTradingStatus() SecurityTradingStatus

func (*Bond) GetUid

func (x *Bond) GetUid() string

func (*Bond) GetWeekendFlag added in v1.2.3

func (x *Bond) GetWeekendFlag() bool

func (*Bond) ProtoMessage

func (*Bond) ProtoMessage()

func (*Bond) ProtoReflect

func (x *Bond) ProtoReflect() protoreflect.Message

func (*Bond) Reset

func (x *Bond) Reset()

func (*Bond) String

func (x *Bond) String() string

type BondResponse

type BondResponse struct {
	Instrument *Bond `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация об облигации.
	// contains filtered or unexported fields
}

Информация об облигации.

func (*BondResponse) Descriptor deprecated

func (*BondResponse) Descriptor() ([]byte, []int)

Deprecated: Use BondResponse.ProtoReflect.Descriptor instead.

func (*BondResponse) GetInstrument

func (x *BondResponse) GetInstrument() *Bond

func (*BondResponse) ProtoMessage

func (*BondResponse) ProtoMessage()

func (*BondResponse) ProtoReflect

func (x *BondResponse) ProtoReflect() protoreflect.Message

func (*BondResponse) Reset

func (x *BondResponse) Reset()

func (*BondResponse) String

func (x *BondResponse) String() string

type BondType added in v1.4.0

type BondType int32
const (
	BondType_BOND_TYPE_UNSPECIFIED BondType = 0 // Тип облигации не определён.
	BondType_BOND_TYPE_REPLACED    BondType = 1 // Замещающая облигация.
)

func (BondType) Descriptor added in v1.4.0

func (BondType) Descriptor() protoreflect.EnumDescriptor

func (BondType) Enum added in v1.4.0

func (x BondType) Enum() *BondType

func (BondType) EnumDescriptor deprecated added in v1.4.0

func (BondType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BondType.Descriptor instead.

func (BondType) Number added in v1.4.0

func (x BondType) Number() protoreflect.EnumNumber

func (BondType) String added in v1.4.0

func (x BondType) String() string

func (BondType) Type added in v1.4.0

type BondsResponse

type BondsResponse struct {
	Instruments []*Bond `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив облигаций.
	// contains filtered or unexported fields
}

Список облигаций.

func (*BondsResponse) Descriptor deprecated

func (*BondsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BondsResponse.ProtoReflect.Descriptor instead.

func (*BondsResponse) GetInstruments

func (x *BondsResponse) GetInstruments() []*Bond

func (*BondsResponse) ProtoMessage

func (*BondsResponse) ProtoMessage()

func (*BondsResponse) ProtoReflect

func (x *BondsResponse) ProtoReflect() protoreflect.Message

func (*BondsResponse) Reset

func (x *BondsResponse) Reset()

func (*BondsResponse) String

func (x *BondsResponse) String() string

type Brand

type Brand struct {
	Uid               string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                                          //UID-идентификатор бренда.
	Name              string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                        //Наименование бренда.
	Description       string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                                          //Описание.
	Info              string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`                                                        //Информация о бренде.
	Company           string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"`                                                  //Компания.
	Sector            string `protobuf:"bytes,6,opt,name=sector,proto3" json:"sector,omitempty"`                                                    //Сектор.
	CountryOfRisk     string `protobuf:"bytes,7,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска.
	CountryOfRiskName string `protobuf:"bytes,8,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска.
	// contains filtered or unexported fields
}

Бренд.

func (*Brand) Descriptor deprecated

func (*Brand) Descriptor() ([]byte, []int)

Deprecated: Use Brand.ProtoReflect.Descriptor instead.

func (*Brand) GetCompany

func (x *Brand) GetCompany() string

func (*Brand) GetCountryOfRisk

func (x *Brand) GetCountryOfRisk() string

func (*Brand) GetCountryOfRiskName

func (x *Brand) GetCountryOfRiskName() string

func (*Brand) GetDescription

func (x *Brand) GetDescription() string

func (*Brand) GetInfo

func (x *Brand) GetInfo() string

func (*Brand) GetName

func (x *Brand) GetName() string

func (*Brand) GetSector

func (x *Brand) GetSector() string

func (*Brand) GetUid

func (x *Brand) GetUid() string

func (*Brand) ProtoMessage

func (*Brand) ProtoMessage()

func (*Brand) ProtoReflect

func (x *Brand) ProtoReflect() protoreflect.Message

func (*Brand) Reset

func (x *Brand) Reset()

func (*Brand) String

func (x *Brand) String() string

type BrandData added in v1.4.0

type BrandData struct {
	LogoName      string `protobuf:"bytes,1,opt,name=logo_name,json=logoName,proto3" json:"logo_name,omitempty"`                  // Логотип инструмента. Имя файла для получения логотипа.
	LogoBaseColor string `protobuf:"bytes,2,opt,name=logo_base_color,json=logoBaseColor,proto3" json:"logo_base_color,omitempty"` //	Цвет бренда.
	TextColor     string `protobuf:"bytes,3,opt,name=text_color,json=textColor,proto3" json:"text_color,omitempty"`               // Цвет текста для цвета логотипа бренда.
	// contains filtered or unexported fields
}

func (*BrandData) Descriptor deprecated added in v1.4.0

func (*BrandData) Descriptor() ([]byte, []int)

Deprecated: Use BrandData.ProtoReflect.Descriptor instead.

func (*BrandData) GetLogoBaseColor added in v1.4.0

func (x *BrandData) GetLogoBaseColor() string

func (*BrandData) GetLogoName added in v1.4.0

func (x *BrandData) GetLogoName() string

func (*BrandData) GetTextColor added in v1.4.0

func (x *BrandData) GetTextColor() string

func (*BrandData) ProtoMessage added in v1.4.0

func (*BrandData) ProtoMessage()

func (*BrandData) ProtoReflect added in v1.4.0

func (x *BrandData) ProtoReflect() protoreflect.Message

func (*BrandData) Reset added in v1.4.0

func (x *BrandData) Reset()

func (*BrandData) String added in v1.4.0

func (x *BrandData) String() string

type BrokerReport

type BrokerReport struct {
	TradeId                    string                 `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`                                   //Номер сделки.
	OrderId                    string                 `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`                                   //Номер поручения.
	Figi                       string                 `protobuf:"bytes,3,opt,name=figi,proto3" json:"figi,omitempty"`                                                        //FIGI-идентификаторинструмента.
	ExecuteSign                string                 `protobuf:"bytes,4,opt,name=execute_sign,json=executeSign,proto3" json:"execute_sign,omitempty"`                       //Признак исполнения.
	TradeDatetime              *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=trade_datetime,json=tradeDatetime,proto3" json:"trade_datetime,omitempty"`                 //Дата и время заключения по UTC.
	Exchange                   string                 `protobuf:"bytes,6,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                //Торговая площадка.
	ClassCode                  string                 `protobuf:"bytes,7,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"`                             //Режим торгов.
	Direction                  string                 `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"`                                              //Вид сделки.
	Name                       string                 `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`                                                        //Сокращённое наименование актива.
	Ticker                     string                 `protobuf:"bytes,10,opt,name=ticker,proto3" json:"ticker,omitempty"`                                                   //Код актива.
	Price                      *MoneyValue            `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"`                                                     //Цена за единицу.
	Quantity                   int64                  `protobuf:"varint,12,opt,name=quantity,proto3" json:"quantity,omitempty"`                                              //Количество.
	OrderAmount                *MoneyValue            `protobuf:"bytes,13,opt,name=order_amount,json=orderAmount,proto3" json:"order_amount,omitempty"`                      //Сумма без НКД.
	AciValue                   *Quotation             `protobuf:"bytes,14,opt,name=aci_value,json=aciValue,proto3" json:"aci_value,omitempty"`                               //НКД.
	TotalOrderAmount           *MoneyValue            `protobuf:"bytes,15,opt,name=total_order_amount,json=totalOrderAmount,proto3" json:"total_order_amount,omitempty"`     //Сумма сделки.
	BrokerCommission           *MoneyValue            `protobuf:"bytes,16,opt,name=broker_commission,json=brokerCommission,proto3" json:"broker_commission,omitempty"`       //Комиссия брокера.
	ExchangeCommission         *MoneyValue            `protobuf:"bytes,17,opt,name=exchange_commission,json=exchangeCommission,proto3" json:"exchange_commission,omitempty"` //Комиссия биржи.
	ExchangeClearingCommission *MoneyValue            ``                                                                                                                     //Комиссия клирингового центра.
	/* 142-byte string literal not displayed */
	RepoRate              *Quotation             `protobuf:"bytes,19,opt,name=repo_rate,json=repoRate,proto3" json:"repo_rate,omitempty"`                     //Ставка РЕПО, %.
	Party                 string                 `protobuf:"bytes,20,opt,name=party,proto3" json:"party,omitempty"`                                           //Контрагент или брокерарокер.
	ClearValueDate        *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=clear_value_date,json=clearValueDate,proto3" json:"clear_value_date,omitempty"` //Дата расчётов по UTC.
	SecValueDate          *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=sec_value_date,json=secValueDate,proto3" json:"sec_value_date,omitempty"`       //Дата поставки по UTC.
	BrokerStatus          string                 `protobuf:"bytes,23,opt,name=broker_status,json=brokerStatus,proto3" json:"broker_status,omitempty"`         //Статус брокера.
	SeparateAgreementType string                 ``                                                                                                           //Тип договора.
	/* 127-byte string literal not displayed */
	SeparateAgreementNumber string `` //Номер договора.
	/* 133-byte string literal not displayed */
	SeparateAgreementDate string `` //Дата договора.
	/* 127-byte string literal not displayed */
	DeliveryType string `protobuf:"bytes,27,opt,name=delivery_type,json=deliveryType,proto3" json:"delivery_type,omitempty"` //Тип расчёта по сделке.
	// contains filtered or unexported fields
}

func (*BrokerReport) Descriptor deprecated

func (*BrokerReport) Descriptor() ([]byte, []int)

Deprecated: Use BrokerReport.ProtoReflect.Descriptor instead.

func (*BrokerReport) GetAciValue

func (x *BrokerReport) GetAciValue() *Quotation

func (*BrokerReport) GetBrokerCommission

func (x *BrokerReport) GetBrokerCommission() *MoneyValue

func (*BrokerReport) GetBrokerStatus

func (x *BrokerReport) GetBrokerStatus() string

func (*BrokerReport) GetClassCode

func (x *BrokerReport) GetClassCode() string

func (*BrokerReport) GetClearValueDate

func (x *BrokerReport) GetClearValueDate() *timestamppb.Timestamp

func (*BrokerReport) GetDeliveryType

func (x *BrokerReport) GetDeliveryType() string

func (*BrokerReport) GetDirection

func (x *BrokerReport) GetDirection() string

func (*BrokerReport) GetExchange

func (x *BrokerReport) GetExchange() string

func (*BrokerReport) GetExchangeClearingCommission

func (x *BrokerReport) GetExchangeClearingCommission() *MoneyValue

func (*BrokerReport) GetExchangeCommission

func (x *BrokerReport) GetExchangeCommission() *MoneyValue

func (*BrokerReport) GetExecuteSign

func (x *BrokerReport) GetExecuteSign() string

func (*BrokerReport) GetFigi

func (x *BrokerReport) GetFigi() string

func (*BrokerReport) GetName

func (x *BrokerReport) GetName() string

func (*BrokerReport) GetOrderAmount

func (x *BrokerReport) GetOrderAmount() *MoneyValue

func (*BrokerReport) GetOrderId

func (x *BrokerReport) GetOrderId() string

func (*BrokerReport) GetParty

func (x *BrokerReport) GetParty() string

func (*BrokerReport) GetPrice

func (x *BrokerReport) GetPrice() *MoneyValue

func (*BrokerReport) GetQuantity

func (x *BrokerReport) GetQuantity() int64

func (*BrokerReport) GetRepoRate

func (x *BrokerReport) GetRepoRate() *Quotation

func (*BrokerReport) GetSecValueDate

func (x *BrokerReport) GetSecValueDate() *timestamppb.Timestamp

func (*BrokerReport) GetSeparateAgreementDate

func (x *BrokerReport) GetSeparateAgreementDate() string

func (*BrokerReport) GetSeparateAgreementNumber

func (x *BrokerReport) GetSeparateAgreementNumber() string

func (*BrokerReport) GetSeparateAgreementType

func (x *BrokerReport) GetSeparateAgreementType() string

func (*BrokerReport) GetTicker

func (x *BrokerReport) GetTicker() string

func (*BrokerReport) GetTotalOrderAmount

func (x *BrokerReport) GetTotalOrderAmount() *MoneyValue

func (*BrokerReport) GetTradeDatetime

func (x *BrokerReport) GetTradeDatetime() *timestamppb.Timestamp

func (*BrokerReport) GetTradeId

func (x *BrokerReport) GetTradeId() string

func (*BrokerReport) ProtoMessage

func (*BrokerReport) ProtoMessage()

func (*BrokerReport) ProtoReflect

func (x *BrokerReport) ProtoReflect() protoreflect.Message

func (*BrokerReport) Reset

func (x *BrokerReport) Reset()

func (*BrokerReport) String

func (x *BrokerReport) String() string

type BrokerReportRequest

type BrokerReportRequest struct {

	// Types that are assignable to Payload:
	//
	//	*BrokerReportRequest_GenerateBrokerReportRequest
	//	*BrokerReportRequest_GetBrokerReportRequest
	Payload isBrokerReportRequest_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*BrokerReportRequest) Descriptor deprecated

func (*BrokerReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use BrokerReportRequest.ProtoReflect.Descriptor instead.

func (*BrokerReportRequest) GetGenerateBrokerReportRequest

func (x *BrokerReportRequest) GetGenerateBrokerReportRequest() *GenerateBrokerReportRequest

func (*BrokerReportRequest) GetGetBrokerReportRequest

func (x *BrokerReportRequest) GetGetBrokerReportRequest() *GetBrokerReportRequest

func (*BrokerReportRequest) GetPayload

func (m *BrokerReportRequest) GetPayload() isBrokerReportRequest_Payload

func (*BrokerReportRequest) ProtoMessage

func (*BrokerReportRequest) ProtoMessage()

func (*BrokerReportRequest) ProtoReflect

func (x *BrokerReportRequest) ProtoReflect() protoreflect.Message

func (*BrokerReportRequest) Reset

func (x *BrokerReportRequest) Reset()

func (*BrokerReportRequest) String

func (x *BrokerReportRequest) String() string

type BrokerReportRequest_GenerateBrokerReportRequest

type BrokerReportRequest_GenerateBrokerReportRequest struct {
	GenerateBrokerReportRequest *GenerateBrokerReportRequest `protobuf:"bytes,1,opt,name=generate_broker_report_request,json=generateBrokerReportRequest,proto3,oneof"`
}

type BrokerReportRequest_GetBrokerReportRequest

type BrokerReportRequest_GetBrokerReportRequest struct {
	GetBrokerReportRequest *GetBrokerReportRequest `protobuf:"bytes,2,opt,name=get_broker_report_request,json=getBrokerReportRequest,proto3,oneof"`
}

type BrokerReportResponse

type BrokerReportResponse struct {

	// Types that are assignable to Payload:
	//
	//	*BrokerReportResponse_GenerateBrokerReportResponse
	//	*BrokerReportResponse_GetBrokerReportResponse
	Payload isBrokerReportResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*BrokerReportResponse) Descriptor deprecated

func (*BrokerReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use BrokerReportResponse.ProtoReflect.Descriptor instead.

func (*BrokerReportResponse) GetGenerateBrokerReportResponse

func (x *BrokerReportResponse) GetGenerateBrokerReportResponse() *GenerateBrokerReportResponse

func (*BrokerReportResponse) GetGetBrokerReportResponse

func (x *BrokerReportResponse) GetGetBrokerReportResponse() *GetBrokerReportResponse

func (*BrokerReportResponse) GetPayload

func (m *BrokerReportResponse) GetPayload() isBrokerReportResponse_Payload

func (*BrokerReportResponse) ProtoMessage

func (*BrokerReportResponse) ProtoMessage()

func (*BrokerReportResponse) ProtoReflect

func (x *BrokerReportResponse) ProtoReflect() protoreflect.Message

func (*BrokerReportResponse) Reset

func (x *BrokerReportResponse) Reset()

func (*BrokerReportResponse) String

func (x *BrokerReportResponse) String() string

type BrokerReportResponse_GenerateBrokerReportResponse

type BrokerReportResponse_GenerateBrokerReportResponse struct {
	GenerateBrokerReportResponse *GenerateBrokerReportResponse `protobuf:"bytes,1,opt,name=generate_broker_report_response,json=generateBrokerReportResponse,proto3,oneof"`
}

type BrokerReportResponse_GetBrokerReportResponse

type BrokerReportResponse_GetBrokerReportResponse struct {
	GetBrokerReportResponse *GetBrokerReportResponse `protobuf:"bytes,2,opt,name=get_broker_report_response,json=getBrokerReportResponse,proto3,oneof"`
}

type CancelOrderRequest

type CancelOrderRequest struct {
	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"`       //Идентификатор заявки.
	OrderIdType *OrderIdType ``                                                                                         //Тип идентификатора заявки.
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос отмены торгового поручения.

func (*CancelOrderRequest) Descriptor deprecated

func (*CancelOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelOrderRequest.ProtoReflect.Descriptor instead.

func (*CancelOrderRequest) GetAccountId

func (x *CancelOrderRequest) GetAccountId() string

func (*CancelOrderRequest) GetOrderId

func (x *CancelOrderRequest) GetOrderId() string

func (*CancelOrderRequest) GetOrderIdType added in v1.5.0

func (x *CancelOrderRequest) GetOrderIdType() OrderIdType

func (*CancelOrderRequest) ProtoMessage

func (*CancelOrderRequest) ProtoMessage()

func (*CancelOrderRequest) ProtoReflect

func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message

func (*CancelOrderRequest) Reset

func (x *CancelOrderRequest) Reset()

func (*CancelOrderRequest) String

func (x *CancelOrderRequest) String() string

type CancelOrderResponse

type CancelOrderResponse struct {
	Time             *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`                                                   //Дата и время отмены заявки в часовом поясе UTC.
	ResponseMetadata *ResponseMetadata      `protobuf:"bytes,254,opt,name=response_metadata,json=responseMetadata,proto3" json:"response_metadata,omitempty"` //Метадата
	// contains filtered or unexported fields
}

Результат отмены торгового поручения.

func (*CancelOrderResponse) Descriptor deprecated

func (*CancelOrderResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelOrderResponse.ProtoReflect.Descriptor instead.

func (*CancelOrderResponse) GetResponseMetadata added in v1.4.0

func (x *CancelOrderResponse) GetResponseMetadata() *ResponseMetadata

func (*CancelOrderResponse) GetTime

func (*CancelOrderResponse) ProtoMessage

func (*CancelOrderResponse) ProtoMessage()

func (*CancelOrderResponse) ProtoReflect

func (x *CancelOrderResponse) ProtoReflect() protoreflect.Message

func (*CancelOrderResponse) Reset

func (x *CancelOrderResponse) Reset()

func (*CancelOrderResponse) String

func (x *CancelOrderResponse) String() string

type CancelStopOrderRequest

type CancelStopOrderRequest struct {
	AccountId   string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`         //Идентификатор счёта клиента.
	StopOrderId string `protobuf:"bytes,2,opt,name=stop_order_id,json=stopOrderId,proto3" json:"stop_order_id,omitempty"` //Уникальный идентификатор стоп-заявки.
	// contains filtered or unexported fields
}

Запрос отмены выставленной стоп-заявки.

func (*CancelStopOrderRequest) Descriptor deprecated

func (*CancelStopOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelStopOrderRequest.ProtoReflect.Descriptor instead.

func (*CancelStopOrderRequest) GetAccountId

func (x *CancelStopOrderRequest) GetAccountId() string

func (*CancelStopOrderRequest) GetStopOrderId

func (x *CancelStopOrderRequest) GetStopOrderId() string

func (*CancelStopOrderRequest) ProtoMessage

func (*CancelStopOrderRequest) ProtoMessage()

func (*CancelStopOrderRequest) ProtoReflect

func (x *CancelStopOrderRequest) ProtoReflect() protoreflect.Message

func (*CancelStopOrderRequest) Reset

func (x *CancelStopOrderRequest) Reset()

func (*CancelStopOrderRequest) String

func (x *CancelStopOrderRequest) String() string

type CancelStopOrderResponse

type CancelStopOrderResponse struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` //Время отмены заявки по UTC.
	// contains filtered or unexported fields
}

Результат отмены выставленной стоп-заявки.

func (*CancelStopOrderResponse) Descriptor deprecated

func (*CancelStopOrderResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelStopOrderResponse.ProtoReflect.Descriptor instead.

func (*CancelStopOrderResponse) GetTime

func (*CancelStopOrderResponse) ProtoMessage

func (*CancelStopOrderResponse) ProtoMessage()

func (*CancelStopOrderResponse) ProtoReflect

func (x *CancelStopOrderResponse) ProtoReflect() protoreflect.Message

func (*CancelStopOrderResponse) Reset

func (x *CancelStopOrderResponse) Reset()

func (*CancelStopOrderResponse) String

func (x *CancelStopOrderResponse) String() string

type Candle

type Candle struct {
	Figi     string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	Interval SubscriptionInterval ``                                                              //Интервал свечи.
	/* 134-byte string literal not displayed */
	Open             *Quotation             `protobuf:"bytes,3,opt,name=open,proto3" json:"open,omitempty"`                                         //Цена открытия за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	High             *Quotation             `protobuf:"bytes,4,opt,name=high,proto3" json:"high,omitempty"`                                         //Максимальная цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Low              *Quotation             `protobuf:"bytes,5,opt,name=low,proto3" json:"low,omitempty"`                                           //Минимальная цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Close            *Quotation             `protobuf:"bytes,6,opt,name=close,proto3" json:"close,omitempty"`                                       //Цена закрытия за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Volume           int64                  `protobuf:"varint,7,opt,name=volume,proto3" json:"volume,omitempty"`                                    //Объём сделок в лотах.
	Time             *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"`                                         //Время начала интервала свечи по UTC.
	LastTradeTs      *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_trade_ts,json=lastTradeTs,proto3" json:"last_trade_ts,omitempty"`      //Время последней сделки, вошедшей в свечу по UTC.
	InstrumentUid    string                 `protobuf:"bytes,10,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	CandleSourceType CandleSource           ``                                                                                                      //Источник свечей
	/* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Пакет свечей в рамках стрима.

func (*Candle) Descriptor deprecated

func (*Candle) Descriptor() ([]byte, []int)

Deprecated: Use Candle.ProtoReflect.Descriptor instead.

func (*Candle) GetCandleSourceType added in v1.8.1

func (x *Candle) GetCandleSourceType() CandleSource

func (*Candle) GetClose

func (x *Candle) GetClose() *Quotation

func (*Candle) GetFigi

func (x *Candle) GetFigi() string

func (*Candle) GetHigh

func (x *Candle) GetHigh() *Quotation

func (*Candle) GetInstrumentUid added in v1.2.0

func (x *Candle) GetInstrumentUid() string

func (*Candle) GetInterval

func (x *Candle) GetInterval() SubscriptionInterval

func (*Candle) GetLastTradeTs

func (x *Candle) GetLastTradeTs() *timestamppb.Timestamp

func (*Candle) GetLow

func (x *Candle) GetLow() *Quotation

func (*Candle) GetOpen

func (x *Candle) GetOpen() *Quotation

func (*Candle) GetTime

func (x *Candle) GetTime() *timestamppb.Timestamp

func (*Candle) GetVolume

func (x *Candle) GetVolume() int64

func (*Candle) ProtoMessage

func (*Candle) ProtoMessage()

func (*Candle) ProtoReflect

func (x *Candle) ProtoReflect() protoreflect.Message

func (*Candle) Reset

func (x *Candle) Reset()

func (*Candle) String

func (x *Candle) String() string

type CandleInstrument

type CandleInstrument struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi     string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` // Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	Interval SubscriptionInterval ``                                                              //Интервал свечей. Двухчасовые и четырёхчасовые свечи в стриме отсчитываются с 0:00 по UTC.
	/* 134-byte string literal not displayed */
	InstrumentId string `protobuf:"bytes,3,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос изменения статус подписки на свечи.

func (*CandleInstrument) Descriptor deprecated

func (*CandleInstrument) Descriptor() ([]byte, []int)

Deprecated: Use CandleInstrument.ProtoReflect.Descriptor instead.

func (*CandleInstrument) GetFigi deprecated

func (x *CandleInstrument) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*CandleInstrument) GetInstrumentId added in v1.2.0

func (x *CandleInstrument) GetInstrumentId() string

func (*CandleInstrument) GetInterval

func (x *CandleInstrument) GetInterval() SubscriptionInterval

func (*CandleInstrument) ProtoMessage

func (*CandleInstrument) ProtoMessage()

func (*CandleInstrument) ProtoReflect

func (x *CandleInstrument) ProtoReflect() protoreflect.Message

func (*CandleInstrument) Reset

func (x *CandleInstrument) Reset()

func (*CandleInstrument) String

func (x *CandleInstrument) String() string

type CandleInterval

type CandleInterval int32

Интервал свечей. Максимальное значение интервала приведено ориентировочно, может отличаться в большую сторону в зависимости от параметров запроса.

const (
	CandleInterval_CANDLE_INTERVAL_UNSPECIFIED CandleInterval = 0  //Интервал не определён.
	CandleInterval_CANDLE_INTERVAL_1_MIN       CandleInterval = 1  //От 1 минуты до 1 дня (лимит 2400).
	CandleInterval_CANDLE_INTERVAL_5_MIN       CandleInterval = 2  //От 5 минут до недели (лимит 2400).
	CandleInterval_CANDLE_INTERVAL_15_MIN      CandleInterval = 3  //От 15 минут до 3 недель (лимит 2400).
	CandleInterval_CANDLE_INTERVAL_HOUR        CandleInterval = 4  //От 1 часа до 3 месяцев (лимит 2400).
	CandleInterval_CANDLE_INTERVAL_DAY         CandleInterval = 5  //От 1 дня до 6 лет (лимит 2400).
	CandleInterval_CANDLE_INTERVAL_2_MIN       CandleInterval = 6  //От 2 минут до 1 дня (лимит 1200).
	CandleInterval_CANDLE_INTERVAL_3_MIN       CandleInterval = 7  //От 3 минут до 1 дня (лимит 750).
	CandleInterval_CANDLE_INTERVAL_10_MIN      CandleInterval = 8  //От 10 минут до недели (лимит 1200).
	CandleInterval_CANDLE_INTERVAL_30_MIN      CandleInterval = 9  //От 30 минут до 3 недель (лимит 1200).
	CandleInterval_CANDLE_INTERVAL_2_HOUR      CandleInterval = 10 //От 2 часов до 3 месяцев (лимит 2400).
	CandleInterval_CANDLE_INTERVAL_4_HOUR      CandleInterval = 11 //От 4 часов до 3 месяцев (лимит 700).
	CandleInterval_CANDLE_INTERVAL_WEEK        CandleInterval = 12 //От 1 недели до 5 лет (лимит 300).
	CandleInterval_CANDLE_INTERVAL_MONTH       CandleInterval = 13 //От 1 месяца до 10 лет (лимит 120).
)

func (CandleInterval) Descriptor

func (CandleInterval) Enum

func (x CandleInterval) Enum() *CandleInterval

func (CandleInterval) EnumDescriptor deprecated

func (CandleInterval) EnumDescriptor() ([]byte, []int)

Deprecated: Use CandleInterval.Descriptor instead.

func (CandleInterval) Number

func (CandleInterval) String

func (x CandleInterval) String() string

func (CandleInterval) Type

type CandleSource added in v1.4.0

type CandleSource int32
const (
	CandleSource_CANDLE_SOURCE_UNSPECIFIED    CandleSource = 0 //Источник свечей не определён.
	CandleSource_CANDLE_SOURCE_EXCHANGE       CandleSource = 1 //Биржевые свечи.
	CandleSource_CANDLE_SOURCE_DEALER_WEEKEND CandleSource = 2 //Свечи  дилера в результате торговли по выходным.
)

func (CandleSource) Descriptor added in v1.4.0

func (CandleSource) Enum added in v1.4.0

func (x CandleSource) Enum() *CandleSource

func (CandleSource) EnumDescriptor deprecated added in v1.4.0

func (CandleSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use CandleSource.Descriptor instead.

func (CandleSource) Number added in v1.4.0

func (CandleSource) String added in v1.4.0

func (x CandleSource) String() string

func (CandleSource) Type added in v1.4.0

type CandleSubscription

type CandleSubscription struct {
	Figi     string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	Interval SubscriptionInterval ``                                                              //Интервал свечей.
	/* 134-byte string literal not displayed */
	SubscriptionStatus SubscriptionStatus `` //Статус подписки.
	/* 178-byte string literal not displayed */
	InstrumentUid    string                          `protobuf:"bytes,4,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`    //UID инструмента.
	WaitingClose     bool                            `protobuf:"varint,5,opt,name=waiting_close,json=waitingClose,proto3" json:"waiting_close,omitempty"`      //Флаг ожидания закрытия временного интервала для отправки свечи.
	StreamId         string                          `protobuf:"bytes,6,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                   //Идентификатор открытого соединения.
	SubscriptionId   string                          `protobuf:"bytes,7,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` //Идентификатор подписки в формате `UUID`.
	CandleSourceType *GetCandlesRequest_CandleSource ``                                                                                                        //Источник свечей.
	/* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

Статус подписки на свечи.

func (*CandleSubscription) Descriptor deprecated

func (*CandleSubscription) Descriptor() ([]byte, []int)

Deprecated: Use CandleSubscription.ProtoReflect.Descriptor instead.

func (*CandleSubscription) GetCandleSourceType added in v1.8.1

func (x *CandleSubscription) GetCandleSourceType() GetCandlesRequest_CandleSource

func (*CandleSubscription) GetFigi

func (x *CandleSubscription) GetFigi() string

func (*CandleSubscription) GetInstrumentUid added in v1.2.0

func (x *CandleSubscription) GetInstrumentUid() string

func (*CandleSubscription) GetInterval

func (x *CandleSubscription) GetInterval() SubscriptionInterval

func (*CandleSubscription) GetStreamId added in v1.4.0

func (x *CandleSubscription) GetStreamId() string

func (*CandleSubscription) GetSubscriptionId added in v1.4.0

func (x *CandleSubscription) GetSubscriptionId() string

func (*CandleSubscription) GetSubscriptionStatus

func (x *CandleSubscription) GetSubscriptionStatus() SubscriptionStatus

func (*CandleSubscription) GetWaitingClose added in v1.4.0

func (x *CandleSubscription) GetWaitingClose() bool

func (*CandleSubscription) ProtoMessage

func (*CandleSubscription) ProtoMessage()

func (*CandleSubscription) ProtoReflect

func (x *CandleSubscription) ProtoReflect() protoreflect.Message

func (*CandleSubscription) Reset

func (x *CandleSubscription) Reset()

func (*CandleSubscription) String

func (x *CandleSubscription) String() string

type ChildOperationItem added in v1.5.0

type ChildOperationItem struct {
	InstrumentUid string      `protobuf:"bytes,1,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор инструмента.
	Payment       *MoneyValue `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"`                                  //Сумма операции.
	// contains filtered or unexported fields
}

func (*ChildOperationItem) Descriptor deprecated added in v1.5.0

func (*ChildOperationItem) Descriptor() ([]byte, []int)

Deprecated: Use ChildOperationItem.ProtoReflect.Descriptor instead.

func (*ChildOperationItem) GetInstrumentUid added in v1.5.0

func (x *ChildOperationItem) GetInstrumentUid() string

func (*ChildOperationItem) GetPayment added in v1.5.0

func (x *ChildOperationItem) GetPayment() *MoneyValue

func (*ChildOperationItem) ProtoMessage added in v1.5.0

func (*ChildOperationItem) ProtoMessage()

func (*ChildOperationItem) ProtoReflect added in v1.5.0

func (x *ChildOperationItem) ProtoReflect() protoreflect.Message

func (*ChildOperationItem) Reset added in v1.5.0

func (x *ChildOperationItem) Reset()

func (*ChildOperationItem) String added in v1.5.0

func (x *ChildOperationItem) String() string

type Client

type Client struct {
	Connection               *grpc.ClientConn
	InstrumentsServiceClient InstrumentsServiceClient
	UsersServiceClient       UsersServiceClient
	MarketDataServiceClient  MarketDataServiceClient
	OperationsServiceClient  OperationsServiceClient
	OrdersServiceClient      OrdersServiceClient
	StopOrdersServiceClient  StopOrdersServiceClient
	SignalServiceClient      SignalServiceClient
}

Client - это структура для доступа к API, в которой есть соединение и сгенерированные клиенты для всех сервисов

func New

func New(token string, opts ...grpc.DialOption) (client *Client, err error)

New создаёт новый клиент для доступа к API по адресу продового окружения, используя Ключ доступа и вариадическую переменную opts с параметрами вида grpc.DialOption для настройки соединения как аргументы

func NewInsecure added in v1.8.0

func NewInsecure(token, endpoint string, opts ...grpc.DialOption) (client *Client, err error)

NewInsecure создаёт новый клиент с ВЫКЛЮЧЕНЫМ TLS шифрованием для доступа к API, используя Ключ доступа как аргумент, доменное имя и вариадическую переменную opts с параметрами вида grpc.DialOption для настройки соединения Этот клиент лучше не использовать за пределами тестовых окружений! Рекомендуется использовать с mock API инвестиций в тестовых сценариях

func NewWithCustomEndpoint

func NewWithCustomEndpoint(token, endpoint string, opts ...grpc.DialOption) (client *Client, err error)

NewWithCustomEndpoint создаёт новый клиент для доступа к API, используя Ключ доступа, адрес API и вариадическую переменную opts с параметрами вида grpc.DialOption для настройки соединения как аргументы

func NewWithOpts

func NewWithOpts(token, endpoint string, opts ...grpc.DialOption) (client *Client, err error)

NewWithOpts создаёт новый клиент для доступа к API, используя Ключ доступа, адрес API и вариадическую переменную opts с параметрами вида grpc.DialOption для настройки соединения как аргументы

func (*Client) Ping added in v1.3.0

func (c *Client) Ping(_ context.Context) (err error)

Ping проверяет работоспособность соединения на основе получения состояния пула соединений

type CloseSandboxAccountRequest

type CloseSandboxAccountRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта
	// contains filtered or unexported fields
}

Запрос закрытия счёта в песочнице.

func (*CloseSandboxAccountRequest) Descriptor deprecated

func (*CloseSandboxAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseSandboxAccountRequest.ProtoReflect.Descriptor instead.

func (*CloseSandboxAccountRequest) GetAccountId

func (x *CloseSandboxAccountRequest) GetAccountId() string

func (*CloseSandboxAccountRequest) ProtoMessage

func (*CloseSandboxAccountRequest) ProtoMessage()

func (*CloseSandboxAccountRequest) ProtoReflect

func (*CloseSandboxAccountRequest) Reset

func (x *CloseSandboxAccountRequest) Reset()

func (*CloseSandboxAccountRequest) String

func (x *CloseSandboxAccountRequest) String() string

type CloseSandboxAccountResponse

type CloseSandboxAccountResponse struct {
	// contains filtered or unexported fields
}

Результат закрытия счёта в песочнице.

func (*CloseSandboxAccountResponse) Descriptor deprecated

func (*CloseSandboxAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseSandboxAccountResponse.ProtoReflect.Descriptor instead.

func (*CloseSandboxAccountResponse) ProtoMessage

func (*CloseSandboxAccountResponse) ProtoMessage()

func (*CloseSandboxAccountResponse) ProtoReflect

func (*CloseSandboxAccountResponse) Reset

func (x *CloseSandboxAccountResponse) Reset()

func (*CloseSandboxAccountResponse) String

func (x *CloseSandboxAccountResponse) String() string

type CountryResponse added in v1.1.1

type CountryResponse struct {
	AlfaTwo   string `protobuf:"bytes,1,opt,name=alfa_two,json=alfaTwo,proto3" json:"alfa_two,omitempty"`       //Двухбуквенный код страны.
	AlfaThree string `protobuf:"bytes,2,opt,name=alfa_three,json=alfaThree,proto3" json:"alfa_three,omitempty"` //Трёхбуквенный код страны.
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                            //Наименование страны.
	NameBrief string `protobuf:"bytes,4,opt,name=name_brief,json=nameBrief,proto3" json:"name_brief,omitempty"` //Краткое наименование страны.
	// contains filtered or unexported fields
}

Данные о стране.

func (*CountryResponse) Descriptor deprecated added in v1.1.1

func (*CountryResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountryResponse.ProtoReflect.Descriptor instead.

func (*CountryResponse) GetAlfaThree added in v1.1.1

func (x *CountryResponse) GetAlfaThree() string

func (*CountryResponse) GetAlfaTwo added in v1.1.1

func (x *CountryResponse) GetAlfaTwo() string

func (*CountryResponse) GetName added in v1.1.1

func (x *CountryResponse) GetName() string

func (*CountryResponse) GetNameBrief added in v1.1.1

func (x *CountryResponse) GetNameBrief() string

func (*CountryResponse) ProtoMessage added in v1.1.1

func (*CountryResponse) ProtoMessage()

func (*CountryResponse) ProtoReflect added in v1.1.1

func (x *CountryResponse) ProtoReflect() protoreflect.Message

func (*CountryResponse) Reset added in v1.1.1

func (x *CountryResponse) Reset()

func (*CountryResponse) String added in v1.1.1

func (x *CountryResponse) String() string

type Coupon

type Coupon struct {
	Figi         string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                      //FIGI-идентификатор инструмента.
	CouponDate   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=coupon_date,json=couponDate,proto3" json:"coupon_date,omitempty"`        //Дата выплаты купона.
	CouponNumber int64                  `protobuf:"varint,3,opt,name=coupon_number,json=couponNumber,proto3" json:"coupon_number,omitempty"` //Номер купона.
	FixDate      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=fix_date,json=fixDate,proto3" json:"fix_date,omitempty"`                 //Дата фиксации реестра для выплаты купона — опционально.
	PayOneBond   *MoneyValue            `protobuf:"bytes,5,opt,name=pay_one_bond,json=payOneBond,proto3" json:"pay_one_bond,omitempty"`      //Выплата на одну облигацию.
	CouponType   CouponType             ``                                                                                                   //Тип купона.
	/* 146-byte string literal not displayed */
	CouponStartDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=coupon_start_date,json=couponStartDate,proto3" json:"coupon_start_date,omitempty"` //Начало купонного периода.
	CouponEndDate   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=coupon_end_date,json=couponEndDate,proto3" json:"coupon_end_date,omitempty"`       //Окончание купонного периода.
	CouponPeriod    int32                  `protobuf:"varint,9,opt,name=coupon_period,json=couponPeriod,proto3" json:"coupon_period,omitempty"`           //Купонный период в днях.
	// contains filtered or unexported fields
}

Объект передачи информации о купоне облигации.

func (*Coupon) Descriptor deprecated

func (*Coupon) Descriptor() ([]byte, []int)

Deprecated: Use Coupon.ProtoReflect.Descriptor instead.

func (*Coupon) GetCouponDate

func (x *Coupon) GetCouponDate() *timestamppb.Timestamp

func (*Coupon) GetCouponEndDate

func (x *Coupon) GetCouponEndDate() *timestamppb.Timestamp

func (*Coupon) GetCouponNumber

func (x *Coupon) GetCouponNumber() int64

func (*Coupon) GetCouponPeriod

func (x *Coupon) GetCouponPeriod() int32

func (*Coupon) GetCouponStartDate

func (x *Coupon) GetCouponStartDate() *timestamppb.Timestamp

func (*Coupon) GetCouponType

func (x *Coupon) GetCouponType() CouponType

func (*Coupon) GetFigi

func (x *Coupon) GetFigi() string

func (*Coupon) GetFixDate

func (x *Coupon) GetFixDate() *timestamppb.Timestamp

func (*Coupon) GetPayOneBond

func (x *Coupon) GetPayOneBond() *MoneyValue

func (*Coupon) ProtoMessage

func (*Coupon) ProtoMessage()

func (*Coupon) ProtoReflect

func (x *Coupon) ProtoReflect() protoreflect.Message

func (*Coupon) Reset

func (x *Coupon) Reset()

func (*Coupon) String

func (x *Coupon) String() string

type CouponType

type CouponType int32

Тип купонов.

const (
	CouponType_COUPON_TYPE_UNSPECIFIED CouponType = 0 //Неопределённое значение.
	CouponType_COUPON_TYPE_CONSTANT    CouponType = 1 //Постоянный.
	CouponType_COUPON_TYPE_FLOATING    CouponType = 2 //Плавающий.
	CouponType_COUPON_TYPE_DISCOUNT    CouponType = 3 //Дисконт.
	CouponType_COUPON_TYPE_MORTGAGE    CouponType = 4 //Ипотечный.
	CouponType_COUPON_TYPE_FIX         CouponType = 5 //Фиксированный.
	CouponType_COUPON_TYPE_VARIABLE    CouponType = 6 //Переменный.
	CouponType_COUPON_TYPE_OTHER       CouponType = 7 //Прочее.
)

func (CouponType) Descriptor

func (CouponType) Descriptor() protoreflect.EnumDescriptor

func (CouponType) Enum

func (x CouponType) Enum() *CouponType

func (CouponType) EnumDescriptor deprecated

func (CouponType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CouponType.Descriptor instead.

func (CouponType) Number

func (x CouponType) Number() protoreflect.EnumNumber

func (CouponType) String

func (x CouponType) String() string

func (CouponType) Type

type CurrenciesResponse

type CurrenciesResponse struct {
	Instruments []*Currency `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив валют.
	// contains filtered or unexported fields
}

Данные по валютам.

func (*CurrenciesResponse) Descriptor deprecated

func (*CurrenciesResponse) Descriptor() ([]byte, []int)

Deprecated: Use CurrenciesResponse.ProtoReflect.Descriptor instead.

func (*CurrenciesResponse) GetInstruments

func (x *CurrenciesResponse) GetInstruments() []*Currency

func (*CurrenciesResponse) ProtoMessage

func (*CurrenciesResponse) ProtoMessage()

func (*CurrenciesResponse) ProtoReflect

func (x *CurrenciesResponse) ProtoReflect() protoreflect.Message

func (*CurrenciesResponse) Reset

func (x *CurrenciesResponse) Reset()

func (*CurrenciesResponse) String

func (x *CurrenciesResponse) String() string

type Currency

type Currency struct {
	Figi      string     `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //FIGI-идентификатор инструмента.
	Ticker    string     `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента.
	ClassCode string     `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов).
	Isin      string     `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                            //ISIN-идентификатор инструмента.
	Lot       int32      `protobuf:"varint,5,opt,name=lot,proto3" json:"lot,omitempty"`                             //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру `lot`. [Подробнее](https://russianinvestments.github.io/investAPI/glossary#lot).
	Currency  string     `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`                    //Валюта расчётов.
	Klong     *Quotation `protobuf:"bytes,7,opt,name=klong,proto3" json:"klong,omitempty"`                          //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort    *Quotation `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                        //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin         *Quotation            `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ShortEnabledFlag  bool                  `protobuf:"varint,13,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"`     //Признак доступности для операций в шорт.
	Name              string                `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"`                                                        //Название инструмента.
	Exchange          string                `protobuf:"bytes,16,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                //Tорговая площадка (секция биржи).
	Nominal           *MoneyValue           `protobuf:"bytes,17,opt,name=nominal,proto3" json:"nominal,omitempty"`                                                  //Номинал.
	CountryOfRisk     string                `protobuf:"bytes,18,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска — то есть страны, в которой компания ведёт основной бизнес.
	CountryOfRiskName string                `protobuf:"bytes,19,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска — то есть страны, в которой компания ведёт основной бизнес.
	TradingStatus     SecurityTradingStatus ``                                                                                                                      //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	OtcFlag               bool       `protobuf:"varint,21,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                 //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag      bool       `protobuf:"varint,22,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`    //Признак доступности для покупки.
	SellAvailableFlag     bool       `protobuf:"varint,23,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи.
	IsoCurrencyName       string     `protobuf:"bytes,24,opt,name=iso_currency_name,json=isoCurrencyName,proto3" json:"iso_currency_name,omitempty"`        //Строковый ISO-код валюты.
	MinPriceIncrement     *Quotation `protobuf:"bytes,25,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`  //Шаг цены.
	ApiTradeAvailableFlag bool       ``                                                                                                                     //Параметр указывает на возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	Uid          string       `protobuf:"bytes,27,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента.
	RealExchange RealExchange ``                                                             //Реальная площадка исполнения расчётов (биржа).
	/* 155-byte string literal not displayed */
	PositionUid          string                 `protobuf:"bytes,29,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`                              //Уникальный идентификатор позиции инструмента.
	ForIisFlag           bool                   `protobuf:"varint,41,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	ForQualInvestorFlag  bool                   `protobuf:"varint,52,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag          bool                   `protobuf:"varint,53,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag       bool                   `protobuf:"varint,54,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи.
	First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи.
	Brand                *BrandData             `protobuf:"bytes,60,opt,name=brand,proto3" json:"brand,omitempty"`                                                             // Информация о бренде.
	DlongClient          *Quotation             `protobuf:"bytes,90,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`                              //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient         *Quotation             `protobuf:"bytes,91,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"`                           //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// contains filtered or unexported fields
}

Объект передачи информации о валюте.

func (*Currency) Descriptor deprecated

func (*Currency) Descriptor() ([]byte, []int)

Deprecated: Use Currency.ProtoReflect.Descriptor instead.

func (*Currency) GetApiTradeAvailableFlag

func (x *Currency) GetApiTradeAvailableFlag() bool

func (*Currency) GetBlockedTcaFlag added in v1.2.3

func (x *Currency) GetBlockedTcaFlag() bool

func (*Currency) GetBrand added in v1.4.0

func (x *Currency) GetBrand() *BrandData

func (*Currency) GetBuyAvailableFlag

func (x *Currency) GetBuyAvailableFlag() bool

func (*Currency) GetClassCode

func (x *Currency) GetClassCode() string

func (*Currency) GetCountryOfRisk

func (x *Currency) GetCountryOfRisk() string

func (*Currency) GetCountryOfRiskName

func (x *Currency) GetCountryOfRiskName() string

func (*Currency) GetCurrency

func (x *Currency) GetCurrency() string

func (*Currency) GetDlong deprecated

func (x *Currency) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Currency) GetDlongClient added in v1.8.1

func (x *Currency) GetDlongClient() *Quotation

func (*Currency) GetDlongMin deprecated

func (x *Currency) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Currency) GetDshort deprecated

func (x *Currency) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Currency) GetDshortClient added in v1.8.1

func (x *Currency) GetDshortClient() *Quotation

func (*Currency) GetDshortMin deprecated

func (x *Currency) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Currency) GetExchange

func (x *Currency) GetExchange() string

func (*Currency) GetFigi

func (x *Currency) GetFigi() string

func (*Currency) GetFirst_1DayCandleDate added in v1.1.3

func (x *Currency) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Currency) GetFirst_1MinCandleDate added in v1.1.3

func (x *Currency) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Currency) GetForIisFlag added in v1.1.3

func (x *Currency) GetForIisFlag() bool

func (*Currency) GetForQualInvestorFlag added in v1.2.0

func (x *Currency) GetForQualInvestorFlag() bool

func (*Currency) GetIsin

func (x *Currency) GetIsin() string

func (*Currency) GetIsoCurrencyName

func (x *Currency) GetIsoCurrencyName() string

func (*Currency) GetKlong

func (x *Currency) GetKlong() *Quotation

func (*Currency) GetKshort

func (x *Currency) GetKshort() *Quotation

func (*Currency) GetLot

func (x *Currency) GetLot() int32

func (*Currency) GetMinPriceIncrement

func (x *Currency) GetMinPriceIncrement() *Quotation

func (*Currency) GetName

func (x *Currency) GetName() string

func (*Currency) GetNominal

func (x *Currency) GetNominal() *MoneyValue

func (*Currency) GetOtcFlag

func (x *Currency) GetOtcFlag() bool

func (*Currency) GetPositionUid added in v1.1.2

func (x *Currency) GetPositionUid() string

func (*Currency) GetRealExchange

func (x *Currency) GetRealExchange() RealExchange

func (*Currency) GetSellAvailableFlag

func (x *Currency) GetSellAvailableFlag() bool

func (*Currency) GetShortEnabledFlag

func (x *Currency) GetShortEnabledFlag() bool

func (*Currency) GetTicker

func (x *Currency) GetTicker() string

func (*Currency) GetTradingStatus

func (x *Currency) GetTradingStatus() SecurityTradingStatus

func (*Currency) GetUid

func (x *Currency) GetUid() string

func (*Currency) GetWeekendFlag added in v1.2.3

func (x *Currency) GetWeekendFlag() bool

func (*Currency) ProtoMessage

func (*Currency) ProtoMessage()

func (*Currency) ProtoReflect

func (x *Currency) ProtoReflect() protoreflect.Message

func (*Currency) Reset

func (x *Currency) Reset()

func (*Currency) String

func (x *Currency) String() string

type CurrencyResponse

type CurrencyResponse struct {
	Instrument *Currency `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация о валюте.
	// contains filtered or unexported fields
}

Данные по валюте.

func (*CurrencyResponse) Descriptor deprecated

func (*CurrencyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CurrencyResponse.ProtoReflect.Descriptor instead.

func (*CurrencyResponse) GetInstrument

func (x *CurrencyResponse) GetInstrument() *Currency

func (*CurrencyResponse) ProtoMessage

func (*CurrencyResponse) ProtoMessage()

func (*CurrencyResponse) ProtoReflect

func (x *CurrencyResponse) ProtoReflect() protoreflect.Message

func (*CurrencyResponse) Reset

func (x *CurrencyResponse) Reset()

func (*CurrencyResponse) String

func (x *CurrencyResponse) String() string

type Dividend

type Dividend struct {
	DividendNet  *MoneyValue            `protobuf:"bytes,1,opt,name=dividend_net,json=dividendNet,proto3" json:"dividend_net,omitempty"`    //Величина дивиденда на 1 ценную бумагу (включая валюту).
	PaymentDate  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"`    //Дата фактических выплат по UTC.
	DeclaredDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=declared_date,json=declaredDate,proto3" json:"declared_date,omitempty"` //Дата объявления дивидендов по UTC.
	LastBuyDate  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_buy_date,json=lastBuyDate,proto3" json:"last_buy_date,omitempty"`  //Последний день (включительно) покупки для получения выплаты по UTC.
	DividendType string                 `protobuf:"bytes,5,opt,name=dividend_type,json=dividendType,proto3" json:"dividend_type,omitempty"` //Тип выплаты. Возможные значения: `Regular Cash` – регулярные выплаты, `Cancelled` – выплата отменена, `Daily Accrual` – ежедневное начисление, `Return of Capital` – возврат капитала, прочие типы выплат.
	RecordDate   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"`       //Дата фиксации реестра по UTC.
	Regularity   string                 `protobuf:"bytes,7,opt,name=regularity,proto3" json:"regularity,omitempty"`                         //Регулярность выплаты. Возможные значения: `Annual` – ежегодная, `Semi-Anl` – каждые полгода, прочие типы выплат.
	ClosePrice   *MoneyValue            `protobuf:"bytes,8,opt,name=close_price,json=closePrice,proto3" json:"close_price,omitempty"`       //Цена закрытия инструмента на момент `ex_dividend_date`.
	YieldValue   *Quotation             `protobuf:"bytes,9,opt,name=yield_value,json=yieldValue,proto3" json:"yield_value,omitempty"`       //Величина доходности.
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`         //Дата и время создания записи по UTC.
	// contains filtered or unexported fields
}

Информация о выплате.

func (*Dividend) Descriptor deprecated

func (*Dividend) Descriptor() ([]byte, []int)

Deprecated: Use Dividend.ProtoReflect.Descriptor instead.

func (*Dividend) GetClosePrice

func (x *Dividend) GetClosePrice() *MoneyValue

func (*Dividend) GetCreatedAt

func (x *Dividend) GetCreatedAt() *timestamppb.Timestamp

func (*Dividend) GetDeclaredDate

func (x *Dividend) GetDeclaredDate() *timestamppb.Timestamp

func (*Dividend) GetDividendNet

func (x *Dividend) GetDividendNet() *MoneyValue

func (*Dividend) GetDividendType

func (x *Dividend) GetDividendType() string

func (*Dividend) GetLastBuyDate

func (x *Dividend) GetLastBuyDate() *timestamppb.Timestamp

func (*Dividend) GetPaymentDate

func (x *Dividend) GetPaymentDate() *timestamppb.Timestamp

func (*Dividend) GetRecordDate

func (x *Dividend) GetRecordDate() *timestamppb.Timestamp

func (*Dividend) GetRegularity

func (x *Dividend) GetRegularity() string

func (*Dividend) GetYieldValue

func (x *Dividend) GetYieldValue() *Quotation

func (*Dividend) ProtoMessage

func (*Dividend) ProtoMessage()

func (*Dividend) ProtoReflect

func (x *Dividend) ProtoReflect() protoreflect.Message

func (*Dividend) Reset

func (x *Dividend) Reset()

func (*Dividend) String

func (x *Dividend) String() string

type DividendsForeignIssuerReport

type DividendsForeignIssuerReport struct {
	RecordDate         *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"`                         //Дата фиксации реестра.
	PaymentDate        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"`                      //Дата выплаты.
	SecurityName       string                 `protobuf:"bytes,3,opt,name=security_name,json=securityName,proto3" json:"security_name,omitempty"`                   //Наименование ценной бумаги.
	Isin               string                 `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                                                       //ISIN-идентификатор ценной бумаги.
	IssuerCountry      string                 `protobuf:"bytes,5,opt,name=issuer_country,json=issuerCountry,proto3" json:"issuer_country,omitempty"`                //Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
	Quantity           int64                  `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"`                                              //Количество ценных бумаг.
	Dividend           *Quotation             `protobuf:"bytes,7,opt,name=dividend,proto3" json:"dividend,omitempty"`                                               //Выплаты на одну бумагу
	ExternalCommission *Quotation             `protobuf:"bytes,8,opt,name=external_commission,json=externalCommission,proto3" json:"external_commission,omitempty"` //Комиссия внешних платёжных агентов.
	DividendGross      *Quotation             `protobuf:"bytes,9,opt,name=dividend_gross,json=dividendGross,proto3" json:"dividend_gross,omitempty"`                //Сумма до удержания налога.
	Tax                *Quotation             `protobuf:"bytes,10,opt,name=tax,proto3" json:"tax,omitempty"`                                                        //Сумма налога, удержанного агентом.
	DividendAmount     *Quotation             `protobuf:"bytes,11,opt,name=dividend_amount,json=dividendAmount,proto3" json:"dividend_amount,omitempty"`            //Итоговая сумма выплаты.
	Currency           string                 `protobuf:"bytes,12,opt,name=currency,proto3" json:"currency,omitempty"`                                              //Валюта.
	// contains filtered or unexported fields
}

Отчёт «Справка о доходах за пределами РФ».

func (*DividendsForeignIssuerReport) Descriptor deprecated

func (*DividendsForeignIssuerReport) Descriptor() ([]byte, []int)

Deprecated: Use DividendsForeignIssuerReport.ProtoReflect.Descriptor instead.

func (*DividendsForeignIssuerReport) GetCurrency

func (x *DividendsForeignIssuerReport) GetCurrency() string

func (*DividendsForeignIssuerReport) GetDividend

func (x *DividendsForeignIssuerReport) GetDividend() *Quotation

func (*DividendsForeignIssuerReport) GetDividendAmount

func (x *DividendsForeignIssuerReport) GetDividendAmount() *Quotation

func (*DividendsForeignIssuerReport) GetDividendGross

func (x *DividendsForeignIssuerReport) GetDividendGross() *Quotation

func (*DividendsForeignIssuerReport) GetExternalCommission

func (x *DividendsForeignIssuerReport) GetExternalCommission() *Quotation

func (*DividendsForeignIssuerReport) GetIsin

func (x *DividendsForeignIssuerReport) GetIsin() string

func (*DividendsForeignIssuerReport) GetIssuerCountry

func (x *DividendsForeignIssuerReport) GetIssuerCountry() string

func (*DividendsForeignIssuerReport) GetPaymentDate

func (x *DividendsForeignIssuerReport) GetPaymentDate() *timestamppb.Timestamp

func (*DividendsForeignIssuerReport) GetQuantity

func (x *DividendsForeignIssuerReport) GetQuantity() int64

func (*DividendsForeignIssuerReport) GetRecordDate

func (*DividendsForeignIssuerReport) GetSecurityName

func (x *DividendsForeignIssuerReport) GetSecurityName() string

func (*DividendsForeignIssuerReport) GetTax

func (*DividendsForeignIssuerReport) ProtoMessage

func (*DividendsForeignIssuerReport) ProtoMessage()

func (*DividendsForeignIssuerReport) ProtoReflect

func (*DividendsForeignIssuerReport) Reset

func (x *DividendsForeignIssuerReport) Reset()

func (*DividendsForeignIssuerReport) String

type EditFavoritesActionType

type EditFavoritesActionType int32

Тип действия со списком избранных инструментов.

const (
	EditFavoritesActionType_EDIT_FAVORITES_ACTION_TYPE_UNSPECIFIED EditFavoritesActionType = 0 //Тип не определён.
	EditFavoritesActionType_EDIT_FAVORITES_ACTION_TYPE_ADD         EditFavoritesActionType = 1 //Добавить в список.
	EditFavoritesActionType_EDIT_FAVORITES_ACTION_TYPE_DEL         EditFavoritesActionType = 2 //Удалить из списка.
)

func (EditFavoritesActionType) Descriptor

func (EditFavoritesActionType) Enum

func (EditFavoritesActionType) EnumDescriptor deprecated

func (EditFavoritesActionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EditFavoritesActionType.Descriptor instead.

func (EditFavoritesActionType) Number

func (EditFavoritesActionType) String

func (x EditFavoritesActionType) String() string

func (EditFavoritesActionType) Type

type EditFavoritesRequest

type EditFavoritesRequest struct {
	Instruments []*EditFavoritesRequestInstrument `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов.
	ActionType  EditFavoritesActionType           ``                                                                            //Тип действия со списком.
	/* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос редактирования списка избранных инструментов.

func (*EditFavoritesRequest) Descriptor deprecated

func (*EditFavoritesRequest) Descriptor() ([]byte, []int)

Deprecated: Use EditFavoritesRequest.ProtoReflect.Descriptor instead.

func (*EditFavoritesRequest) GetActionType

func (x *EditFavoritesRequest) GetActionType() EditFavoritesActionType

func (*EditFavoritesRequest) GetInstruments

func (*EditFavoritesRequest) ProtoMessage

func (*EditFavoritesRequest) ProtoMessage()

func (*EditFavoritesRequest) ProtoReflect

func (x *EditFavoritesRequest) ProtoReflect() protoreflect.Message

func (*EditFavoritesRequest) Reset

func (x *EditFavoritesRequest) Reset()

func (*EditFavoritesRequest) String

func (x *EditFavoritesRequest) String() string

type EditFavoritesRequestInstrument

type EditFavoritesRequestInstrument struct {

	// Deprecated: Marked as deprecated in instruments.proto.
	Figi         *string `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"`                               //FIGI-идентификатор инструмента.
	InstrumentId string  `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента — `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Массив инструментов для редактирования списка избранных инструментов.

func (*EditFavoritesRequestInstrument) Descriptor deprecated

func (*EditFavoritesRequestInstrument) Descriptor() ([]byte, []int)

Deprecated: Use EditFavoritesRequestInstrument.ProtoReflect.Descriptor instead.

func (*EditFavoritesRequestInstrument) GetFigi deprecated

Deprecated: Marked as deprecated in instruments.proto.

func (*EditFavoritesRequestInstrument) GetInstrumentId added in v1.4.0

func (x *EditFavoritesRequestInstrument) GetInstrumentId() string

func (*EditFavoritesRequestInstrument) ProtoMessage

func (*EditFavoritesRequestInstrument) ProtoMessage()

func (*EditFavoritesRequestInstrument) ProtoReflect

func (*EditFavoritesRequestInstrument) Reset

func (x *EditFavoritesRequestInstrument) Reset()

func (*EditFavoritesRequestInstrument) String

type EditFavoritesResponse

type EditFavoritesResponse struct {
	FavoriteInstruments []*FavoriteInstrument `protobuf:"bytes,1,rep,name=favorite_instruments,json=favoriteInstruments,proto3" json:"favorite_instruments,omitempty"` //Массив инструментов.
	// contains filtered or unexported fields
}

Результат редактирования списка избранных инструментов.

func (*EditFavoritesResponse) Descriptor deprecated

func (*EditFavoritesResponse) Descriptor() ([]byte, []int)

Deprecated: Use EditFavoritesResponse.ProtoReflect.Descriptor instead.

func (*EditFavoritesResponse) GetFavoriteInstruments

func (x *EditFavoritesResponse) GetFavoriteInstruments() []*FavoriteInstrument

func (*EditFavoritesResponse) ProtoMessage

func (*EditFavoritesResponse) ProtoMessage()

func (*EditFavoritesResponse) ProtoReflect

func (x *EditFavoritesResponse) ProtoReflect() protoreflect.Message

func (*EditFavoritesResponse) Reset

func (x *EditFavoritesResponse) Reset()

func (*EditFavoritesResponse) String

func (x *EditFavoritesResponse) String() string

type ErrorDetail added in v1.4.0

type ErrorDetail struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`       //Код ошибки.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //Описание ошибки.
	// contains filtered or unexported fields
}

func (*ErrorDetail) Descriptor deprecated added in v1.4.0

func (*ErrorDetail) Descriptor() ([]byte, []int)

Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead.

func (*ErrorDetail) GetCode added in v1.4.0

func (x *ErrorDetail) GetCode() string

func (*ErrorDetail) GetMessage added in v1.4.0

func (x *ErrorDetail) GetMessage() string

func (*ErrorDetail) ProtoMessage added in v1.4.0

func (*ErrorDetail) ProtoMessage()

func (*ErrorDetail) ProtoReflect added in v1.4.0

func (x *ErrorDetail) ProtoReflect() protoreflect.Message

func (*ErrorDetail) Reset added in v1.4.0

func (x *ErrorDetail) Reset()

func (*ErrorDetail) String added in v1.4.0

func (x *ErrorDetail) String() string

type Etf

type Etf struct {
	Figi      string     `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //FIGI-идентификатор инструмента.
	Ticker    string     `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента.
	ClassCode string     `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов).
	Isin      string     `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                            //ISIN-идентификатор инструмента.
	Lot       int32      `protobuf:"varint,5,opt,name=lot,proto3" json:"lot,omitempty"`                             //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру `lot`. [Подробнее](https://russianinvestments.github.io/investAPI/glossary#lot).
	Currency  string     `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`                    //Валюта расчётов.
	Klong     *Quotation `protobuf:"bytes,7,opt,name=klong,proto3" json:"klong,omitempty"`                          //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort    *Quotation `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                        //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin         *Quotation             `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ShortEnabledFlag  bool                   `protobuf:"varint,13,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"`     //Признак доступности для операций в шорт.
	Name              string                 `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"`                                                        //Название инструмента.
	Exchange          string                 `protobuf:"bytes,16,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                //Tорговая площадка (секция биржи).
	FixedCommission   *Quotation             `protobuf:"bytes,17,opt,name=fixed_commission,json=fixedCommission,proto3" json:"fixed_commission,omitempty"`           //Размер фиксированной комиссии фонда.
	FocusType         string                 `protobuf:"bytes,18,opt,name=focus_type,json=focusType,proto3" json:"focus_type,omitempty"`                             //Возможные значения: </br>**equity** — акции;</br>**fixed_income** — облигации;</br>**mixed_allocation** — смешанный;</br>**money_market** — денежный рынок;</br>**real_estate** — недвижимость;</br>**commodity** — товары;</br>**specialty** — специальный;</br>**private_equity** — private equity;</br>**alternative_investment** — альтернативные инвестиции.
	ReleasedDate      *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=released_date,json=releasedDate,proto3" json:"released_date,omitempty"`                    //Дата выпуска по UTC.
	NumShares         *Quotation             `protobuf:"bytes,20,opt,name=num_shares,json=numShares,proto3" json:"num_shares,omitempty"`                             //Количество паев фонда в обращении.
	CountryOfRisk     string                 `protobuf:"bytes,21,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска — то есть страны, в которой компания ведёт основной бизнес.
	CountryOfRiskName string                 `protobuf:"bytes,22,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска — то есть страны, в которой компания ведёт основной бизнес.
	Sector            string                 `protobuf:"bytes,23,opt,name=sector,proto3" json:"sector,omitempty"`                                                    //Сектор экономики.
	RebalancingFreq   string                 `protobuf:"bytes,24,opt,name=rebalancing_freq,json=rebalancingFreq,proto3" json:"rebalancing_freq,omitempty"`           //Частота ребалансировки.
	TradingStatus     SecurityTradingStatus  ``                                                                                                                      //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	OtcFlag               bool       `protobuf:"varint,26,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                 //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag      bool       `protobuf:"varint,27,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`    //Признак доступности для покупки.
	SellAvailableFlag     bool       `protobuf:"varint,28,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи.
	MinPriceIncrement     *Quotation `protobuf:"bytes,29,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`  //Шаг цены.
	ApiTradeAvailableFlag bool       ``                                                                                                                     //Параметр указывает на возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	Uid          string       `protobuf:"bytes,31,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента.
	RealExchange RealExchange ``                                                             //Реальная площадка исполнения расчётов (биржа).
	/* 155-byte string literal not displayed */
	PositionUid        string                 `protobuf:"bytes,33,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента.
	AssetUid           string                 `protobuf:"bytes,34,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`          //Уникальный идентификатор актива.
	InstrumentExchange InstrumentExchangeType ``                                                                                                //Тип площадки торговли.
	/* 183-byte string literal not displayed */
	ForIisFlag           bool                   `protobuf:"varint,41,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	ForQualInvestorFlag  bool                   `protobuf:"varint,42,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag          bool                   `protobuf:"varint,43,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //ФлагФлаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag       bool                   `protobuf:"varint,44,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	LiquidityFlag        bool                   `protobuf:"varint,45,opt,name=liquidity_flag,json=liquidityFlag,proto3" json:"liquidity_flag,omitempty"`                       //Флаг достаточной ликвидности.
	First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи.
	First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи.
	Brand                *BrandData             `protobuf:"bytes,60,opt,name=brand,proto3" json:"brand,omitempty"`                                                             // Информация о бренде.
	DlongClient          *Quotation             `protobuf:"bytes,90,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`                              //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient         *Quotation             `protobuf:"bytes,91,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"`                           //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// contains filtered or unexported fields
}

Объект передачи информации об инвестиционном фонде.

func (*Etf) Descriptor deprecated

func (*Etf) Descriptor() ([]byte, []int)

Deprecated: Use Etf.ProtoReflect.Descriptor instead.

func (*Etf) GetApiTradeAvailableFlag

func (x *Etf) GetApiTradeAvailableFlag() bool

func (*Etf) GetAssetUid added in v1.4.0

func (x *Etf) GetAssetUid() string

func (*Etf) GetBlockedTcaFlag added in v1.2.3

func (x *Etf) GetBlockedTcaFlag() bool

func (*Etf) GetBrand added in v1.4.0

func (x *Etf) GetBrand() *BrandData

func (*Etf) GetBuyAvailableFlag

func (x *Etf) GetBuyAvailableFlag() bool

func (*Etf) GetClassCode

func (x *Etf) GetClassCode() string

func (*Etf) GetCountryOfRisk

func (x *Etf) GetCountryOfRisk() string

func (*Etf) GetCountryOfRiskName

func (x *Etf) GetCountryOfRiskName() string

func (*Etf) GetCurrency

func (x *Etf) GetCurrency() string

func (*Etf) GetDlong deprecated

func (x *Etf) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Etf) GetDlongClient added in v1.8.1

func (x *Etf) GetDlongClient() *Quotation

func (*Etf) GetDlongMin deprecated

func (x *Etf) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Etf) GetDshort deprecated

func (x *Etf) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Etf) GetDshortClient added in v1.8.1

func (x *Etf) GetDshortClient() *Quotation

func (*Etf) GetDshortMin deprecated

func (x *Etf) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Etf) GetExchange

func (x *Etf) GetExchange() string

func (*Etf) GetFigi

func (x *Etf) GetFigi() string

func (*Etf) GetFirst_1DayCandleDate added in v1.1.3

func (x *Etf) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Etf) GetFirst_1MinCandleDate added in v1.1.3

func (x *Etf) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Etf) GetFixedCommission

func (x *Etf) GetFixedCommission() *Quotation

func (*Etf) GetFocusType

func (x *Etf) GetFocusType() string

func (*Etf) GetForIisFlag added in v1.1.3

func (x *Etf) GetForIisFlag() bool

func (*Etf) GetForQualInvestorFlag added in v1.2.0

func (x *Etf) GetForQualInvestorFlag() bool

func (*Etf) GetInstrumentExchange added in v1.4.0

func (x *Etf) GetInstrumentExchange() InstrumentExchangeType

func (*Etf) GetIsin

func (x *Etf) GetIsin() string

func (*Etf) GetKlong

func (x *Etf) GetKlong() *Quotation

func (*Etf) GetKshort

func (x *Etf) GetKshort() *Quotation

func (*Etf) GetLiquidityFlag added in v1.2.5

func (x *Etf) GetLiquidityFlag() bool

func (*Etf) GetLot

func (x *Etf) GetLot() int32

func (*Etf) GetMinPriceIncrement

func (x *Etf) GetMinPriceIncrement() *Quotation

func (*Etf) GetName

func (x *Etf) GetName() string

func (*Etf) GetNumShares

func (x *Etf) GetNumShares() *Quotation

func (*Etf) GetOtcFlag

func (x *Etf) GetOtcFlag() bool

func (*Etf) GetPositionUid added in v1.1.2

func (x *Etf) GetPositionUid() string

func (*Etf) GetRealExchange

func (x *Etf) GetRealExchange() RealExchange

func (*Etf) GetRebalancingFreq

func (x *Etf) GetRebalancingFreq() string

func (*Etf) GetReleasedDate

func (x *Etf) GetReleasedDate() *timestamppb.Timestamp

func (*Etf) GetSector

func (x *Etf) GetSector() string

func (*Etf) GetSellAvailableFlag

func (x *Etf) GetSellAvailableFlag() bool

func (*Etf) GetShortEnabledFlag

func (x *Etf) GetShortEnabledFlag() bool

func (*Etf) GetTicker

func (x *Etf) GetTicker() string

func (*Etf) GetTradingStatus

func (x *Etf) GetTradingStatus() SecurityTradingStatus

func (*Etf) GetUid

func (x *Etf) GetUid() string

func (*Etf) GetWeekendFlag added in v1.2.3

func (x *Etf) GetWeekendFlag() bool

func (*Etf) ProtoMessage

func (*Etf) ProtoMessage()

func (*Etf) ProtoReflect

func (x *Etf) ProtoReflect() protoreflect.Message

func (*Etf) Reset

func (x *Etf) Reset()

func (*Etf) String

func (x *Etf) String() string

type EtfResponse

type EtfResponse struct {
	Instrument *Etf `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация о фонде.
	// contains filtered or unexported fields
}

Данные по фонду.

func (*EtfResponse) Descriptor deprecated

func (*EtfResponse) Descriptor() ([]byte, []int)

Deprecated: Use EtfResponse.ProtoReflect.Descriptor instead.

func (*EtfResponse) GetInstrument

func (x *EtfResponse) GetInstrument() *Etf

func (*EtfResponse) ProtoMessage

func (*EtfResponse) ProtoMessage()

func (*EtfResponse) ProtoReflect

func (x *EtfResponse) ProtoReflect() protoreflect.Message

func (*EtfResponse) Reset

func (x *EtfResponse) Reset()

func (*EtfResponse) String

func (x *EtfResponse) String() string

type EtfsResponse

type EtfsResponse struct {
	Instruments []*Etf `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив фондов.
	// contains filtered or unexported fields
}

Данные по фондам.

func (*EtfsResponse) Descriptor deprecated

func (*EtfsResponse) Descriptor() ([]byte, []int)

Deprecated: Use EtfsResponse.ProtoReflect.Descriptor instead.

func (*EtfsResponse) GetInstruments

func (x *EtfsResponse) GetInstruments() []*Etf

func (*EtfsResponse) ProtoMessage

func (*EtfsResponse) ProtoMessage()

func (*EtfsResponse) ProtoReflect

func (x *EtfsResponse) ProtoReflect() protoreflect.Message

func (*EtfsResponse) Reset

func (x *EtfsResponse) Reset()

func (*EtfsResponse) String

func (x *EtfsResponse) String() string

type ExchangeOrderType added in v1.4.0

type ExchangeOrderType int32

Тип выставляемой заявки.

const (
	ExchangeOrderType_EXCHANGE_ORDER_TYPE_UNSPECIFIED ExchangeOrderType = 0 //Значение не указано.
	ExchangeOrderType_EXCHANGE_ORDER_TYPE_MARKET      ExchangeOrderType = 1 //Заявка по рыночной цене.
	ExchangeOrderType_EXCHANGE_ORDER_TYPE_LIMIT       ExchangeOrderType = 2 //Лимитная заявка.
)

func (ExchangeOrderType) Descriptor added in v1.4.0

func (ExchangeOrderType) Enum added in v1.4.0

func (ExchangeOrderType) EnumDescriptor deprecated added in v1.4.0

func (ExchangeOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExchangeOrderType.Descriptor instead.

func (ExchangeOrderType) Number added in v1.4.0

func (ExchangeOrderType) String added in v1.4.0

func (x ExchangeOrderType) String() string

func (ExchangeOrderType) Type added in v1.4.0

type FavoriteInstrument

type FavoriteInstrument struct {
	Figi                  string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                            //FIGI-идентификатор инструмента.
	Ticker                string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                                        //Тикер инструмента.
	ClassCode             string `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"`                 //Класс-код инструмента.
	Isin                  string `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                                            //ISIN-идентификатор инструмента.
	InstrumentType        string `protobuf:"bytes,11,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента.
	Name                  string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`                                           //Название инструмента.
	Uid                   string `protobuf:"bytes,13,opt,name=uid,proto3" json:"uid,omitempty"`                                             //Уникальный идентификатор инструмента.
	OtcFlag               bool   `protobuf:"varint,16,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                     //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	ApiTradeAvailableFlag bool   ``                                                                                                         //Возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	InstrumentKind InstrumentType `` //Тип инструмента.
	/* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

Массив избранных инструментов.

func (*FavoriteInstrument) Descriptor deprecated

func (*FavoriteInstrument) Descriptor() ([]byte, []int)

Deprecated: Use FavoriteInstrument.ProtoReflect.Descriptor instead.

func (*FavoriteInstrument) GetApiTradeAvailableFlag

func (x *FavoriteInstrument) GetApiTradeAvailableFlag() bool

func (*FavoriteInstrument) GetClassCode

func (x *FavoriteInstrument) GetClassCode() string

func (*FavoriteInstrument) GetFigi

func (x *FavoriteInstrument) GetFigi() string

func (*FavoriteInstrument) GetInstrumentKind added in v1.2.4

func (x *FavoriteInstrument) GetInstrumentKind() InstrumentType

func (*FavoriteInstrument) GetInstrumentType

func (x *FavoriteInstrument) GetInstrumentType() string

func (*FavoriteInstrument) GetIsin

func (x *FavoriteInstrument) GetIsin() string

func (*FavoriteInstrument) GetName added in v1.4.0

func (x *FavoriteInstrument) GetName() string

func (*FavoriteInstrument) GetOtcFlag

func (x *FavoriteInstrument) GetOtcFlag() bool

func (*FavoriteInstrument) GetTicker

func (x *FavoriteInstrument) GetTicker() string

func (*FavoriteInstrument) GetUid added in v1.4.0

func (x *FavoriteInstrument) GetUid() string

func (*FavoriteInstrument) ProtoMessage

func (*FavoriteInstrument) ProtoMessage()

func (*FavoriteInstrument) ProtoReflect

func (x *FavoriteInstrument) ProtoReflect() protoreflect.Message

func (*FavoriteInstrument) Reset

func (x *FavoriteInstrument) Reset()

func (*FavoriteInstrument) String

func (x *FavoriteInstrument) String() string

type FilterOptionsRequest added in v1.2.5

type FilterOptionsRequest struct {
	BasicAssetUid         *string `protobuf:"bytes,1,opt,name=basic_asset_uid,json=basicAssetUid,proto3,oneof" json:"basic_asset_uid,omitempty"` //Идентификатор базового актива опциона.  Обязательный параметр.
	BasicAssetPositionUid *string ``                                                                                                             //Идентификатор позиции базового актива опциона.
	/* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Параметры фильтрации опционов.

func (*FilterOptionsRequest) Descriptor deprecated added in v1.2.5

func (*FilterOptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use FilterOptionsRequest.ProtoReflect.Descriptor instead.

func (*FilterOptionsRequest) GetBasicAssetPositionUid added in v1.2.5

func (x *FilterOptionsRequest) GetBasicAssetPositionUid() string

func (*FilterOptionsRequest) GetBasicAssetUid added in v1.2.5

func (x *FilterOptionsRequest) GetBasicAssetUid() string

func (*FilterOptionsRequest) ProtoMessage added in v1.2.5

func (*FilterOptionsRequest) ProtoMessage()

func (*FilterOptionsRequest) ProtoReflect added in v1.2.5

func (x *FilterOptionsRequest) ProtoReflect() protoreflect.Message

func (*FilterOptionsRequest) Reset added in v1.2.5

func (x *FilterOptionsRequest) Reset()

func (*FilterOptionsRequest) String added in v1.2.5

func (x *FilterOptionsRequest) String() string

type FindInstrumentRequest added in v1.1.1

type FindInstrumentRequest struct {
	Query          string          `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` //Строка поиска.
	InstrumentKind *InstrumentType ``                                                                //Фильтр по типу инструмента.
	/* 168-byte string literal not displayed */
	ApiTradeAvailableFlag *bool `` //Фильтр для отображения только торговых инструментов.
	/* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос на поиск инструментов.

func (*FindInstrumentRequest) Descriptor deprecated added in v1.1.1

func (*FindInstrumentRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindInstrumentRequest.ProtoReflect.Descriptor instead.

func (*FindInstrumentRequest) GetApiTradeAvailableFlag added in v1.2.5

func (x *FindInstrumentRequest) GetApiTradeAvailableFlag() bool

func (*FindInstrumentRequest) GetInstrumentKind added in v1.2.5

func (x *FindInstrumentRequest) GetInstrumentKind() InstrumentType

func (*FindInstrumentRequest) GetQuery added in v1.1.1

func (x *FindInstrumentRequest) GetQuery() string

func (*FindInstrumentRequest) ProtoMessage added in v1.1.1

func (*FindInstrumentRequest) ProtoMessage()

func (*FindInstrumentRequest) ProtoReflect added in v1.1.1

func (x *FindInstrumentRequest) ProtoReflect() protoreflect.Message

func (*FindInstrumentRequest) Reset added in v1.1.1

func (x *FindInstrumentRequest) Reset()

func (*FindInstrumentRequest) String added in v1.1.1

func (x *FindInstrumentRequest) String() string

type FindInstrumentResponse added in v1.1.1

type FindInstrumentResponse struct {
	Instruments []*InstrumentShort `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов, удовлетворяющих условиям поиска.
	// contains filtered or unexported fields
}

Результат поиска инструментов.

func (*FindInstrumentResponse) Descriptor deprecated added in v1.1.1

func (*FindInstrumentResponse) Descriptor() ([]byte, []int)

Deprecated: Use FindInstrumentResponse.ProtoReflect.Descriptor instead.

func (*FindInstrumentResponse) GetInstruments added in v1.1.1

func (x *FindInstrumentResponse) GetInstruments() []*InstrumentShort

func (*FindInstrumentResponse) ProtoMessage added in v1.1.1

func (*FindInstrumentResponse) ProtoMessage()

func (*FindInstrumentResponse) ProtoReflect added in v1.1.1

func (x *FindInstrumentResponse) ProtoReflect() protoreflect.Message

func (*FindInstrumentResponse) Reset added in v1.1.1

func (x *FindInstrumentResponse) Reset()

func (*FindInstrumentResponse) String added in v1.1.1

func (x *FindInstrumentResponse) String() string

type Future

type Future struct {
	Figi      string     `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //FIGI-идентификатор инструмента.
	Ticker    string     `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента.
	ClassCode string     `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов).
	Lot       int32      `protobuf:"varint,4,opt,name=lot,proto3" json:"lot,omitempty"`                             //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру `lot`. [Подробнее](https://russianinvestments.github.io/investAPI/glossary#lot).
	Currency  string     `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`                    //Валюта расчётов.
	Klong     *Quotation `protobuf:"bytes,6,opt,name=klong,proto3" json:"klong,omitempty"`                          //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort    *Quotation `protobuf:"bytes,7,opt,name=kshort,proto3" json:"kshort,omitempty"`                        //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,8,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,9,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,10,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin         *Quotation             `protobuf:"bytes,11,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ShortEnabledFlag  bool                   `protobuf:"varint,12,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"`     //Признак доступности для операций шорт.
	Name              string                 `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"`                                                        //Название инструмента.
	Exchange          string                 `protobuf:"bytes,14,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                //Tорговая площадка (секция биржи).
	FirstTradeDate    *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=first_trade_date,json=firstTradeDate,proto3" json:"first_trade_date,omitempty"`            //Дата начала обращения контракта по UTC.
	LastTradeDate     *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=last_trade_date,json=lastTradeDate,proto3" json:"last_trade_date,omitempty"`               //Дата по UTC, до которой возможно проведение операций с фьючерсом.
	FuturesType       string                 `protobuf:"bytes,17,opt,name=futures_type,json=futuresType,proto3" json:"futures_type,omitempty"`                       //Тип фьючерса. Возможные значения: </br>**physical_delivery** — физические поставки; </br>**cash_settlement** — денежный эквивалент.
	AssetType         string                 `protobuf:"bytes,18,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`                             //Тип актива. Возможные значения: </br>**commodity** — товар; </br>**currency** — валюта; </br>**security** — ценная бумага; </br>**index** — индекс.
	BasicAsset        string                 `protobuf:"bytes,19,opt,name=basic_asset,json=basicAsset,proto3" json:"basic_asset,omitempty"`                          //Основной актив.
	BasicAssetSize    *Quotation             `protobuf:"bytes,20,opt,name=basic_asset_size,json=basicAssetSize,proto3" json:"basic_asset_size,omitempty"`            //Размер основного актива.
	CountryOfRisk     string                 `protobuf:"bytes,21,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска — то есть страны, в которой компания ведёт основной бизнес.
	CountryOfRiskName string                 `protobuf:"bytes,22,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска — то есть страны, в которой компания ведёт основной бизнес.
	Sector            string                 `protobuf:"bytes,23,opt,name=sector,proto3" json:"sector,omitempty"`                                                    //Сектор экономики.
	ExpirationDate    *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`              //Дата истечения срока в часов поясе UTC.
	TradingStatus     SecurityTradingStatus  ``                                                                                                                      //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	OtcFlag               bool       `protobuf:"varint,26,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                 //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag      bool       `protobuf:"varint,27,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`    //Признак доступности для покупки.
	SellAvailableFlag     bool       `protobuf:"varint,28,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи.
	MinPriceIncrement     *Quotation `protobuf:"bytes,29,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`  //Шаг цены.
	ApiTradeAvailableFlag bool       ``                                                                                                                     //Параметр указывает на возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	Uid          string       `protobuf:"bytes,31,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента.
	RealExchange RealExchange ``                                                             //Реальная площадка исполнения расчётов (биржа).
	/* 155-byte string literal not displayed */
	PositionUid           string `protobuf:"bytes,33,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента.
	BasicAssetPositionUid string ``                                                                                                //Уникальный идентификатор позиции основного инструмента.
	/* 129-byte string literal not displayed */
	ForIisFlag              bool                   `protobuf:"varint,41,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	ForQualInvestorFlag     bool                   `protobuf:"varint,42,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag             bool                   `protobuf:"varint,43,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag          bool                   `protobuf:"varint,44,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	First_1MinCandleDate    *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи.
	First_1DayCandleDate    *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи.
	InitialMarginOnBuy      *MoneyValue            `protobuf:"bytes,61,opt,name=initial_margin_on_buy,json=initialMarginOnBuy,proto3" json:"initial_margin_on_buy,omitempty"`     //Гарантийное обеспечение при покупке.
	InitialMarginOnSell     *MoneyValue            `protobuf:"bytes,62,opt,name=initial_margin_on_sell,json=initialMarginOnSell,proto3" json:"initial_margin_on_sell,omitempty"`  //Гарантийное обеспечение при продаже.
	MinPriceIncrementAmount *Quotation             ``                                                                                                                             //Стоимость шага цены.
	/* 135-byte string literal not displayed */
	Brand        *BrandData `protobuf:"bytes,64,opt,name=brand,proto3" json:"brand,omitempty"`                                   // Информация о бренде.
	DlongClient  *Quotation `protobuf:"bytes,90,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`    //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient *Quotation `protobuf:"bytes,91,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"` //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// contains filtered or unexported fields
}

Объект передачи информации о фьючерсе.

func (*Future) Descriptor deprecated

func (*Future) Descriptor() ([]byte, []int)

Deprecated: Use Future.ProtoReflect.Descriptor instead.

func (*Future) GetApiTradeAvailableFlag

func (x *Future) GetApiTradeAvailableFlag() bool

func (*Future) GetAssetType

func (x *Future) GetAssetType() string

func (*Future) GetBasicAsset

func (x *Future) GetBasicAsset() string

func (*Future) GetBasicAssetPositionUid added in v1.1.2

func (x *Future) GetBasicAssetPositionUid() string

func (*Future) GetBasicAssetSize

func (x *Future) GetBasicAssetSize() *Quotation

func (*Future) GetBlockedTcaFlag added in v1.2.3

func (x *Future) GetBlockedTcaFlag() bool

func (*Future) GetBrand added in v1.4.0

func (x *Future) GetBrand() *BrandData

func (*Future) GetBuyAvailableFlag

func (x *Future) GetBuyAvailableFlag() bool

func (*Future) GetClassCode

func (x *Future) GetClassCode() string

func (*Future) GetCountryOfRisk

func (x *Future) GetCountryOfRisk() string

func (*Future) GetCountryOfRiskName

func (x *Future) GetCountryOfRiskName() string

func (*Future) GetCurrency

func (x *Future) GetCurrency() string

func (*Future) GetDlong deprecated

func (x *Future) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Future) GetDlongClient added in v1.8.1

func (x *Future) GetDlongClient() *Quotation

func (*Future) GetDlongMin deprecated

func (x *Future) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Future) GetDshort deprecated

func (x *Future) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Future) GetDshortClient added in v1.8.1

func (x *Future) GetDshortClient() *Quotation

func (*Future) GetDshortMin deprecated

func (x *Future) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Future) GetExchange

func (x *Future) GetExchange() string

func (*Future) GetExpirationDate

func (x *Future) GetExpirationDate() *timestamppb.Timestamp

func (*Future) GetFigi

func (x *Future) GetFigi() string

func (*Future) GetFirstTradeDate

func (x *Future) GetFirstTradeDate() *timestamppb.Timestamp

func (*Future) GetFirst_1DayCandleDate added in v1.1.3

func (x *Future) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Future) GetFirst_1MinCandleDate added in v1.1.3

func (x *Future) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Future) GetForIisFlag added in v1.1.3

func (x *Future) GetForIisFlag() bool

func (*Future) GetForQualInvestorFlag added in v1.2.0

func (x *Future) GetForQualInvestorFlag() bool

func (*Future) GetFuturesType

func (x *Future) GetFuturesType() string

func (*Future) GetInitialMarginOnBuy added in v1.4.0

func (x *Future) GetInitialMarginOnBuy() *MoneyValue

func (*Future) GetInitialMarginOnSell added in v1.4.0

func (x *Future) GetInitialMarginOnSell() *MoneyValue

func (*Future) GetKlong

func (x *Future) GetKlong() *Quotation

func (*Future) GetKshort

func (x *Future) GetKshort() *Quotation

func (*Future) GetLastTradeDate

func (x *Future) GetLastTradeDate() *timestamppb.Timestamp

func (*Future) GetLot

func (x *Future) GetLot() int32

func (*Future) GetMinPriceIncrement

func (x *Future) GetMinPriceIncrement() *Quotation

func (*Future) GetMinPriceIncrementAmount added in v1.4.0

func (x *Future) GetMinPriceIncrementAmount() *Quotation

func (*Future) GetName

func (x *Future) GetName() string

func (*Future) GetOtcFlag

func (x *Future) GetOtcFlag() bool

func (*Future) GetPositionUid added in v1.1.2

func (x *Future) GetPositionUid() string

func (*Future) GetRealExchange

func (x *Future) GetRealExchange() RealExchange

func (*Future) GetSector

func (x *Future) GetSector() string

func (*Future) GetSellAvailableFlag

func (x *Future) GetSellAvailableFlag() bool

func (*Future) GetShortEnabledFlag

func (x *Future) GetShortEnabledFlag() bool

func (*Future) GetTicker

func (x *Future) GetTicker() string

func (*Future) GetTradingStatus

func (x *Future) GetTradingStatus() SecurityTradingStatus

func (*Future) GetUid

func (x *Future) GetUid() string

func (*Future) GetWeekendFlag added in v1.2.3

func (x *Future) GetWeekendFlag() bool

func (*Future) ProtoMessage

func (*Future) ProtoMessage()

func (*Future) ProtoReflect

func (x *Future) ProtoReflect() protoreflect.Message

func (*Future) Reset

func (x *Future) Reset()

func (*Future) String

func (x *Future) String() string

type FutureResponse

type FutureResponse struct {
	Instrument *Future `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация о фьючерсу.
	// contains filtered or unexported fields
}

Данные по фьючерсу.

func (*FutureResponse) Descriptor deprecated

func (*FutureResponse) Descriptor() ([]byte, []int)

Deprecated: Use FutureResponse.ProtoReflect.Descriptor instead.

func (*FutureResponse) GetInstrument

func (x *FutureResponse) GetInstrument() *Future

func (*FutureResponse) ProtoMessage

func (*FutureResponse) ProtoMessage()

func (*FutureResponse) ProtoReflect

func (x *FutureResponse) ProtoReflect() protoreflect.Message

func (*FutureResponse) Reset

func (x *FutureResponse) Reset()

func (*FutureResponse) String

func (x *FutureResponse) String() string

type FuturesResponse

type FuturesResponse struct {
	Instruments []*Future `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив фьючерсов.
	// contains filtered or unexported fields
}

Данные по фьючерсам.

func (*FuturesResponse) Descriptor deprecated

func (*FuturesResponse) Descriptor() ([]byte, []int)

Deprecated: Use FuturesResponse.ProtoReflect.Descriptor instead.

func (*FuturesResponse) GetInstruments

func (x *FuturesResponse) GetInstruments() []*Future

func (*FuturesResponse) ProtoMessage

func (*FuturesResponse) ProtoMessage()

func (*FuturesResponse) ProtoReflect

func (x *FuturesResponse) ProtoReflect() protoreflect.Message

func (*FuturesResponse) Reset

func (x *FuturesResponse) Reset()

func (*FuturesResponse) String

func (x *FuturesResponse) String() string

type GenerateBrokerReportRequest

type GenerateBrokerReportRequest struct {
	AccountId string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента.
	From      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                            //Начало периода по UTC.
	To        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`                                //Окончание периода по UTC.
	// contains filtered or unexported fields
}

func (*GenerateBrokerReportRequest) Descriptor deprecated

func (*GenerateBrokerReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateBrokerReportRequest.ProtoReflect.Descriptor instead.

func (*GenerateBrokerReportRequest) GetAccountId

func (x *GenerateBrokerReportRequest) GetAccountId() string

func (*GenerateBrokerReportRequest) GetFrom

func (*GenerateBrokerReportRequest) GetTo

func (*GenerateBrokerReportRequest) ProtoMessage

func (*GenerateBrokerReportRequest) ProtoMessage()

func (*GenerateBrokerReportRequest) ProtoReflect

func (*GenerateBrokerReportRequest) Reset

func (x *GenerateBrokerReportRequest) Reset()

func (*GenerateBrokerReportRequest) String

func (x *GenerateBrokerReportRequest) String() string

type GenerateBrokerReportResponse

type GenerateBrokerReportResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` //Идентификатор задачи формирования брокерского отчёта.
	// contains filtered or unexported fields
}

func (*GenerateBrokerReportResponse) Descriptor deprecated

func (*GenerateBrokerReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateBrokerReportResponse.ProtoReflect.Descriptor instead.

func (*GenerateBrokerReportResponse) GetTaskId

func (x *GenerateBrokerReportResponse) GetTaskId() string

func (*GenerateBrokerReportResponse) ProtoMessage

func (*GenerateBrokerReportResponse) ProtoMessage()

func (*GenerateBrokerReportResponse) ProtoReflect

func (*GenerateBrokerReportResponse) Reset

func (x *GenerateBrokerReportResponse) Reset()

func (*GenerateBrokerReportResponse) String

type GenerateDividendsForeignIssuerReportRequest

type GenerateDividendsForeignIssuerReportRequest struct {
	AccountId string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента.
	From      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                            //Начало периода по UTC.
	To        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`                                //Окончание периода по UTC. Как правило, можно сформировать отчёт по дату на несколько дней меньше текущей. Начало и окончание периода должны быть в рамках одного календарного года.
	// contains filtered or unexported fields
}

Объект запроса формирования отчёта «Справка о доходах за пределами РФ».

func (*GenerateDividendsForeignIssuerReportRequest) Descriptor deprecated

Deprecated: Use GenerateDividendsForeignIssuerReportRequest.ProtoReflect.Descriptor instead.

func (*GenerateDividendsForeignIssuerReportRequest) GetAccountId

func (*GenerateDividendsForeignIssuerReportRequest) GetFrom

func (*GenerateDividendsForeignIssuerReportRequest) GetTo

func (*GenerateDividendsForeignIssuerReportRequest) ProtoMessage

func (*GenerateDividendsForeignIssuerReportRequest) ProtoReflect

func (*GenerateDividendsForeignIssuerReportRequest) Reset

func (*GenerateDividendsForeignIssuerReportRequest) String

type GenerateDividendsForeignIssuerReportResponse

type GenerateDividendsForeignIssuerReportResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` //Идентификатор задачи формирования отчёта.
	// contains filtered or unexported fields
}

Объект результата задачи запуска формирования отчёта «Справка о доходах за пределами РФ».

func (*GenerateDividendsForeignIssuerReportResponse) Descriptor deprecated

Deprecated: Use GenerateDividendsForeignIssuerReportResponse.ProtoReflect.Descriptor instead.

func (*GenerateDividendsForeignIssuerReportResponse) GetTaskId

func (*GenerateDividendsForeignIssuerReportResponse) ProtoMessage

func (*GenerateDividendsForeignIssuerReportResponse) ProtoReflect

func (*GenerateDividendsForeignIssuerReportResponse) Reset

func (*GenerateDividendsForeignIssuerReportResponse) String

type GetAccountsRequest

type GetAccountsRequest struct {
	Status *AccountStatus `` //Статус счета.
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос получения счетов пользователя.

func (*GetAccountsRequest) Descriptor deprecated

func (*GetAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetAccountsRequest) GetStatus added in v1.5.0

func (x *GetAccountsRequest) GetStatus() AccountStatus

func (*GetAccountsRequest) ProtoMessage

func (*GetAccountsRequest) ProtoMessage()

func (*GetAccountsRequest) ProtoReflect

func (x *GetAccountsRequest) ProtoReflect() protoreflect.Message

func (*GetAccountsRequest) Reset

func (x *GetAccountsRequest) Reset()

func (*GetAccountsRequest) String

func (x *GetAccountsRequest) String() string

type GetAccountsResponse

type GetAccountsResponse struct {

	// Массив счетов клиента.
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Список счетов пользователя.

func (*GetAccountsResponse) Descriptor deprecated

func (*GetAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetAccountsResponse) GetAccounts

func (x *GetAccountsResponse) GetAccounts() []*Account

func (*GetAccountsResponse) ProtoMessage

func (*GetAccountsResponse) ProtoMessage()

func (*GetAccountsResponse) ProtoReflect

func (x *GetAccountsResponse) ProtoReflect() protoreflect.Message

func (*GetAccountsResponse) Reset

func (x *GetAccountsResponse) Reset()

func (*GetAccountsResponse) String

func (x *GetAccountsResponse) String() string

type GetAccruedInterestsRequest

type GetAccruedInterestsRequest struct {

	// Deprecated: Marked as deprecated in instruments.proto.
	Figi         string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //FIGI-идентификатор инструмента.
	From         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                                     //Начало запрашиваемого периода по UTC.
	To           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`                                         //Окончание запрашиваемого периода по UTC.
	InstrumentId string                 `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента — `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос НКД по облигации.

func (*GetAccruedInterestsRequest) Descriptor deprecated

func (*GetAccruedInterestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAccruedInterestsRequest.ProtoReflect.Descriptor instead.

func (*GetAccruedInterestsRequest) GetFigi deprecated

func (x *GetAccruedInterestsRequest) GetFigi() string

Deprecated: Marked as deprecated in instruments.proto.

func (*GetAccruedInterestsRequest) GetFrom

func (*GetAccruedInterestsRequest) GetInstrumentId added in v1.4.0

func (x *GetAccruedInterestsRequest) GetInstrumentId() string

func (*GetAccruedInterestsRequest) GetTo

func (*GetAccruedInterestsRequest) ProtoMessage

func (*GetAccruedInterestsRequest) ProtoMessage()

func (*GetAccruedInterestsRequest) ProtoReflect

func (*GetAccruedInterestsRequest) Reset

func (x *GetAccruedInterestsRequest) Reset()

func (*GetAccruedInterestsRequest) String

func (x *GetAccruedInterestsRequest) String() string

type GetAccruedInterestsResponse

type GetAccruedInterestsResponse struct {
	AccruedInterests []*AccruedInterest `protobuf:"bytes,1,rep,name=accrued_interests,json=accruedInterests,proto3" json:"accrued_interests,omitempty"` //Массив операций начисления купонов.
	// contains filtered or unexported fields
}

НКД облигации.

func (*GetAccruedInterestsResponse) Descriptor deprecated

func (*GetAccruedInterestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAccruedInterestsResponse.ProtoReflect.Descriptor instead.

func (*GetAccruedInterestsResponse) GetAccruedInterests

func (x *GetAccruedInterestsResponse) GetAccruedInterests() []*AccruedInterest

func (*GetAccruedInterestsResponse) ProtoMessage

func (*GetAccruedInterestsResponse) ProtoMessage()

func (*GetAccruedInterestsResponse) ProtoReflect

func (*GetAccruedInterestsResponse) Reset

func (x *GetAccruedInterestsResponse) Reset()

func (*GetAccruedInterestsResponse) String

func (x *GetAccruedInterestsResponse) String() string

type GetAssetFundamentalsRequest added in v1.4.0

type GetAssetFundamentalsRequest struct {
	Assets []string `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` //Массив идентификаторов активов, не более 100 шт.
	// contains filtered or unexported fields
}

Запрос фундаментальных показателей

func (*GetAssetFundamentalsRequest) Descriptor deprecated added in v1.4.0

func (*GetAssetFundamentalsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAssetFundamentalsRequest.ProtoReflect.Descriptor instead.

func (*GetAssetFundamentalsRequest) GetAssets added in v1.4.0

func (x *GetAssetFundamentalsRequest) GetAssets() []string

func (*GetAssetFundamentalsRequest) ProtoMessage added in v1.4.0

func (*GetAssetFundamentalsRequest) ProtoMessage()

func (*GetAssetFundamentalsRequest) ProtoReflect added in v1.4.0

func (*GetAssetFundamentalsRequest) Reset added in v1.4.0

func (x *GetAssetFundamentalsRequest) Reset()

func (*GetAssetFundamentalsRequest) String added in v1.4.0

func (x *GetAssetFundamentalsRequest) String() string

type GetAssetFundamentalsResponse added in v1.4.0

type GetAssetFundamentalsResponse struct {
	Fundamentals []*GetAssetFundamentalsResponse_StatisticResponse `protobuf:"bytes,1,rep,name=fundamentals,proto3" json:"fundamentals,omitempty"`
	// contains filtered or unexported fields
}

Фундаментальные показатели

func (*GetAssetFundamentalsResponse) Descriptor deprecated added in v1.4.0

func (*GetAssetFundamentalsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAssetFundamentalsResponse.ProtoReflect.Descriptor instead.

func (*GetAssetFundamentalsResponse) GetFundamentals added in v1.4.0

func (*GetAssetFundamentalsResponse) ProtoMessage added in v1.4.0

func (*GetAssetFundamentalsResponse) ProtoMessage()

func (*GetAssetFundamentalsResponse) ProtoReflect added in v1.4.0

func (*GetAssetFundamentalsResponse) Reset added in v1.4.0

func (x *GetAssetFundamentalsResponse) Reset()

func (*GetAssetFundamentalsResponse) String added in v1.4.0

type GetAssetFundamentalsResponse_StatisticResponse added in v1.4.0

type GetAssetFundamentalsResponse_StatisticResponse struct {
	AssetUid              string  `protobuf:"bytes,1,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`                                       //Идентификатор актива.
	Currency              string  `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`                                                       //Валюта.
	MarketCapitalization  float64 `protobuf:"fixed64,3,opt,name=market_capitalization,json=marketCapitalization,proto3" json:"market_capitalization,omitempty"` //Рыночная капитализация.
	HighPriceLast_52Weeks float64 ``                                                                                                                            //Максимум за год.
	/* 129-byte string literal not displayed */
	LowPriceLast_52Weeks float64 `` //Минимум за год.
	/* 126-byte string literal not displayed */
	AverageDailyVolumeLast_10Days float64 `` //Средний объём торгов за 10 дней.
	/* 155-byte string literal not displayed */
	AverageDailyVolumeLast_4Weeks float64 `` //Средний объём торгов за месяц.
	/* 155-byte string literal not displayed */
	Beta                       float64 `protobuf:"fixed64,8,opt,name=beta,proto3" json:"beta,omitempty"`
	FreeFloat                  float64 `protobuf:"fixed64,9,opt,name=free_float,json=freeFloat,proto3" json:"free_float,omitempty"` //Доля акций в свободном обращении.
	ForwardAnnualDividendYield float64 ``                                                                                           //Процент форвардной дивидендной доходности по отношению к цене акций.
	/* 146-byte string literal not displayed */
	SharesOutstanding               float64 `protobuf:"fixed64,11,opt,name=shares_outstanding,json=sharesOutstanding,proto3" json:"shares_outstanding,omitempty"` //Количество акций в обращении.
	RevenueTtm                      float64 `protobuf:"fixed64,12,opt,name=revenue_ttm,json=revenueTtm,proto3" json:"revenue_ttm,omitempty"`                      //Выручка.
	EbitdaTtm                       float64 `protobuf:"fixed64,13,opt,name=ebitda_ttm,json=ebitdaTtm,proto3" json:"ebitda_ttm,omitempty"`                         //EBITDA — прибыль до вычета процентов, налогов, износа и амортизации.
	NetIncomeTtm                    float64 `protobuf:"fixed64,14,opt,name=net_income_ttm,json=netIncomeTtm,proto3" json:"net_income_ttm,omitempty"`              //Чистая прибыль.
	EpsTtm                          float64 `protobuf:"fixed64,15,opt,name=eps_ttm,json=epsTtm,proto3" json:"eps_ttm,omitempty"`                                  //EPS — величина чистой прибыли компании, которая приходится на каждую обыкновенную акцию.
	DilutedEpsTtm                   float64 `protobuf:"fixed64,16,opt,name=diluted_eps_ttm,json=dilutedEpsTtm,proto3" json:"diluted_eps_ttm,omitempty"`           //EPS компании с допущением, что все конвертируемые ценные бумаги компании были сконвертированы в обыкновенные акции.
	FreeCashFlowTtm                 float64 `protobuf:"fixed64,17,opt,name=free_cash_flow_ttm,json=freeCashFlowTtm,proto3" json:"free_cash_flow_ttm,omitempty"`   //Свободный денежный поток.
	FiveYearAnnualRevenueGrowthRate float64 ``                                                                                                                    //Среднегодовой  рocт выручки за 5 лет.
	/* 165-byte string literal not displayed */
	ThreeYearAnnualRevenueGrowthRate float64 `` //Среднегодовой  рocт выручки за 3 года.
	/* 168-byte string literal not displayed */
	PeRatioTtm             float64 `protobuf:"fixed64,20,opt,name=pe_ratio_ttm,json=peRatioTtm,proto3" json:"pe_ratio_ttm,omitempty"`                  //Соотношение рыночной капитализации компании к её чистой прибыли.
	PriceToSalesTtm        float64 `protobuf:"fixed64,21,opt,name=price_to_sales_ttm,json=priceToSalesTtm,proto3" json:"price_to_sales_ttm,omitempty"` //Соотношение рыночной капитализации компании к её выручке.
	PriceToBookTtm         float64 `protobuf:"fixed64,22,opt,name=price_to_book_ttm,json=priceToBookTtm,proto3" json:"price_to_book_ttm,omitempty"`    //Соотношение рыночной капитализации компании к её балансовой стоимости.
	PriceToFreeCashFlowTtm float64 ``                                                                                                                  //Соотношение рыночной капитализации компании к её свободному денежному потоку.
	/* 138-byte string literal not displayed */
	TotalEnterpriseValueMrq float64 `` //Рыночная стоимость компании.
	/* 137-byte string literal not displayed */
	EvToEbitdaMrq        float64 `protobuf:"fixed64,25,opt,name=ev_to_ebitda_mrq,json=evToEbitdaMrq,proto3" json:"ev_to_ebitda_mrq,omitempty"` //Соотношение EV и EBITDA.
	NetMarginMrq         float64 `protobuf:"fixed64,26,opt,name=net_margin_mrq,json=netMarginMrq,proto3" json:"net_margin_mrq,omitempty"`      //Маржа чистой прибыли.
	NetInterestMarginMrq float64 ``                                                                                                            //Рентабельность чистой прибыли.
	/* 128-byte string literal not displayed */
	Roe                  float64 `protobuf:"fixed64,28,opt,name=roe,proto3" json:"roe,omitempty"`                                         //Рентабельность собственного капитала.
	Roa                  float64 `protobuf:"fixed64,29,opt,name=roa,proto3" json:"roa,omitempty"`                                         //Рентабельность активов.
	Roic                 float64 `protobuf:"fixed64,30,opt,name=roic,proto3" json:"roic,omitempty"`                                       //Рентабельность активов.
	TotalDebtMrq         float64 `protobuf:"fixed64,31,opt,name=total_debt_mrq,json=totalDebtMrq,proto3" json:"total_debt_mrq,omitempty"` //Сумма краткосрочных и долгосрочных обязательств компании.
	TotalDebtToEquityMrq float64 ``                                                                                                       //Соотношение долга к собственному капиталу.
	/* 130-byte string literal not displayed */
	TotalDebtToEbitdaMrq float64 `` //Total Debt/EBITDA.
	/* 130-byte string literal not displayed */
	FreeCashFlowToPrice float64 `` //Отношение свободногоо кэша к стоимости.
	/* 127-byte string literal not displayed */
	NetDebtToEbitda            float64 `protobuf:"fixed64,35,opt,name=net_debt_to_ebitda,json=netDebtToEbitda,proto3" json:"net_debt_to_ebitda,omitempty"` //Отношение чистого долга к EBITDA.
	CurrentRatioMrq            float64 `protobuf:"fixed64,36,opt,name=current_ratio_mrq,json=currentRatioMrq,proto3" json:"current_ratio_mrq,omitempty"`   //Коэффициент текущей ликвидности.
	FixedChargeCoverageRatioFy float64 ``                                                                                                                  //Коэффициент покрытия фиксированных платежей — FCCR.
	/* 148-byte string literal not displayed */
	DividendYieldDailyTtm float64 `` //Дивидендная доходность за 12 месяцев.
	/* 131-byte string literal not displayed */
	DividendRateTtm               float64 `protobuf:"fixed64,39,opt,name=dividend_rate_ttm,json=dividendRateTtm,proto3" json:"dividend_rate_ttm,omitempty"`       //Выплаченные дивиденды за 12 месяцев.
	DividendsPerShare             float64 `protobuf:"fixed64,40,opt,name=dividends_per_share,json=dividendsPerShare,proto3" json:"dividends_per_share,omitempty"` //Значение дивидендов на акцию.
	FiveYearsAverageDividendYield float64 ``                                                                                                                      //Средняя дивидендная доходность за 5 лет.
	/* 157-byte string literal not displayed */
	FiveYearAnnualDividendGrowthRate float64 `` //Среднегодовой рост дивидендов за 5 лет.
	/* 168-byte string literal not displayed */
	DividendPayoutRatioFy float64 `` //Процент чистой прибыли, уходящий на выплату дивидендов.
	/* 131-byte string literal not displayed */
	BuyBackTtm                     float64 `protobuf:"fixed64,44,opt,name=buy_back_ttm,json=buyBackTtm,proto3" json:"buy_back_ttm,omitempty"` //Деньги, потраченные на обратный выкуп акций.
	OneYearAnnualRevenueGrowthRate float64 ``                                                                                                 //Рост выручки за 1 год.
	/* 162-byte string literal not displayed */
	DomicileIndicatorCode string `` //Код страны.
	/* 127-byte string literal not displayed */
	AdrToCommonShareRatio float64 `` //Соотношение депозитарной расписки к акциям.
	/* 133-byte string literal not displayed */
	NumberOfEmployees     float64                `protobuf:"fixed64,48,opt,name=number_of_employees,json=numberOfEmployees,proto3" json:"number_of_employees,omitempty"` //Количество сотрудников.
	ExDividendDate        *timestamppb.Timestamp `protobuf:"bytes,49,opt,name=ex_dividend_date,json=exDividendDate,proto3" json:"ex_dividend_date,omitempty"`
	FiscalPeriodStartDate *timestamppb.Timestamp `` //Начало фискального периода.
	/* 129-byte string literal not displayed */
	FiscalPeriodEndDate    *timestamppb.Timestamp `protobuf:"bytes,51,opt,name=fiscal_period_end_date,json=fiscalPeriodEndDate,proto3" json:"fiscal_period_end_date,omitempty"` //Окончание фискального периода.
	RevenueChangeFiveYears float64                ``                                                                                                                            //Изменение общего дохода за 5 лет.
	/* 134-byte string literal not displayed */
	EpsChangeFiveYears    float64 `protobuf:"fixed64,54,opt,name=eps_change_five_years,json=epsChangeFiveYears,proto3" json:"eps_change_five_years,omitempty"` //Изменение EPS за 5 лет.
	EbitdaChangeFiveYears float64 ``                                                                                                                           //Изменение EBIDTA за 5 лет.
	/* 131-byte string literal not displayed */
	TotalDebtChangeFiveYears float64 `` //Изменение общей задолжности за 5 лет.
	/* 142-byte string literal not displayed */
	EvToSales float64 `protobuf:"fixed64,57,opt,name=ev_to_sales,json=evToSales,proto3" json:"ev_to_sales,omitempty"` //Отношение EV к выручке.
	// contains filtered or unexported fields
}

Фундаментальные показатели по активу

func (*GetAssetFundamentalsResponse_StatisticResponse) Descriptor deprecated added in v1.4.0

Deprecated: Use GetAssetFundamentalsResponse_StatisticResponse.ProtoReflect.Descriptor instead.

func (*GetAssetFundamentalsResponse_StatisticResponse) GetAdrToCommonShareRatio added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetAdrToCommonShareRatio() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetAssetUid added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetAverageDailyVolumeLast_10Days added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetAverageDailyVolumeLast_10Days() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetAverageDailyVolumeLast_4Weeks added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetAverageDailyVolumeLast_4Weeks() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetBeta added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetBuyBackTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetCurrency added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetCurrentRatioMrq added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetDilutedEpsTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetDividendPayoutRatioFy added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetDividendPayoutRatioFy() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetDividendRateTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetDividendYieldDailyTtm added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetDividendYieldDailyTtm() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetDividendsPerShare added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetDividendsPerShare() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetDomicileIndicatorCode added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetDomicileIndicatorCode() string

func (*GetAssetFundamentalsResponse_StatisticResponse) GetEbitdaChangeFiveYears added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetEbitdaChangeFiveYears() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetEbitdaTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetEpsChangeFiveYears added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetEpsChangeFiveYears() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetEpsTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetEvToEbitdaMrq added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetEvToSales added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetExDividendDate added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFiscalPeriodEndDate added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFiscalPeriodStartDate added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFiveYearAnnualDividendGrowthRate added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetFiveYearAnnualDividendGrowthRate() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFiveYearAnnualRevenueGrowthRate added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetFiveYearAnnualRevenueGrowthRate() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFiveYearsAverageDividendYield added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetFiveYearsAverageDividendYield() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFixedChargeCoverageRatioFy added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetFixedChargeCoverageRatioFy() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetForwardAnnualDividendYield added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetForwardAnnualDividendYield() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFreeCashFlowToPrice added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetFreeCashFlowToPrice() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFreeCashFlowTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetFreeFloat added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetHighPriceLast_52Weeks added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetHighPriceLast_52Weeks() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetLowPriceLast_52Weeks added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetLowPriceLast_52Weeks() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetMarketCapitalization added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetMarketCapitalization() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetNetDebtToEbitda added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetNetIncomeTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetNetInterestMarginMrq added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetNetInterestMarginMrq() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetNetMarginMrq added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetNumberOfEmployees added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetNumberOfEmployees() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetOneYearAnnualRevenueGrowthRate added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetOneYearAnnualRevenueGrowthRate() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetPeRatioTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetPriceToBookTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetPriceToFreeCashFlowTtm added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetPriceToFreeCashFlowTtm() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetPriceToSalesTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetRevenueChangeFiveYears added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetRevenueChangeFiveYears() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetRevenueTtm added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetRoa added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetRoe added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetRoic added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetSharesOutstanding added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetSharesOutstanding() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetThreeYearAnnualRevenueGrowthRate added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetThreeYearAnnualRevenueGrowthRate() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtChangeFiveYears added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtChangeFiveYears() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtMrq added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtToEbitdaMrq added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtToEbitdaMrq() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtToEquityMrq added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetTotalDebtToEquityMrq() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) GetTotalEnterpriseValueMrq added in v1.4.0

func (x *GetAssetFundamentalsResponse_StatisticResponse) GetTotalEnterpriseValueMrq() float64

func (*GetAssetFundamentalsResponse_StatisticResponse) ProtoMessage added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) ProtoReflect added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) Reset added in v1.4.0

func (*GetAssetFundamentalsResponse_StatisticResponse) String added in v1.4.0

type GetAssetReportsRequest added in v1.4.0

type GetAssetReportsRequest struct {
	InstrumentId string                 `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента в формате UID.
	From         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`                               //Начало запрашиваемого периода по UTC.
	To           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`                                   //Окончание запрашиваемого периода по UTC.
	// contains filtered or unexported fields
}

Запрос отчетов эмитентов

func (*GetAssetReportsRequest) Descriptor deprecated added in v1.4.0

func (*GetAssetReportsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAssetReportsRequest.ProtoReflect.Descriptor instead.

func (*GetAssetReportsRequest) GetFrom added in v1.4.0

func (*GetAssetReportsRequest) GetInstrumentId added in v1.4.0

func (x *GetAssetReportsRequest) GetInstrumentId() string

func (*GetAssetReportsRequest) GetTo added in v1.4.0

func (*GetAssetReportsRequest) ProtoMessage added in v1.4.0

func (*GetAssetReportsRequest) ProtoMessage()

func (*GetAssetReportsRequest) ProtoReflect added in v1.4.0

func (x *GetAssetReportsRequest) ProtoReflect() protoreflect.Message

func (*GetAssetReportsRequest) Reset added in v1.4.0

func (x *GetAssetReportsRequest) Reset()

func (*GetAssetReportsRequest) String added in v1.4.0

func (x *GetAssetReportsRequest) String() string

type GetAssetReportsResponse added in v1.4.0

type GetAssetReportsResponse struct {
	Events []*GetAssetReportsResponse_GetAssetReportsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // Массив событий по облигации.
	// contains filtered or unexported fields
}

Отчеты эмитентов

func (*GetAssetReportsResponse) Descriptor deprecated added in v1.4.0

func (*GetAssetReportsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAssetReportsResponse.ProtoReflect.Descriptor instead.

func (*GetAssetReportsResponse) GetEvents added in v1.4.0

func (*GetAssetReportsResponse) ProtoMessage added in v1.4.0

func (*GetAssetReportsResponse) ProtoMessage()

func (*GetAssetReportsResponse) ProtoReflect added in v1.4.0

func (x *GetAssetReportsResponse) ProtoReflect() protoreflect.Message

func (*GetAssetReportsResponse) Reset added in v1.4.0

func (x *GetAssetReportsResponse) Reset()

func (*GetAssetReportsResponse) String added in v1.4.0

func (x *GetAssetReportsResponse) String() string

type GetAssetReportsResponse_AssetReportPeriodType added in v1.4.0

type GetAssetReportsResponse_AssetReportPeriodType int32
const (
	GetAssetReportsResponse_PERIOD_TYPE_UNSPECIFIED GetAssetReportsResponse_AssetReportPeriodType = 0 // Не указан.
	GetAssetReportsResponse_PERIOD_TYPE_QUARTER     GetAssetReportsResponse_AssetReportPeriodType = 1 // Квартальный.
	GetAssetReportsResponse_PERIOD_TYPE_SEMIANNUAL  GetAssetReportsResponse_AssetReportPeriodType = 2 // Полугодовой.
	GetAssetReportsResponse_PERIOD_TYPE_ANNUAL      GetAssetReportsResponse_AssetReportPeriodType = 3 // Годовой.
)

func (GetAssetReportsResponse_AssetReportPeriodType) Descriptor added in v1.4.0

func (GetAssetReportsResponse_AssetReportPeriodType) Enum added in v1.4.0

func (GetAssetReportsResponse_AssetReportPeriodType) EnumDescriptor deprecated added in v1.4.0

func (GetAssetReportsResponse_AssetReportPeriodType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetAssetReportsResponse_AssetReportPeriodType.Descriptor instead.

func (GetAssetReportsResponse_AssetReportPeriodType) Number added in v1.4.0

func (GetAssetReportsResponse_AssetReportPeriodType) String added in v1.4.0

func (GetAssetReportsResponse_AssetReportPeriodType) Type added in v1.4.0

type GetAssetReportsResponse_GetAssetReportsEvent added in v1.4.0

type GetAssetReportsResponse_GetAssetReportsEvent struct {
	InstrumentId string                                        `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` // Идентификатор инструмента.
	ReportDate   *timestamppb.Timestamp                        `protobuf:"bytes,2,opt,name=report_date,json=reportDate,proto3" json:"report_date,omitempty"`       // Дата публикации отчёта.
	PeriodYear   int32                                         `protobuf:"varint,3,opt,name=period_year,json=periodYear,proto3" json:"period_year,omitempty"`      // Год периода отчета.
	PeriodNum    int32                                         `protobuf:"varint,4,opt,name=period_num,json=periodNum,proto3" json:"period_num,omitempty"`         // Номер периода.
	PeriodType   GetAssetReportsResponse_AssetReportPeriodType ``                                                                                                  // Тип отчёта.
	/* 181-byte string literal not displayed */
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Дата создания записи.
	// contains filtered or unexported fields
}

Отчет

func (*GetAssetReportsResponse_GetAssetReportsEvent) Descriptor deprecated added in v1.4.0

Deprecated: Use GetAssetReportsResponse_GetAssetReportsEvent.ProtoReflect.Descriptor instead.

func (*GetAssetReportsResponse_GetAssetReportsEvent) GetCreatedAt added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) GetInstrumentId added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) GetPeriodNum added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) GetPeriodType added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) GetPeriodYear added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) GetReportDate added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) ProtoMessage added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) ProtoReflect added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) Reset added in v1.4.0

func (*GetAssetReportsResponse_GetAssetReportsEvent) String added in v1.4.0

type GetBondCouponsRequest

type GetBondCouponsRequest struct {

	// Deprecated: Marked as deprecated in instruments.proto.
	Figi         string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //FIGI-идентификатор инструмента.
	From         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`                               //Начало запрашиваемого периода по UTC. Фильтрация по `coupon_date` — дата выплаты купона.
	To           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`                                   //Окончание запрашиваемого периода по UTC. Фильтрация по `coupon_date` — дата выплаты купона.
	InstrumentId string                 `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента — `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос купонов по облигации.

func (*GetBondCouponsRequest) Descriptor deprecated

func (*GetBondCouponsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBondCouponsRequest.ProtoReflect.Descriptor instead.

func (*GetBondCouponsRequest) GetFigi deprecated

func (x *GetBondCouponsRequest) GetFigi() string

Deprecated: Marked as deprecated in instruments.proto.

func (*GetBondCouponsRequest) GetFrom

func (*GetBondCouponsRequest) GetInstrumentId added in v1.4.0

func (x *GetBondCouponsRequest) GetInstrumentId() string

func (*GetBondCouponsRequest) GetTo

func (*GetBondCouponsRequest) ProtoMessage

func (*GetBondCouponsRequest) ProtoMessage()

func (*GetBondCouponsRequest) ProtoReflect

func (x *GetBondCouponsRequest) ProtoReflect() protoreflect.Message

func (*GetBondCouponsRequest) Reset

func (x *GetBondCouponsRequest) Reset()

func (*GetBondCouponsRequest) String

func (x *GetBondCouponsRequest) String() string

type GetBondCouponsResponse

type GetBondCouponsResponse struct {
	Events []*Coupon `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

Купоны по облигации.

func (*GetBondCouponsResponse) Descriptor deprecated

func (*GetBondCouponsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBondCouponsResponse.ProtoReflect.Descriptor instead.

func (*GetBondCouponsResponse) GetEvents

func (x *GetBondCouponsResponse) GetEvents() []*Coupon

func (*GetBondCouponsResponse) ProtoMessage

func (*GetBondCouponsResponse) ProtoMessage()

func (*GetBondCouponsResponse) ProtoReflect

func (x *GetBondCouponsResponse) ProtoReflect() protoreflect.Message

func (*GetBondCouponsResponse) Reset

func (x *GetBondCouponsResponse) Reset()

func (*GetBondCouponsResponse) String

func (x *GetBondCouponsResponse) String() string

type GetBondEventsRequest added in v1.4.0

type GetBondEventsRequest struct {
	From         *timestamppb.Timestamp         `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`                               //Начало запрашиваемого периода по UTC.
	To           *timestamppb.Timestamp         `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`                                   //Окончание запрашиваемого периода по UTC.
	InstrumentId string                         `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента — `figi` или `instrument_uid`.
	Type         GetBondEventsRequest_EventType ``                                                                                                  //Тип события
	/* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

События по облигации.

func (*GetBondEventsRequest) Descriptor deprecated added in v1.4.0

func (*GetBondEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBondEventsRequest.ProtoReflect.Descriptor instead.

func (*GetBondEventsRequest) GetFrom added in v1.4.0

func (*GetBondEventsRequest) GetInstrumentId added in v1.4.0

func (x *GetBondEventsRequest) GetInstrumentId() string

func (*GetBondEventsRequest) GetTo added in v1.4.0

func (*GetBondEventsRequest) GetType added in v1.4.0

func (*GetBondEventsRequest) ProtoMessage added in v1.4.0

func (*GetBondEventsRequest) ProtoMessage()

func (*GetBondEventsRequest) ProtoReflect added in v1.4.0

func (x *GetBondEventsRequest) ProtoReflect() protoreflect.Message

func (*GetBondEventsRequest) Reset added in v1.4.0

func (x *GetBondEventsRequest) Reset()

func (*GetBondEventsRequest) String added in v1.4.0

func (x *GetBondEventsRequest) String() string

type GetBondEventsRequest_EventType added in v1.4.0

type GetBondEventsRequest_EventType int32
const (
	GetBondEventsRequest_EVENT_TYPE_UNSPECIFIED GetBondEventsRequest_EventType = 0 //Неопределённое значение.
	GetBondEventsRequest_EVENT_TYPE_CPN         GetBondEventsRequest_EventType = 1 // Купон.
	GetBondEventsRequest_EVENT_TYPE_CALL        GetBondEventsRequest_EventType = 2 // Опцион (оферта).
	GetBondEventsRequest_EVENT_TYPE_MTY         GetBondEventsRequest_EventType = 3 // Погашение.
	GetBondEventsRequest_EVENT_TYPE_CONV        GetBondEventsRequest_EventType = 4 // Конвертация.
)

func (GetBondEventsRequest_EventType) Descriptor added in v1.4.0

func (GetBondEventsRequest_EventType) Enum added in v1.4.0

func (GetBondEventsRequest_EventType) EnumDescriptor deprecated added in v1.4.0

func (GetBondEventsRequest_EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetBondEventsRequest_EventType.Descriptor instead.

func (GetBondEventsRequest_EventType) Number added in v1.4.0

func (GetBondEventsRequest_EventType) String added in v1.4.0

func (GetBondEventsRequest_EventType) Type added in v1.4.0

type GetBondEventsResponse added in v1.4.0

type GetBondEventsResponse struct {
	Events []*GetBondEventsResponse_BondEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

Объект передачи информации о событии облигации.

func (*GetBondEventsResponse) Descriptor deprecated added in v1.4.0

func (*GetBondEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBondEventsResponse.ProtoReflect.Descriptor instead.

func (*GetBondEventsResponse) GetEvents added in v1.4.0

func (*GetBondEventsResponse) ProtoMessage added in v1.4.0

func (*GetBondEventsResponse) ProtoMessage()

func (*GetBondEventsResponse) ProtoReflect added in v1.4.0

func (x *GetBondEventsResponse) ProtoReflect() protoreflect.Message

func (*GetBondEventsResponse) Reset added in v1.4.0

func (x *GetBondEventsResponse) Reset()

func (*GetBondEventsResponse) String added in v1.4.0

func (x *GetBondEventsResponse) String() string

type GetBondEventsResponse_BondEvent added in v1.4.0

type GetBondEventsResponse_BondEvent struct {
	InstrumentId string                         `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` // Идентификатор инструмента.
	EventNumber  int32                          `protobuf:"varint,3,opt,name=event_number,json=eventNumber,proto3" json:"event_number,omitempty"`   // Номер события для данного типа события.
	EventDate    *timestamppb.Timestamp         `protobuf:"bytes,4,opt,name=event_date,json=eventDate,proto3" json:"event_date,omitempty"`          // Дата события.
	EventType    GetBondEventsRequest_EventType ``                                                                                                  // Тип события.
	/* 163-byte string literal not displayed */
	EventTotalVol      *Quotation             `protobuf:"bytes,6,opt,name=event_total_vol,json=eventTotalVol,proto3" json:"event_total_vol,omitempty"`                     // Полное количество бумаг, задействованных в событии.
	FixDate            *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=fix_date,json=fixDate,proto3" json:"fix_date,omitempty"`                                         // Дата фиксации владельцев для участия в событии.
	RateDate           *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=rate_date,json=rateDate,proto3" json:"rate_date,omitempty"`                                      // Дата определения даты или факта события.
	DefaultDate        *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=default_date,json=defaultDate,proto3" json:"default_date,omitempty"`                             // Дата дефолта, если применимо.
	RealPayDate        *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=real_pay_date,json=realPayDate,proto3" json:"real_pay_date,omitempty"`                          // Дата реального исполнения обязательства.
	PayDate            *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=pay_date,json=payDate,proto3" json:"pay_date,omitempty"`                                        // Дата выплаты.
	PayOneBond         *MoneyValue            `protobuf:"bytes,12,opt,name=pay_one_bond,json=payOneBond,proto3" json:"pay_one_bond,omitempty"`                             // Выплата на одну облигацию.
	MoneyFlowVal       *MoneyValue            `protobuf:"bytes,13,opt,name=money_flow_val,json=moneyFlowVal,proto3" json:"money_flow_val,omitempty"`                       // Выплаты на все бумаги, задействованные в событии.
	Execution          string                 `protobuf:"bytes,14,opt,name=execution,proto3" json:"execution,omitempty"`                                                   // Признак исполнения.
	OperationType      string                 `protobuf:"bytes,15,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`                      // Тип операции.
	Value              *Quotation             `protobuf:"bytes,16,opt,name=value,proto3" json:"value,omitempty"`                                                           // Стоимость операции — ставка купона, доля номинала, цена выкупа или коэффициент конвертации.
	Note               string                 `protobuf:"bytes,17,opt,name=note,proto3" json:"note,omitempty"`                                                             // Примечание.
	ConvertToFinToolId string                 `protobuf:"bytes,18,opt,name=convert_to_fin_tool_id,json=convertToFinToolId,proto3" json:"convert_to_fin_tool_id,omitempty"` // ID выпуска бумаг, в который произведена конвертация (для конвертаций).
	CouponStartDate    *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=coupon_start_date,json=couponStartDate,proto3" json:"coupon_start_date,omitempty"`              // Начало купонного периода.
	CouponEndDate      *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=coupon_end_date,json=couponEndDate,proto3" json:"coupon_end_date,omitempty"`                    // Окончание купонного периода.
	CouponPeriod       int32                  `protobuf:"varint,21,opt,name=coupon_period,json=couponPeriod,proto3" json:"coupon_period,omitempty"`                        // Купонный период.
	CouponInterestRate *Quotation             `protobuf:"bytes,22,opt,name=coupon_interest_rate,json=couponInterestRate,proto3" json:"coupon_interest_rate,omitempty"`     // Ставка купона, процентов годовых.
	// contains filtered or unexported fields
}

func (*GetBondEventsResponse_BondEvent) Descriptor deprecated added in v1.4.0

func (*GetBondEventsResponse_BondEvent) Descriptor() ([]byte, []int)

Deprecated: Use GetBondEventsResponse_BondEvent.ProtoReflect.Descriptor instead.

func (*GetBondEventsResponse_BondEvent) GetConvertToFinToolId added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetConvertToFinToolId() string

func (*GetBondEventsResponse_BondEvent) GetCouponEndDate added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetCouponEndDate() *timestamppb.Timestamp

func (*GetBondEventsResponse_BondEvent) GetCouponInterestRate added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetCouponInterestRate() *Quotation

func (*GetBondEventsResponse_BondEvent) GetCouponPeriod added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetCouponPeriod() int32

func (*GetBondEventsResponse_BondEvent) GetCouponStartDate added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetCouponStartDate() *timestamppb.Timestamp

func (*GetBondEventsResponse_BondEvent) GetDefaultDate added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetEventDate added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetEventNumber added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetEventNumber() int32

func (*GetBondEventsResponse_BondEvent) GetEventTotalVol added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetEventTotalVol() *Quotation

func (*GetBondEventsResponse_BondEvent) GetEventType added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetExecution added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetExecution() string

func (*GetBondEventsResponse_BondEvent) GetFixDate added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetInstrumentId added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetInstrumentId() string

func (*GetBondEventsResponse_BondEvent) GetMoneyFlowVal added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetMoneyFlowVal() *MoneyValue

func (*GetBondEventsResponse_BondEvent) GetNote added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetOperationType added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetOperationType() string

func (*GetBondEventsResponse_BondEvent) GetPayDate added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetPayOneBond added in v1.4.0

func (x *GetBondEventsResponse_BondEvent) GetPayOneBond() *MoneyValue

func (*GetBondEventsResponse_BondEvent) GetRateDate added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetRealPayDate added in v1.4.0

func (*GetBondEventsResponse_BondEvent) GetValue added in v1.4.0

func (*GetBondEventsResponse_BondEvent) ProtoMessage added in v1.4.0

func (*GetBondEventsResponse_BondEvent) ProtoMessage()

func (*GetBondEventsResponse_BondEvent) ProtoReflect added in v1.4.0

func (*GetBondEventsResponse_BondEvent) Reset added in v1.4.0

func (*GetBondEventsResponse_BondEvent) String added in v1.4.0

type GetBrandRequest added in v1.1.1

type GetBrandRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //UID-идентификатор бренда.
	// contains filtered or unexported fields
}

Запрос бренда.

func (*GetBrandRequest) Descriptor deprecated added in v1.1.1

func (*GetBrandRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBrandRequest.ProtoReflect.Descriptor instead.

func (*GetBrandRequest) GetId added in v1.1.1

func (x *GetBrandRequest) GetId() string

func (*GetBrandRequest) ProtoMessage added in v1.1.1

func (*GetBrandRequest) ProtoMessage()

func (*GetBrandRequest) ProtoReflect added in v1.1.1

func (x *GetBrandRequest) ProtoReflect() protoreflect.Message

func (*GetBrandRequest) Reset added in v1.1.1

func (x *GetBrandRequest) Reset()

func (*GetBrandRequest) String added in v1.1.1

func (x *GetBrandRequest) String() string

type GetBrandsRequest added in v1.1.1

type GetBrandsRequest struct {
	Paging *Page `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"` //Настройки пагинации.
	// contains filtered or unexported fields
}

Запрос списка брендов.

func (*GetBrandsRequest) Descriptor deprecated added in v1.1.1

func (*GetBrandsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBrandsRequest.ProtoReflect.Descriptor instead.

func (*GetBrandsRequest) GetPaging added in v1.4.0

func (x *GetBrandsRequest) GetPaging() *Page

func (*GetBrandsRequest) ProtoMessage added in v1.1.1

func (*GetBrandsRequest) ProtoMessage()

func (*GetBrandsRequest) ProtoReflect added in v1.1.1

func (x *GetBrandsRequest) ProtoReflect() protoreflect.Message

func (*GetBrandsRequest) Reset added in v1.1.1

func (x *GetBrandsRequest) Reset()

func (*GetBrandsRequest) String added in v1.1.1

func (x *GetBrandsRequest) String() string

type GetBrandsResponse added in v1.1.1

type GetBrandsResponse struct {
	Brands []*Brand      `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"` //Массив брендов.
	Paging *PageResponse `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` //Данные по пагинации.
	// contains filtered or unexported fields
}

Список брендов.

func (*GetBrandsResponse) Descriptor deprecated added in v1.1.1

func (*GetBrandsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBrandsResponse.ProtoReflect.Descriptor instead.

func (*GetBrandsResponse) GetBrands added in v1.1.1

func (x *GetBrandsResponse) GetBrands() []*Brand

func (*GetBrandsResponse) GetPaging added in v1.4.0

func (x *GetBrandsResponse) GetPaging() *PageResponse

func (*GetBrandsResponse) ProtoMessage added in v1.1.1

func (*GetBrandsResponse) ProtoMessage()

func (*GetBrandsResponse) ProtoReflect added in v1.1.1

func (x *GetBrandsResponse) ProtoReflect() protoreflect.Message

func (*GetBrandsResponse) Reset added in v1.1.1

func (x *GetBrandsResponse) Reset()

func (*GetBrandsResponse) String added in v1.1.1

func (x *GetBrandsResponse) String() string

type GetBrokerReportRequest

type GetBrokerReportRequest struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` //Идентификатор задачи формирования брокерского отчёта.
	Page   *int32 `protobuf:"varint,2,opt,name=page,proto3,oneof" json:"page,omitempty"`            //Номер страницы отчёта, начинается с 1. Значение по умолчанию — 0.
	// contains filtered or unexported fields
}

func (*GetBrokerReportRequest) Descriptor deprecated

func (*GetBrokerReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBrokerReportRequest.ProtoReflect.Descriptor instead.

func (*GetBrokerReportRequest) GetPage

func (x *GetBrokerReportRequest) GetPage() int32

func (*GetBrokerReportRequest) GetTaskId

func (x *GetBrokerReportRequest) GetTaskId() string

func (*GetBrokerReportRequest) ProtoMessage

func (*GetBrokerReportRequest) ProtoMessage()

func (*GetBrokerReportRequest) ProtoReflect

func (x *GetBrokerReportRequest) ProtoReflect() protoreflect.Message

func (*GetBrokerReportRequest) Reset

func (x *GetBrokerReportRequest) Reset()

func (*GetBrokerReportRequest) String

func (x *GetBrokerReportRequest) String() string

type GetBrokerReportResponse

type GetBrokerReportResponse struct {
	BrokerReport []*BrokerReport `protobuf:"bytes,1,rep,name=broker_report,json=brokerReport,proto3" json:"broker_report,omitempty"`
	ItemsCount   int32           `protobuf:"varint,2,opt,name=itemsCount,proto3" json:"itemsCount,omitempty"` //Количество записей в отчёте.
	PagesCount   int32           `protobuf:"varint,3,opt,name=pagesCount,proto3" json:"pagesCount,omitempty"` //Количество страниц с данными отчёта, начинается с 0.
	Page         int32           `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`             //Текущая страница, начинается с 0.
	// contains filtered or unexported fields
}

func (*GetBrokerReportResponse) Descriptor deprecated

func (*GetBrokerReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBrokerReportResponse.ProtoReflect.Descriptor instead.

func (*GetBrokerReportResponse) GetBrokerReport

func (x *GetBrokerReportResponse) GetBrokerReport() []*BrokerReport

func (*GetBrokerReportResponse) GetItemsCount

func (x *GetBrokerReportResponse) GetItemsCount() int32

func (*GetBrokerReportResponse) GetPage

func (x *GetBrokerReportResponse) GetPage() int32

func (*GetBrokerReportResponse) GetPagesCount

func (x *GetBrokerReportResponse) GetPagesCount() int32

func (*GetBrokerReportResponse) ProtoMessage

func (*GetBrokerReportResponse) ProtoMessage()

func (*GetBrokerReportResponse) ProtoReflect

func (x *GetBrokerReportResponse) ProtoReflect() protoreflect.Message

func (*GetBrokerReportResponse) Reset

func (x *GetBrokerReportResponse) Reset()

func (*GetBrokerReportResponse) String

func (x *GetBrokerReportResponse) String() string

type GetCandlesRequest

type GetCandlesRequest struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi     *string                `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"` //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	From     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`       //Начало запрашиваемого периода по UTC.
	To       *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`           //Окончание запрашиваемого периода по UTC.
	Interval CandleInterval         ``                                                                    //Интервал запрошенных свечей.
	/* 128-byte string literal not displayed */
	InstrumentId     *string                         `protobuf:"bytes,5,opt,name=instrument_id,json=instrumentId,proto3,oneof" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	CandleSourceType *GetCandlesRequest_CandleSource ``                                                                                                        //Тип источника свечи.
	/* 192-byte string literal not displayed */
	Limit *int32 `protobuf:"varint,10,opt,name=limit,proto3,oneof" json:"limit,omitempty"` //Максимальное количество свечей в ответе.
	// contains filtered or unexported fields
}

Запрос исторических свечей.

func (*GetCandlesRequest) Descriptor deprecated

func (*GetCandlesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCandlesRequest.ProtoReflect.Descriptor instead.

func (*GetCandlesRequest) GetCandleSourceType added in v1.4.0

func (x *GetCandlesRequest) GetCandleSourceType() GetCandlesRequest_CandleSource

func (*GetCandlesRequest) GetFigi deprecated

func (x *GetCandlesRequest) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*GetCandlesRequest) GetFrom

func (x *GetCandlesRequest) GetFrom() *timestamppb.Timestamp

func (*GetCandlesRequest) GetInstrumentId added in v1.2.0

func (x *GetCandlesRequest) GetInstrumentId() string

func (*GetCandlesRequest) GetInterval

func (x *GetCandlesRequest) GetInterval() CandleInterval

func (*GetCandlesRequest) GetLimit added in v1.4.0

func (x *GetCandlesRequest) GetLimit() int32

func (*GetCandlesRequest) GetTo

func (*GetCandlesRequest) ProtoMessage

func (*GetCandlesRequest) ProtoMessage()

func (*GetCandlesRequest) ProtoReflect

func (x *GetCandlesRequest) ProtoReflect() protoreflect.Message

func (*GetCandlesRequest) Reset

func (x *GetCandlesRequest) Reset()

func (*GetCandlesRequest) String

func (x *GetCandlesRequest) String() string

type GetCandlesRequest_CandleSource added in v1.4.0

type GetCandlesRequest_CandleSource int32
const (
	GetCandlesRequest_CANDLE_SOURCE_UNSPECIFIED     GetCandlesRequest_CandleSource = 0 //Все свечи.
	GetCandlesRequest_CANDLE_SOURCE_EXCHANGE        GetCandlesRequest_CandleSource = 1 //Биржевые свечи.
	GetCandlesRequest_CANDLE_SOURCE_INCLUDE_WEEKEND GetCandlesRequest_CandleSource = 3 //Все свечи с учетом торговли по выходным.
)

func (GetCandlesRequest_CandleSource) Descriptor added in v1.4.0

func (GetCandlesRequest_CandleSource) Enum added in v1.4.0

func (GetCandlesRequest_CandleSource) EnumDescriptor deprecated added in v1.4.0

func (GetCandlesRequest_CandleSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetCandlesRequest_CandleSource.Descriptor instead.

func (GetCandlesRequest_CandleSource) Number added in v1.4.0

func (GetCandlesRequest_CandleSource) String added in v1.4.0

func (GetCandlesRequest_CandleSource) Type added in v1.4.0

type GetCandlesResponse

type GetCandlesResponse struct {
	Candles []*HistoricCandle `protobuf:"bytes,1,rep,name=candles,proto3" json:"candles,omitempty"` //Массив свечей.
	// contains filtered or unexported fields
}

Список свечей.

func (*GetCandlesResponse) Descriptor deprecated

func (*GetCandlesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCandlesResponse.ProtoReflect.Descriptor instead.

func (*GetCandlesResponse) GetCandles

func (x *GetCandlesResponse) GetCandles() []*HistoricCandle

func (*GetCandlesResponse) ProtoMessage

func (*GetCandlesResponse) ProtoMessage()

func (*GetCandlesResponse) ProtoReflect

func (x *GetCandlesResponse) ProtoReflect() protoreflect.Message

func (*GetCandlesResponse) Reset

func (x *GetCandlesResponse) Reset()

func (*GetCandlesResponse) String

func (x *GetCandlesResponse) String() string

type GetClosePricesRequest added in v1.2.0

type GetClosePricesRequest struct {
	Instruments      []*InstrumentClosePriceRequest `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив по инструментам.
	InstrumentStatus *InstrumentStatus              ``                                                                            //Статус запрашиваемых инструментов. [Возможные значения](#instrumentstatus).
	/* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос цен закрытия торговой сессии по инструментам.

func (*GetClosePricesRequest) Descriptor deprecated added in v1.2.0

func (*GetClosePricesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClosePricesRequest.ProtoReflect.Descriptor instead.

func (*GetClosePricesRequest) GetInstrumentStatus added in v1.8.2

func (x *GetClosePricesRequest) GetInstrumentStatus() InstrumentStatus

func (*GetClosePricesRequest) GetInstruments added in v1.2.0

func (x *GetClosePricesRequest) GetInstruments() []*InstrumentClosePriceRequest

func (*GetClosePricesRequest) ProtoMessage added in v1.2.0

func (*GetClosePricesRequest) ProtoMessage()

func (*GetClosePricesRequest) ProtoReflect added in v1.2.0

func (x *GetClosePricesRequest) ProtoReflect() protoreflect.Message

func (*GetClosePricesRequest) Reset added in v1.2.0

func (x *GetClosePricesRequest) Reset()

func (*GetClosePricesRequest) String added in v1.2.0

func (x *GetClosePricesRequest) String() string

type GetClosePricesResponse added in v1.2.0

type GetClosePricesResponse struct {
	ClosePrices []*InstrumentClosePriceResponse `protobuf:"bytes,1,rep,name=close_prices,json=closePrices,proto3" json:"close_prices,omitempty"` //Массив по инструментам.
	// contains filtered or unexported fields
}

Цены закрытия торговой сессии по инструментам.

func (*GetClosePricesResponse) Descriptor deprecated added in v1.2.0

func (*GetClosePricesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetClosePricesResponse.ProtoReflect.Descriptor instead.

func (*GetClosePricesResponse) GetClosePrices added in v1.2.0

func (*GetClosePricesResponse) ProtoMessage added in v1.2.0

func (*GetClosePricesResponse) ProtoMessage()

func (*GetClosePricesResponse) ProtoReflect added in v1.2.0

func (x *GetClosePricesResponse) ProtoReflect() protoreflect.Message

func (*GetClosePricesResponse) Reset added in v1.2.0

func (x *GetClosePricesResponse) Reset()

func (*GetClosePricesResponse) String added in v1.2.0

func (x *GetClosePricesResponse) String() string

type GetConsensusForecastsRequest added in v1.4.0

type GetConsensusForecastsRequest struct {
	Paging *Page `protobuf:"bytes,1,opt,name=paging,proto3,oneof" json:"paging,omitempty"` //Настройки пагинации.
	// contains filtered or unexported fields
}

Запрос консенсус-прогнозов

func (*GetConsensusForecastsRequest) Descriptor deprecated added in v1.4.0

func (*GetConsensusForecastsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConsensusForecastsRequest.ProtoReflect.Descriptor instead.

func (*GetConsensusForecastsRequest) GetPaging added in v1.4.0

func (x *GetConsensusForecastsRequest) GetPaging() *Page

func (*GetConsensusForecastsRequest) ProtoMessage added in v1.4.0

func (*GetConsensusForecastsRequest) ProtoMessage()

func (*GetConsensusForecastsRequest) ProtoReflect added in v1.4.0

func (*GetConsensusForecastsRequest) Reset added in v1.4.0

func (x *GetConsensusForecastsRequest) Reset()

func (*GetConsensusForecastsRequest) String added in v1.4.0

type GetConsensusForecastsResponse added in v1.4.0

type GetConsensusForecastsResponse struct {
	Items []*GetConsensusForecastsResponse_ConsensusForecastsItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // Массив прогнозов.
	Page  *PageResponse                                           `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`   //Данные по пагинации.
	// contains filtered or unexported fields
}

Консенсус-прогнозы

func (*GetConsensusForecastsResponse) Descriptor deprecated added in v1.4.0

func (*GetConsensusForecastsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConsensusForecastsResponse.ProtoReflect.Descriptor instead.

func (*GetConsensusForecastsResponse) GetItems added in v1.4.0

func (*GetConsensusForecastsResponse) GetPage added in v1.4.0

func (*GetConsensusForecastsResponse) ProtoMessage added in v1.4.0

func (*GetConsensusForecastsResponse) ProtoMessage()

func (*GetConsensusForecastsResponse) ProtoReflect added in v1.4.0

func (*GetConsensusForecastsResponse) Reset added in v1.4.0

func (x *GetConsensusForecastsResponse) Reset()

func (*GetConsensusForecastsResponse) String added in v1.4.0

type GetConsensusForecastsResponse_ConsensusForecastsItem added in v1.4.0

type GetConsensusForecastsResponse_ConsensusForecastsItem struct {
	Uid                string                 `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                                            // UID-идентификатор.
	AssetUid           string                 `protobuf:"bytes,2,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`                                  // UID-идентификатор актива.
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                               // Дата и время создания записи.
	BestTargetPrice    *Quotation             `protobuf:"bytes,4,opt,name=best_target_price,json=bestTargetPrice,proto3" json:"best_target_price,omitempty"`           // Целевая цена на 12 месяцев.
	BestTargetLow      *Quotation             `protobuf:"bytes,5,opt,name=best_target_low,json=bestTargetLow,proto3" json:"best_target_low,omitempty"`                 // Минимальная прогнозная цена.
	BestTargetHigh     *Quotation             `protobuf:"bytes,6,opt,name=best_target_high,json=bestTargetHigh,proto3" json:"best_target_high,omitempty"`              // Максимальная прогнозная цена.
	TotalBuyRecommend  int32                  `protobuf:"varint,7,opt,name=total_buy_recommend,json=totalBuyRecommend,proto3" json:"total_buy_recommend,omitempty"`    // Количество аналитиков рекомендующих покупать.
	TotalHoldRecommend int32                  `protobuf:"varint,8,opt,name=total_hold_recommend,json=totalHoldRecommend,proto3" json:"total_hold_recommend,omitempty"` // Количество аналитиков рекомендующих держать.
	TotalSellRecommend int32                  `protobuf:"varint,9,opt,name=total_sell_recommend,json=totalSellRecommend,proto3" json:"total_sell_recommend,omitempty"` // Количество аналитиков рекомендующих продавать.
	Currency           string                 `protobuf:"bytes,10,opt,name=currency,proto3" json:"currency,omitempty"`                                                 // Валюта прогнозов инструмента.
	Consensus          Recommendation         ``                                                                                                                       // Консенсус-прогноз.
	/* 131-byte string literal not displayed */
	PrognosisDate *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=prognosis_date,json=prognosisDate,proto3" json:"prognosis_date,omitempty"` // Дата прогноза.
	// contains filtered or unexported fields
}

Прогноз

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) Descriptor deprecated added in v1.4.0

Deprecated: Use GetConsensusForecastsResponse_ConsensusForecastsItem.ProtoReflect.Descriptor instead.

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetAssetUid added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetBestTargetHigh added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetBestTargetLow added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetBestTargetPrice added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetConsensus added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetCreatedAt added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetCurrency added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetPrognosisDate added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetTotalBuyRecommend added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetTotalHoldRecommend added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetTotalSellRecommend added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) GetUid added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) ProtoMessage added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) ProtoReflect added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) Reset added in v1.4.0

func (*GetConsensusForecastsResponse_ConsensusForecastsItem) String added in v1.4.0

type GetCountriesRequest added in v1.1.1

type GetCountriesRequest struct {
	// contains filtered or unexported fields
}

Запрос справочника стран.

func (*GetCountriesRequest) Descriptor deprecated added in v1.1.1

func (*GetCountriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCountriesRequest.ProtoReflect.Descriptor instead.

func (*GetCountriesRequest) ProtoMessage added in v1.1.1

func (*GetCountriesRequest) ProtoMessage()

func (*GetCountriesRequest) ProtoReflect added in v1.1.1

func (x *GetCountriesRequest) ProtoReflect() protoreflect.Message

func (*GetCountriesRequest) Reset added in v1.1.1

func (x *GetCountriesRequest) Reset()

func (*GetCountriesRequest) String added in v1.1.1

func (x *GetCountriesRequest) String() string

type GetCountriesResponse added in v1.1.1

type GetCountriesResponse struct {
	Countries []*CountryResponse `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"` //Массив стран.
	// contains filtered or unexported fields
}

Справочник стран.

func (*GetCountriesResponse) Descriptor deprecated added in v1.1.1

func (*GetCountriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCountriesResponse.ProtoReflect.Descriptor instead.

func (*GetCountriesResponse) GetCountries added in v1.1.1

func (x *GetCountriesResponse) GetCountries() []*CountryResponse

func (*GetCountriesResponse) ProtoMessage added in v1.1.1

func (*GetCountriesResponse) ProtoMessage()

func (*GetCountriesResponse) ProtoReflect added in v1.1.1

func (x *GetCountriesResponse) ProtoReflect() protoreflect.Message

func (*GetCountriesResponse) Reset added in v1.1.1

func (x *GetCountriesResponse) Reset()

func (*GetCountriesResponse) String added in v1.1.1

func (x *GetCountriesResponse) String() string

type GetDividendsForeignIssuerReportRequest

type GetDividendsForeignIssuerReportRequest struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` //Идентификатор задачи формирования отчёта.
	Page   *int32 `protobuf:"varint,2,opt,name=page,proto3,oneof" json:"page,omitempty"`            //Номер страницы отчета (начинается с 0), значение по умолчанию: 0.
	// contains filtered or unexported fields
}

Объект запроса сформированного отчёта «Справка о доходах за пределами РФ».

func (*GetDividendsForeignIssuerReportRequest) Descriptor deprecated

func (*GetDividendsForeignIssuerReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDividendsForeignIssuerReportRequest.ProtoReflect.Descriptor instead.

func (*GetDividendsForeignIssuerReportRequest) GetPage

func (*GetDividendsForeignIssuerReportRequest) GetTaskId

func (*GetDividendsForeignIssuerReportRequest) ProtoMessage

func (*GetDividendsForeignIssuerReportRequest) ProtoReflect

func (*GetDividendsForeignIssuerReportRequest) Reset

func (*GetDividendsForeignIssuerReportRequest) String

type GetDividendsForeignIssuerReportResponse

type GetDividendsForeignIssuerReportResponse struct {
	DividendsForeignIssuerReport []*DividendsForeignIssuerReport ``                                                                           /* 149-byte string literal not displayed */
	ItemsCount                   int32                           `protobuf:"varint,2,opt,name=itemsCount,proto3" json:"itemsCount,omitempty"` //Количество записей в отчёте.
	PagesCount                   int32                           `protobuf:"varint,3,opt,name=pagesCount,proto3" json:"pagesCount,omitempty"` //Количество страниц с данными отчёта, начинается с 0.
	Page                         int32                           `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`             //Текущая страница, начинается с 0.
	// contains filtered or unexported fields
}

func (*GetDividendsForeignIssuerReportResponse) Descriptor deprecated

func (*GetDividendsForeignIssuerReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetDividendsForeignIssuerReportResponse.ProtoReflect.Descriptor instead.

func (*GetDividendsForeignIssuerReportResponse) GetDividendsForeignIssuerReport

func (x *GetDividendsForeignIssuerReportResponse) GetDividendsForeignIssuerReport() []*DividendsForeignIssuerReport

func (*GetDividendsForeignIssuerReportResponse) GetItemsCount

func (*GetDividendsForeignIssuerReportResponse) GetPage

func (*GetDividendsForeignIssuerReportResponse) GetPagesCount

func (*GetDividendsForeignIssuerReportResponse) ProtoMessage

func (*GetDividendsForeignIssuerReportResponse) ProtoReflect

func (*GetDividendsForeignIssuerReportResponse) Reset

func (*GetDividendsForeignIssuerReportResponse) String

type GetDividendsForeignIssuerRequest

type GetDividendsForeignIssuerRequest struct {

	// Types that are assignable to Payload:
	//
	//	*GetDividendsForeignIssuerRequest_GenerateDivForeignIssuerReport
	//	*GetDividendsForeignIssuerRequest_GetDivForeignIssuerReport
	Payload isGetDividendsForeignIssuerRequest_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*GetDividendsForeignIssuerRequest) Descriptor deprecated

func (*GetDividendsForeignIssuerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDividendsForeignIssuerRequest.ProtoReflect.Descriptor instead.

func (*GetDividendsForeignIssuerRequest) GetGenerateDivForeignIssuerReport

func (x *GetDividendsForeignIssuerRequest) GetGenerateDivForeignIssuerReport() *GenerateDividendsForeignIssuerReportRequest

func (*GetDividendsForeignIssuerRequest) GetGetDivForeignIssuerReport

func (*GetDividendsForeignIssuerRequest) GetPayload

func (m *GetDividendsForeignIssuerRequest) GetPayload() isGetDividendsForeignIssuerRequest_Payload

func (*GetDividendsForeignIssuerRequest) ProtoMessage

func (*GetDividendsForeignIssuerRequest) ProtoMessage()

func (*GetDividendsForeignIssuerRequest) ProtoReflect

func (*GetDividendsForeignIssuerRequest) Reset

func (*GetDividendsForeignIssuerRequest) String

type GetDividendsForeignIssuerRequest_GenerateDivForeignIssuerReport

type GetDividendsForeignIssuerRequest_GenerateDivForeignIssuerReport struct {
	GenerateDivForeignIssuerReport *GenerateDividendsForeignIssuerReportRequest `protobuf:"bytes,1,opt,name=generate_div_foreign_issuer_report,json=generateDivForeignIssuerReport,proto3,oneof"` //Объект запроса формирования отчёта.
}

type GetDividendsForeignIssuerRequest_GetDivForeignIssuerReport

type GetDividendsForeignIssuerRequest_GetDivForeignIssuerReport struct {
	GetDivForeignIssuerReport *GetDividendsForeignIssuerReportRequest `protobuf:"bytes,2,opt,name=get_div_foreign_issuer_report,json=getDivForeignIssuerReport,proto3,oneof"` //Объект запроса сформированного отчёта.
}

type GetDividendsForeignIssuerResponse

type GetDividendsForeignIssuerResponse struct {

	// Types that are assignable to Payload:
	//
	//	*GetDividendsForeignIssuerResponse_GenerateDivForeignIssuerReportResponse
	//	*GetDividendsForeignIssuerResponse_DivForeignIssuerReport
	Payload isGetDividendsForeignIssuerResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*GetDividendsForeignIssuerResponse) Descriptor deprecated

func (*GetDividendsForeignIssuerResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetDividendsForeignIssuerResponse.ProtoReflect.Descriptor instead.

func (*GetDividendsForeignIssuerResponse) GetDivForeignIssuerReport

func (*GetDividendsForeignIssuerResponse) GetGenerateDivForeignIssuerReportResponse

func (x *GetDividendsForeignIssuerResponse) GetGenerateDivForeignIssuerReportResponse() *GenerateDividendsForeignIssuerReportResponse

func (*GetDividendsForeignIssuerResponse) GetPayload

func (m *GetDividendsForeignIssuerResponse) GetPayload() isGetDividendsForeignIssuerResponse_Payload

func (*GetDividendsForeignIssuerResponse) ProtoMessage

func (*GetDividendsForeignIssuerResponse) ProtoMessage()

func (*GetDividendsForeignIssuerResponse) ProtoReflect

func (*GetDividendsForeignIssuerResponse) Reset

func (*GetDividendsForeignIssuerResponse) String

type GetDividendsForeignIssuerResponse_DivForeignIssuerReport

type GetDividendsForeignIssuerResponse_DivForeignIssuerReport struct {
	DivForeignIssuerReport *GetDividendsForeignIssuerReportResponse `protobuf:"bytes,2,opt,name=div_foreign_issuer_report,json=divForeignIssuerReport,proto3,oneof"` //Отчёт «Справка о доходах за пределами РФ».
}

type GetDividendsForeignIssuerResponse_GenerateDivForeignIssuerReportResponse

type GetDividendsForeignIssuerResponse_GenerateDivForeignIssuerReportResponse struct {
	GenerateDivForeignIssuerReportResponse *GenerateDividendsForeignIssuerReportResponse `` //Объект результата задачи запуска формирования отчёта.
	/* 128-byte string literal not displayed */
}

type GetDividendsRequest

type GetDividendsRequest struct {

	// Deprecated: Marked as deprecated in instruments.proto.
	Figi         string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //FIGI-идентификатор инструмента.
	From         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`                               //Начало запрашиваемого периода по UTC. Фильтрация происходит по параметру `record_date` — дата фиксации реестра.
	To           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`                                   //Окончание запрашиваемого периода по UTC. Фильтрация происходит по параметру `record_date` — дата фиксации реестра.
	InstrumentId string                 `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента — `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос дивидендов.

func (*GetDividendsRequest) Descriptor deprecated

func (*GetDividendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDividendsRequest.ProtoReflect.Descriptor instead.

func (*GetDividendsRequest) GetFigi deprecated

func (x *GetDividendsRequest) GetFigi() string

Deprecated: Marked as deprecated in instruments.proto.

func (*GetDividendsRequest) GetFrom

func (*GetDividendsRequest) GetInstrumentId added in v1.4.0

func (x *GetDividendsRequest) GetInstrumentId() string

func (*GetDividendsRequest) GetTo

func (*GetDividendsRequest) ProtoMessage

func (*GetDividendsRequest) ProtoMessage()

func (*GetDividendsRequest) ProtoReflect

func (x *GetDividendsRequest) ProtoReflect() protoreflect.Message

func (*GetDividendsRequest) Reset

func (x *GetDividendsRequest) Reset()

func (*GetDividendsRequest) String

func (x *GetDividendsRequest) String() string

type GetDividendsResponse

type GetDividendsResponse struct {
	Dividends []*Dividend `protobuf:"bytes,1,rep,name=dividends,proto3" json:"dividends,omitempty"`
	// contains filtered or unexported fields
}

Дивиденды.

func (*GetDividendsResponse) Descriptor deprecated

func (*GetDividendsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetDividendsResponse.ProtoReflect.Descriptor instead.

func (*GetDividendsResponse) GetDividends

func (x *GetDividendsResponse) GetDividends() []*Dividend

func (*GetDividendsResponse) ProtoMessage

func (*GetDividendsResponse) ProtoMessage()

func (*GetDividendsResponse) ProtoReflect

func (x *GetDividendsResponse) ProtoReflect() protoreflect.Message

func (*GetDividendsResponse) Reset

func (x *GetDividendsResponse) Reset()

func (*GetDividendsResponse) String

func (x *GetDividendsResponse) String() string

type GetFavoritesRequest

type GetFavoritesRequest struct {
	// contains filtered or unexported fields
}

Запрос списка избранных инструментов, входные параметры не требуются.

func (*GetFavoritesRequest) Descriptor deprecated

func (*GetFavoritesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFavoritesRequest.ProtoReflect.Descriptor instead.

func (*GetFavoritesRequest) ProtoMessage

func (*GetFavoritesRequest) ProtoMessage()

func (*GetFavoritesRequest) ProtoReflect

func (x *GetFavoritesRequest) ProtoReflect() protoreflect.Message

func (*GetFavoritesRequest) Reset

func (x *GetFavoritesRequest) Reset()

func (*GetFavoritesRequest) String

func (x *GetFavoritesRequest) String() string

type GetFavoritesResponse

type GetFavoritesResponse struct {
	FavoriteInstruments []*FavoriteInstrument `protobuf:"bytes,1,rep,name=favorite_instruments,json=favoriteInstruments,proto3" json:"favorite_instruments,omitempty"` //Массив инструментов.
	// contains filtered or unexported fields
}

В ответ передаётся список избранных инструментов в качестве массива.

func (*GetFavoritesResponse) Descriptor deprecated

func (*GetFavoritesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetFavoritesResponse.ProtoReflect.Descriptor instead.

func (*GetFavoritesResponse) GetFavoriteInstruments

func (x *GetFavoritesResponse) GetFavoriteInstruments() []*FavoriteInstrument

func (*GetFavoritesResponse) ProtoMessage

func (*GetFavoritesResponse) ProtoMessage()

func (*GetFavoritesResponse) ProtoReflect

func (x *GetFavoritesResponse) ProtoReflect() protoreflect.Message

func (*GetFavoritesResponse) Reset

func (x *GetFavoritesResponse) Reset()

func (*GetFavoritesResponse) String

func (x *GetFavoritesResponse) String() string

type GetForecastRequest added in v1.4.0

type GetForecastRequest struct {
	InstrumentId string `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` // Идентификатор инструмента.
	// contains filtered or unexported fields
}

Запрос прогнозов инвестдомов.

func (*GetForecastRequest) Descriptor deprecated added in v1.4.0

func (*GetForecastRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetForecastRequest.ProtoReflect.Descriptor instead.

func (*GetForecastRequest) GetInstrumentId added in v1.4.0

func (x *GetForecastRequest) GetInstrumentId() string

func (*GetForecastRequest) ProtoMessage added in v1.4.0

func (*GetForecastRequest) ProtoMessage()

func (*GetForecastRequest) ProtoReflect added in v1.4.0

func (x *GetForecastRequest) ProtoReflect() protoreflect.Message

func (*GetForecastRequest) Reset added in v1.4.0

func (x *GetForecastRequest) Reset()

func (*GetForecastRequest) String added in v1.4.0

func (x *GetForecastRequest) String() string

type GetForecastResponse added in v1.4.0

type GetForecastResponse struct {
	Targets   []*GetForecastResponse_TargetItem  `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`     //Массив прогнозов.
	Consensus *GetForecastResponse_ConsensusItem `protobuf:"bytes,2,opt,name=consensus,proto3" json:"consensus,omitempty"` // Согласованный прогноз.
	// contains filtered or unexported fields
}

Прогнозы инвестдомов по инструменту.

func (*GetForecastResponse) Descriptor deprecated added in v1.4.0

func (*GetForecastResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetForecastResponse.ProtoReflect.Descriptor instead.

func (*GetForecastResponse) GetConsensus added in v1.4.0

func (*GetForecastResponse) GetTargets added in v1.4.0

func (*GetForecastResponse) ProtoMessage added in v1.4.0

func (*GetForecastResponse) ProtoMessage()

func (*GetForecastResponse) ProtoReflect added in v1.4.0

func (x *GetForecastResponse) ProtoReflect() protoreflect.Message

func (*GetForecastResponse) Reset added in v1.4.0

func (x *GetForecastResponse) Reset()

func (*GetForecastResponse) String added in v1.4.0

func (x *GetForecastResponse) String() string

type GetForecastResponse_ConsensusItem added in v1.4.0

type GetForecastResponse_ConsensusItem struct {
	Uid            string         `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`       // Уникальный идентификатор инструмента.
	Ticker         string         `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"` // Тикер инструмента.
	Recommendation Recommendation ``                                                                  // Прогноз.
	/* 140-byte string literal not displayed */
	Currency       string     `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`                                      // Валюта.
	CurrentPrice   *Quotation `protobuf:"bytes,5,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`          // Текущая цена.
	Consensus      *Quotation `protobuf:"bytes,6,opt,name=consensus,proto3" json:"consensus,omitempty"`                                    // Прогнозируемая цена.
	MinTarget      *Quotation `protobuf:"bytes,7,opt,name=min_target,json=minTarget,proto3" json:"min_target,omitempty"`                   // Минимальная цена прогноза.
	MaxTarget      *Quotation `protobuf:"bytes,8,opt,name=max_target,json=maxTarget,proto3" json:"max_target,omitempty"`                   // Максимальная цена прогноза.
	PriceChange    *Quotation `protobuf:"bytes,9,opt,name=price_change,json=priceChange,proto3" json:"price_change,omitempty"`             // Изменение цены.
	PriceChangeRel *Quotation `protobuf:"bytes,10,opt,name=price_change_rel,json=priceChangeRel,proto3" json:"price_change_rel,omitempty"` // Относительное изменение цены.
	// contains filtered or unexported fields
}

Консенсус-прогноз.

func (*GetForecastResponse_ConsensusItem) Descriptor deprecated added in v1.4.0

func (*GetForecastResponse_ConsensusItem) Descriptor() ([]byte, []int)

Deprecated: Use GetForecastResponse_ConsensusItem.ProtoReflect.Descriptor instead.

func (*GetForecastResponse_ConsensusItem) GetConsensus added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetConsensus() *Quotation

func (*GetForecastResponse_ConsensusItem) GetCurrency added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetCurrency() string

func (*GetForecastResponse_ConsensusItem) GetCurrentPrice added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetCurrentPrice() *Quotation

func (*GetForecastResponse_ConsensusItem) GetMaxTarget added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetMaxTarget() *Quotation

func (*GetForecastResponse_ConsensusItem) GetMinTarget added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetMinTarget() *Quotation

func (*GetForecastResponse_ConsensusItem) GetPriceChange added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetPriceChange() *Quotation

func (*GetForecastResponse_ConsensusItem) GetPriceChangeRel added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetPriceChangeRel() *Quotation

func (*GetForecastResponse_ConsensusItem) GetRecommendation added in v1.4.0

func (x *GetForecastResponse_ConsensusItem) GetRecommendation() Recommendation

func (*GetForecastResponse_ConsensusItem) GetTicker added in v1.4.0

func (*GetForecastResponse_ConsensusItem) GetUid added in v1.4.0

func (*GetForecastResponse_ConsensusItem) ProtoMessage added in v1.4.0

func (*GetForecastResponse_ConsensusItem) ProtoMessage()

func (*GetForecastResponse_ConsensusItem) ProtoReflect added in v1.4.0

func (*GetForecastResponse_ConsensusItem) Reset added in v1.4.0

func (*GetForecastResponse_ConsensusItem) String added in v1.4.0

type GetForecastResponse_TargetItem added in v1.4.0

type GetForecastResponse_TargetItem struct {
	Uid            string         `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`         // Уникальный идентификатор инструмента.
	Ticker         string         `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`   // Тикер инструмента.
	Company        string         `protobuf:"bytes,3,opt,name=company,proto3" json:"company,omitempty"` // Название компании, давшей прогноз.
	Recommendation Recommendation ``                                                                    // Прогноз.
	/* 140-byte string literal not displayed */
	RecommendationDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=recommendation_date,json=recommendationDate,proto3" json:"recommendation_date,omitempty"` //Дата прогноза.
	Currency           string                 `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`                                               // Валюта.
	CurrentPrice       *Quotation             `protobuf:"bytes,7,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`                   // Текущая цена.
	TargetPrice        *Quotation             `protobuf:"bytes,8,opt,name=target_price,json=targetPrice,proto3" json:"target_price,omitempty"`                      // Прогнозируемая цена.
	PriceChange        *Quotation             `protobuf:"bytes,9,opt,name=price_change,json=priceChange,proto3" json:"price_change,omitempty"`                      // Изменение цены.
	PriceChangeRel     *Quotation             `protobuf:"bytes,10,opt,name=price_change_rel,json=priceChangeRel,proto3" json:"price_change_rel,omitempty"`          // Относительное изменение цены.
	ShowName           string                 `protobuf:"bytes,11,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"`                              // Наименование инструмента.
	// contains filtered or unexported fields
}

Прогноз

func (*GetForecastResponse_TargetItem) Descriptor deprecated added in v1.4.0

func (*GetForecastResponse_TargetItem) Descriptor() ([]byte, []int)

Deprecated: Use GetForecastResponse_TargetItem.ProtoReflect.Descriptor instead.

func (*GetForecastResponse_TargetItem) GetCompany added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetCompany() string

func (*GetForecastResponse_TargetItem) GetCurrency added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetCurrency() string

func (*GetForecastResponse_TargetItem) GetCurrentPrice added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetCurrentPrice() *Quotation

func (*GetForecastResponse_TargetItem) GetPriceChange added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetPriceChange() *Quotation

func (*GetForecastResponse_TargetItem) GetPriceChangeRel added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetPriceChangeRel() *Quotation

func (*GetForecastResponse_TargetItem) GetRecommendation added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetRecommendation() Recommendation

func (*GetForecastResponse_TargetItem) GetRecommendationDate added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetRecommendationDate() *timestamppb.Timestamp

func (*GetForecastResponse_TargetItem) GetShowName added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetShowName() string

func (*GetForecastResponse_TargetItem) GetTargetPrice added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetTargetPrice() *Quotation

func (*GetForecastResponse_TargetItem) GetTicker added in v1.4.0

func (x *GetForecastResponse_TargetItem) GetTicker() string

func (*GetForecastResponse_TargetItem) GetUid added in v1.4.0

func (*GetForecastResponse_TargetItem) ProtoMessage added in v1.4.0

func (*GetForecastResponse_TargetItem) ProtoMessage()

func (*GetForecastResponse_TargetItem) ProtoReflect added in v1.4.0

func (*GetForecastResponse_TargetItem) Reset added in v1.4.0

func (x *GetForecastResponse_TargetItem) Reset()

func (*GetForecastResponse_TargetItem) String added in v1.4.0

type GetFuturesMarginRequest

type GetFuturesMarginRequest struct {

	// Deprecated: Marked as deprecated in instruments.proto.
	Figi         string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     // Идентификатор инструмента.
	InstrumentId string `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента — `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос информации о фьючерсе

func (*GetFuturesMarginRequest) Descriptor deprecated

func (*GetFuturesMarginRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFuturesMarginRequest.ProtoReflect.Descriptor instead.

func (*GetFuturesMarginRequest) GetFigi deprecated

func (x *GetFuturesMarginRequest) GetFigi() string

Deprecated: Marked as deprecated in instruments.proto.

func (*GetFuturesMarginRequest) GetInstrumentId added in v1.4.0

func (x *GetFuturesMarginRequest) GetInstrumentId() string

func (*GetFuturesMarginRequest) ProtoMessage

func (*GetFuturesMarginRequest) ProtoMessage()

func (*GetFuturesMarginRequest) ProtoReflect

func (x *GetFuturesMarginRequest) ProtoReflect() protoreflect.Message

func (*GetFuturesMarginRequest) Reset

func (x *GetFuturesMarginRequest) Reset()

func (*GetFuturesMarginRequest) String

func (x *GetFuturesMarginRequest) String() string

type GetFuturesMarginResponse

type GetFuturesMarginResponse struct {
	InitialMarginOnBuy      *MoneyValue `protobuf:"bytes,1,opt,name=initial_margin_on_buy,json=initialMarginOnBuy,proto3" json:"initial_margin_on_buy,omitempty"`    //Гарантийное обеспечение при покупке.
	InitialMarginOnSell     *MoneyValue `protobuf:"bytes,2,opt,name=initial_margin_on_sell,json=initialMarginOnSell,proto3" json:"initial_margin_on_sell,omitempty"` //Гарантийное обеспечение при продаже.
	MinPriceIncrement       *Quotation  `protobuf:"bytes,3,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`         //Шаг цены.
	MinPriceIncrementAmount *Quotation  ``                                                                                                                           //Стоимость шага цены.
	/* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Данные по фьючерсу

func (*GetFuturesMarginResponse) Descriptor deprecated

func (*GetFuturesMarginResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetFuturesMarginResponse.ProtoReflect.Descriptor instead.

func (*GetFuturesMarginResponse) GetInitialMarginOnBuy

func (x *GetFuturesMarginResponse) GetInitialMarginOnBuy() *MoneyValue

func (*GetFuturesMarginResponse) GetInitialMarginOnSell

func (x *GetFuturesMarginResponse) GetInitialMarginOnSell() *MoneyValue

func (*GetFuturesMarginResponse) GetMinPriceIncrement

func (x *GetFuturesMarginResponse) GetMinPriceIncrement() *Quotation

func (*GetFuturesMarginResponse) GetMinPriceIncrementAmount

func (x *GetFuturesMarginResponse) GetMinPriceIncrementAmount() *Quotation

func (*GetFuturesMarginResponse) ProtoMessage

func (*GetFuturesMarginResponse) ProtoMessage()

func (*GetFuturesMarginResponse) ProtoReflect

func (x *GetFuturesMarginResponse) ProtoReflect() protoreflect.Message

func (*GetFuturesMarginResponse) Reset

func (x *GetFuturesMarginResponse) Reset()

func (*GetFuturesMarginResponse) String

func (x *GetFuturesMarginResponse) String() string

type GetInfoRequest

type GetInfoRequest struct {
	// contains filtered or unexported fields
}

Запрос информации о пользователе.

func (*GetInfoRequest) Descriptor deprecated

func (*GetInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) ProtoReflect

func (x *GetInfoRequest) ProtoReflect() protoreflect.Message

func (*GetInfoRequest) Reset

func (x *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (x *GetInfoRequest) String() string

type GetInfoResponse

type GetInfoResponse struct {
	PremStatus           bool     `protobuf:"varint,1,opt,name=prem_status,json=premStatus,proto3" json:"prem_status,omitempty"`                                  //Признак премиум клиента.
	QualStatus           bool     `protobuf:"varint,2,opt,name=qual_status,json=qualStatus,proto3" json:"qual_status,omitempty"`                                  //Признак квалифицированного инвестора.
	QualifiedForWorkWith []string `protobuf:"bytes,3,rep,name=qualified_for_work_with,json=qualifiedForWorkWith,proto3" json:"qualified_for_work_with,omitempty"` //Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://russianinvestments.github.io/investAPI/faq_users/).
	Tariff               string   `protobuf:"bytes,4,opt,name=tariff,proto3" json:"tariff,omitempty"`                                                             //Наименование тарифа пользователя.
	// contains filtered or unexported fields
}

Информация о пользователе.

func (*GetInfoResponse) Descriptor deprecated

func (*GetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetInfoResponse) GetPremStatus

func (x *GetInfoResponse) GetPremStatus() bool

func (*GetInfoResponse) GetQualStatus

func (x *GetInfoResponse) GetQualStatus() bool

func (*GetInfoResponse) GetQualifiedForWorkWith

func (x *GetInfoResponse) GetQualifiedForWorkWith() []string

func (*GetInfoResponse) GetTariff

func (x *GetInfoResponse) GetTariff() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) ProtoReflect

func (x *GetInfoResponse) ProtoReflect() protoreflect.Message

func (*GetInfoResponse) Reset

func (x *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (x *GetInfoResponse) String() string

type GetLastPricesRequest

type GetLastPricesRequest struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi          []string      `protobuf:"bytes,1,rep,name=figi,proto3" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	InstrumentId  []string      `protobuf:"bytes,2,rep,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Массив идентификаторов инструмента. Принимает значения `figi` или `instrument_uid`.
	LastPriceType LastPriceType ``                                                                                                  //Тип запрашиваемой последней цены.
	/* 160-byte string literal not displayed */
	InstrumentStatus *InstrumentStatus `` //Статус запрашиваемых инструментов. [Возможные значения](#instrumentstatus).
	/* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос получения цен последних сделок.

func (*GetLastPricesRequest) Descriptor deprecated

func (*GetLastPricesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLastPricesRequest.ProtoReflect.Descriptor instead.

func (*GetLastPricesRequest) GetFigi deprecated

func (x *GetLastPricesRequest) GetFigi() []string

Deprecated: Marked as deprecated in marketdata.proto.

func (*GetLastPricesRequest) GetInstrumentId added in v1.2.0

func (x *GetLastPricesRequest) GetInstrumentId() []string

func (*GetLastPricesRequest) GetInstrumentStatus added in v1.8.2

func (x *GetLastPricesRequest) GetInstrumentStatus() InstrumentStatus

func (*GetLastPricesRequest) GetLastPriceType added in v1.4.0

func (x *GetLastPricesRequest) GetLastPriceType() LastPriceType

func (*GetLastPricesRequest) ProtoMessage

func (*GetLastPricesRequest) ProtoMessage()

func (*GetLastPricesRequest) ProtoReflect

func (x *GetLastPricesRequest) ProtoReflect() protoreflect.Message

func (*GetLastPricesRequest) Reset

func (x *GetLastPricesRequest) Reset()

func (*GetLastPricesRequest) String

func (x *GetLastPricesRequest) String() string

type GetLastPricesResponse

type GetLastPricesResponse struct {
	LastPrices []*LastPrice `protobuf:"bytes,1,rep,name=last_prices,json=lastPrices,proto3" json:"last_prices,omitempty"` //Массив цен последних сделок.
	// contains filtered or unexported fields
}

Список цен последних сделок.

func (*GetLastPricesResponse) Descriptor deprecated

func (*GetLastPricesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLastPricesResponse.ProtoReflect.Descriptor instead.

func (*GetLastPricesResponse) GetLastPrices

func (x *GetLastPricesResponse) GetLastPrices() []*LastPrice

func (*GetLastPricesResponse) ProtoMessage

func (*GetLastPricesResponse) ProtoMessage()

func (*GetLastPricesResponse) ProtoReflect

func (x *GetLastPricesResponse) ProtoReflect() protoreflect.Message

func (*GetLastPricesResponse) Reset

func (x *GetLastPricesResponse) Reset()

func (*GetLastPricesResponse) String

func (x *GetLastPricesResponse) String() string

type GetLastTradesRequest

type GetLastTradesRequest struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi         *string                `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	From         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                                           //Начало запрашиваемого периода по UTC.
	To           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`                                               //Окончание запрашиваемого периода по UTC.
	InstrumentId *string                `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3,oneof" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	TradeSource  TradeSourceType        ``                                                                                                        //Тип источника сделок. По умолчанию TRADE_SOURCE_ALL - все сделки.
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос обезличенных сделок за последний час.

func (*GetLastTradesRequest) Descriptor deprecated

func (*GetLastTradesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLastTradesRequest.ProtoReflect.Descriptor instead.

func (*GetLastTradesRequest) GetFigi deprecated

func (x *GetLastTradesRequest) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*GetLastTradesRequest) GetFrom

func (*GetLastTradesRequest) GetInstrumentId added in v1.2.0

func (x *GetLastTradesRequest) GetInstrumentId() string

func (*GetLastTradesRequest) GetTo

func (*GetLastTradesRequest) GetTradeSource added in v1.6.0

func (x *GetLastTradesRequest) GetTradeSource() TradeSourceType

func (*GetLastTradesRequest) ProtoMessage

func (*GetLastTradesRequest) ProtoMessage()

func (*GetLastTradesRequest) ProtoReflect

func (x *GetLastTradesRequest) ProtoReflect() protoreflect.Message

func (*GetLastTradesRequest) Reset

func (x *GetLastTradesRequest) Reset()

func (*GetLastTradesRequest) String

func (x *GetLastTradesRequest) String() string

type GetLastTradesResponse

type GetLastTradesResponse struct {
	Trades []*Trade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` //Массив сделок.
	// contains filtered or unexported fields
}

Обезличенных сделок за последний час.

func (*GetLastTradesResponse) Descriptor deprecated

func (*GetLastTradesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLastTradesResponse.ProtoReflect.Descriptor instead.

func (*GetLastTradesResponse) GetTrades

func (x *GetLastTradesResponse) GetTrades() []*Trade

func (*GetLastTradesResponse) ProtoMessage

func (*GetLastTradesResponse) ProtoMessage()

func (*GetLastTradesResponse) ProtoReflect

func (x *GetLastTradesResponse) ProtoReflect() protoreflect.Message

func (*GetLastTradesResponse) Reset

func (x *GetLastTradesResponse) Reset()

func (*GetLastTradesResponse) String

func (x *GetLastTradesResponse) String() string

type GetMarginAttributesRequest

type GetMarginAttributesRequest struct {

	// Идентификатор счёта пользователя.
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

Запрос маржинальных показателей по счёту.

func (*GetMarginAttributesRequest) Descriptor deprecated

func (*GetMarginAttributesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMarginAttributesRequest.ProtoReflect.Descriptor instead.

func (*GetMarginAttributesRequest) GetAccountId

func (x *GetMarginAttributesRequest) GetAccountId() string

func (*GetMarginAttributesRequest) ProtoMessage

func (*GetMarginAttributesRequest) ProtoMessage()

func (*GetMarginAttributesRequest) ProtoReflect

func (*GetMarginAttributesRequest) Reset

func (x *GetMarginAttributesRequest) Reset()

func (*GetMarginAttributesRequest) String

func (x *GetMarginAttributesRequest) String() string

type GetMarginAttributesResponse

type GetMarginAttributesResponse struct {

	// Ликвидная стоимость портфеля. [Подробнее про ликвидный портфель](https://help.tbank.ru/margin-trade/short/liquid-portfolio/).
	LiquidPortfolio *MoneyValue `protobuf:"bytes,1,opt,name=liquid_portfolio,json=liquidPortfolio,proto3" json:"liquid_portfolio,omitempty"`
	// Начальная маржа — начальное обеспечение для совершения новой сделки. [Подробнее про начальную и минимальную маржу](https://help.tbank.ru/margin-trade/short/initial-and-maintenance-margin/).
	StartingMargin *MoneyValue `protobuf:"bytes,2,opt,name=starting_margin,json=startingMargin,proto3" json:"starting_margin,omitempty"`
	// Минимальная маржа — это минимальное обеспечение для поддержания позиции, которую вы уже открыли. [Подробнее про начальную и минимальную маржу](https://help.tbank.ru/margin-trade/short/initial-and-maintenance-margin/).
	MinimalMargin *MoneyValue `protobuf:"bytes,3,opt,name=minimal_margin,json=minimalMargin,proto3" json:"minimal_margin,omitempty"`
	// Уровень достаточности средств. Соотношение стоимости ликвидного портфеля к начальной марже.
	FundsSufficiencyLevel *Quotation `` /* 126-byte string literal not displayed */
	// Объем недостающих средств. Разница между стартовой маржой и ликвидной стоимости портфеля.
	AmountOfMissingFunds *MoneyValue `protobuf:"bytes,5,opt,name=amount_of_missing_funds,json=amountOfMissingFunds,proto3" json:"amount_of_missing_funds,omitempty"`
	// Скорректированная маржа. Начальная маржа, в которой плановые позиции рассчитываются с учётом активных заявок на покупку позиций лонг или продажу позиций шорт.
	CorrectedMargin *MoneyValue `protobuf:"bytes,6,opt,name=corrected_margin,json=correctedMargin,proto3" json:"corrected_margin,omitempty"`
	// contains filtered or unexported fields
}

Маржинальные показатели по счёту.

func (*GetMarginAttributesResponse) Descriptor deprecated

func (*GetMarginAttributesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMarginAttributesResponse.ProtoReflect.Descriptor instead.

func (*GetMarginAttributesResponse) GetAmountOfMissingFunds

func (x *GetMarginAttributesResponse) GetAmountOfMissingFunds() *MoneyValue

func (*GetMarginAttributesResponse) GetCorrectedMargin added in v1.2.0

func (x *GetMarginAttributesResponse) GetCorrectedMargin() *MoneyValue

func (*GetMarginAttributesResponse) GetFundsSufficiencyLevel

func (x *GetMarginAttributesResponse) GetFundsSufficiencyLevel() *Quotation

func (*GetMarginAttributesResponse) GetLiquidPortfolio

func (x *GetMarginAttributesResponse) GetLiquidPortfolio() *MoneyValue

func (*GetMarginAttributesResponse) GetMinimalMargin

func (x *GetMarginAttributesResponse) GetMinimalMargin() *MoneyValue

func (*GetMarginAttributesResponse) GetStartingMargin

func (x *GetMarginAttributesResponse) GetStartingMargin() *MoneyValue

func (*GetMarginAttributesResponse) ProtoMessage

func (*GetMarginAttributesResponse) ProtoMessage()

func (*GetMarginAttributesResponse) ProtoReflect

func (*GetMarginAttributesResponse) Reset

func (x *GetMarginAttributesResponse) Reset()

func (*GetMarginAttributesResponse) String

func (x *GetMarginAttributesResponse) String() string

type GetMaxLotsRequest added in v1.4.0

type GetMaxLotsRequest struct {
	AccountId    string     `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`          //Номер счета
	InstrumentId string     `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значения Figi или instrument_uid
	Price        *Quotation `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"`                             //Цена инструмента
	// contains filtered or unexported fields
}

Запрос на расчет количества доступных для покупки/продажи лотов. Если не указывать цену инструмента, то расчет произведется по текущум ценам в стакане: по лучшему предложению для покупки и по лучшему спросу для продажи.

func (*GetMaxLotsRequest) Descriptor deprecated added in v1.4.0

func (*GetMaxLotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMaxLotsRequest.ProtoReflect.Descriptor instead.

func (*GetMaxLotsRequest) GetAccountId added in v1.4.0

func (x *GetMaxLotsRequest) GetAccountId() string

func (*GetMaxLotsRequest) GetInstrumentId added in v1.4.0

func (x *GetMaxLotsRequest) GetInstrumentId() string

func (*GetMaxLotsRequest) GetPrice added in v1.4.0

func (x *GetMaxLotsRequest) GetPrice() *Quotation

func (*GetMaxLotsRequest) ProtoMessage added in v1.4.0

func (*GetMaxLotsRequest) ProtoMessage()

func (*GetMaxLotsRequest) ProtoReflect added in v1.4.0

func (x *GetMaxLotsRequest) ProtoReflect() protoreflect.Message

func (*GetMaxLotsRequest) Reset added in v1.4.0

func (x *GetMaxLotsRequest) Reset()

func (*GetMaxLotsRequest) String added in v1.4.0

func (x *GetMaxLotsRequest) String() string

type GetMaxLotsResponse added in v1.4.0

type GetMaxLotsResponse struct {
	Currency         string                             `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`                                           //Валюта инструмента
	BuyLimits        *GetMaxLotsResponse_BuyLimitsView  `protobuf:"bytes,2,opt,name=buy_limits,json=buyLimits,proto3" json:"buy_limits,omitempty"`                        //Лимиты для покупок на собственные деньги
	BuyMarginLimits  *GetMaxLotsResponse_BuyLimitsView  `protobuf:"bytes,3,opt,name=buy_margin_limits,json=buyMarginLimits,proto3" json:"buy_margin_limits,omitempty"`    //Лимиты для покупок с учетом маржинального кредитования
	SellLimits       *GetMaxLotsResponse_SellLimitsView `protobuf:"bytes,4,opt,name=sell_limits,json=sellLimits,proto3" json:"sell_limits,omitempty"`                     //Лимиты для продаж по собственной позиции
	SellMarginLimits *GetMaxLotsResponse_SellLimitsView `protobuf:"bytes,5,opt,name=sell_margin_limits,json=sellMarginLimits,proto3" json:"sell_margin_limits,omitempty"` //Лимиты для продаж с учетом маржинального кредитования
	// contains filtered or unexported fields
}

Результат количество доступных для покупки/продажи лотов

func (*GetMaxLotsResponse) Descriptor deprecated added in v1.4.0

func (*GetMaxLotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMaxLotsResponse.ProtoReflect.Descriptor instead.

func (*GetMaxLotsResponse) GetBuyLimits added in v1.4.0

func (*GetMaxLotsResponse) GetBuyMarginLimits added in v1.4.0

func (x *GetMaxLotsResponse) GetBuyMarginLimits() *GetMaxLotsResponse_BuyLimitsView

func (*GetMaxLotsResponse) GetCurrency added in v1.4.0

func (x *GetMaxLotsResponse) GetCurrency() string

func (*GetMaxLotsResponse) GetSellLimits added in v1.4.0

func (*GetMaxLotsResponse) GetSellMarginLimits added in v1.4.0

func (x *GetMaxLotsResponse) GetSellMarginLimits() *GetMaxLotsResponse_SellLimitsView

func (*GetMaxLotsResponse) ProtoMessage added in v1.4.0

func (*GetMaxLotsResponse) ProtoMessage()

func (*GetMaxLotsResponse) ProtoReflect added in v1.4.0

func (x *GetMaxLotsResponse) ProtoReflect() protoreflect.Message

func (*GetMaxLotsResponse) Reset added in v1.4.0

func (x *GetMaxLotsResponse) Reset()

func (*GetMaxLotsResponse) String added in v1.4.0

func (x *GetMaxLotsResponse) String() string

type GetMaxLotsResponse_BuyLimitsView added in v1.4.0

type GetMaxLotsResponse_BuyLimitsView struct {
	BuyMoneyAmount   *Quotation `protobuf:"bytes,1,opt,name=buy_money_amount,json=buyMoneyAmount,proto3" json:"buy_money_amount,omitempty"`          //Количество доступной валюты для покупки
	BuyMaxLots       int64      `protobuf:"varint,2,opt,name=buy_max_lots,json=buyMaxLots,proto3" json:"buy_max_lots,omitempty"`                     //Максимальное доступное количество лотов для покупки
	BuyMaxMarketLots int64      `protobuf:"varint,3,opt,name=buy_max_market_lots,json=buyMaxMarketLots,proto3" json:"buy_max_market_lots,omitempty"` //Максимальное доступное количество лотов для покупки для заявки по рыночной цене на текущий момент
	// contains filtered or unexported fields
}

func (*GetMaxLotsResponse_BuyLimitsView) Descriptor deprecated added in v1.4.0

func (*GetMaxLotsResponse_BuyLimitsView) Descriptor() ([]byte, []int)

Deprecated: Use GetMaxLotsResponse_BuyLimitsView.ProtoReflect.Descriptor instead.

func (*GetMaxLotsResponse_BuyLimitsView) GetBuyMaxLots added in v1.4.0

func (x *GetMaxLotsResponse_BuyLimitsView) GetBuyMaxLots() int64

func (*GetMaxLotsResponse_BuyLimitsView) GetBuyMaxMarketLots added in v1.4.0

func (x *GetMaxLotsResponse_BuyLimitsView) GetBuyMaxMarketLots() int64

func (*GetMaxLotsResponse_BuyLimitsView) GetBuyMoneyAmount added in v1.4.0

func (x *GetMaxLotsResponse_BuyLimitsView) GetBuyMoneyAmount() *Quotation

func (*GetMaxLotsResponse_BuyLimitsView) ProtoMessage added in v1.4.0

func (*GetMaxLotsResponse_BuyLimitsView) ProtoMessage()

func (*GetMaxLotsResponse_BuyLimitsView) ProtoReflect added in v1.4.0

func (*GetMaxLotsResponse_BuyLimitsView) Reset added in v1.4.0

func (*GetMaxLotsResponse_BuyLimitsView) String added in v1.4.0

type GetMaxLotsResponse_SellLimitsView added in v1.4.0

type GetMaxLotsResponse_SellLimitsView struct {
	SellMaxLots int64 `protobuf:"varint,1,opt,name=sell_max_lots,json=sellMaxLots,proto3" json:"sell_max_lots,omitempty"` //Максимальное доступное количество лотов для продажи
	// contains filtered or unexported fields
}

func (*GetMaxLotsResponse_SellLimitsView) Descriptor deprecated added in v1.4.0

func (*GetMaxLotsResponse_SellLimitsView) Descriptor() ([]byte, []int)

Deprecated: Use GetMaxLotsResponse_SellLimitsView.ProtoReflect.Descriptor instead.

func (*GetMaxLotsResponse_SellLimitsView) GetSellMaxLots added in v1.4.0

func (x *GetMaxLotsResponse_SellLimitsView) GetSellMaxLots() int64

func (*GetMaxLotsResponse_SellLimitsView) ProtoMessage added in v1.4.0

func (*GetMaxLotsResponse_SellLimitsView) ProtoMessage()

func (*GetMaxLotsResponse_SellLimitsView) ProtoReflect added in v1.4.0

func (*GetMaxLotsResponse_SellLimitsView) Reset added in v1.4.0

func (*GetMaxLotsResponse_SellLimitsView) String added in v1.4.0

type GetMySubscriptions added in v1.1.2

type GetMySubscriptions struct {
	// contains filtered or unexported fields
}

Запрос активных подписок. Возвращает по одному сообщению на каждый тип активных подписок — `SubscribeLastPriceResponse`, `SubscribeInfoResponse`, `SubscribeTradesResponse`, `SubscribeOrderBookResponse`, `SubscribeCandlesResponse`.

func (*GetMySubscriptions) Descriptor deprecated added in v1.1.2

func (*GetMySubscriptions) Descriptor() ([]byte, []int)

Deprecated: Use GetMySubscriptions.ProtoReflect.Descriptor instead.

func (*GetMySubscriptions) ProtoMessage added in v1.1.2

func (*GetMySubscriptions) ProtoMessage()

func (*GetMySubscriptions) ProtoReflect added in v1.1.2

func (x *GetMySubscriptions) ProtoReflect() protoreflect.Message

func (*GetMySubscriptions) Reset added in v1.1.2

func (x *GetMySubscriptions) Reset()

func (*GetMySubscriptions) String added in v1.1.2

func (x *GetMySubscriptions) String() string

type GetOperationsByCursorRequest added in v1.1.3

type GetOperationsByCursorRequest struct {
	AccountId      string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`                //Идентификатор счёта клиента, обязательный параметр. Остальные параметры опциональны.
	InstrumentId   *string                `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3,oneof" json:"instrument_id,omitempty"` //Идентификатор инструмента — FIGI или UID инструмента.
	From           *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=from,proto3,oneof" json:"from,omitempty"`                                     //Начало периода по UTC.
	To             *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=to,proto3,oneof" json:"to,omitempty"`                                         //Окончание периода по UTC.
	Cursor         *string                `protobuf:"bytes,11,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`                                //Идентификатор элемента, с которого начать формировать ответ.
	Limit          *int32                 `protobuf:"varint,12,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                 //Лимит количества операций. По умолчанию — `100`, максимальное значение — `1000`.
	OperationTypes []OperationType        ``                                                                                                        //Тип операции. Принимает значение из списка `OperationType`.
	/* 169-byte string literal not displayed */
	State *OperationState `` //Статус запрашиваемых операций. Возможные значения указаны в `OperationState`.
	/* 129-byte string literal not displayed */
	WithoutCommissions *bool `protobuf:"varint,15,opt,name=without_commissions,json=withoutCommissions,proto3,oneof" json:"without_commissions,omitempty"` //Флаг возврата комиссии. По умолчанию — `false`.
	WithoutTrades      *bool `protobuf:"varint,16,opt,name=without_trades,json=withoutTrades,proto3,oneof" json:"without_trades,omitempty"`                //Флаг получения ответа без массива сделок.
	WithoutOvernights  *bool `protobuf:"varint,17,opt,name=without_overnights,json=withoutOvernights,proto3,oneof" json:"without_overnights,omitempty"`    //Флаг показа overnight операций.
	// contains filtered or unexported fields
}

Запрос списка операций по счёту с пагинацией.

func (*GetOperationsByCursorRequest) Descriptor deprecated added in v1.1.3

func (*GetOperationsByCursorRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationsByCursorRequest.ProtoReflect.Descriptor instead.

func (*GetOperationsByCursorRequest) GetAccountId added in v1.1.3

func (x *GetOperationsByCursorRequest) GetAccountId() string

func (*GetOperationsByCursorRequest) GetCursor added in v1.1.3

func (x *GetOperationsByCursorRequest) GetCursor() string

func (*GetOperationsByCursorRequest) GetFrom added in v1.1.3

func (*GetOperationsByCursorRequest) GetInstrumentId added in v1.1.3

func (x *GetOperationsByCursorRequest) GetInstrumentId() string

func (*GetOperationsByCursorRequest) GetLimit added in v1.1.3

func (x *GetOperationsByCursorRequest) GetLimit() int32

func (*GetOperationsByCursorRequest) GetOperationTypes added in v1.1.3

func (x *GetOperationsByCursorRequest) GetOperationTypes() []OperationType

func (*GetOperationsByCursorRequest) GetState added in v1.1.3

func (*GetOperationsByCursorRequest) GetTo added in v1.1.3

func (*GetOperationsByCursorRequest) GetWithoutCommissions added in v1.1.3

func (x *GetOperationsByCursorRequest) GetWithoutCommissions() bool

func (*GetOperationsByCursorRequest) GetWithoutOvernights added in v1.1.3

func (x *GetOperationsByCursorRequest) GetWithoutOvernights() bool

func (*GetOperationsByCursorRequest) GetWithoutTrades added in v1.1.3

func (x *GetOperationsByCursorRequest) GetWithoutTrades() bool

func (*GetOperationsByCursorRequest) ProtoMessage added in v1.1.3

func (*GetOperationsByCursorRequest) ProtoMessage()

func (*GetOperationsByCursorRequest) ProtoReflect added in v1.1.3

func (*GetOperationsByCursorRequest) Reset added in v1.1.3

func (x *GetOperationsByCursorRequest) Reset()

func (*GetOperationsByCursorRequest) String added in v1.1.3

type GetOperationsByCursorResponse added in v1.1.3

type GetOperationsByCursorResponse struct {
	HasNext    bool             `protobuf:"varint,1,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"`         //Признак, есть ли следующий элемент.
	NextCursor string           `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` //Следующий курсор.
	Items      []*OperationItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`                             //Список операций.
	// contains filtered or unexported fields
}

Список операций по счёту с пагинацией.

func (*GetOperationsByCursorResponse) Descriptor deprecated added in v1.1.3

func (*GetOperationsByCursorResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationsByCursorResponse.ProtoReflect.Descriptor instead.

func (*GetOperationsByCursorResponse) GetHasNext added in v1.1.3

func (x *GetOperationsByCursorResponse) GetHasNext() bool

func (*GetOperationsByCursorResponse) GetItems added in v1.1.3

func (*GetOperationsByCursorResponse) GetNextCursor added in v1.1.3

func (x *GetOperationsByCursorResponse) GetNextCursor() string

func (*GetOperationsByCursorResponse) ProtoMessage added in v1.1.3

func (*GetOperationsByCursorResponse) ProtoMessage()

func (*GetOperationsByCursorResponse) ProtoReflect added in v1.1.3

func (*GetOperationsByCursorResponse) Reset added in v1.1.3

func (x *GetOperationsByCursorResponse) Reset()

func (*GetOperationsByCursorResponse) String added in v1.1.3

type GetOrderBookRequest

type GetOrderBookRequest struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi         *string `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	Depth        int32   `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"`                                        //Глубина стакана.
	InstrumentId *string `protobuf:"bytes,3,opt,name=instrument_id,json=instrumentId,proto3,oneof" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос стакана.

func (*GetOrderBookRequest) Descriptor deprecated

func (*GetOrderBookRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderBookRequest.ProtoReflect.Descriptor instead.

func (*GetOrderBookRequest) GetDepth

func (x *GetOrderBookRequest) GetDepth() int32

func (*GetOrderBookRequest) GetFigi deprecated

func (x *GetOrderBookRequest) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*GetOrderBookRequest) GetInstrumentId added in v1.2.0

func (x *GetOrderBookRequest) GetInstrumentId() string

func (*GetOrderBookRequest) ProtoMessage

func (*GetOrderBookRequest) ProtoMessage()

func (*GetOrderBookRequest) ProtoReflect

func (x *GetOrderBookRequest) ProtoReflect() protoreflect.Message

func (*GetOrderBookRequest) Reset

func (x *GetOrderBookRequest) Reset()

func (*GetOrderBookRequest) String

func (x *GetOrderBookRequest) String() string

type GetOrderBookResponse

type GetOrderBookResponse struct {
	Figi          string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                        //FIGI-идентификатор инструмента.
	Depth         int32                  `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"`                                     //Глубина стакана.
	Bids          []*Order               `protobuf:"bytes,3,rep,name=bids,proto3" json:"bids,omitempty"`                                        //Множество пар значений на покупку.
	Asks          []*Order               `protobuf:"bytes,4,rep,name=asks,proto3" json:"asks,omitempty"`                                        //Множество пар значений на продажу.
	LastPrice     *Quotation             `protobuf:"bytes,5,opt,name=last_price,json=lastPrice,proto3" json:"last_price,omitempty"`             //Цена последней сделки за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	ClosePrice    *Quotation             `protobuf:"bytes,6,opt,name=close_price,json=closePrice,proto3" json:"close_price,omitempty"`          //Цена закрытия за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	LimitUp       *Quotation             `protobuf:"bytes,7,opt,name=limit_up,json=limitUp,proto3" json:"limit_up,omitempty"`                   //Верхний лимит цены за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	LimitDown     *Quotation             `protobuf:"bytes,8,opt,name=limit_down,json=limitDown,proto3" json:"limit_down,omitempty"`             //Нижний лимит цены за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	LastPriceTs   *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=last_price_ts,json=lastPriceTs,proto3" json:"last_price_ts,omitempty"`    //Время получения цены последней сделки.
	ClosePriceTs  *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=close_price_ts,json=closePriceTs,proto3" json:"close_price_ts,omitempty"` //Время получения цены закрытия.
	OrderbookTs   *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=orderbook_ts,json=orderbookTs,proto3" json:"orderbook_ts,omitempty"`      //Время формирования стакана на бирже.
	InstrumentUid string                 `protobuf:"bytes,9,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	// contains filtered or unexported fields
}

Информация о стакане.

func (*GetOrderBookResponse) Descriptor deprecated

func (*GetOrderBookResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderBookResponse.ProtoReflect.Descriptor instead.

func (*GetOrderBookResponse) GetAsks

func (x *GetOrderBookResponse) GetAsks() []*Order

func (*GetOrderBookResponse) GetBids

func (x *GetOrderBookResponse) GetBids() []*Order

func (*GetOrderBookResponse) GetClosePrice

func (x *GetOrderBookResponse) GetClosePrice() *Quotation

func (*GetOrderBookResponse) GetClosePriceTs added in v1.2.0

func (x *GetOrderBookResponse) GetClosePriceTs() *timestamppb.Timestamp

func (*GetOrderBookResponse) GetDepth

func (x *GetOrderBookResponse) GetDepth() int32

func (*GetOrderBookResponse) GetFigi

func (x *GetOrderBookResponse) GetFigi() string

func (*GetOrderBookResponse) GetInstrumentUid added in v1.2.0

func (x *GetOrderBookResponse) GetInstrumentUid() string

func (*GetOrderBookResponse) GetLastPrice

func (x *GetOrderBookResponse) GetLastPrice() *Quotation

func (*GetOrderBookResponse) GetLastPriceTs added in v1.2.0

func (x *GetOrderBookResponse) GetLastPriceTs() *timestamppb.Timestamp

func (*GetOrderBookResponse) GetLimitDown

func (x *GetOrderBookResponse) GetLimitDown() *Quotation

func (*GetOrderBookResponse) GetLimitUp

func (x *GetOrderBookResponse) GetLimitUp() *Quotation

func (*GetOrderBookResponse) GetOrderbookTs added in v1.2.0

func (x *GetOrderBookResponse) GetOrderbookTs() *timestamppb.Timestamp

func (*GetOrderBookResponse) ProtoMessage

func (*GetOrderBookResponse) ProtoMessage()

func (*GetOrderBookResponse) ProtoReflect

func (x *GetOrderBookResponse) ProtoReflect() protoreflect.Message

func (*GetOrderBookResponse) Reset

func (x *GetOrderBookResponse) Reset()

func (*GetOrderBookResponse) String

func (x *GetOrderBookResponse) String() string

type GetOrderPriceRequest added in v1.4.0

type GetOrderPriceRequest struct {
	AccountId    string         `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`          //Номер счета
	InstrumentId string         `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значения Figi или instrument_uid
	Price        *Quotation     `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`                                   //Цена инструмента
	Direction    OrderDirection ``                                                                                                  //Направление заявки
	/* 131-byte string literal not displayed */
	Quantity int64 `protobuf:"varint,13,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов
	// contains filtered or unexported fields
}

Запрос получения предварительной стоимости заявки

func (*GetOrderPriceRequest) Descriptor deprecated added in v1.4.0

func (*GetOrderPriceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderPriceRequest.ProtoReflect.Descriptor instead.

func (*GetOrderPriceRequest) GetAccountId added in v1.4.0

func (x *GetOrderPriceRequest) GetAccountId() string

func (*GetOrderPriceRequest) GetDirection added in v1.4.0

func (x *GetOrderPriceRequest) GetDirection() OrderDirection

func (*GetOrderPriceRequest) GetInstrumentId added in v1.4.0

func (x *GetOrderPriceRequest) GetInstrumentId() string

func (*GetOrderPriceRequest) GetPrice added in v1.4.0

func (x *GetOrderPriceRequest) GetPrice() *Quotation

func (*GetOrderPriceRequest) GetQuantity added in v1.4.0

func (x *GetOrderPriceRequest) GetQuantity() int64

func (*GetOrderPriceRequest) ProtoMessage added in v1.4.0

func (*GetOrderPriceRequest) ProtoMessage()

func (*GetOrderPriceRequest) ProtoReflect added in v1.4.0

func (x *GetOrderPriceRequest) ProtoReflect() protoreflect.Message

func (*GetOrderPriceRequest) Reset added in v1.4.0

func (x *GetOrderPriceRequest) Reset()

func (*GetOrderPriceRequest) String added in v1.4.0

func (x *GetOrderPriceRequest) String() string

type GetOrderPriceResponse added in v1.4.0

type GetOrderPriceResponse struct {
	TotalOrderAmount      *MoneyValue `protobuf:"bytes,1,opt,name=total_order_amount,json=totalOrderAmount,proto3" json:"total_order_amount,omitempty"`       //Итоговая стоимость заявки
	InitialOrderAmount    *MoneyValue `protobuf:"bytes,5,opt,name=initial_order_amount,json=initialOrderAmount,proto3" json:"initial_order_amount,omitempty"` //Стоимость заявки без комиссий, НКД, ГО (для фьючерсов — стоимость контрактов)
	LotsRequested         int64       `protobuf:"varint,3,opt,name=lots_requested,json=lotsRequested,proto3" json:"lots_requested,omitempty"`                 //Запрошено лотов
	ExecutedCommission    *MoneyValue `protobuf:"bytes,7,opt,name=executed_commission,json=executedCommission,proto3" json:"executed_commission,omitempty"`   //Общая комиссия
	ExecutedCommissionRub *MoneyValue ``                                                                                                                      //Общая комиссия в рублях
	/* 126-byte string literal not displayed */
	ServiceCommission *MoneyValue `protobuf:"bytes,9,opt,name=service_commission,json=serviceCommission,proto3" json:"service_commission,omitempty"` //Сервисная комиссия
	DealCommission    *MoneyValue `protobuf:"bytes,10,opt,name=deal_commission,json=dealCommission,proto3" json:"deal_commission,omitempty"`         //Комиссия за проведение сделки
	// Types that are assignable to InstrumentExtra:
	//
	//	*GetOrderPriceResponse_ExtraBond_
	//	*GetOrderPriceResponse_ExtraFuture_
	InstrumentExtra isGetOrderPriceResponse_InstrumentExtra `protobuf_oneof:"instrument_extra"`
	// contains filtered or unexported fields
}

Предварительная стоимость заявки

func (*GetOrderPriceResponse) Descriptor deprecated added in v1.4.0

func (*GetOrderPriceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderPriceResponse.ProtoReflect.Descriptor instead.

func (*GetOrderPriceResponse) GetDealCommission added in v1.4.0

func (x *GetOrderPriceResponse) GetDealCommission() *MoneyValue

func (*GetOrderPriceResponse) GetExecutedCommission added in v1.4.0

func (x *GetOrderPriceResponse) GetExecutedCommission() *MoneyValue

func (*GetOrderPriceResponse) GetExecutedCommissionRub added in v1.4.0

func (x *GetOrderPriceResponse) GetExecutedCommissionRub() *MoneyValue

func (*GetOrderPriceResponse) GetExtraBond added in v1.4.0

func (*GetOrderPriceResponse) GetExtraFuture added in v1.4.0

func (*GetOrderPriceResponse) GetInitialOrderAmount added in v1.4.0

func (x *GetOrderPriceResponse) GetInitialOrderAmount() *MoneyValue

func (*GetOrderPriceResponse) GetInstrumentExtra added in v1.4.0

func (m *GetOrderPriceResponse) GetInstrumentExtra() isGetOrderPriceResponse_InstrumentExtra

func (*GetOrderPriceResponse) GetLotsRequested added in v1.4.0

func (x *GetOrderPriceResponse) GetLotsRequested() int64

func (*GetOrderPriceResponse) GetServiceCommission added in v1.4.0

func (x *GetOrderPriceResponse) GetServiceCommission() *MoneyValue

func (*GetOrderPriceResponse) GetTotalOrderAmount added in v1.4.0

func (x *GetOrderPriceResponse) GetTotalOrderAmount() *MoneyValue

func (*GetOrderPriceResponse) ProtoMessage added in v1.4.0

func (*GetOrderPriceResponse) ProtoMessage()

func (*GetOrderPriceResponse) ProtoReflect added in v1.4.0

func (x *GetOrderPriceResponse) ProtoReflect() protoreflect.Message

func (*GetOrderPriceResponse) Reset added in v1.4.0

func (x *GetOrderPriceResponse) Reset()

func (*GetOrderPriceResponse) String added in v1.4.0

func (x *GetOrderPriceResponse) String() string

type GetOrderPriceResponse_ExtraBond added in v1.4.0

type GetOrderPriceResponse_ExtraBond struct {
	AciValue              *MoneyValue `protobuf:"bytes,2,opt,name=aci_value,json=aciValue,proto3" json:"aci_value,omitempty"` //Значение НКД (накопленного купонного дохода) на дату
	NominalConversionRate *Quotation  ``                                                                                      //Курс конвертации для замещающих облигаций
	/* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetOrderPriceResponse_ExtraBond) Descriptor deprecated added in v1.4.0

func (*GetOrderPriceResponse_ExtraBond) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderPriceResponse_ExtraBond.ProtoReflect.Descriptor instead.

func (*GetOrderPriceResponse_ExtraBond) GetAciValue added in v1.4.0

func (x *GetOrderPriceResponse_ExtraBond) GetAciValue() *MoneyValue

func (*GetOrderPriceResponse_ExtraBond) GetNominalConversionRate added in v1.4.0

func (x *GetOrderPriceResponse_ExtraBond) GetNominalConversionRate() *Quotation

func (*GetOrderPriceResponse_ExtraBond) ProtoMessage added in v1.4.0

func (*GetOrderPriceResponse_ExtraBond) ProtoMessage()

func (*GetOrderPriceResponse_ExtraBond) ProtoReflect added in v1.4.0

func (*GetOrderPriceResponse_ExtraBond) Reset added in v1.4.0

func (*GetOrderPriceResponse_ExtraBond) String added in v1.4.0

type GetOrderPriceResponse_ExtraBond_ added in v1.4.0

type GetOrderPriceResponse_ExtraBond_ struct {
	ExtraBond *GetOrderPriceResponse_ExtraBond `protobuf:"bytes,12,opt,name=extra_bond,json=extraBond,proto3,oneof"` //Дополнительная информация по облигациям
}

type GetOrderPriceResponse_ExtraFuture added in v1.4.0

type GetOrderPriceResponse_ExtraFuture struct {
	InitialMargin *MoneyValue `protobuf:"bytes,2,opt,name=initial_margin,json=initialMargin,proto3" json:"initial_margin,omitempty"` //Гарантийное обеспечение для фьючерса
	// contains filtered or unexported fields
}

func (*GetOrderPriceResponse_ExtraFuture) Descriptor deprecated added in v1.4.0

func (*GetOrderPriceResponse_ExtraFuture) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderPriceResponse_ExtraFuture.ProtoReflect.Descriptor instead.

func (*GetOrderPriceResponse_ExtraFuture) GetInitialMargin added in v1.4.0

func (x *GetOrderPriceResponse_ExtraFuture) GetInitialMargin() *MoneyValue

func (*GetOrderPriceResponse_ExtraFuture) ProtoMessage added in v1.4.0

func (*GetOrderPriceResponse_ExtraFuture) ProtoMessage()

func (*GetOrderPriceResponse_ExtraFuture) ProtoReflect added in v1.4.0

func (*GetOrderPriceResponse_ExtraFuture) Reset added in v1.4.0

func (*GetOrderPriceResponse_ExtraFuture) String added in v1.4.0

type GetOrderPriceResponse_ExtraFuture_ added in v1.4.0

type GetOrderPriceResponse_ExtraFuture_ struct {
	ExtraFuture *GetOrderPriceResponse_ExtraFuture `protobuf:"bytes,13,opt,name=extra_future,json=extraFuture,proto3,oneof"` //Дополнительная информация по фьючерсам
}

type GetOrderStateRequest

type GetOrderStateRequest struct {
	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"`       //Идентификатор заявки.
	PriceType PriceType ``                                                                                         //Тип цены.
	/* 142-byte string literal not displayed */
	OrderIdType *OrderIdType `` //Тип идентификатора заявки.
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос получения статуса торгового поручения.

func (*GetOrderStateRequest) Descriptor deprecated

func (*GetOrderStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrderStateRequest.ProtoReflect.Descriptor instead.

func (*GetOrderStateRequest) GetAccountId

func (x *GetOrderStateRequest) GetAccountId() string

func (*GetOrderStateRequest) GetOrderId

func (x *GetOrderStateRequest) GetOrderId() string

func (*GetOrderStateRequest) GetOrderIdType added in v1.5.0

func (x *GetOrderStateRequest) GetOrderIdType() OrderIdType

func (*GetOrderStateRequest) GetPriceType added in v1.4.0

func (x *GetOrderStateRequest) GetPriceType() PriceType

func (*GetOrderStateRequest) ProtoMessage

func (*GetOrderStateRequest) ProtoMessage()

func (*GetOrderStateRequest) ProtoReflect

func (x *GetOrderStateRequest) ProtoReflect() protoreflect.Message

func (*GetOrderStateRequest) Reset

func (x *GetOrderStateRequest) Reset()

func (*GetOrderStateRequest) String

func (x *GetOrderStateRequest) String() string

type GetOrdersRequest

type GetOrdersRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта.
	// contains filtered or unexported fields
}

Запрос получения списка активных торговых поручений.

func (*GetOrdersRequest) Descriptor deprecated

func (*GetOrdersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrdersRequest.ProtoReflect.Descriptor instead.

func (*GetOrdersRequest) GetAccountId

func (x *GetOrdersRequest) GetAccountId() string

func (*GetOrdersRequest) ProtoMessage

func (*GetOrdersRequest) ProtoMessage()

func (*GetOrdersRequest) ProtoReflect

func (x *GetOrdersRequest) ProtoReflect() protoreflect.Message

func (*GetOrdersRequest) Reset

func (x *GetOrdersRequest) Reset()

func (*GetOrdersRequest) String

func (x *GetOrdersRequest) String() string

type GetOrdersResponse

type GetOrdersResponse struct {
	Orders []*OrderState `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` //Массив активных заявок.
	// contains filtered or unexported fields
}

Список активных торговых поручений.

func (*GetOrdersResponse) Descriptor deprecated

func (*GetOrdersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrdersResponse.ProtoReflect.Descriptor instead.

func (*GetOrdersResponse) GetOrders

func (x *GetOrdersResponse) GetOrders() []*OrderState

func (*GetOrdersResponse) ProtoMessage

func (*GetOrdersResponse) ProtoMessage()

func (*GetOrdersResponse) ProtoReflect

func (x *GetOrdersResponse) ProtoReflect() protoreflect.Message

func (*GetOrdersResponse) Reset

func (x *GetOrdersResponse) Reset()

func (*GetOrdersResponse) String

func (x *GetOrdersResponse) String() string

type GetSignalsRequest added in v1.6.0

type GetSignalsRequest struct {
	SignalId     *string       `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3,oneof" json:"signal_id,omitempty"`       //Идентификатор сигнала.
	StrategyId   *string       `protobuf:"bytes,2,opt,name=strategy_id,json=strategyId,proto3,oneof" json:"strategy_id,omitempty"` //Идентификатор стратегии.
	StrategyType *StrategyType ``                                                                                                  //Тип стратегии.
	/* 160-byte string literal not displayed */
	InstrumentUid *string                `protobuf:"bytes,4,opt,name=instrument_uid,json=instrumentUid,proto3,oneof" json:"instrument_uid,omitempty"` //	Идентификатор бумаги
	From          *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=from,proto3,oneof" json:"from,omitempty"`                                        //	Дата начала запрашиваемого интервала в часовом поясе UTC.
	To            *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=to,proto3,oneof" json:"to,omitempty"`                                            //	Дата конца запрашиваемого интервала  в часовом поясе UTC.
	Direction     *SignalDirection       ``                                                                                                           //	Направление сигнала.
	/* 137-byte string literal not displayed */
	Active *SignalState `` //Состояние сигнала.
	/* 127-byte string literal not displayed */
	Paging *Page `protobuf:"bytes,9,opt,name=paging,proto3,oneof" json:"paging,omitempty"` //Настройки пагинации.
	// contains filtered or unexported fields
}

Запрос сигналов.

func (*GetSignalsRequest) Descriptor deprecated added in v1.6.0

func (*GetSignalsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSignalsRequest.ProtoReflect.Descriptor instead.

func (*GetSignalsRequest) GetActive added in v1.6.0

func (x *GetSignalsRequest) GetActive() SignalState

func (*GetSignalsRequest) GetDirection added in v1.6.0

func (x *GetSignalsRequest) GetDirection() SignalDirection

func (*GetSignalsRequest) GetFrom added in v1.6.0

func (x *GetSignalsRequest) GetFrom() *timestamppb.Timestamp

func (*GetSignalsRequest) GetInstrumentUid added in v1.6.0

func (x *GetSignalsRequest) GetInstrumentUid() string

func (*GetSignalsRequest) GetPaging added in v1.6.0

func (x *GetSignalsRequest) GetPaging() *Page

func (*GetSignalsRequest) GetSignalId added in v1.6.0

func (x *GetSignalsRequest) GetSignalId() string

func (*GetSignalsRequest) GetStrategyId added in v1.6.0

func (x *GetSignalsRequest) GetStrategyId() string

func (*GetSignalsRequest) GetStrategyType added in v1.6.0

func (x *GetSignalsRequest) GetStrategyType() StrategyType

func (*GetSignalsRequest) GetTo added in v1.6.0

func (*GetSignalsRequest) ProtoMessage added in v1.6.0

func (*GetSignalsRequest) ProtoMessage()

func (*GetSignalsRequest) ProtoReflect added in v1.6.0

func (x *GetSignalsRequest) ProtoReflect() protoreflect.Message

func (*GetSignalsRequest) Reset added in v1.6.0

func (x *GetSignalsRequest) Reset()

func (*GetSignalsRequest) String added in v1.6.0

func (x *GetSignalsRequest) String() string

type GetSignalsResponse added in v1.6.0

type GetSignalsResponse struct {
	Signals []*Signal     `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty"` //Массив сигналов.
	Paging  *PageResponse `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`   //Данные по пагинации.
	// contains filtered or unexported fields
}

Сигналы.

func (*GetSignalsResponse) Descriptor deprecated added in v1.6.0

func (*GetSignalsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSignalsResponse.ProtoReflect.Descriptor instead.

func (*GetSignalsResponse) GetPaging added in v1.6.0

func (x *GetSignalsResponse) GetPaging() *PageResponse

func (*GetSignalsResponse) GetSignals added in v1.6.0

func (x *GetSignalsResponse) GetSignals() []*Signal

func (*GetSignalsResponse) ProtoMessage added in v1.6.0

func (*GetSignalsResponse) ProtoMessage()

func (*GetSignalsResponse) ProtoReflect added in v1.6.0

func (x *GetSignalsResponse) ProtoReflect() protoreflect.Message

func (*GetSignalsResponse) Reset added in v1.6.0

func (x *GetSignalsResponse) Reset()

func (*GetSignalsResponse) String added in v1.6.0

func (x *GetSignalsResponse) String() string

type GetStopOrdersRequest

type GetStopOrdersRequest struct {
	AccountId string                `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента.
	Status    StopOrderStatusOption ``                                                                                         //Статус заявок.
	/* 131-byte string literal not displayed */
	From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` //Левая граница.
	To   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`     //Правая граница.
	// contains filtered or unexported fields
}

Запрос получения списка активных стоп-заявок.

func (*GetStopOrdersRequest) Descriptor deprecated

func (*GetStopOrdersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStopOrdersRequest.ProtoReflect.Descriptor instead.

func (*GetStopOrdersRequest) GetAccountId

func (x *GetStopOrdersRequest) GetAccountId() string

func (*GetStopOrdersRequest) GetFrom added in v1.4.0

func (*GetStopOrdersRequest) GetStatus added in v1.4.0

func (*GetStopOrdersRequest) GetTo added in v1.4.0

func (*GetStopOrdersRequest) ProtoMessage

func (*GetStopOrdersRequest) ProtoMessage()

func (*GetStopOrdersRequest) ProtoReflect

func (x *GetStopOrdersRequest) ProtoReflect() protoreflect.Message

func (*GetStopOrdersRequest) Reset

func (x *GetStopOrdersRequest) Reset()

func (*GetStopOrdersRequest) String

func (x *GetStopOrdersRequest) String() string

type GetStopOrdersResponse

type GetStopOrdersResponse struct {
	StopOrders []*StopOrder `protobuf:"bytes,1,rep,name=stop_orders,json=stopOrders,proto3" json:"stop_orders,omitempty"` //Массив стоп-заявок по счёту.
	// contains filtered or unexported fields
}

Список активных стоп-заявок.

func (*GetStopOrdersResponse) Descriptor deprecated

func (*GetStopOrdersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStopOrdersResponse.ProtoReflect.Descriptor instead.

func (*GetStopOrdersResponse) GetStopOrders

func (x *GetStopOrdersResponse) GetStopOrders() []*StopOrder

func (*GetStopOrdersResponse) ProtoMessage

func (*GetStopOrdersResponse) ProtoMessage()

func (*GetStopOrdersResponse) ProtoReflect

func (x *GetStopOrdersResponse) ProtoReflect() protoreflect.Message

func (*GetStopOrdersResponse) Reset

func (x *GetStopOrdersResponse) Reset()

func (*GetStopOrdersResponse) String

func (x *GetStopOrdersResponse) String() string

type GetStrategiesRequest added in v1.6.0

type GetStrategiesRequest struct {
	StrategyId *string `protobuf:"bytes,1,opt,name=strategy_id,json=strategyId,proto3,oneof" json:"strategy_id,omitempty"` //Идентификатор стратегии
	// contains filtered or unexported fields
}

Запрос стратегий.

func (*GetStrategiesRequest) Descriptor deprecated added in v1.6.0

func (*GetStrategiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStrategiesRequest.ProtoReflect.Descriptor instead.

func (*GetStrategiesRequest) GetStrategyId added in v1.6.0

func (x *GetStrategiesRequest) GetStrategyId() string

func (*GetStrategiesRequest) ProtoMessage added in v1.6.0

func (*GetStrategiesRequest) ProtoMessage()

func (*GetStrategiesRequest) ProtoReflect added in v1.6.0

func (x *GetStrategiesRequest) ProtoReflect() protoreflect.Message

func (*GetStrategiesRequest) Reset added in v1.6.0

func (x *GetStrategiesRequest) Reset()

func (*GetStrategiesRequest) String added in v1.6.0

func (x *GetStrategiesRequest) String() string

type GetStrategiesResponse added in v1.6.0

type GetStrategiesResponse struct {
	Strategies []*Strategy `protobuf:"bytes,1,rep,name=strategies,proto3" json:"strategies,omitempty"`
	// contains filtered or unexported fields
}

Стратегии

func (*GetStrategiesResponse) Descriptor deprecated added in v1.6.0

func (*GetStrategiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStrategiesResponse.ProtoReflect.Descriptor instead.

func (*GetStrategiesResponse) GetStrategies added in v1.6.0

func (x *GetStrategiesResponse) GetStrategies() []*Strategy

func (*GetStrategiesResponse) ProtoMessage added in v1.6.0

func (*GetStrategiesResponse) ProtoMessage()

func (*GetStrategiesResponse) ProtoReflect added in v1.6.0

func (x *GetStrategiesResponse) ProtoReflect() protoreflect.Message

func (*GetStrategiesResponse) Reset added in v1.6.0

func (x *GetStrategiesResponse) Reset()

func (*GetStrategiesResponse) String added in v1.6.0

func (x *GetStrategiesResponse) String() string

type GetTechAnalysisRequest added in v1.4.0

type GetTechAnalysisRequest struct {
	IndicatorType GetTechAnalysisRequest_IndicatorType `` //Тип технического индикатора.
	/* 181-byte string literal not displayed */
	InstrumentUid string                                   `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	From          *timestamppb.Timestamp                   `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`                                        //Начало запрашиваемого периода по UTC.
	To            *timestamppb.Timestamp                   `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`                                            //Окончание запрашиваемого периода по UTC.
	Interval      GetTechAnalysisRequest_IndicatorInterval ``                                                                                                     //Интервал, за который рассчитывается индикатор.
	/* 154-byte string literal not displayed */
	TypeOfPrice GetTechAnalysisRequest_TypeOfPrice `` //Тип цены, который используется при расчёте индикатора.
	/* 175-byte string literal not displayed */
	Length    int32                             `protobuf:"varint,7,opt,name=length,proto3" json:"length,omitempty"`      //Торговый период, за который рассчитывается индикатор.
	Deviation *GetTechAnalysisRequest_Deviation `protobuf:"bytes,8,opt,name=deviation,proto3" json:"deviation,omitempty"` //Параметры отклонения.
	Smoothing *GetTechAnalysisRequest_Smoothing `protobuf:"bytes,9,opt,name=smoothing,proto3" json:"smoothing,omitempty"` //Параметры сглаживания.
	// contains filtered or unexported fields
}

func (*GetTechAnalysisRequest) Descriptor deprecated added in v1.4.0

func (*GetTechAnalysisRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisRequest.ProtoReflect.Descriptor instead.

func (*GetTechAnalysisRequest) GetDeviation added in v1.4.0

func (*GetTechAnalysisRequest) GetFrom added in v1.4.0

func (*GetTechAnalysisRequest) GetIndicatorType added in v1.4.0

func (*GetTechAnalysisRequest) GetInstrumentUid added in v1.4.0

func (x *GetTechAnalysisRequest) GetInstrumentUid() string

func (*GetTechAnalysisRequest) GetInterval added in v1.4.0

func (*GetTechAnalysisRequest) GetLength added in v1.4.0

func (x *GetTechAnalysisRequest) GetLength() int32

func (*GetTechAnalysisRequest) GetSmoothing added in v1.4.0

func (*GetTechAnalysisRequest) GetTo added in v1.4.0

func (*GetTechAnalysisRequest) GetTypeOfPrice added in v1.4.0

func (*GetTechAnalysisRequest) ProtoMessage added in v1.4.0

func (*GetTechAnalysisRequest) ProtoMessage()

func (*GetTechAnalysisRequest) ProtoReflect added in v1.4.0

func (x *GetTechAnalysisRequest) ProtoReflect() protoreflect.Message

func (*GetTechAnalysisRequest) Reset added in v1.4.0

func (x *GetTechAnalysisRequest) Reset()

func (*GetTechAnalysisRequest) String added in v1.4.0

func (x *GetTechAnalysisRequest) String() string

type GetTechAnalysisRequest_Deviation added in v1.4.0

type GetTechAnalysisRequest_Deviation struct {
	DeviationMultiplier *Quotation `protobuf:"bytes,1,opt,name=deviation_multiplier,json=deviationMultiplier,proto3" json:"deviation_multiplier,omitempty"` //Количество стандартных отклонений, на которые отступают верхняя и нижняя границы.
	// contains filtered or unexported fields
}

func (*GetTechAnalysisRequest_Deviation) Descriptor deprecated added in v1.4.0

func (*GetTechAnalysisRequest_Deviation) Descriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisRequest_Deviation.ProtoReflect.Descriptor instead.

func (*GetTechAnalysisRequest_Deviation) GetDeviationMultiplier added in v1.4.0

func (x *GetTechAnalysisRequest_Deviation) GetDeviationMultiplier() *Quotation

func (*GetTechAnalysisRequest_Deviation) ProtoMessage added in v1.4.0

func (*GetTechAnalysisRequest_Deviation) ProtoMessage()

func (*GetTechAnalysisRequest_Deviation) ProtoReflect added in v1.4.0

func (*GetTechAnalysisRequest_Deviation) Reset added in v1.4.0

func (*GetTechAnalysisRequest_Deviation) String added in v1.4.0

type GetTechAnalysisRequest_IndicatorInterval added in v1.4.0

type GetTechAnalysisRequest_IndicatorInterval int32

Интервал свечи.

const (
	GetTechAnalysisRequest_INDICATOR_INTERVAL_UNSPECIFIED     GetTechAnalysisRequest_IndicatorInterval = 0  //Интервал не определён.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_ONE_MINUTE      GetTechAnalysisRequest_IndicatorInterval = 1  //1 минута.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_FIVE_MINUTES    GetTechAnalysisRequest_IndicatorInterval = 2  //5 минут.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_FIFTEEN_MINUTES GetTechAnalysisRequest_IndicatorInterval = 3  //15 минут.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_ONE_HOUR        GetTechAnalysisRequest_IndicatorInterval = 4  //1 час.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_ONE_DAY         GetTechAnalysisRequest_IndicatorInterval = 5  //1 день.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_2_MIN           GetTechAnalysisRequest_IndicatorInterval = 6  //2 минуты.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_3_MIN           GetTechAnalysisRequest_IndicatorInterval = 7  //3 минуты.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_10_MIN          GetTechAnalysisRequest_IndicatorInterval = 8  //10 минут.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_30_MIN          GetTechAnalysisRequest_IndicatorInterval = 9  //30 минут.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_2_HOUR          GetTechAnalysisRequest_IndicatorInterval = 10 //2 часа.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_4_HOUR          GetTechAnalysisRequest_IndicatorInterval = 11 //4 часа.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_WEEK            GetTechAnalysisRequest_IndicatorInterval = 12 //Неделя.
	GetTechAnalysisRequest_INDICATOR_INTERVAL_MONTH           GetTechAnalysisRequest_IndicatorInterval = 13 //Месяц.
)

func (GetTechAnalysisRequest_IndicatorInterval) Descriptor added in v1.4.0

func (GetTechAnalysisRequest_IndicatorInterval) Enum added in v1.4.0

func (GetTechAnalysisRequest_IndicatorInterval) EnumDescriptor deprecated added in v1.4.0

func (GetTechAnalysisRequest_IndicatorInterval) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisRequest_IndicatorInterval.Descriptor instead.

func (GetTechAnalysisRequest_IndicatorInterval) Number added in v1.4.0

func (GetTechAnalysisRequest_IndicatorInterval) String added in v1.4.0

func (GetTechAnalysisRequest_IndicatorInterval) Type added in v1.4.0

type GetTechAnalysisRequest_IndicatorType added in v1.4.0

type GetTechAnalysisRequest_IndicatorType int32
const (
	GetTechAnalysisRequest_INDICATOR_TYPE_UNSPECIFIED GetTechAnalysisRequest_IndicatorType = 0 //Не определён.
	GetTechAnalysisRequest_INDICATOR_TYPE_BB          GetTechAnalysisRequest_IndicatorType = 1 //Bollinger Bands — линия Боллинжера.
	GetTechAnalysisRequest_INDICATOR_TYPE_EMA         GetTechAnalysisRequest_IndicatorType = 2 //Exponential Moving Average — EMA, экспоненциальная скользящая средняя.
	GetTechAnalysisRequest_INDICATOR_TYPE_RSI         GetTechAnalysisRequest_IndicatorType = 3 //Relative Strength Index — индекс относительной силы.
	GetTechAnalysisRequest_INDICATOR_TYPE_MACD        GetTechAnalysisRequest_IndicatorType = 4 //Moving Average Convergence/Divergence — схождение/расхождение скользящих средних.
	GetTechAnalysisRequest_INDICATOR_TYPE_SMA         GetTechAnalysisRequest_IndicatorType = 5 //Simple Moving Average — простое скользящее среднее.
)

func (GetTechAnalysisRequest_IndicatorType) Descriptor added in v1.4.0

func (GetTechAnalysisRequest_IndicatorType) Enum added in v1.4.0

func (GetTechAnalysisRequest_IndicatorType) EnumDescriptor deprecated added in v1.4.0

func (GetTechAnalysisRequest_IndicatorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisRequest_IndicatorType.Descriptor instead.

func (GetTechAnalysisRequest_IndicatorType) Number added in v1.4.0

func (GetTechAnalysisRequest_IndicatorType) String added in v1.4.0

func (GetTechAnalysisRequest_IndicatorType) Type added in v1.4.0

type GetTechAnalysisRequest_Smoothing added in v1.4.0

type GetTechAnalysisRequest_Smoothing struct {
	FastLength      int32 `protobuf:"varint,1,opt,name=fast_length,json=fastLength,proto3" json:"fast_length,omitempty"`                //Короткий период сглаживания для первой экспоненциальной скользящей средней (EMA).
	SlowLength      int32 `protobuf:"varint,2,opt,name=slow_length,json=slowLength,proto3" json:"slow_length,omitempty"`                //Длинный период сглаживания для второй экспоненциальной скользящей средней (EMA).
	SignalSmoothing int32 `protobuf:"varint,3,opt,name=signal_smoothing,json=signalSmoothing,proto3" json:"signal_smoothing,omitempty"` //Период сглаживания для третьей экспоненциальной скользящей средней (EMA)
	// contains filtered or unexported fields
}

func (*GetTechAnalysisRequest_Smoothing) Descriptor deprecated added in v1.4.0

func (*GetTechAnalysisRequest_Smoothing) Descriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisRequest_Smoothing.ProtoReflect.Descriptor instead.

func (*GetTechAnalysisRequest_Smoothing) GetFastLength added in v1.4.0

func (x *GetTechAnalysisRequest_Smoothing) GetFastLength() int32

func (*GetTechAnalysisRequest_Smoothing) GetSignalSmoothing added in v1.4.0

func (x *GetTechAnalysisRequest_Smoothing) GetSignalSmoothing() int32

func (*GetTechAnalysisRequest_Smoothing) GetSlowLength added in v1.4.0

func (x *GetTechAnalysisRequest_Smoothing) GetSlowLength() int32

func (*GetTechAnalysisRequest_Smoothing) ProtoMessage added in v1.4.0

func (*GetTechAnalysisRequest_Smoothing) ProtoMessage()

func (*GetTechAnalysisRequest_Smoothing) ProtoReflect added in v1.4.0

func (*GetTechAnalysisRequest_Smoothing) Reset added in v1.4.0

func (*GetTechAnalysisRequest_Smoothing) String added in v1.4.0

type GetTechAnalysisRequest_TypeOfPrice added in v1.4.0

type GetTechAnalysisRequest_TypeOfPrice int32
const (
	GetTechAnalysisRequest_TYPE_OF_PRICE_UNSPECIFIED GetTechAnalysisRequest_TypeOfPrice = 0 //Не указано.
	GetTechAnalysisRequest_TYPE_OF_PRICE_CLOSE       GetTechAnalysisRequest_TypeOfPrice = 1 //Цена закрытия.
	GetTechAnalysisRequest_TYPE_OF_PRICE_OPEN        GetTechAnalysisRequest_TypeOfPrice = 2 //Цена открытия.
	GetTechAnalysisRequest_TYPE_OF_PRICE_HIGH        GetTechAnalysisRequest_TypeOfPrice = 3 //Максимальное значение за выбранный интервал.
	GetTechAnalysisRequest_TYPE_OF_PRICE_LOW         GetTechAnalysisRequest_TypeOfPrice = 4 //Минимальное значение за выбранный интервал.
	GetTechAnalysisRequest_TYPE_OF_PRICE_AVG         GetTechAnalysisRequest_TypeOfPrice = 5 //Среднее значение по показателям [ (close + open + high + low) / 4 ].
)

func (GetTechAnalysisRequest_TypeOfPrice) Descriptor added in v1.4.0

func (GetTechAnalysisRequest_TypeOfPrice) Enum added in v1.4.0

func (GetTechAnalysisRequest_TypeOfPrice) EnumDescriptor deprecated added in v1.4.0

func (GetTechAnalysisRequest_TypeOfPrice) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisRequest_TypeOfPrice.Descriptor instead.

func (GetTechAnalysisRequest_TypeOfPrice) Number added in v1.4.0

func (GetTechAnalysisRequest_TypeOfPrice) String added in v1.4.0

func (GetTechAnalysisRequest_TypeOfPrice) Type added in v1.4.0

type GetTechAnalysisResponse added in v1.4.0

type GetTechAnalysisResponse struct {
	TechnicalIndicators []*GetTechAnalysisResponse_TechAnalysisItem `protobuf:"bytes,1,rep,name=technical_indicators,json=technicalIndicators,proto3" json:"technical_indicators,omitempty"` //Массив значений результатов технического анализа.
	// contains filtered or unexported fields
}

func (*GetTechAnalysisResponse) Descriptor deprecated added in v1.4.0

func (*GetTechAnalysisResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisResponse.ProtoReflect.Descriptor instead.

func (*GetTechAnalysisResponse) GetTechnicalIndicators added in v1.4.0

func (*GetTechAnalysisResponse) ProtoMessage added in v1.4.0

func (*GetTechAnalysisResponse) ProtoMessage()

func (*GetTechAnalysisResponse) ProtoReflect added in v1.4.0

func (x *GetTechAnalysisResponse) ProtoReflect() protoreflect.Message

func (*GetTechAnalysisResponse) Reset added in v1.4.0

func (x *GetTechAnalysisResponse) Reset()

func (*GetTechAnalysisResponse) String added in v1.4.0

func (x *GetTechAnalysisResponse) String() string

type GetTechAnalysisResponse_TechAnalysisItem added in v1.4.0

type GetTechAnalysisResponse_TechAnalysisItem struct {
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`                           //Временная метка по UTC, для которой были рассчитаны значения индикатора.
	MiddleBand *Quotation             `protobuf:"bytes,2,opt,name=middle_band,json=middleBand,proto3,oneof" json:"middle_band,omitempty"` //Значение простого скользящего среднего (средней линии).
	UpperBand  *Quotation             `protobuf:"bytes,3,opt,name=upper_band,json=upperBand,proto3,oneof" json:"upper_band,omitempty"`    //Значение верхней линии Боллинджера.
	LowerBand  *Quotation             `protobuf:"bytes,4,opt,name=lower_band,json=lowerBand,proto3,oneof" json:"lower_band,omitempty"`    //Значение нижней линии Боллинджера.
	Signal     *Quotation             `protobuf:"bytes,5,opt,name=signal,proto3,oneof" json:"signal,omitempty"`                           //Значение сигнальной линии.
	Macd       *Quotation             `protobuf:"bytes,6,opt,name=macd,proto3,oneof" json:"macd,omitempty"`                               //Значение линии MACD.
	// contains filtered or unexported fields
}

func (*GetTechAnalysisResponse_TechAnalysisItem) Descriptor deprecated added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) Descriptor() ([]byte, []int)

Deprecated: Use GetTechAnalysisResponse_TechAnalysisItem.ProtoReflect.Descriptor instead.

func (*GetTechAnalysisResponse_TechAnalysisItem) GetLowerBand added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) GetMacd added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) GetMiddleBand added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) GetSignal added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) GetTimestamp added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) GetUpperBand added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) ProtoMessage added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) ProtoReflect added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) Reset added in v1.4.0

func (*GetTechAnalysisResponse_TechAnalysisItem) String added in v1.4.0

type GetTradingStatusRequest

type GetTradingStatusRequest struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi         *string `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	InstrumentId *string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3,oneof" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос получения торгового статуса.

func (*GetTradingStatusRequest) Descriptor deprecated

func (*GetTradingStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTradingStatusRequest.ProtoReflect.Descriptor instead.

func (*GetTradingStatusRequest) GetFigi deprecated

func (x *GetTradingStatusRequest) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*GetTradingStatusRequest) GetInstrumentId added in v1.2.0

func (x *GetTradingStatusRequest) GetInstrumentId() string

func (*GetTradingStatusRequest) ProtoMessage

func (*GetTradingStatusRequest) ProtoMessage()

func (*GetTradingStatusRequest) ProtoReflect

func (x *GetTradingStatusRequest) ProtoReflect() protoreflect.Message

func (*GetTradingStatusRequest) Reset

func (x *GetTradingStatusRequest) Reset()

func (*GetTradingStatusRequest) String

func (x *GetTradingStatusRequest) String() string

type GetTradingStatusResponse

type GetTradingStatusResponse struct {
	Figi          string                `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	TradingStatus SecurityTradingStatus ``                                                              //Статус торговли инструментом.
	/* 166-byte string literal not displayed */
	LimitOrderAvailableFlag bool `` //Признак доступности выставления лимитной заявки по инструменту.
	/* 135-byte string literal not displayed */
	MarketOrderAvailableFlag bool `` //Признак доступности выставления рыночной заявки по инструменту.
	/* 138-byte string literal not displayed */
	ApiTradeAvailableFlag bool `` //Признак доступности торгов через API.
	/* 129-byte string literal not displayed */
	InstrumentUid               string `protobuf:"bytes,6,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	BestpriceOrderAvailableFlag bool   ``                                                                                                     //Признак доступности завяки по лучшей цене.
	/* 147-byte string literal not displayed */
	OnlyBestPrice bool `protobuf:"varint,9,opt,name=only_best_price,json=onlyBestPrice,proto3" json:"only_best_price,omitempty"` //Признак доступности только заявки по лучшей цене.
	// contains filtered or unexported fields
}

Информация о торговом статусе.

func (*GetTradingStatusResponse) Descriptor deprecated

func (*GetTradingStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTradingStatusResponse.ProtoReflect.Descriptor instead.

func (*GetTradingStatusResponse) GetApiTradeAvailableFlag

func (x *GetTradingStatusResponse) GetApiTradeAvailableFlag() bool

func (*GetTradingStatusResponse) GetBestpriceOrderAvailableFlag added in v1.4.0

func (x *GetTradingStatusResponse) GetBestpriceOrderAvailableFlag() bool

func (*GetTradingStatusResponse) GetFigi

func (x *GetTradingStatusResponse) GetFigi() string

func (*GetTradingStatusResponse) GetInstrumentUid added in v1.2.0

func (x *GetTradingStatusResponse) GetInstrumentUid() string

func (*GetTradingStatusResponse) GetLimitOrderAvailableFlag

func (x *GetTradingStatusResponse) GetLimitOrderAvailableFlag() bool

func (*GetTradingStatusResponse) GetMarketOrderAvailableFlag

func (x *GetTradingStatusResponse) GetMarketOrderAvailableFlag() bool

func (*GetTradingStatusResponse) GetOnlyBestPrice added in v1.4.0

func (x *GetTradingStatusResponse) GetOnlyBestPrice() bool

func (*GetTradingStatusResponse) GetTradingStatus

func (x *GetTradingStatusResponse) GetTradingStatus() SecurityTradingStatus

func (*GetTradingStatusResponse) ProtoMessage

func (*GetTradingStatusResponse) ProtoMessage()

func (*GetTradingStatusResponse) ProtoReflect

func (x *GetTradingStatusResponse) ProtoReflect() protoreflect.Message

func (*GetTradingStatusResponse) Reset

func (x *GetTradingStatusResponse) Reset()

func (*GetTradingStatusResponse) String

func (x *GetTradingStatusResponse) String() string

type GetTradingStatusesRequest added in v1.2.4

type GetTradingStatusesRequest struct {
	InstrumentId []string `protobuf:"bytes,1,rep,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос получения торгового статуса.

func (*GetTradingStatusesRequest) Descriptor deprecated added in v1.2.4

func (*GetTradingStatusesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTradingStatusesRequest.ProtoReflect.Descriptor instead.

func (*GetTradingStatusesRequest) GetInstrumentId added in v1.2.4

func (x *GetTradingStatusesRequest) GetInstrumentId() []string

func (*GetTradingStatusesRequest) ProtoMessage added in v1.2.4

func (*GetTradingStatusesRequest) ProtoMessage()

func (*GetTradingStatusesRequest) ProtoReflect added in v1.2.4

func (*GetTradingStatusesRequest) Reset added in v1.2.4

func (x *GetTradingStatusesRequest) Reset()

func (*GetTradingStatusesRequest) String added in v1.2.4

func (x *GetTradingStatusesRequest) String() string

type GetTradingStatusesResponse added in v1.2.4

type GetTradingStatusesResponse struct {
	TradingStatuses []*GetTradingStatusResponse `protobuf:"bytes,1,rep,name=trading_statuses,json=tradingStatuses,proto3" json:"trading_statuses,omitempty"` //Массив информации о торговых статусах.
	// contains filtered or unexported fields
}

Информация о торговом статусе.

func (*GetTradingStatusesResponse) Descriptor deprecated added in v1.2.4

func (*GetTradingStatusesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTradingStatusesResponse.ProtoReflect.Descriptor instead.

func (*GetTradingStatusesResponse) GetTradingStatuses added in v1.2.4

func (x *GetTradingStatusesResponse) GetTradingStatuses() []*GetTradingStatusResponse

func (*GetTradingStatusesResponse) ProtoMessage added in v1.2.4

func (*GetTradingStatusesResponse) ProtoMessage()

func (*GetTradingStatusesResponse) ProtoReflect added in v1.2.4

func (*GetTradingStatusesResponse) Reset added in v1.2.4

func (x *GetTradingStatusesResponse) Reset()

func (*GetTradingStatusesResponse) String added in v1.2.4

func (x *GetTradingStatusesResponse) String() string

type GetUserTariffRequest

type GetUserTariffRequest struct {
	// contains filtered or unexported fields
}

Запрос текущих лимитов пользователя.

func (*GetUserTariffRequest) Descriptor deprecated

func (*GetUserTariffRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserTariffRequest.ProtoReflect.Descriptor instead.

func (*GetUserTariffRequest) ProtoMessage

func (*GetUserTariffRequest) ProtoMessage()

func (*GetUserTariffRequest) ProtoReflect

func (x *GetUserTariffRequest) ProtoReflect() protoreflect.Message

func (*GetUserTariffRequest) Reset

func (x *GetUserTariffRequest) Reset()

func (*GetUserTariffRequest) String

func (x *GetUserTariffRequest) String() string

type GetUserTariffResponse

type GetUserTariffResponse struct {
	UnaryLimits  []*UnaryLimit  `protobuf:"bytes,1,rep,name=unary_limits,json=unaryLimits,proto3" json:"unary_limits,omitempty"`    //Массив лимитов пользователя по unary-запросам.
	StreamLimits []*StreamLimit `protobuf:"bytes,2,rep,name=stream_limits,json=streamLimits,proto3" json:"stream_limits,omitempty"` //Массив лимитов пользователей для stream-соединений.
	// contains filtered or unexported fields
}

Текущие лимиты пользователя.

func (*GetUserTariffResponse) Descriptor deprecated

func (*GetUserTariffResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserTariffResponse.ProtoReflect.Descriptor instead.

func (*GetUserTariffResponse) GetStreamLimits

func (x *GetUserTariffResponse) GetStreamLimits() []*StreamLimit

func (*GetUserTariffResponse) GetUnaryLimits

func (x *GetUserTariffResponse) GetUnaryLimits() []*UnaryLimit

func (*GetUserTariffResponse) ProtoMessage

func (*GetUserTariffResponse) ProtoMessage()

func (*GetUserTariffResponse) ProtoReflect

func (x *GetUserTariffResponse) ProtoReflect() protoreflect.Message

func (*GetUserTariffResponse) Reset

func (x *GetUserTariffResponse) Reset()

func (*GetUserTariffResponse) String

func (x *GetUserTariffResponse) String() string

type HistoricCandle

type HistoricCandle struct {
	Open             *Quotation             `protobuf:"bytes,1,opt,name=open,proto3" json:"open,omitempty"`                                //Цена открытия за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	High             *Quotation             `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"`                                //Максимальная цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Low              *Quotation             `protobuf:"bytes,3,opt,name=low,proto3" json:"low,omitempty"`                                  //Минимальная цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Close            *Quotation             `protobuf:"bytes,4,opt,name=close,proto3" json:"close,omitempty"`                              //Цена закрытия за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Volume           int64                  `protobuf:"varint,5,opt,name=volume,proto3" json:"volume,omitempty"`                           //Объём торгов в лотах.
	Time             *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`                                //Время свечи в часовом поясе UTC.
	IsComplete       bool                   `protobuf:"varint,7,opt,name=is_complete,json=isComplete,proto3" json:"is_complete,omitempty"` //Признак завершённости свечи. **false** — свеча за текущие интервал ещё сформирована не полностью.
	CandleSourceType CandleSource           ``                                                                                             //Тип источника свечи
	/* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

Информация о свече.

func (*HistoricCandle) Descriptor deprecated

func (*HistoricCandle) Descriptor() ([]byte, []int)

Deprecated: Use HistoricCandle.ProtoReflect.Descriptor instead.

func (*HistoricCandle) GetCandleSourceType added in v1.8.1

func (x *HistoricCandle) GetCandleSourceType() CandleSource

func (*HistoricCandle) GetClose

func (x *HistoricCandle) GetClose() *Quotation

func (*HistoricCandle) GetHigh

func (x *HistoricCandle) GetHigh() *Quotation

func (*HistoricCandle) GetIsComplete

func (x *HistoricCandle) GetIsComplete() bool

func (*HistoricCandle) GetLow

func (x *HistoricCandle) GetLow() *Quotation

func (*HistoricCandle) GetOpen

func (x *HistoricCandle) GetOpen() *Quotation

func (*HistoricCandle) GetTime

func (x *HistoricCandle) GetTime() *timestamppb.Timestamp

func (*HistoricCandle) GetVolume

func (x *HistoricCandle) GetVolume() int64

func (*HistoricCandle) ProtoMessage

func (*HistoricCandle) ProtoMessage()

func (*HistoricCandle) ProtoReflect

func (x *HistoricCandle) ProtoReflect() protoreflect.Message

func (*HistoricCandle) Reset

func (x *HistoricCandle) Reset()

func (*HistoricCandle) String

func (x *HistoricCandle) String() string

type IndicativeResponse added in v1.4.0

type IndicativeResponse struct {
	Figi           string         `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            // FIGI-идентификатор инструмента.
	Ticker         string         `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        // Тикер инструмента.
	ClassCode      string         `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` // Класс-код инструмента.
	Currency       string         `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`                    // Валюта расчётов.
	InstrumentKind InstrumentType ``                                                                                         //Тип инструмента.
	/* 163-byte string literal not displayed */
	Name              string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`                                                        // Название инструмента.
	Exchange          string `protobuf:"bytes,13,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                // Tорговая площадка (секция биржи).
	Uid               string `protobuf:"bytes,14,opt,name=uid,proto3" json:"uid,omitempty"`                                                          // Уникальный идентификатор инструмента.
	BuyAvailableFlag  bool   `protobuf:"varint,404,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`    // Признак доступности для покупки.
	SellAvailableFlag bool   `protobuf:"varint,405,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` // Признак доступности для продажи.
	// contains filtered or unexported fields
}

Индикатив

func (*IndicativeResponse) Descriptor deprecated added in v1.4.0

func (*IndicativeResponse) Descriptor() ([]byte, []int)

Deprecated: Use IndicativeResponse.ProtoReflect.Descriptor instead.

func (*IndicativeResponse) GetBuyAvailableFlag added in v1.4.0

func (x *IndicativeResponse) GetBuyAvailableFlag() bool

func (*IndicativeResponse) GetClassCode added in v1.4.0

func (x *IndicativeResponse) GetClassCode() string

func (*IndicativeResponse) GetCurrency added in v1.4.0

func (x *IndicativeResponse) GetCurrency() string

func (*IndicativeResponse) GetExchange added in v1.4.0

func (x *IndicativeResponse) GetExchange() string

func (*IndicativeResponse) GetFigi added in v1.4.0

func (x *IndicativeResponse) GetFigi() string

func (*IndicativeResponse) GetInstrumentKind added in v1.4.0

func (x *IndicativeResponse) GetInstrumentKind() InstrumentType

func (*IndicativeResponse) GetName added in v1.4.0

func (x *IndicativeResponse) GetName() string

func (*IndicativeResponse) GetSellAvailableFlag added in v1.4.0

func (x *IndicativeResponse) GetSellAvailableFlag() bool

func (*IndicativeResponse) GetTicker added in v1.4.0

func (x *IndicativeResponse) GetTicker() string

func (*IndicativeResponse) GetUid added in v1.4.0

func (x *IndicativeResponse) GetUid() string

func (*IndicativeResponse) ProtoMessage added in v1.4.0

func (*IndicativeResponse) ProtoMessage()

func (*IndicativeResponse) ProtoReflect added in v1.4.0

func (x *IndicativeResponse) ProtoReflect() protoreflect.Message

func (*IndicativeResponse) Reset added in v1.4.0

func (x *IndicativeResponse) Reset()

func (*IndicativeResponse) String added in v1.4.0

func (x *IndicativeResponse) String() string

type IndicativesRequest added in v1.4.0

type IndicativesRequest struct {
	// contains filtered or unexported fields
}

Запрос справочника индексов и товаров

func (*IndicativesRequest) Descriptor deprecated added in v1.4.0

func (*IndicativesRequest) Descriptor() ([]byte, []int)

Deprecated: Use IndicativesRequest.ProtoReflect.Descriptor instead.

func (*IndicativesRequest) ProtoMessage added in v1.4.0

func (*IndicativesRequest) ProtoMessage()

func (*IndicativesRequest) ProtoReflect added in v1.4.0

func (x *IndicativesRequest) ProtoReflect() protoreflect.Message

func (*IndicativesRequest) Reset added in v1.4.0

func (x *IndicativesRequest) Reset()

func (*IndicativesRequest) String added in v1.4.0

func (x *IndicativesRequest) String() string

type IndicativesResponse added in v1.4.0

type IndicativesResponse struct {
	Instruments []*IndicativeResponse `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` // Массив инструментов.
	// contains filtered or unexported fields
}

Справочник индексов и товаров

func (*IndicativesResponse) Descriptor deprecated added in v1.4.0

func (*IndicativesResponse) Descriptor() ([]byte, []int)

Deprecated: Use IndicativesResponse.ProtoReflect.Descriptor instead.

func (*IndicativesResponse) GetInstruments added in v1.4.0

func (x *IndicativesResponse) GetInstruments() []*IndicativeResponse

func (*IndicativesResponse) ProtoMessage added in v1.4.0

func (*IndicativesResponse) ProtoMessage()

func (*IndicativesResponse) ProtoReflect added in v1.4.0

func (x *IndicativesResponse) ProtoReflect() protoreflect.Message

func (*IndicativesResponse) Reset added in v1.4.0

func (x *IndicativesResponse) Reset()

func (*IndicativesResponse) String added in v1.4.0

func (x *IndicativesResponse) String() string

type InfoInstrument

type InfoInstrument struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi         string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте instrument_id`.
	InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос подписки на торговый статус.

func (*InfoInstrument) Descriptor deprecated

func (*InfoInstrument) Descriptor() ([]byte, []int)

Deprecated: Use InfoInstrument.ProtoReflect.Descriptor instead.

func (*InfoInstrument) GetFigi deprecated

func (x *InfoInstrument) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*InfoInstrument) GetInstrumentId added in v1.2.0

func (x *InfoInstrument) GetInstrumentId() string

func (*InfoInstrument) ProtoMessage

func (*InfoInstrument) ProtoMessage()

func (*InfoInstrument) ProtoReflect

func (x *InfoInstrument) ProtoReflect() protoreflect.Message

func (*InfoInstrument) Reset

func (x *InfoInstrument) Reset()

func (*InfoInstrument) String

func (x *InfoInstrument) String() string

type InfoSubscription

type InfoSubscription struct {
	Figi               string             `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	SubscriptionStatus SubscriptionStatus ``                                                              //Статус подписки.
	/* 178-byte string literal not displayed */
	InstrumentUid  string `protobuf:"bytes,3,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`    //UID инструмента.
	StreamId       string `protobuf:"bytes,4,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                   //Идентификатор открытого соединения.
	SubscriptionId string `protobuf:"bytes,5,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` //Идентификатор подписки в формате UUID.
	// contains filtered or unexported fields
}

Статус подписки.

func (*InfoSubscription) Descriptor deprecated

func (*InfoSubscription) Descriptor() ([]byte, []int)

Deprecated: Use InfoSubscription.ProtoReflect.Descriptor instead.

func (*InfoSubscription) GetFigi

func (x *InfoSubscription) GetFigi() string

func (*InfoSubscription) GetInstrumentUid added in v1.2.0

func (x *InfoSubscription) GetInstrumentUid() string

func (*InfoSubscription) GetStreamId added in v1.4.0

func (x *InfoSubscription) GetStreamId() string

func (*InfoSubscription) GetSubscriptionId added in v1.4.0

func (x *InfoSubscription) GetSubscriptionId() string

func (*InfoSubscription) GetSubscriptionStatus

func (x *InfoSubscription) GetSubscriptionStatus() SubscriptionStatus

func (*InfoSubscription) ProtoMessage

func (*InfoSubscription) ProtoMessage()

func (*InfoSubscription) ProtoReflect

func (x *InfoSubscription) ProtoReflect() protoreflect.Message

func (*InfoSubscription) Reset

func (x *InfoSubscription) Reset()

func (*InfoSubscription) String

func (x *InfoSubscription) String() string

type Instrument

type Instrument struct {
	Figi      string     `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //FIGI-идентификатор инструмента.
	Ticker    string     `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента.
	ClassCode string     `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код инструмента.
	Isin      string     `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                            //ISIN-идентификатор инструмента.
	Lot       int32      `protobuf:"varint,5,opt,name=lot,proto3" json:"lot,omitempty"`                             //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру `lot`. [Подробнее](https://russianinvestments.github.io/investAPI/glossary#lot).
	Currency  string     `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`                    //Валюта расчётов.
	Klong     *Quotation `protobuf:"bytes,7,opt,name=klong,proto3" json:"klong,omitempty"`                          //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort    *Quotation `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                        //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin         *Quotation            `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ShortEnabledFlag  bool                  `protobuf:"varint,13,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"`     //Признак доступности для операций в шорт.
	Name              string                `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`                                                        //Название инструмента.
	Exchange          string                `protobuf:"bytes,15,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                //Tорговая площадка (секция биржи).
	CountryOfRisk     string                `protobuf:"bytes,16,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска — то есть страны, в которой компания ведёт основной бизнес.
	CountryOfRiskName string                `protobuf:"bytes,17,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска — то есть страны, в которой компания ведёт основной бизнес.
	InstrumentType    string                `protobuf:"bytes,18,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"`              //Тип инструмента.
	TradingStatus     SecurityTradingStatus ``                                                                                                                      //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	OtcFlag               bool       `protobuf:"varint,20,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                 //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag      bool       `protobuf:"varint,21,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`    //Признак доступности для покупки.
	SellAvailableFlag     bool       `protobuf:"varint,22,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи.
	MinPriceIncrement     *Quotation `protobuf:"bytes,23,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`  //Шаг цены.
	ApiTradeAvailableFlag bool       ``                                                                                                                     //Параметр указывает на возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	Uid          string       `protobuf:"bytes,25,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента.
	RealExchange RealExchange ``                                                             //Реальная площадка исполнения расчётов (биржа).
	/* 155-byte string literal not displayed */
	PositionUid         string         `protobuf:"bytes,27,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`                              //Уникальный идентификатор позиции инструмента.
	AssetUid            string         `protobuf:"bytes,28,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`                                       //Уникальный идентификатор актива.
	ForIisFlag          bool           `protobuf:"varint,36,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	ForQualInvestorFlag bool           `protobuf:"varint,37,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag         bool           `protobuf:"varint,38,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag      bool           `protobuf:"varint,39,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	InstrumentKind      InstrumentType ``                                                                                                                             //Тип инструмента.
	/* 163-byte string literal not displayed */
	First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи.
	First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи.
	Brand                *BrandData             `protobuf:"bytes,60,opt,name=brand,proto3" json:"brand,omitempty"`                                                            // Информация о бренде.
	DlongClient          *Quotation             `protobuf:"bytes,490,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`                            //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient         *Quotation             `protobuf:"bytes,491,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"`                         //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// contains filtered or unexported fields
}

Объект передачи основной информации об инструменте.

func (*Instrument) Descriptor deprecated

func (*Instrument) Descriptor() ([]byte, []int)

Deprecated: Use Instrument.ProtoReflect.Descriptor instead.

func (*Instrument) GetApiTradeAvailableFlag

func (x *Instrument) GetApiTradeAvailableFlag() bool

func (*Instrument) GetAssetUid added in v1.4.0

func (x *Instrument) GetAssetUid() string

func (*Instrument) GetBlockedTcaFlag added in v1.2.3

func (x *Instrument) GetBlockedTcaFlag() bool

func (*Instrument) GetBrand added in v1.4.0

func (x *Instrument) GetBrand() *BrandData

func (*Instrument) GetBuyAvailableFlag

func (x *Instrument) GetBuyAvailableFlag() bool

func (*Instrument) GetClassCode

func (x *Instrument) GetClassCode() string

func (*Instrument) GetCountryOfRisk

func (x *Instrument) GetCountryOfRisk() string

func (*Instrument) GetCountryOfRiskName

func (x *Instrument) GetCountryOfRiskName() string

func (*Instrument) GetCurrency

func (x *Instrument) GetCurrency() string

func (*Instrument) GetDlong deprecated

func (x *Instrument) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Instrument) GetDlongClient added in v1.8.1

func (x *Instrument) GetDlongClient() *Quotation

func (*Instrument) GetDlongMin deprecated

func (x *Instrument) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Instrument) GetDshort deprecated

func (x *Instrument) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Instrument) GetDshortClient added in v1.8.1

func (x *Instrument) GetDshortClient() *Quotation

func (*Instrument) GetDshortMin deprecated

func (x *Instrument) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Instrument) GetExchange

func (x *Instrument) GetExchange() string

func (*Instrument) GetFigi

func (x *Instrument) GetFigi() string

func (*Instrument) GetFirst_1DayCandleDate added in v1.1.3

func (x *Instrument) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Instrument) GetFirst_1MinCandleDate added in v1.1.3

func (x *Instrument) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Instrument) GetForIisFlag added in v1.1.3

func (x *Instrument) GetForIisFlag() bool

func (*Instrument) GetForQualInvestorFlag added in v1.2.0

func (x *Instrument) GetForQualInvestorFlag() bool

func (*Instrument) GetInstrumentKind added in v1.2.4

func (x *Instrument) GetInstrumentKind() InstrumentType

func (*Instrument) GetInstrumentType

func (x *Instrument) GetInstrumentType() string

func (*Instrument) GetIsin

func (x *Instrument) GetIsin() string

func (*Instrument) GetKlong

func (x *Instrument) GetKlong() *Quotation

func (*Instrument) GetKshort

func (x *Instrument) GetKshort() *Quotation

func (*Instrument) GetLot

func (x *Instrument) GetLot() int32

func (*Instrument) GetMinPriceIncrement

func (x *Instrument) GetMinPriceIncrement() *Quotation

func (*Instrument) GetName

func (x *Instrument) GetName() string

func (*Instrument) GetOtcFlag

func (x *Instrument) GetOtcFlag() bool

func (*Instrument) GetPositionUid added in v1.1.2

func (x *Instrument) GetPositionUid() string

func (*Instrument) GetRealExchange

func (x *Instrument) GetRealExchange() RealExchange

func (*Instrument) GetSellAvailableFlag

func (x *Instrument) GetSellAvailableFlag() bool

func (*Instrument) GetShortEnabledFlag

func (x *Instrument) GetShortEnabledFlag() bool

func (*Instrument) GetTicker

func (x *Instrument) GetTicker() string

func (*Instrument) GetTradingStatus

func (x *Instrument) GetTradingStatus() SecurityTradingStatus

func (*Instrument) GetUid

func (x *Instrument) GetUid() string

func (*Instrument) GetWeekendFlag added in v1.2.3

func (x *Instrument) GetWeekendFlag() bool

func (*Instrument) ProtoMessage

func (*Instrument) ProtoMessage()

func (*Instrument) ProtoReflect

func (x *Instrument) ProtoReflect() protoreflect.Message

func (*Instrument) Reset

func (x *Instrument) Reset()

func (*Instrument) String

func (x *Instrument) String() string

type InstrumentClosePriceRequest added in v1.2.0

type InstrumentClosePriceRequest struct {
	InstrumentId string `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос цен закрытия торговой сессии по инструменту.

func (*InstrumentClosePriceRequest) Descriptor deprecated added in v1.2.0

func (*InstrumentClosePriceRequest) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentClosePriceRequest.ProtoReflect.Descriptor instead.

func (*InstrumentClosePriceRequest) GetInstrumentId added in v1.2.0

func (x *InstrumentClosePriceRequest) GetInstrumentId() string

func (*InstrumentClosePriceRequest) ProtoMessage added in v1.2.0

func (*InstrumentClosePriceRequest) ProtoMessage()

func (*InstrumentClosePriceRequest) ProtoReflect added in v1.2.0

func (*InstrumentClosePriceRequest) Reset added in v1.2.0

func (x *InstrumentClosePriceRequest) Reset()

func (*InstrumentClosePriceRequest) String added in v1.2.0

func (x *InstrumentClosePriceRequest) String() string

type InstrumentClosePriceResponse added in v1.2.0

type InstrumentClosePriceResponse struct {
	Figi                string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                                             //FIGI инструмента.
	InstrumentUid       string                 `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`                      //UID инструмента.
	Price               *Quotation             `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"`                                                          //Цена закрытия торговой сессии.
	EveningSessionPrice *Quotation             `protobuf:"bytes,12,opt,name=evening_session_price,json=eveningSessionPrice,proto3" json:"evening_session_price,omitempty"` //Цена последней сделки с вечерней сессии. Цена публикуется биржей по торговым дням и в нерабочие дни не обновляется.
	Time                *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=time,proto3" json:"time,omitempty"`                                                            //Дата совершения торгов.
	// contains filtered or unexported fields
}

Цена закрытия торговой сессии по инструменту.

func (*InstrumentClosePriceResponse) Descriptor deprecated added in v1.2.0

func (*InstrumentClosePriceResponse) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentClosePriceResponse.ProtoReflect.Descriptor instead.

func (*InstrumentClosePriceResponse) GetEveningSessionPrice added in v1.4.0

func (x *InstrumentClosePriceResponse) GetEveningSessionPrice() *Quotation

func (*InstrumentClosePriceResponse) GetFigi added in v1.2.0

func (x *InstrumentClosePriceResponse) GetFigi() string

func (*InstrumentClosePriceResponse) GetInstrumentUid added in v1.2.0

func (x *InstrumentClosePriceResponse) GetInstrumentUid() string

func (*InstrumentClosePriceResponse) GetPrice added in v1.2.0

func (x *InstrumentClosePriceResponse) GetPrice() *Quotation

func (*InstrumentClosePriceResponse) GetTime added in v1.2.0

func (*InstrumentClosePriceResponse) ProtoMessage added in v1.2.0

func (*InstrumentClosePriceResponse) ProtoMessage()

func (*InstrumentClosePriceResponse) ProtoReflect added in v1.2.0

func (*InstrumentClosePriceResponse) Reset added in v1.2.0

func (x *InstrumentClosePriceResponse) Reset()

func (*InstrumentClosePriceResponse) String added in v1.2.0

type InstrumentExchangeType added in v1.4.0

type InstrumentExchangeType int32

Площадка торговли.

const (
	InstrumentExchangeType_INSTRUMENT_EXCHANGE_UNSPECIFIED InstrumentExchangeType = 0 // Площадка торговли не определена.
	InstrumentExchangeType_INSTRUMENT_EXCHANGE_DEALER      InstrumentExchangeType = 1 // Бумага, торгуемая у дилера.
)

func (InstrumentExchangeType) Descriptor added in v1.4.0

func (InstrumentExchangeType) Enum added in v1.4.0

func (InstrumentExchangeType) EnumDescriptor deprecated added in v1.4.0

func (InstrumentExchangeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstrumentExchangeType.Descriptor instead.

func (InstrumentExchangeType) Number added in v1.4.0

func (InstrumentExchangeType) String added in v1.4.0

func (x InstrumentExchangeType) String() string

func (InstrumentExchangeType) Type added in v1.4.0

type InstrumentIdType

type InstrumentIdType int32

Тип идентификатора инструмента. [Подробнее об идентификации инструментов](https://russianinvestments.github.io/investAPI/faq_identification/).

const (
	InstrumentIdType_INSTRUMENT_ID_UNSPECIFIED       InstrumentIdType = 0 //Значение не определено.
	InstrumentIdType_INSTRUMENT_ID_TYPE_FIGI         InstrumentIdType = 1 //FIGI.
	InstrumentIdType_INSTRUMENT_ID_TYPE_TICKER       InstrumentIdType = 2 //Ticker.
	InstrumentIdType_INSTRUMENT_ID_TYPE_UID          InstrumentIdType = 3 //Уникальный идентификатор.
	InstrumentIdType_INSTRUMENT_ID_TYPE_POSITION_UID InstrumentIdType = 4 //Идентификатор позиции.
)

func (InstrumentIdType) Descriptor

func (InstrumentIdType) Enum

func (InstrumentIdType) EnumDescriptor deprecated

func (InstrumentIdType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstrumentIdType.Descriptor instead.

func (InstrumentIdType) Number

func (InstrumentIdType) String

func (x InstrumentIdType) String() string

func (InstrumentIdType) Type

type InstrumentLink struct {
	Type          string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`                                        //Тип связи.
	InstrumentUid string `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID-идентификатор связанного инструмента.
	// contains filtered or unexported fields
}

Связь с другим инструментом.

func (*InstrumentLink) Descriptor deprecated

func (*InstrumentLink) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentLink.ProtoReflect.Descriptor instead.

func (*InstrumentLink) GetInstrumentUid

func (x *InstrumentLink) GetInstrumentUid() string

func (*InstrumentLink) GetType

func (x *InstrumentLink) GetType() string

func (*InstrumentLink) ProtoMessage

func (*InstrumentLink) ProtoMessage()

func (*InstrumentLink) ProtoReflect

func (x *InstrumentLink) ProtoReflect() protoreflect.Message

func (*InstrumentLink) Reset

func (x *InstrumentLink) Reset()

func (*InstrumentLink) String

func (x *InstrumentLink) String() string

type InstrumentRequest

type InstrumentRequest struct {
	IdType InstrumentIdType `` // Тип идентификатора инструмента. Возможные значения — `figi`, `ticker`. [Подробнее об идентификации инструментов](https://russianinvestments.github.io/investAPI/faq_identification/).
	/* 140-byte string literal not displayed */
	ClassCode *string `protobuf:"bytes,2,opt,name=class_code,json=classCode,proto3,oneof" json:"class_code,omitempty"` // Идентификатор `class_code`. Обязательный, если `id_type = ticker`.
	Id        string  `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`                                      // Идентификатор запрашиваемого инструмента.
	// contains filtered or unexported fields
}

Запрос получения инструмента по идентификатору.

func (*InstrumentRequest) Descriptor deprecated

func (*InstrumentRequest) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentRequest.ProtoReflect.Descriptor instead.

func (*InstrumentRequest) GetClassCode

func (x *InstrumentRequest) GetClassCode() string

func (*InstrumentRequest) GetId

func (x *InstrumentRequest) GetId() string

func (*InstrumentRequest) GetIdType

func (x *InstrumentRequest) GetIdType() InstrumentIdType

func (*InstrumentRequest) ProtoMessage

func (*InstrumentRequest) ProtoMessage()

func (*InstrumentRequest) ProtoReflect

func (x *InstrumentRequest) ProtoReflect() protoreflect.Message

func (*InstrumentRequest) Reset

func (x *InstrumentRequest) Reset()

func (*InstrumentRequest) String

func (x *InstrumentRequest) String() string

type InstrumentResponse

type InstrumentResponse struct {
	Instrument *Instrument `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Основная информация об инструменте.
	// contains filtered or unexported fields
}

Данные по инструменту.

func (*InstrumentResponse) Descriptor deprecated

func (*InstrumentResponse) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentResponse.ProtoReflect.Descriptor instead.

func (*InstrumentResponse) GetInstrument

func (x *InstrumentResponse) GetInstrument() *Instrument

func (*InstrumentResponse) ProtoMessage

func (*InstrumentResponse) ProtoMessage()

func (*InstrumentResponse) ProtoReflect

func (x *InstrumentResponse) ProtoReflect() protoreflect.Message

func (*InstrumentResponse) Reset

func (x *InstrumentResponse) Reset()

func (*InstrumentResponse) String

func (x *InstrumentResponse) String() string

type InstrumentShort added in v1.1.1

type InstrumentShort struct {
	Isin           string         `protobuf:"bytes,1,opt,name=isin,proto3" json:"isin,omitempty"`                                           //ISIN инструмента.
	Figi           string         `protobuf:"bytes,2,opt,name=figi,proto3" json:"figi,omitempty"`                                           //FIGI инструмента.
	Ticker         string         `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`                                       //Ticker инструмента.
	ClassCode      string         `protobuf:"bytes,4,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"`                //ClassCode инструмента.
	InstrumentType string         `protobuf:"bytes,5,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента.
	Name           string         `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`                                           //Название инструмента.
	Uid            string         `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`                                             //Уникальный идентификатор инструмента.
	PositionUid    string         `protobuf:"bytes,8,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`          //Уникальный идентификатор позиции инструмента.
	InstrumentKind InstrumentType ``                                                                                                        //Тип инструмента.
	/* 163-byte string literal not displayed */
	ApiTradeAvailableFlag bool `` //Возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	ForIisFlag           bool                   `protobuf:"varint,12,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи.
	First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи.
	ForQualInvestorFlag  bool                   `protobuf:"varint,28,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag          bool                   `protobuf:"varint,29,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag       bool                   `protobuf:"varint,30,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	Lot                  int32                  `protobuf:"varint,31,opt,name=lot,proto3" json:"lot,omitempty"`                                                                //Количество бумаг в лоте.
	// contains filtered or unexported fields
}

Краткая информация об инструменте.

func (*InstrumentShort) Descriptor deprecated added in v1.1.1

func (*InstrumentShort) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentShort.ProtoReflect.Descriptor instead.

func (*InstrumentShort) GetApiTradeAvailableFlag added in v1.1.2

func (x *InstrumentShort) GetApiTradeAvailableFlag() bool

func (*InstrumentShort) GetBlockedTcaFlag added in v1.2.3

func (x *InstrumentShort) GetBlockedTcaFlag() bool

func (*InstrumentShort) GetClassCode added in v1.1.1

func (x *InstrumentShort) GetClassCode() string

func (*InstrumentShort) GetFigi added in v1.1.1

func (x *InstrumentShort) GetFigi() string

func (*InstrumentShort) GetFirst_1DayCandleDate added in v1.1.3

func (x *InstrumentShort) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*InstrumentShort) GetFirst_1MinCandleDate added in v1.1.3

func (x *InstrumentShort) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*InstrumentShort) GetForIisFlag added in v1.1.3

func (x *InstrumentShort) GetForIisFlag() bool

func (*InstrumentShort) GetForQualInvestorFlag added in v1.2.0

func (x *InstrumentShort) GetForQualInvestorFlag() bool

func (*InstrumentShort) GetInstrumentKind added in v1.2.4

func (x *InstrumentShort) GetInstrumentKind() InstrumentType

func (*InstrumentShort) GetInstrumentType added in v1.1.1

func (x *InstrumentShort) GetInstrumentType() string

func (*InstrumentShort) GetIsin added in v1.1.1

func (x *InstrumentShort) GetIsin() string

func (*InstrumentShort) GetLot added in v1.6.0

func (x *InstrumentShort) GetLot() int32

func (*InstrumentShort) GetName added in v1.1.1

func (x *InstrumentShort) GetName() string

func (*InstrumentShort) GetPositionUid added in v1.1.2

func (x *InstrumentShort) GetPositionUid() string

func (*InstrumentShort) GetTicker added in v1.1.1

func (x *InstrumentShort) GetTicker() string

func (*InstrumentShort) GetUid added in v1.1.1

func (x *InstrumentShort) GetUid() string

func (*InstrumentShort) GetWeekendFlag added in v1.2.3

func (x *InstrumentShort) GetWeekendFlag() bool

func (*InstrumentShort) ProtoMessage added in v1.1.1

func (*InstrumentShort) ProtoMessage()

func (*InstrumentShort) ProtoReflect added in v1.1.1

func (x *InstrumentShort) ProtoReflect() protoreflect.Message

func (*InstrumentShort) Reset added in v1.1.1

func (x *InstrumentShort) Reset()

func (*InstrumentShort) String added in v1.1.1

func (x *InstrumentShort) String() string

type InstrumentStatus

type InstrumentStatus int32

Статус запрашиваемых инструментов.

const (
	InstrumentStatus_INSTRUMENT_STATUS_UNSPECIFIED InstrumentStatus = 0 //Значение не определено.
	InstrumentStatus_INSTRUMENT_STATUS_BASE        InstrumentStatus = 1 //Базовый список инструментов (по умолчанию). Инструменты, доступные для торговли через T-Invest API. Cейчас списки бумаг, которые доступны из API и других интерфейсах совпадают — кроме внебиржевых бумаг. Но в будущем возможны ситуации, когда списки инструментов будут отличаться.
	InstrumentStatus_INSTRUMENT_STATUS_ALL         InstrumentStatus = 2 //Список всех инструментов.
)

func (InstrumentStatus) Descriptor

func (InstrumentStatus) Enum

func (InstrumentStatus) EnumDescriptor deprecated

func (InstrumentStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstrumentStatus.Descriptor instead.

func (InstrumentStatus) Number

func (InstrumentStatus) String

func (x InstrumentStatus) String() string

func (InstrumentStatus) Type

type InstrumentType added in v1.1.3

type InstrumentType int32

Тип инструмента.

const (
	InstrumentType_INSTRUMENT_TYPE_UNSPECIFIED          InstrumentType = 0
	InstrumentType_INSTRUMENT_TYPE_BOND                 InstrumentType = 1  //Облигация.
	InstrumentType_INSTRUMENT_TYPE_SHARE                InstrumentType = 2  //Акция.
	InstrumentType_INSTRUMENT_TYPE_CURRENCY             InstrumentType = 3  //Валюта.
	InstrumentType_INSTRUMENT_TYPE_ETF                  InstrumentType = 4  //Exchange-traded fund. Фонд.
	InstrumentType_INSTRUMENT_TYPE_FUTURES              InstrumentType = 5  //Фьючерс.
	InstrumentType_INSTRUMENT_TYPE_SP                   InstrumentType = 6  //Структурная нота.
	InstrumentType_INSTRUMENT_TYPE_OPTION               InstrumentType = 7  //Опцион.
	InstrumentType_INSTRUMENT_TYPE_CLEARING_CERTIFICATE InstrumentType = 8  //Clearing certificate.
	InstrumentType_INSTRUMENT_TYPE_INDEX                InstrumentType = 9  //Индекс.
	InstrumentType_INSTRUMENT_TYPE_COMMODITY            InstrumentType = 10 //Товар.
)

func (InstrumentType) Descriptor added in v1.1.3

func (InstrumentType) Enum added in v1.1.3

func (x InstrumentType) Enum() *InstrumentType

func (InstrumentType) EnumDescriptor deprecated added in v1.1.3

func (InstrumentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstrumentType.Descriptor instead.

func (InstrumentType) Number added in v1.1.3

func (InstrumentType) String added in v1.1.3

func (x InstrumentType) String() string

func (InstrumentType) Type added in v1.1.3

type InstrumentsRequest

type InstrumentsRequest struct {
	InstrumentStatus *InstrumentStatus `` //Статус запрашиваемых инструментов. [Возможные значения](#instrumentstatus).
	/* 176-byte string literal not displayed */
	InstrumentExchange *InstrumentExchangeType `` // Тип площадки торговли. [Возможные значения](#instrumentexchangetype).
	/* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос получения инструментов.

func (*InstrumentsRequest) Descriptor deprecated

func (*InstrumentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentsRequest.ProtoReflect.Descriptor instead.

func (*InstrumentsRequest) GetInstrumentExchange added in v1.4.0

func (x *InstrumentsRequest) GetInstrumentExchange() InstrumentExchangeType

func (*InstrumentsRequest) GetInstrumentStatus

func (x *InstrumentsRequest) GetInstrumentStatus() InstrumentStatus

func (*InstrumentsRequest) ProtoMessage

func (*InstrumentsRequest) ProtoMessage()

func (*InstrumentsRequest) ProtoReflect

func (x *InstrumentsRequest) ProtoReflect() protoreflect.Message

func (*InstrumentsRequest) Reset

func (x *InstrumentsRequest) Reset()

func (*InstrumentsRequest) String

func (x *InstrumentsRequest) String() string

type InstrumentsServiceClient

type InstrumentsServiceClient interface {
	// Получить расписания торгов торговых площадок.
	TradingSchedules(ctx context.Context, in *TradingSchedulesRequest, opts ...grpc.CallOption) (*TradingSchedulesResponse, error)
	// Получить облигации по её идентификатору.
	BondBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*BondResponse, error)
	// Получить список облигаций.
	Bonds(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*BondsResponse, error)
	// Получить график выплат купонов по облигации.
	GetBondCoupons(ctx context.Context, in *GetBondCouponsRequest, opts ...grpc.CallOption) (*GetBondCouponsResponse, error)
	// Получить события по облигации
	GetBondEvents(ctx context.Context, in *GetBondEventsRequest, opts ...grpc.CallOption) (*GetBondEventsResponse, error)
	// Получить валюту по её идентификатору.
	CurrencyBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*CurrencyResponse, error)
	// Получить список валют.
	Currencies(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*CurrenciesResponse, error)
	// Получить инвестиционный фонд по его идентификатору.
	EtfBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*EtfResponse, error)
	// Получить список инвестиционных фондов.
	Etfs(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*EtfsResponse, error)
	// Получить фьючерс по его идентификатору.
	FutureBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*FutureResponse, error)
	// Получить список фьючерсов.
	Futures(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*FuturesResponse, error)
	// Получить опцион по его идентификатору.
	OptionBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*OptionResponse, error)
	// Deprecated: Do not use.
	// Deprecated Получить списка опционов.
	Options(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*OptionsResponse, error)
	// Получить список опционов.
	OptionsBy(ctx context.Context, in *FilterOptionsRequest, opts ...grpc.CallOption) (*OptionsResponse, error)
	// Получить акцию по её идентификатору.
	ShareBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*ShareResponse, error)
	// Получить список акций.
	Shares(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*SharesResponse, error)
	// Получить индикативные инструменты — индексы, товары и другие.
	Indicatives(ctx context.Context, in *IndicativesRequest, opts ...grpc.CallOption) (*IndicativesResponse, error)
	// Получить накопленный купонный доход по облигации.
	GetAccruedInterests(ctx context.Context, in *GetAccruedInterestsRequest, opts ...grpc.CallOption) (*GetAccruedInterestsResponse, error)
	// Получить размера гарантийного обеспечения по фьючерсам.
	GetFuturesMargin(ctx context.Context, in *GetFuturesMarginRequest, opts ...grpc.CallOption) (*GetFuturesMarginResponse, error)
	// Получить основную информацию об инструменте.
	GetInstrumentBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*InstrumentResponse, error)
	// Получить события выплаты дивидендов по инструменту.
	GetDividends(ctx context.Context, in *GetDividendsRequest, opts ...grpc.CallOption) (*GetDividendsResponse, error)
	// Получить актив по его идентификатору.
	GetAssetBy(ctx context.Context, in *AssetRequest, opts ...grpc.CallOption) (*AssetResponse, error)
	// Получить список активов. Метод работает для всех инструментов, кроме срочных — фьючерсов и опционов.
	GetAssets(ctx context.Context, in *AssetsRequest, opts ...grpc.CallOption) (*AssetsResponse, error)
	// Получить список избранных инструментов.
	GetFavorites(ctx context.Context, in *GetFavoritesRequest, opts ...grpc.CallOption) (*GetFavoritesResponse, error)
	// Отредактировать список избранных инструментов.
	EditFavorites(ctx context.Context, in *EditFavoritesRequest, opts ...grpc.CallOption) (*EditFavoritesResponse, error)
	// Получить список стран.
	GetCountries(ctx context.Context, in *GetCountriesRequest, opts ...grpc.CallOption) (*GetCountriesResponse, error)
	// Найти инструмент.
	FindInstrument(ctx context.Context, in *FindInstrumentRequest, opts ...grpc.CallOption) (*FindInstrumentResponse, error)
	// Получить список брендов.
	GetBrands(ctx context.Context, in *GetBrandsRequest, opts ...grpc.CallOption) (*GetBrandsResponse, error)
	// Получить бренд по его идентификатору.
	GetBrandBy(ctx context.Context, in *GetBrandRequest, opts ...grpc.CallOption) (*Brand, error)
	// Получить фундаментальные показатели по активу.
	GetAssetFundamentals(ctx context.Context, in *GetAssetFundamentalsRequest, opts ...grpc.CallOption) (*GetAssetFundamentalsResponse, error)
	// Получить расписания выхода отчётностей эмитентов.
	GetAssetReports(ctx context.Context, in *GetAssetReportsRequest, opts ...grpc.CallOption) (*GetAssetReportsResponse, error)
	// Получить мнения аналитиков по инструменту.
	GetConsensusForecasts(ctx context.Context, in *GetConsensusForecastsRequest, opts ...grpc.CallOption) (*GetConsensusForecastsResponse, error)
	// Получить прогнозов инвестдомов по инструменту.
	GetForecastBy(ctx context.Context, in *GetForecastRequest, opts ...grpc.CallOption) (*GetForecastResponse, error)
}

InstrumentsServiceClient is the client API for InstrumentsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type InstrumentsServiceServer

type InstrumentsServiceServer interface {
	// Получить расписания торгов торговых площадок.
	TradingSchedules(context.Context, *TradingSchedulesRequest) (*TradingSchedulesResponse, error)
	// Получить облигации по её идентификатору.
	BondBy(context.Context, *InstrumentRequest) (*BondResponse, error)
	// Получить список облигаций.
	Bonds(context.Context, *InstrumentsRequest) (*BondsResponse, error)
	// Получить график выплат купонов по облигации.
	GetBondCoupons(context.Context, *GetBondCouponsRequest) (*GetBondCouponsResponse, error)
	// Получить события по облигации
	GetBondEvents(context.Context, *GetBondEventsRequest) (*GetBondEventsResponse, error)
	// Получить валюту по её идентификатору.
	CurrencyBy(context.Context, *InstrumentRequest) (*CurrencyResponse, error)
	// Получить список валют.
	Currencies(context.Context, *InstrumentsRequest) (*CurrenciesResponse, error)
	// Получить инвестиционный фонд по его идентификатору.
	EtfBy(context.Context, *InstrumentRequest) (*EtfResponse, error)
	// Получить список инвестиционных фондов.
	Etfs(context.Context, *InstrumentsRequest) (*EtfsResponse, error)
	// Получить фьючерс по его идентификатору.
	FutureBy(context.Context, *InstrumentRequest) (*FutureResponse, error)
	// Получить список фьючерсов.
	Futures(context.Context, *InstrumentsRequest) (*FuturesResponse, error)
	// Получить опцион по его идентификатору.
	OptionBy(context.Context, *InstrumentRequest) (*OptionResponse, error)
	// Deprecated: Do not use.
	// Deprecated Получить списка опционов.
	Options(context.Context, *InstrumentsRequest) (*OptionsResponse, error)
	// Получить список опционов.
	OptionsBy(context.Context, *FilterOptionsRequest) (*OptionsResponse, error)
	// Получить акцию по её идентификатору.
	ShareBy(context.Context, *InstrumentRequest) (*ShareResponse, error)
	// Получить список акций.
	Shares(context.Context, *InstrumentsRequest) (*SharesResponse, error)
	// Получить индикативные инструменты — индексы, товары и другие.
	Indicatives(context.Context, *IndicativesRequest) (*IndicativesResponse, error)
	// Получить накопленный купонный доход по облигации.
	GetAccruedInterests(context.Context, *GetAccruedInterestsRequest) (*GetAccruedInterestsResponse, error)
	// Получить размера гарантийного обеспечения по фьючерсам.
	GetFuturesMargin(context.Context, *GetFuturesMarginRequest) (*GetFuturesMarginResponse, error)
	// Получить основную информацию об инструменте.
	GetInstrumentBy(context.Context, *InstrumentRequest) (*InstrumentResponse, error)
	// Получить события выплаты дивидендов по инструменту.
	GetDividends(context.Context, *GetDividendsRequest) (*GetDividendsResponse, error)
	// Получить актив по его идентификатору.
	GetAssetBy(context.Context, *AssetRequest) (*AssetResponse, error)
	// Получить список активов. Метод работает для всех инструментов, кроме срочных — фьючерсов и опционов.
	GetAssets(context.Context, *AssetsRequest) (*AssetsResponse, error)
	// Получить список избранных инструментов.
	GetFavorites(context.Context, *GetFavoritesRequest) (*GetFavoritesResponse, error)
	// Отредактировать список избранных инструментов.
	EditFavorites(context.Context, *EditFavoritesRequest) (*EditFavoritesResponse, error)
	// Получить список стран.
	GetCountries(context.Context, *GetCountriesRequest) (*GetCountriesResponse, error)
	// Найти инструмент.
	FindInstrument(context.Context, *FindInstrumentRequest) (*FindInstrumentResponse, error)
	// Получить список брендов.
	GetBrands(context.Context, *GetBrandsRequest) (*GetBrandsResponse, error)
	// Получить бренд по его идентификатору.
	GetBrandBy(context.Context, *GetBrandRequest) (*Brand, error)
	// Получить фундаментальные показатели по активу.
	GetAssetFundamentals(context.Context, *GetAssetFundamentalsRequest) (*GetAssetFundamentalsResponse, error)
	// Получить расписания выхода отчётностей эмитентов.
	GetAssetReports(context.Context, *GetAssetReportsRequest) (*GetAssetReportsResponse, error)
	// Получить мнения аналитиков по инструменту.
	GetConsensusForecasts(context.Context, *GetConsensusForecastsRequest) (*GetConsensusForecastsResponse, error)
	// Получить прогнозов инвестдомов по инструменту.
	GetForecastBy(context.Context, *GetForecastRequest) (*GetForecastResponse, error)
	// contains filtered or unexported methods
}

InstrumentsServiceServer is the server API for InstrumentsService service. All implementations must embed UnimplementedInstrumentsServiceServer for forward compatibility.

type LastPrice

type LastPrice struct {
	Figi          string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                         //FIGI инструмента.
	Price         *Quotation             `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`                                       //Цена последней сделки за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Time          *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`                                         //Время получения последней цены в часовом поясе UTC по времени биржи.
	InstrumentUid string                 `protobuf:"bytes,11,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	LastPriceType LastPriceType          ``                                                                                                      //Тип последней цены.
	/* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Информация о цене последней сделки.

func (*LastPrice) Descriptor deprecated

func (*LastPrice) Descriptor() ([]byte, []int)

Deprecated: Use LastPrice.ProtoReflect.Descriptor instead.

func (*LastPrice) GetFigi

func (x *LastPrice) GetFigi() string

func (*LastPrice) GetInstrumentUid added in v1.2.0

func (x *LastPrice) GetInstrumentUid() string

func (*LastPrice) GetLastPriceType added in v1.4.0

func (x *LastPrice) GetLastPriceType() LastPriceType

func (*LastPrice) GetPrice

func (x *LastPrice) GetPrice() *Quotation

func (*LastPrice) GetTime

func (x *LastPrice) GetTime() *timestamppb.Timestamp

func (*LastPrice) ProtoMessage

func (*LastPrice) ProtoMessage()

func (*LastPrice) ProtoReflect

func (x *LastPrice) ProtoReflect() protoreflect.Message

func (*LastPrice) Reset

func (x *LastPrice) Reset()

func (*LastPrice) String

func (x *LastPrice) String() string

type LastPriceInstrument

type LastPriceInstrument struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi         string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте instrument_id`.
	InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос подписки на последнюю цену.

func (*LastPriceInstrument) Descriptor deprecated

func (*LastPriceInstrument) Descriptor() ([]byte, []int)

Deprecated: Use LastPriceInstrument.ProtoReflect.Descriptor instead.

func (*LastPriceInstrument) GetFigi deprecated

func (x *LastPriceInstrument) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*LastPriceInstrument) GetInstrumentId added in v1.2.0

func (x *LastPriceInstrument) GetInstrumentId() string

func (*LastPriceInstrument) ProtoMessage

func (*LastPriceInstrument) ProtoMessage()

func (*LastPriceInstrument) ProtoReflect

func (x *LastPriceInstrument) ProtoReflect() protoreflect.Message

func (*LastPriceInstrument) Reset

func (x *LastPriceInstrument) Reset()

func (*LastPriceInstrument) String

func (x *LastPriceInstrument) String() string

type LastPriceSubscription

type LastPriceSubscription struct {
	Figi               string             `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	SubscriptionStatus SubscriptionStatus ``                                                              //Статус подписки.
	/* 178-byte string literal not displayed */
	InstrumentUid  string `protobuf:"bytes,3,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`    //UID инструмента.
	StreamId       string `protobuf:"bytes,4,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                   //Идентификатор открытого соединения.
	SubscriptionId string `protobuf:"bytes,5,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` //Идентификатор подписки в формате `UUID`.
	// contains filtered or unexported fields
}

Статус подписки на цену последней сделки.

func (*LastPriceSubscription) Descriptor deprecated

func (*LastPriceSubscription) Descriptor() ([]byte, []int)

Deprecated: Use LastPriceSubscription.ProtoReflect.Descriptor instead.

func (*LastPriceSubscription) GetFigi

func (x *LastPriceSubscription) GetFigi() string

func (*LastPriceSubscription) GetInstrumentUid added in v1.2.0

func (x *LastPriceSubscription) GetInstrumentUid() string

func (*LastPriceSubscription) GetStreamId added in v1.4.0

func (x *LastPriceSubscription) GetStreamId() string

func (*LastPriceSubscription) GetSubscriptionId added in v1.4.0

func (x *LastPriceSubscription) GetSubscriptionId() string

func (*LastPriceSubscription) GetSubscriptionStatus

func (x *LastPriceSubscription) GetSubscriptionStatus() SubscriptionStatus

func (*LastPriceSubscription) ProtoMessage

func (*LastPriceSubscription) ProtoMessage()

func (*LastPriceSubscription) ProtoReflect

func (x *LastPriceSubscription) ProtoReflect() protoreflect.Message

func (*LastPriceSubscription) Reset

func (x *LastPriceSubscription) Reset()

func (*LastPriceSubscription) String

func (x *LastPriceSubscription) String() string

type LastPriceType added in v1.4.0

type LastPriceType int32

Тип последней цены

const (
	LastPriceType_LAST_PRICE_UNSPECIFIED LastPriceType = 0 //Не определен.
	LastPriceType_LAST_PRICE_EXCHANGE    LastPriceType = 1 // Цена биржи.
	LastPriceType_LAST_PRICE_DEALER      LastPriceType = 2 // Цена дилера
)

func (LastPriceType) Descriptor added in v1.4.0

func (LastPriceType) Enum added in v1.4.0

func (x LastPriceType) Enum() *LastPriceType

func (LastPriceType) EnumDescriptor deprecated added in v1.4.0

func (LastPriceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LastPriceType.Descriptor instead.

func (LastPriceType) Number added in v1.4.0

func (LastPriceType) String added in v1.4.0

func (x LastPriceType) String() string

func (LastPriceType) Type added in v1.4.0

type MarketDataRequest

type MarketDataRequest struct {

	// Types that are assignable to Payload:
	//
	//	*MarketDataRequest_SubscribeCandlesRequest
	//	*MarketDataRequest_SubscribeOrderBookRequest
	//	*MarketDataRequest_SubscribeTradesRequest
	//	*MarketDataRequest_SubscribeInfoRequest
	//	*MarketDataRequest_SubscribeLastPriceRequest
	//	*MarketDataRequest_GetMySubscriptions
	//	*MarketDataRequest_Ping
	//	*MarketDataRequest_PingSettings
	Payload isMarketDataRequest_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Запрос подписки или отписки на определённые биржевые данные.

func (*MarketDataRequest) Descriptor deprecated

func (*MarketDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use MarketDataRequest.ProtoReflect.Descriptor instead.

func (*MarketDataRequest) GetGetMySubscriptions added in v1.1.2

func (x *MarketDataRequest) GetGetMySubscriptions() *GetMySubscriptions

func (*MarketDataRequest) GetPayload

func (m *MarketDataRequest) GetPayload() isMarketDataRequest_Payload

func (*MarketDataRequest) GetPing added in v1.6.0

func (x *MarketDataRequest) GetPing() *PingRequest

func (*MarketDataRequest) GetPingSettings added in v1.6.0

func (x *MarketDataRequest) GetPingSettings() *PingDelaySettings

func (*MarketDataRequest) GetSubscribeCandlesRequest

func (x *MarketDataRequest) GetSubscribeCandlesRequest() *SubscribeCandlesRequest

func (*MarketDataRequest) GetSubscribeInfoRequest

func (x *MarketDataRequest) GetSubscribeInfoRequest() *SubscribeInfoRequest

func (*MarketDataRequest) GetSubscribeLastPriceRequest

func (x *MarketDataRequest) GetSubscribeLastPriceRequest() *SubscribeLastPriceRequest

func (*MarketDataRequest) GetSubscribeOrderBookRequest

func (x *MarketDataRequest) GetSubscribeOrderBookRequest() *SubscribeOrderBookRequest

func (*MarketDataRequest) GetSubscribeTradesRequest

func (x *MarketDataRequest) GetSubscribeTradesRequest() *SubscribeTradesRequest

func (*MarketDataRequest) ProtoMessage

func (*MarketDataRequest) ProtoMessage()

func (*MarketDataRequest) ProtoReflect

func (x *MarketDataRequest) ProtoReflect() protoreflect.Message

func (*MarketDataRequest) Reset

func (x *MarketDataRequest) Reset()

func (*MarketDataRequest) String

func (x *MarketDataRequest) String() string

type MarketDataRequest_GetMySubscriptions added in v1.1.2

type MarketDataRequest_GetMySubscriptions struct {
	GetMySubscriptions *GetMySubscriptions `protobuf:"bytes,6,opt,name=get_my_subscriptions,json=getMySubscriptions,proto3,oneof"` //Запрос своих подписок.
}

type MarketDataRequest_Ping added in v1.6.0

type MarketDataRequest_Ping struct {
	Ping *PingRequest `protobuf:"bytes,7,opt,name=ping,proto3,oneof"` //Запрос проверки активности соединения.
}

type MarketDataRequest_PingSettings added in v1.6.0

type MarketDataRequest_PingSettings struct {
	PingSettings *PingDelaySettings `protobuf:"bytes,15,opt,name=ping_settings,json=pingSettings,proto3,oneof"` //Запрос настройки пинга.
}

type MarketDataRequest_SubscribeCandlesRequest

type MarketDataRequest_SubscribeCandlesRequest struct {
	SubscribeCandlesRequest *SubscribeCandlesRequest `protobuf:"bytes,1,opt,name=subscribe_candles_request,json=subscribeCandlesRequest,proto3,oneof"` //Запрос подписки на свечи.
}

type MarketDataRequest_SubscribeInfoRequest

type MarketDataRequest_SubscribeInfoRequest struct {
	SubscribeInfoRequest *SubscribeInfoRequest `protobuf:"bytes,4,opt,name=subscribe_info_request,json=subscribeInfoRequest,proto3,oneof"` //Запрос подписки на торговые статусы инструментов.
}

type MarketDataRequest_SubscribeLastPriceRequest

type MarketDataRequest_SubscribeLastPriceRequest struct {
	SubscribeLastPriceRequest *SubscribeLastPriceRequest `protobuf:"bytes,5,opt,name=subscribe_last_price_request,json=subscribeLastPriceRequest,proto3,oneof"` //Запрос подписки на цены последних сделок.
}

type MarketDataRequest_SubscribeOrderBookRequest

type MarketDataRequest_SubscribeOrderBookRequest struct {
	SubscribeOrderBookRequest *SubscribeOrderBookRequest `protobuf:"bytes,2,opt,name=subscribe_order_book_request,json=subscribeOrderBookRequest,proto3,oneof"` //Запрос подписки на стаканы.
}

type MarketDataRequest_SubscribeTradesRequest

type MarketDataRequest_SubscribeTradesRequest struct {
	SubscribeTradesRequest *SubscribeTradesRequest `protobuf:"bytes,3,opt,name=subscribe_trades_request,json=subscribeTradesRequest,proto3,oneof"` //Запрос подписки на ленту обезличенных сделок.
}

type MarketDataResponse

type MarketDataResponse struct {

	// Types that are assignable to Payload:
	//
	//	*MarketDataResponse_SubscribeCandlesResponse
	//	*MarketDataResponse_SubscribeOrderBookResponse
	//	*MarketDataResponse_SubscribeTradesResponse
	//	*MarketDataResponse_SubscribeInfoResponse
	//	*MarketDataResponse_Candle
	//	*MarketDataResponse_Trade
	//	*MarketDataResponse_Orderbook
	//	*MarketDataResponse_TradingStatus
	//	*MarketDataResponse_Ping
	//	*MarketDataResponse_SubscribeLastPriceResponse
	//	*MarketDataResponse_LastPrice
	Payload isMarketDataResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Пакет биржевой информации по подписке.

func (*MarketDataResponse) Descriptor deprecated

func (*MarketDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use MarketDataResponse.ProtoReflect.Descriptor instead.

func (*MarketDataResponse) GetCandle

func (x *MarketDataResponse) GetCandle() *Candle

func (*MarketDataResponse) GetLastPrice

func (x *MarketDataResponse) GetLastPrice() *LastPrice

func (*MarketDataResponse) GetOrderbook

func (x *MarketDataResponse) GetOrderbook() *OrderBook

func (*MarketDataResponse) GetPayload

func (m *MarketDataResponse) GetPayload() isMarketDataResponse_Payload

func (*MarketDataResponse) GetPing

func (x *MarketDataResponse) GetPing() *Ping

func (*MarketDataResponse) GetSubscribeCandlesResponse

func (x *MarketDataResponse) GetSubscribeCandlesResponse() *SubscribeCandlesResponse

func (*MarketDataResponse) GetSubscribeInfoResponse

func (x *MarketDataResponse) GetSubscribeInfoResponse() *SubscribeInfoResponse

func (*MarketDataResponse) GetSubscribeLastPriceResponse

func (x *MarketDataResponse) GetSubscribeLastPriceResponse() *SubscribeLastPriceResponse

func (*MarketDataResponse) GetSubscribeOrderBookResponse

func (x *MarketDataResponse) GetSubscribeOrderBookResponse() *SubscribeOrderBookResponse

func (*MarketDataResponse) GetSubscribeTradesResponse

func (x *MarketDataResponse) GetSubscribeTradesResponse() *SubscribeTradesResponse

func (*MarketDataResponse) GetTrade

func (x *MarketDataResponse) GetTrade() *Trade

func (*MarketDataResponse) GetTradingStatus

func (x *MarketDataResponse) GetTradingStatus() *TradingStatus

func (*MarketDataResponse) ProtoMessage

func (*MarketDataResponse) ProtoMessage()

func (*MarketDataResponse) ProtoReflect

func (x *MarketDataResponse) ProtoReflect() protoreflect.Message

func (*MarketDataResponse) Reset

func (x *MarketDataResponse) Reset()

func (*MarketDataResponse) String

func (x *MarketDataResponse) String() string

type MarketDataResponse_Candle

type MarketDataResponse_Candle struct {
	Candle *Candle `protobuf:"bytes,5,opt,name=candle,proto3,oneof"` //Свеча.
}

type MarketDataResponse_LastPrice

type MarketDataResponse_LastPrice struct {
	LastPrice *LastPrice `protobuf:"bytes,11,opt,name=last_price,json=lastPrice,proto3,oneof"` //Цена последней сделки.
}

type MarketDataResponse_Orderbook

type MarketDataResponse_Orderbook struct {
	Orderbook *OrderBook `protobuf:"bytes,7,opt,name=orderbook,proto3,oneof"` //Стакан.
}

type MarketDataResponse_Ping

type MarketDataResponse_Ping struct {
	Ping *Ping `protobuf:"bytes,9,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}

type MarketDataResponse_SubscribeCandlesResponse

type MarketDataResponse_SubscribeCandlesResponse struct {
	SubscribeCandlesResponse *SubscribeCandlesResponse `protobuf:"bytes,1,opt,name=subscribe_candles_response,json=subscribeCandlesResponse,proto3,oneof"` //Результат подписки на свечи.
}

type MarketDataResponse_SubscribeInfoResponse

type MarketDataResponse_SubscribeInfoResponse struct {
	SubscribeInfoResponse *SubscribeInfoResponse `protobuf:"bytes,4,opt,name=subscribe_info_response,json=subscribeInfoResponse,proto3,oneof"` //Результат подписки на торговые статусы инструментов.
}

type MarketDataResponse_SubscribeLastPriceResponse

type MarketDataResponse_SubscribeLastPriceResponse struct {
	SubscribeLastPriceResponse *SubscribeLastPriceResponse `protobuf:"bytes,10,opt,name=subscribe_last_price_response,json=subscribeLastPriceResponse,proto3,oneof"` //Результат подписки на цены последние сделок по инструментам.
}

type MarketDataResponse_SubscribeOrderBookResponse

type MarketDataResponse_SubscribeOrderBookResponse struct {
	SubscribeOrderBookResponse *SubscribeOrderBookResponse `protobuf:"bytes,2,opt,name=subscribe_order_book_response,json=subscribeOrderBookResponse,proto3,oneof"` //Результат подписки на стаканы.
}

type MarketDataResponse_SubscribeTradesResponse

type MarketDataResponse_SubscribeTradesResponse struct {
	SubscribeTradesResponse *SubscribeTradesResponse `protobuf:"bytes,3,opt,name=subscribe_trades_response,json=subscribeTradesResponse,proto3,oneof"` //Результат подписки на поток обезличенных сделок.
}

type MarketDataResponse_Trade

type MarketDataResponse_Trade struct {
	Trade *Trade `protobuf:"bytes,6,opt,name=trade,proto3,oneof"` //Сделки.
}

type MarketDataResponse_TradingStatus

type MarketDataResponse_TradingStatus struct {
	TradingStatus *TradingStatus `protobuf:"bytes,8,opt,name=trading_status,json=tradingStatus,proto3,oneof"` //Торговый статус.
}

type MarketDataServerSideStreamRequest added in v1.1.1

type MarketDataServerSideStreamRequest struct {
	SubscribeCandlesRequest *SubscribeCandlesRequest `` //Запрос подписки на свечи.
	/* 132-byte string literal not displayed */
	SubscribeOrderBookRequest *SubscribeOrderBookRequest `` //Запрос подписки на стаканы.
	/* 140-byte string literal not displayed */
	SubscribeTradesRequest *SubscribeTradesRequest `` //Запрос подписки на ленту обезличенных сделок.
	/* 129-byte string literal not displayed */
	SubscribeInfoRequest      *SubscribeInfoRequest      `protobuf:"bytes,4,opt,name=subscribe_info_request,json=subscribeInfoRequest,proto3" json:"subscribe_info_request,omitempty"` //Запрос подписки на торговые статусы инструментов.
	SubscribeLastPriceRequest *SubscribeLastPriceRequest ``                                                                                                                            //Запрос подписки на цены последних сделок.
	/* 140-byte string literal not displayed */
	PingSettings *PingDelaySettings `protobuf:"bytes,15,opt,name=ping_settings,json=pingSettings,proto3" json:"ping_settings,omitempty"` //Запрос настройки пинга.
	// contains filtered or unexported fields
}

func (*MarketDataServerSideStreamRequest) Descriptor deprecated added in v1.1.1

func (*MarketDataServerSideStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use MarketDataServerSideStreamRequest.ProtoReflect.Descriptor instead.

func (*MarketDataServerSideStreamRequest) GetPingSettings added in v1.6.0

func (*MarketDataServerSideStreamRequest) GetSubscribeCandlesRequest added in v1.1.1

func (x *MarketDataServerSideStreamRequest) GetSubscribeCandlesRequest() *SubscribeCandlesRequest

func (*MarketDataServerSideStreamRequest) GetSubscribeInfoRequest added in v1.1.1

func (x *MarketDataServerSideStreamRequest) GetSubscribeInfoRequest() *SubscribeInfoRequest

func (*MarketDataServerSideStreamRequest) GetSubscribeLastPriceRequest added in v1.1.1

func (x *MarketDataServerSideStreamRequest) GetSubscribeLastPriceRequest() *SubscribeLastPriceRequest

func (*MarketDataServerSideStreamRequest) GetSubscribeOrderBookRequest added in v1.1.1

func (x *MarketDataServerSideStreamRequest) GetSubscribeOrderBookRequest() *SubscribeOrderBookRequest

func (*MarketDataServerSideStreamRequest) GetSubscribeTradesRequest added in v1.1.1

func (x *MarketDataServerSideStreamRequest) GetSubscribeTradesRequest() *SubscribeTradesRequest

func (*MarketDataServerSideStreamRequest) ProtoMessage added in v1.1.1

func (*MarketDataServerSideStreamRequest) ProtoMessage()

func (*MarketDataServerSideStreamRequest) ProtoReflect added in v1.1.1

func (*MarketDataServerSideStreamRequest) Reset added in v1.1.1

func (*MarketDataServerSideStreamRequest) String added in v1.1.1

type MarketDataServiceClient

type MarketDataServiceClient interface {
	// Запросить исторические свечи по инструменту.
	GetCandles(ctx context.Context, in *GetCandlesRequest, opts ...grpc.CallOption) (*GetCandlesResponse, error)
	// Запросить цены последних сделок по инструментам.
	GetLastPrices(ctx context.Context, in *GetLastPricesRequest, opts ...grpc.CallOption) (*GetLastPricesResponse, error)
	// Получить стакан по инструменту.
	GetOrderBook(ctx context.Context, in *GetOrderBookRequest, opts ...grpc.CallOption) (*GetOrderBookResponse, error)
	// Запросить статус торгов по инструментам.
	GetTradingStatus(ctx context.Context, in *GetTradingStatusRequest, opts ...grpc.CallOption) (*GetTradingStatusResponse, error)
	// Запросить статус торгов по инструментам.
	GetTradingStatuses(ctx context.Context, in *GetTradingStatusesRequest, opts ...grpc.CallOption) (*GetTradingStatusesResponse, error)
	// Запросить обезличенные сделки за последний час.
	GetLastTrades(ctx context.Context, in *GetLastTradesRequest, opts ...grpc.CallOption) (*GetLastTradesResponse, error)
	// Запросить цены закрытия торговой сессии по инструментам.
	GetClosePrices(ctx context.Context, in *GetClosePricesRequest, opts ...grpc.CallOption) (*GetClosePricesResponse, error)
	// Получить технические индикаторы по инструменту.
	GetTechAnalysis(ctx context.Context, in *GetTechAnalysisRequest, opts ...grpc.CallOption) (*GetTechAnalysisResponse, error)
}

MarketDataServiceClient is the client API for MarketDataService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MarketDataServiceServer

type MarketDataServiceServer interface {
	// Запросить исторические свечи по инструменту.
	GetCandles(context.Context, *GetCandlesRequest) (*GetCandlesResponse, error)
	// Запросить цены последних сделок по инструментам.
	GetLastPrices(context.Context, *GetLastPricesRequest) (*GetLastPricesResponse, error)
	// Получить стакан по инструменту.
	GetOrderBook(context.Context, *GetOrderBookRequest) (*GetOrderBookResponse, error)
	// Запросить статус торгов по инструментам.
	GetTradingStatus(context.Context, *GetTradingStatusRequest) (*GetTradingStatusResponse, error)
	// Запросить статус торгов по инструментам.
	GetTradingStatuses(context.Context, *GetTradingStatusesRequest) (*GetTradingStatusesResponse, error)
	// Запросить обезличенные сделки за последний час.
	GetLastTrades(context.Context, *GetLastTradesRequest) (*GetLastTradesResponse, error)
	// Запросить цены закрытия торговой сессии по инструментам.
	GetClosePrices(context.Context, *GetClosePricesRequest) (*GetClosePricesResponse, error)
	// Получить технические индикаторы по инструменту.
	GetTechAnalysis(context.Context, *GetTechAnalysisRequest) (*GetTechAnalysisResponse, error)
	// contains filtered or unexported methods
}

MarketDataServiceServer is the server API for MarketDataService service. All implementations must embed UnimplementedMarketDataServiceServer for forward compatibility.

type MarketDataStreamServiceClient

type MarketDataStreamServiceClient interface {
	// Bidirectional-стрим предоставления биржевой информации.
	MarketDataStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[MarketDataRequest, MarketDataResponse], error)
	// Server-side стрим предоставления биржевой информации.
	MarketDataServerSideStream(ctx context.Context, in *MarketDataServerSideStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MarketDataResponse], error)
}

MarketDataStreamServiceClient is the client API for MarketDataStreamService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MarketDataStreamServiceServer

type MarketDataStreamServiceServer interface {
	// Bidirectional-стрим предоставления биржевой информации.
	MarketDataStream(grpc.BidiStreamingServer[MarketDataRequest, MarketDataResponse]) error
	// Server-side стрим предоставления биржевой информации.
	MarketDataServerSideStream(*MarketDataServerSideStreamRequest, grpc.ServerStreamingServer[MarketDataResponse]) error
	// contains filtered or unexported methods
}

MarketDataStreamServiceServer is the server API for MarketDataStreamService service. All implementations must embed UnimplementedMarketDataStreamServiceServer for forward compatibility.

type MarketDataStreamService_MarketDataServerSideStreamClient added in v1.1.1

type MarketDataStreamService_MarketDataServerSideStreamClient = grpc.ServerStreamingClient[MarketDataResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type MarketDataStreamService_MarketDataServerSideStreamServer added in v1.1.1

type MarketDataStreamService_MarketDataServerSideStreamServer = grpc.ServerStreamingServer[MarketDataResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type MarketDataStreamService_MarketDataStreamClient

type MarketDataStreamService_MarketDataStreamClient = grpc.BidiStreamingClient[MarketDataRequest, MarketDataResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type MarketDataStreamService_MarketDataStreamServer

type MarketDataStreamService_MarketDataStreamServer = grpc.BidiStreamingServer[MarketDataRequest, MarketDataResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type MoneyValue

type MoneyValue struct {

	// Строковый ISO-код валюты.
	Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	// Целая часть суммы, может быть отрицательным числом.
	Units int64 `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"`
	// Дробная часть суммы, может быть отрицательным числом.
	Nano int32 `protobuf:"varint,3,opt,name=nano,proto3" json:"nano,omitempty"`
	// contains filtered or unexported fields
}

Денежная сумма в определённой валюте.

func MoneyValueFromFloat64 added in v1.1.1

func MoneyValueFromFloat64(a float64) *MoneyValue

MoneyValueFromFloat64 создаёт MoneyValue c пустой валютой из числа типа float64

func (*MoneyValue) Descriptor deprecated

func (*MoneyValue) Descriptor() ([]byte, []int)

Deprecated: Use MoneyValue.ProtoReflect.Descriptor instead.

func (*MoneyValue) GetCurrency

func (x *MoneyValue) GetCurrency() string

func (*MoneyValue) GetNano

func (x *MoneyValue) GetNano() int32

func (*MoneyValue) GetUnits

func (x *MoneyValue) GetUnits() int64

func (*MoneyValue) ProtoMessage

func (*MoneyValue) ProtoMessage()

func (*MoneyValue) ProtoReflect

func (x *MoneyValue) ProtoReflect() protoreflect.Message

func (*MoneyValue) Reset

func (x *MoneyValue) Reset()

func (*MoneyValue) String

func (x *MoneyValue) String() string

func (*MoneyValue) ToFloat64

func (x *MoneyValue) ToFloat64() float64

ToFloat64 выводит представление цены в виде дробного числа float64

func (*MoneyValue) ToStringWithCurrency

func (x *MoneyValue) ToStringWithCurrency() string

ToStringWithCurrency выводит строковое представление цены с указанием валюты

func (*MoneyValue) ToStringWithoutCurrency

func (x *MoneyValue) ToStringWithoutCurrency() string

ToStringWithoutCurrency выводит строковое представление цены без указания валюты

type OpenSandboxAccountRequest

type OpenSandboxAccountRequest struct {
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // Название счёта
	// contains filtered or unexported fields
}

Запрос открытия счёта в песочнице.

func (*OpenSandboxAccountRequest) Descriptor deprecated

func (*OpenSandboxAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenSandboxAccountRequest.ProtoReflect.Descriptor instead.

func (*OpenSandboxAccountRequest) GetName added in v1.4.0

func (x *OpenSandboxAccountRequest) GetName() string

func (*OpenSandboxAccountRequest) ProtoMessage

func (*OpenSandboxAccountRequest) ProtoMessage()

func (*OpenSandboxAccountRequest) ProtoReflect

func (*OpenSandboxAccountRequest) Reset

func (x *OpenSandboxAccountRequest) Reset()

func (*OpenSandboxAccountRequest) String

func (x *OpenSandboxAccountRequest) String() string

type OpenSandboxAccountResponse

type OpenSandboxAccountResponse struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта
	// contains filtered or unexported fields
}

Номер открытого счёта в песочнице.

func (*OpenSandboxAccountResponse) Descriptor deprecated

func (*OpenSandboxAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use OpenSandboxAccountResponse.ProtoReflect.Descriptor instead.

func (*OpenSandboxAccountResponse) GetAccountId

func (x *OpenSandboxAccountResponse) GetAccountId() string

func (*OpenSandboxAccountResponse) ProtoMessage

func (*OpenSandboxAccountResponse) ProtoMessage()

func (*OpenSandboxAccountResponse) ProtoReflect

func (*OpenSandboxAccountResponse) Reset

func (x *OpenSandboxAccountResponse) Reset()

func (*OpenSandboxAccountResponse) String

func (x *OpenSandboxAccountResponse) String() string

type Operation

type Operation struct {
	Id                string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                                  //Идентификатор операции.
	ParentOperationId string                 `protobuf:"bytes,2,opt,name=parent_operation_id,json=parentOperationId,proto3" json:"parent_operation_id,omitempty"`         //Идентификатор родительской операции.
	Currency          string                 `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"`                                                      //Валюта операции.
	Payment           *MoneyValue            `protobuf:"bytes,4,opt,name=payment,proto3" json:"payment,omitempty"`                                                        //Сумма операции.
	Price             *MoneyValue            `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"`                                                            //Цена операции за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	State             OperationState         `protobuf:"varint,6,opt,name=state,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationState" json:"state,omitempty"` //Статус операции.
	Quantity          int64                  `protobuf:"varint,7,opt,name=quantity,proto3" json:"quantity,omitempty"`                                                     //Количество единиц инструмента.
	QuantityRest      int64                  `protobuf:"varint,8,opt,name=quantity_rest,json=quantityRest,proto3" json:"quantity_rest,omitempty"`                         //Неисполненный остаток по сделке.
	Figi              string                 `protobuf:"bytes,9,opt,name=figi,proto3" json:"figi,omitempty"`                                                              //FIGI-идентификатор инструмента, связанного с операцией.
	InstrumentType    string                 `protobuf:"bytes,10,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"`                   //Тип инструмента. Возможные значения: </br></br>`bond` — облигация; </br>`share` — акция; </br>`currency` — валюта; </br>`etf` — фонд; </br>`futures` — фьючерс.
	Date              *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=date,proto3" json:"date,omitempty"`                                                             //Дата и время операции в формате часовом поясе UTC.
	Type              string                 `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"`                                                             //Текстовое описание типа операции.
	OperationType     OperationType          ``                                                                                                                           //Тип операции.
	/* 159-byte string literal not displayed */
	Trades          []*OperationTrade     `protobuf:"bytes,14,rep,name=trades,proto3" json:"trades,omitempty"`                                          //Массив сделок.
	AssetUid        string                `protobuf:"bytes,16,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`                      //Идентификатор актива
	PositionUid     string                `protobuf:"bytes,17,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`             //Уникальный идентификатор позиции.
	InstrumentUid   string                `protobuf:"bytes,18,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`       //Уникальный идентификатор инструмента.
	ChildOperations []*ChildOperationItem `protobuf:"bytes,19,rep,name=child_operations,json=childOperations,proto3" json:"child_operations,omitempty"` //Массив дочерних операций.
	// contains filtered or unexported fields
}

Данные по операции.

func (*Operation) Descriptor deprecated

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetAssetUid added in v1.2.3

func (x *Operation) GetAssetUid() string

func (*Operation) GetChildOperations added in v1.5.0

func (x *Operation) GetChildOperations() []*ChildOperationItem

func (*Operation) GetCurrency

func (x *Operation) GetCurrency() string

func (*Operation) GetDate

func (x *Operation) GetDate() *timestamppb.Timestamp

func (*Operation) GetFigi

func (x *Operation) GetFigi() string

func (*Operation) GetId

func (x *Operation) GetId() string

func (*Operation) GetInstrumentType

func (x *Operation) GetInstrumentType() string

func (*Operation) GetInstrumentUid added in v1.2.4

func (x *Operation) GetInstrumentUid() string

func (*Operation) GetOperationType

func (x *Operation) GetOperationType() OperationType

func (*Operation) GetParentOperationId

func (x *Operation) GetParentOperationId() string

func (*Operation) GetPayment

func (x *Operation) GetPayment() *MoneyValue

func (*Operation) GetPositionUid added in v1.2.4

func (x *Operation) GetPositionUid() string

func (*Operation) GetPrice

func (x *Operation) GetPrice() *MoneyValue

func (*Operation) GetQuantity

func (x *Operation) GetQuantity() int64

func (*Operation) GetQuantityRest

func (x *Operation) GetQuantityRest() int64

func (*Operation) GetState

func (x *Operation) GetState() OperationState

func (*Operation) GetTrades

func (x *Operation) GetTrades() []*OperationTrade

func (*Operation) GetType

func (x *Operation) GetType() string

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type OperationItem added in v1.1.3

type OperationItem struct {
	Cursor            string                 `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`                                                           //Курсор.
	BrokerAccountId   string                 `protobuf:"bytes,6,opt,name=broker_account_id,json=brokerAccountId,proto3" json:"broker_account_id,omitempty"`                //Номер счёта клиента.
	Id                string                 `protobuf:"bytes,16,opt,name=id,proto3" json:"id,omitempty"`                                                                  //Идентификатор операции, может меняться с течением времени.
	ParentOperationId string                 `protobuf:"bytes,17,opt,name=parent_operation_id,json=parentOperationId,proto3" json:"parent_operation_id,omitempty"`         //Идентификатор родительской операции. Может измениться, если изменился ID родительской операции.
	Name              string                 `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"`                                                              //Название операции.
	Date              *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=date,proto3" json:"date,omitempty"`                                                              //Дата поручения.
	Type              OperationType          `protobuf:"varint,22,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationType" json:"type,omitempty"`    //Тип операции.
	Description       string                 `protobuf:"bytes,23,opt,name=description,proto3" json:"description,omitempty"`                                                //Описание операции.
	State             OperationState         `protobuf:"varint,24,opt,name=state,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationState" json:"state,omitempty"` //Статус поручения.
	InstrumentUid     string                 `protobuf:"bytes,31,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`                       //Уникальный идентификатор инструмента.
	Figi              string                 `protobuf:"bytes,32,opt,name=figi,proto3" json:"figi,omitempty"`                                                              //FIGI.
	InstrumentType    string                 `protobuf:"bytes,33,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"`                    //Тип инструмента.
	InstrumentKind    InstrumentType         ``                                                                                                                            //Тип инструмента.
	/* 163-byte string literal not displayed */
	PositionUid     string                 `protobuf:"bytes,35,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`             //Уникальный идентификатор позиции.
	Payment         *MoneyValue            `protobuf:"bytes,41,opt,name=payment,proto3" json:"payment,omitempty"`                                        //Сумма операции.
	Price           *MoneyValue            `protobuf:"bytes,42,opt,name=price,proto3" json:"price,omitempty"`                                            //Цена операции за 1 инструмент.
	Commission      *MoneyValue            `protobuf:"bytes,43,opt,name=commission,proto3" json:"commission,omitempty"`                                  //Комиссия.
	Yield           *MoneyValue            `protobuf:"bytes,44,opt,name=yield,proto3" json:"yield,omitempty"`                                            //Доходность.
	YieldRelative   *Quotation             `protobuf:"bytes,45,opt,name=yield_relative,json=yieldRelative,proto3" json:"yield_relative,omitempty"`       //Относительная доходность.
	AccruedInt      *MoneyValue            `protobuf:"bytes,46,opt,name=accrued_int,json=accruedInt,proto3" json:"accrued_int,omitempty"`                //Накопленный купонный доход.
	Quantity        int64                  `protobuf:"varint,51,opt,name=quantity,proto3" json:"quantity,omitempty"`                                     //Количество единиц инструмента.
	QuantityRest    int64                  `protobuf:"varint,52,opt,name=quantity_rest,json=quantityRest,proto3" json:"quantity_rest,omitempty"`         //Неисполненный остаток по сделке.
	QuantityDone    int64                  `protobuf:"varint,53,opt,name=quantity_done,json=quantityDone,proto3" json:"quantity_done,omitempty"`         //Исполненный остаток.
	CancelDateTime  *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=cancel_date_time,json=cancelDateTime,proto3" json:"cancel_date_time,omitempty"`  //Дата и время снятия заявки.
	CancelReason    string                 `protobuf:"bytes,57,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"`          //Причина отмены операции.
	TradesInfo      *OperationItemTrades   `protobuf:"bytes,61,opt,name=trades_info,json=tradesInfo,proto3" json:"trades_info,omitempty"`                //Массив сделок.
	AssetUid        string                 `protobuf:"bytes,64,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`                      //Идентификатор актива.
	ChildOperations []*ChildOperationItem  `protobuf:"bytes,65,rep,name=child_operations,json=childOperations,proto3" json:"child_operations,omitempty"` //Массив дочерних операций.
	// contains filtered or unexported fields
}

Данные об операции.

func (*OperationItem) Descriptor deprecated added in v1.1.3

func (*OperationItem) Descriptor() ([]byte, []int)

Deprecated: Use OperationItem.ProtoReflect.Descriptor instead.

func (*OperationItem) GetAccruedInt added in v1.1.3

func (x *OperationItem) GetAccruedInt() *MoneyValue

func (*OperationItem) GetAssetUid added in v1.2.3

func (x *OperationItem) GetAssetUid() string

func (*OperationItem) GetBrokerAccountId added in v1.1.3

func (x *OperationItem) GetBrokerAccountId() string

func (*OperationItem) GetCancelDateTime added in v1.1.3

func (x *OperationItem) GetCancelDateTime() *timestamppb.Timestamp

func (*OperationItem) GetCancelReason added in v1.1.3

func (x *OperationItem) GetCancelReason() string

func (*OperationItem) GetChildOperations added in v1.5.0

func (x *OperationItem) GetChildOperations() []*ChildOperationItem

func (*OperationItem) GetCommission added in v1.1.3

func (x *OperationItem) GetCommission() *MoneyValue

func (*OperationItem) GetCursor added in v1.1.3

func (x *OperationItem) GetCursor() string

func (*OperationItem) GetDate added in v1.1.3

func (x *OperationItem) GetDate() *timestamppb.Timestamp

func (*OperationItem) GetDescription added in v1.1.3

func (x *OperationItem) GetDescription() string

func (*OperationItem) GetFigi added in v1.1.3

func (x *OperationItem) GetFigi() string

func (*OperationItem) GetId added in v1.1.3

func (x *OperationItem) GetId() string

func (*OperationItem) GetInstrumentKind added in v1.1.3

func (x *OperationItem) GetInstrumentKind() InstrumentType

func (*OperationItem) GetInstrumentType added in v1.1.3

func (x *OperationItem) GetInstrumentType() string

func (*OperationItem) GetInstrumentUid added in v1.1.3

func (x *OperationItem) GetInstrumentUid() string

func (*OperationItem) GetName added in v1.1.3

func (x *OperationItem) GetName() string

func (*OperationItem) GetParentOperationId added in v1.1.3

func (x *OperationItem) GetParentOperationId() string

func (*OperationItem) GetPayment added in v1.1.3

func (x *OperationItem) GetPayment() *MoneyValue

func (*OperationItem) GetPositionUid added in v1.2.4

func (x *OperationItem) GetPositionUid() string

func (*OperationItem) GetPrice added in v1.1.3

func (x *OperationItem) GetPrice() *MoneyValue

func (*OperationItem) GetQuantity added in v1.1.3

func (x *OperationItem) GetQuantity() int64

func (*OperationItem) GetQuantityDone added in v1.1.3

func (x *OperationItem) GetQuantityDone() int64

func (*OperationItem) GetQuantityRest added in v1.1.3

func (x *OperationItem) GetQuantityRest() int64

func (*OperationItem) GetState added in v1.1.3

func (x *OperationItem) GetState() OperationState

func (*OperationItem) GetTradesInfo added in v1.1.3

func (x *OperationItem) GetTradesInfo() *OperationItemTrades

func (*OperationItem) GetType added in v1.1.3

func (x *OperationItem) GetType() OperationType

func (*OperationItem) GetYield added in v1.1.3

func (x *OperationItem) GetYield() *MoneyValue

func (*OperationItem) GetYieldRelative added in v1.1.3

func (x *OperationItem) GetYieldRelative() *Quotation

func (*OperationItem) ProtoMessage added in v1.1.3

func (*OperationItem) ProtoMessage()

func (*OperationItem) ProtoReflect added in v1.1.3

func (x *OperationItem) ProtoReflect() protoreflect.Message

func (*OperationItem) Reset added in v1.1.3

func (x *OperationItem) Reset()

func (*OperationItem) String added in v1.1.3

func (x *OperationItem) String() string

type OperationItemTrade added in v1.1.3

type OperationItemTrade struct {
	Num           string                 `protobuf:"bytes,1,opt,name=num,proto3" json:"num,omitempty"`                                           //Номер сделки.
	Date          *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`                                         //Дата сделки.
	Quantity      int64                  `protobuf:"varint,11,opt,name=quantity,proto3" json:"quantity,omitempty"`                               //Количество в единицах.
	Price         *MoneyValue            `protobuf:"bytes,16,opt,name=price,proto3" json:"price,omitempty"`                                      //Цена.
	Yield         *MoneyValue            `protobuf:"bytes,21,opt,name=yield,proto3" json:"yield,omitempty"`                                      //Доходность.
	YieldRelative *Quotation             `protobuf:"bytes,22,opt,name=yield_relative,json=yieldRelative,proto3" json:"yield_relative,omitempty"` //Относительная доходность.
	// contains filtered or unexported fields
}

Сделка по операции.

func (*OperationItemTrade) Descriptor deprecated added in v1.1.3

func (*OperationItemTrade) Descriptor() ([]byte, []int)

Deprecated: Use OperationItemTrade.ProtoReflect.Descriptor instead.

func (*OperationItemTrade) GetDate added in v1.1.3

func (*OperationItemTrade) GetNum added in v1.1.3

func (x *OperationItemTrade) GetNum() string

func (*OperationItemTrade) GetPrice added in v1.1.3

func (x *OperationItemTrade) GetPrice() *MoneyValue

func (*OperationItemTrade) GetQuantity added in v1.1.3

func (x *OperationItemTrade) GetQuantity() int64

func (*OperationItemTrade) GetYield added in v1.1.3

func (x *OperationItemTrade) GetYield() *MoneyValue

func (*OperationItemTrade) GetYieldRelative added in v1.1.3

func (x *OperationItemTrade) GetYieldRelative() *Quotation

func (*OperationItemTrade) ProtoMessage added in v1.1.3

func (*OperationItemTrade) ProtoMessage()

func (*OperationItemTrade) ProtoReflect added in v1.1.3

func (x *OperationItemTrade) ProtoReflect() protoreflect.Message

func (*OperationItemTrade) Reset added in v1.1.3

func (x *OperationItemTrade) Reset()

func (*OperationItemTrade) String added in v1.1.3

func (x *OperationItemTrade) String() string

type OperationItemTrades added in v1.1.3

type OperationItemTrades struct {
	Trades []*OperationItemTrade `protobuf:"bytes,6,rep,name=trades,proto3" json:"trades,omitempty"`
	// contains filtered or unexported fields
}

Массив с информацией о сделках.

func (*OperationItemTrades) Descriptor deprecated added in v1.1.3

func (*OperationItemTrades) Descriptor() ([]byte, []int)

Deprecated: Use OperationItemTrades.ProtoReflect.Descriptor instead.

func (*OperationItemTrades) GetTrades added in v1.1.3

func (x *OperationItemTrades) GetTrades() []*OperationItemTrade

func (*OperationItemTrades) ProtoMessage added in v1.1.3

func (*OperationItemTrades) ProtoMessage()

func (*OperationItemTrades) ProtoReflect added in v1.1.3

func (x *OperationItemTrades) ProtoReflect() protoreflect.Message

func (*OperationItemTrades) Reset added in v1.1.3

func (x *OperationItemTrades) Reset()

func (*OperationItemTrades) String added in v1.1.3

func (x *OperationItemTrades) String() string

type OperationState

type OperationState int32

Статус запрашиваемых операций.

const (
	OperationState_OPERATION_STATE_UNSPECIFIED OperationState = 0 //Статус операции не определён.
	OperationState_OPERATION_STATE_EXECUTED    OperationState = 1 //Исполнена частично или полностью.
	OperationState_OPERATION_STATE_CANCELED    OperationState = 2 //Отменена.
	OperationState_OPERATION_STATE_PROGRESS    OperationState = 3 //Исполняется.
)

func (OperationState) Descriptor

func (OperationState) Enum

func (x OperationState) Enum() *OperationState

func (OperationState) EnumDescriptor deprecated

func (OperationState) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationState.Descriptor instead.

func (OperationState) Number

func (OperationState) String

func (x OperationState) String() string

func (OperationState) Type

type OperationTrade

type OperationTrade struct {
	TradeId  string                 `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`    //Идентификатор сделки.
	DateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3" json:"date_time,omitempty"` //Дата и время сделки по UTC.
	Quantity int64                  `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`                //Количество инструментов.
	Price    *MoneyValue            `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"`                       //Цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	// contains filtered or unexported fields
}

Сделка по операции.

func (*OperationTrade) Descriptor deprecated

func (*OperationTrade) Descriptor() ([]byte, []int)

Deprecated: Use OperationTrade.ProtoReflect.Descriptor instead.

func (*OperationTrade) GetDateTime

func (x *OperationTrade) GetDateTime() *timestamppb.Timestamp

func (*OperationTrade) GetPrice

func (x *OperationTrade) GetPrice() *MoneyValue

func (*OperationTrade) GetQuantity

func (x *OperationTrade) GetQuantity() int64

func (*OperationTrade) GetTradeId

func (x *OperationTrade) GetTradeId() string

func (*OperationTrade) ProtoMessage

func (*OperationTrade) ProtoMessage()

func (*OperationTrade) ProtoReflect

func (x *OperationTrade) ProtoReflect() protoreflect.Message

func (*OperationTrade) Reset

func (x *OperationTrade) Reset()

func (*OperationTrade) String

func (x *OperationTrade) String() string

type OperationType

type OperationType int32

Тип операции.

const (
	OperationType_OPERATION_TYPE_UNSPECIFIED                 OperationType = 0  //Тип операции не определён.
	OperationType_OPERATION_TYPE_INPUT                       OperationType = 1  //Пополнение брокерского счёта.
	OperationType_OPERATION_TYPE_BOND_TAX                    OperationType = 2  //Удержание НДФЛ по купонам.
	OperationType_OPERATION_TYPE_OUTPUT_SECURITIES           OperationType = 3  //Вывод ЦБ.
	OperationType_OPERATION_TYPE_OVERNIGHT                   OperationType = 4  //Доход по сделке РЕПО овернайт.
	OperationType_OPERATION_TYPE_TAX                         OperationType = 5  //Удержание налога.
	OperationType_OPERATION_TYPE_BOND_REPAYMENT_FULL         OperationType = 6  //Полное погашение облигаций.
	OperationType_OPERATION_TYPE_SELL_CARD                   OperationType = 7  //Продажа ЦБ с карты.
	OperationType_OPERATION_TYPE_DIVIDEND_TAX                OperationType = 8  //Удержание налога по дивидендам.
	OperationType_OPERATION_TYPE_OUTPUT                      OperationType = 9  //Вывод денежных средств.
	OperationType_OPERATION_TYPE_BOND_REPAYMENT              OperationType = 10 //Частичное погашение облигаций.
	OperationType_OPERATION_TYPE_TAX_CORRECTION              OperationType = 11 //Корректировка налога.
	OperationType_OPERATION_TYPE_SERVICE_FEE                 OperationType = 12 //Удержание комиссии за обслуживание брокерского счёта.
	OperationType_OPERATION_TYPE_BENEFIT_TAX                 OperationType = 13 //Удержание налога за материальную выгоду.
	OperationType_OPERATION_TYPE_MARGIN_FEE                  OperationType = 14 //Удержание комиссии за непокрытую позицию.
	OperationType_OPERATION_TYPE_BUY                         OperationType = 15 //Покупка ЦБ.
	OperationType_OPERATION_TYPE_BUY_CARD                    OperationType = 16 //Покупка ЦБ с карты.
	OperationType_OPERATION_TYPE_INPUT_SECURITIES            OperationType = 17 //Перевод ценных бумаг из другого депозитария.
	OperationType_OPERATION_TYPE_SELL_MARGIN                 OperationType = 18 //Продажа в результате Margin-call.
	OperationType_OPERATION_TYPE_BROKER_FEE                  OperationType = 19 //Удержание комиссии за операцию.
	OperationType_OPERATION_TYPE_BUY_MARGIN                  OperationType = 20 //Покупка в результате Margin-call.
	OperationType_OPERATION_TYPE_DIVIDEND                    OperationType = 21 //Выплата дивидендов.
	OperationType_OPERATION_TYPE_SELL                        OperationType = 22 //Продажа ЦБ.
	OperationType_OPERATION_TYPE_COUPON                      OperationType = 23 //Выплата купонов.
	OperationType_OPERATION_TYPE_SUCCESS_FEE                 OperationType = 24 //Удержание комиссии SuccessFee.
	OperationType_OPERATION_TYPE_DIVIDEND_TRANSFER           OperationType = 25 //Передача дивидендного дохода.
	OperationType_OPERATION_TYPE_ACCRUING_VARMARGIN          OperationType = 26 //Зачисление вариационной маржи.
	OperationType_OPERATION_TYPE_WRITING_OFF_VARMARGIN       OperationType = 27 //Списание вариационной маржи.
	OperationType_OPERATION_TYPE_DELIVERY_BUY                OperationType = 28 //Покупка в рамках экспирации фьючерсного контракта.
	OperationType_OPERATION_TYPE_DELIVERY_SELL               OperationType = 29 //Продажа в рамках экспирации фьючерсного контракта.
	OperationType_OPERATION_TYPE_TRACK_MFEE                  OperationType = 30 //Комиссия за управление по счёту автоследования.
	OperationType_OPERATION_TYPE_TRACK_PFEE                  OperationType = 31 //Комиссия за результат по счёту автоследования.
	OperationType_OPERATION_TYPE_TAX_PROGRESSIVE             OperationType = 32 //Удержание налога по ставке 15%.
	OperationType_OPERATION_TYPE_BOND_TAX_PROGRESSIVE        OperationType = 33 //Удержание налога по купонам по ставке 15%.
	OperationType_OPERATION_TYPE_DIVIDEND_TAX_PROGRESSIVE    OperationType = 34 //Удержание налога по дивидендам по ставке 15%.
	OperationType_OPERATION_TYPE_BENEFIT_TAX_PROGRESSIVE     OperationType = 35 //Удержание налога за материальную выгоду по ставке 15%.
	OperationType_OPERATION_TYPE_TAX_CORRECTION_PROGRESSIVE  OperationType = 36 //Корректировка налога по ставке 15%.
	OperationType_OPERATION_TYPE_TAX_REPO_PROGRESSIVE        OperationType = 37 //Удержание налога за возмещение по сделкам РЕПО по ставке 15%.
	OperationType_OPERATION_TYPE_TAX_REPO                    OperationType = 38 //Удержание налога за возмещение по сделкам РЕПО.
	OperationType_OPERATION_TYPE_TAX_REPO_HOLD               OperationType = 39 //Удержание налога по сделкам РЕПО.
	OperationType_OPERATION_TYPE_TAX_REPO_REFUND             OperationType = 40 //Возврат налога по сделкам РЕПО.
	OperationType_OPERATION_TYPE_TAX_REPO_HOLD_PROGRESSIVE   OperationType = 41 //Удержание налога по сделкам РЕПО по ставке 15%.
	OperationType_OPERATION_TYPE_TAX_REPO_REFUND_PROGRESSIVE OperationType = 42 //Возврат налога по сделкам РЕПО по ставке 15%.
	OperationType_OPERATION_TYPE_DIV_EXT                     OperationType = 43 //Выплата дивидендов на карту.
	OperationType_OPERATION_TYPE_TAX_CORRECTION_COUPON       OperationType = 44 //Корректировка налога по купонам.
	OperationType_OPERATION_TYPE_CASH_FEE                    OperationType = 45 //Комиссия за валютный остаток.
	OperationType_OPERATION_TYPE_OUT_FEE                     OperationType = 46 //Комиссия за вывод валюты с брокерского счёта.
	OperationType_OPERATION_TYPE_OUT_STAMP_DUTY              OperationType = 47 //Гербовый сбор.
	OperationType_OPERATION_TYPE_OUTPUT_SWIFT                OperationType = 50 //	SWIFT-перевод.
	OperationType_OPERATION_TYPE_INPUT_SWIFT                 OperationType = 51 //	SWIFT-перевод.
	OperationType_OPERATION_TYPE_OUTPUT_ACQUIRING            OperationType = 53 //  Перевод на карту.
	OperationType_OPERATION_TYPE_INPUT_ACQUIRING             OperationType = 54 //	Перевод с карты.
	OperationType_OPERATION_TYPE_OUTPUT_PENALTY              OperationType = 55 //	Комиссия за вывод средств.
	OperationType_OPERATION_TYPE_ADVICE_FEE                  OperationType = 56 //	Списание оплаты за сервис Советов.
	OperationType_OPERATION_TYPE_TRANS_IIS_BS                OperationType = 57 //  Перевод ценных бумаг с ИИС на брокерский счёт.
	OperationType_OPERATION_TYPE_TRANS_BS_BS                 OperationType = 58 //  Перевод ценных бумаг с одного брокерского счёта на другой.
	OperationType_OPERATION_TYPE_OUT_MULTI                   OperationType = 59 //  Вывод денежных средств со счёта.
	OperationType_OPERATION_TYPE_INP_MULTI                   OperationType = 60 //  Пополнение денежных средств со счёта.
	OperationType_OPERATION_TYPE_OVER_PLACEMENT              OperationType = 61 //  Размещение биржевого овернайта.
	OperationType_OPERATION_TYPE_OVER_COM                    OperationType = 62 //  Списание комиссии.
	OperationType_OPERATION_TYPE_OVER_INCOME                 OperationType = 63 //  Доход от оверанайта.
	OperationType_OPERATION_TYPE_OPTION_EXPIRATION           OperationType = 64 // Экспирация опциона.
	OperationType_OPERATION_TYPE_FUTURE_EXPIRATION           OperationType = 65 // Экспирация фьючерса.
)

func (OperationType) Descriptor

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) EnumDescriptor deprecated

func (OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationType.Descriptor instead.

func (OperationType) Number

func (OperationType) String

func (x OperationType) String() string

func (OperationType) Type

type OperationsRequest

type OperationsRequest struct {
	AccountId string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента.
	From      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`                      //Начало периода по UTC.
	To        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`                          //Окончание периода по UTC.
	State     *OperationState        ``                                                                                         //Статус запрашиваемых операций.
	/* 128-byte string literal not displayed */
	Figi *string `protobuf:"bytes,5,opt,name=figi,proto3,oneof" json:"figi,omitempty"` //FIGI-идентификатор инструмента для фильтрации.
	// contains filtered or unexported fields
}

Запрос получения списка операций по счёту.

func (*OperationsRequest) Descriptor deprecated

func (*OperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OperationsRequest.ProtoReflect.Descriptor instead.

func (*OperationsRequest) GetAccountId

func (x *OperationsRequest) GetAccountId() string

func (*OperationsRequest) GetFigi

func (x *OperationsRequest) GetFigi() string

func (*OperationsRequest) GetFrom

func (x *OperationsRequest) GetFrom() *timestamppb.Timestamp

func (*OperationsRequest) GetState

func (x *OperationsRequest) GetState() OperationState

func (*OperationsRequest) GetTo

func (*OperationsRequest) ProtoMessage

func (*OperationsRequest) ProtoMessage()

func (*OperationsRequest) ProtoReflect

func (x *OperationsRequest) ProtoReflect() protoreflect.Message

func (*OperationsRequest) Reset

func (x *OperationsRequest) Reset()

func (*OperationsRequest) String

func (x *OperationsRequest) String() string

type OperationsResponse

type OperationsResponse struct {
	Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` //Массив операций.
	// contains filtered or unexported fields
}

Список операций.

func (*OperationsResponse) Descriptor deprecated

func (*OperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use OperationsResponse.ProtoReflect.Descriptor instead.

func (*OperationsResponse) GetOperations

func (x *OperationsResponse) GetOperations() []*Operation

func (*OperationsResponse) ProtoMessage

func (*OperationsResponse) ProtoMessage()

func (*OperationsResponse) ProtoReflect

func (x *OperationsResponse) ProtoReflect() protoreflect.Message

func (*OperationsResponse) Reset

func (x *OperationsResponse) Reset()

func (*OperationsResponse) String

func (x *OperationsResponse) String() string

type OperationsServiceClient

type OperationsServiceClient interface {
	// Получить список операций по счёту. При работе с методом учитывайте
	// [особенности взаимодействия](/investAPI/operations_problems).
	GetOperations(ctx context.Context, in *OperationsRequest, opts ...grpc.CallOption) (*OperationsResponse, error)
	// Получить портфель по счёту.
	GetPortfolio(ctx context.Context, in *PortfolioRequest, opts ...grpc.CallOption) (*PortfolioResponse, error)
	// Получить список позиций по счёту.
	GetPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error)
	// Получить доступный остаток для вывода средств.
	GetWithdrawLimits(ctx context.Context, in *WithdrawLimitsRequest, opts ...grpc.CallOption) (*WithdrawLimitsResponse, error)
	// Получить брокерский отчёт.
	GetBrokerReport(ctx context.Context, in *BrokerReportRequest, opts ...grpc.CallOption) (*BrokerReportResponse, error)
	// Получить отчёт «Справка о доходах за пределами РФ».
	GetDividendsForeignIssuer(ctx context.Context, in *GetDividendsForeignIssuerRequest, opts ...grpc.CallOption) (*GetDividendsForeignIssuerResponse, error)
	// Получить список операций по счёту с пагинацией. При работе с методом учитывайте
	// [особенности взаимодействия](/investAPI/operations_problems).
	GetOperationsByCursor(ctx context.Context, in *GetOperationsByCursorRequest, opts ...grpc.CallOption) (*GetOperationsByCursorResponse, error)
}

OperationsServiceClient is the client API for OperationsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OperationsServiceServer

type OperationsServiceServer interface {
	// Получить список операций по счёту. При работе с методом учитывайте
	// [особенности взаимодействия](/investAPI/operations_problems).
	GetOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
	// Получить портфель по счёту.
	GetPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
	// Получить список позиций по счёту.
	GetPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
	// Получить доступный остаток для вывода средств.
	GetWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error)
	// Получить брокерский отчёт.
	GetBrokerReport(context.Context, *BrokerReportRequest) (*BrokerReportResponse, error)
	// Получить отчёт «Справка о доходах за пределами РФ».
	GetDividendsForeignIssuer(context.Context, *GetDividendsForeignIssuerRequest) (*GetDividendsForeignIssuerResponse, error)
	// Получить список операций по счёту с пагинацией. При работе с методом учитывайте
	// [особенности взаимодействия](/investAPI/operations_problems).
	GetOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error)
	// contains filtered or unexported methods
}

OperationsServiceServer is the server API for OperationsService service. All implementations must embed UnimplementedOperationsServiceServer for forward compatibility.

type OperationsStreamServiceClient added in v1.1.2

type OperationsStreamServiceClient interface {
	// Server-side stream обновлений портфеля.
	PortfolioStream(ctx context.Context, in *PortfolioStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PortfolioStreamResponse], error)
	// Server-side stream обновлений информации по изменению позиций портфеля.
	PositionsStream(ctx context.Context, in *PositionsStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PositionsStreamResponse], error)
}

OperationsStreamServiceClient is the client API for OperationsStreamService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewOperationsStreamServiceClient added in v1.1.2

func NewOperationsStreamServiceClient(cc grpc.ClientConnInterface) OperationsStreamServiceClient

type OperationsStreamServiceServer added in v1.1.2

type OperationsStreamServiceServer interface {
	// Server-side stream обновлений портфеля.
	PortfolioStream(*PortfolioStreamRequest, grpc.ServerStreamingServer[PortfolioStreamResponse]) error
	// Server-side stream обновлений информации по изменению позиций портфеля.
	PositionsStream(*PositionsStreamRequest, grpc.ServerStreamingServer[PositionsStreamResponse]) error
	// contains filtered or unexported methods
}

OperationsStreamServiceServer is the server API for OperationsStreamService service. All implementations must embed UnimplementedOperationsStreamServiceServer for forward compatibility.

type OperationsStreamService_PortfolioStreamClient added in v1.1.2

type OperationsStreamService_PortfolioStreamClient = grpc.ServerStreamingClient[PortfolioStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type OperationsStreamService_PortfolioStreamServer added in v1.1.2

type OperationsStreamService_PortfolioStreamServer = grpc.ServerStreamingServer[PortfolioStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type OperationsStreamService_PositionsStreamClient added in v1.2.0

type OperationsStreamService_PositionsStreamClient = grpc.ServerStreamingClient[PositionsStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type OperationsStreamService_PositionsStreamServer added in v1.2.0

type OperationsStreamService_PositionsStreamServer = grpc.ServerStreamingServer[PositionsStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Option added in v1.2.0

type Option struct {
	Uid                   string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                    //Уникальный идентификатор инструмента.
	PositionUid           string `protobuf:"bytes,2,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции.
	Ticker                string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`                              //Тикер инструмента.
	ClassCode             string `protobuf:"bytes,4,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"`       //Класс-код.
	BasicAssetPositionUid string ``                                                                                               //Уникальный идентификатор позиции основного инструмента.
	/* 128-byte string literal not displayed */
	TradingStatus SecurityTradingStatus `` //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	RealExchange RealExchange `` //Реальная площадка исполнения расчётов (биржа).
	/* 155-byte string literal not displayed */
	Direction OptionDirection `` //Направление опциона.
	/* 132-byte string literal not displayed */
	PaymentType OptionPaymentType `` //Тип расчётов по опциону.
	/* 157-byte string literal not displayed */
	Style          OptionStyle          `protobuf:"varint,43,opt,name=style,proto3,enum=tinkoff.public.invest.api.contract.v1.OptionStyle" json:"style,omitempty"` //Стиль опциона.
	SettlementType OptionSettlementType ``                                                                                                                         //Способ исполнения опциона.
	/* 169-byte string literal not displayed */
	Name               string     `protobuf:"bytes,101,opt,name=name,proto3" json:"name,omitempty"`                                                        //Название инструмента.
	Currency           string     `protobuf:"bytes,111,opt,name=currency,proto3" json:"currency,omitempty"`                                                //Валюта.
	SettlementCurrency string     `protobuf:"bytes,112,opt,name=settlement_currency,json=settlementCurrency,proto3" json:"settlement_currency,omitempty"`  //Валюта, в которой оценивается контракт.
	AssetType          string     `protobuf:"bytes,131,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`                             //Тип актива.
	BasicAsset         string     `protobuf:"bytes,132,opt,name=basic_asset,json=basicAsset,proto3" json:"basic_asset,omitempty"`                          //Основной актив.
	Exchange           string     `protobuf:"bytes,141,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                // Tорговая площадка (секция биржи).
	CountryOfRisk      string     `protobuf:"bytes,151,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны рисков.
	CountryOfRiskName  string     `protobuf:"bytes,152,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны рисков.
	Sector             string     `protobuf:"bytes,161,opt,name=sector,proto3" json:"sector,omitempty"`                                                    //Сектор экономики.
	Brand              *BrandData `protobuf:"bytes,162,opt,name=brand,proto3" json:"brand,omitempty"`                                                      // Информация о бренде.
	Lot                int32      `protobuf:"varint,201,opt,name=lot,proto3" json:"lot,omitempty"`                                                         //Количество бумаг в лоте.
	BasicAssetSize     *Quotation `protobuf:"bytes,211,opt,name=basic_asset_size,json=basicAssetSize,proto3" json:"basic_asset_size,omitempty"`            //Размер основного актива.
	Klong              *Quotation `protobuf:"bytes,221,opt,name=klong,proto3" json:"klong,omitempty"`                                                      //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort             *Quotation `protobuf:"bytes,222,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                    //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,223,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,224,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,225,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin             *Quotation             `protobuf:"bytes,226,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                                    //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	MinPriceIncrement     *Quotation             `protobuf:"bytes,231,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"`          //Минимальный шаг цены.
	StrikePrice           *MoneyValue            `protobuf:"bytes,241,opt,name=strike_price,json=strikePrice,proto3" json:"strike_price,omitempty"`                              //Цена страйка.
	DlongClient           *Quotation             `protobuf:"bytes,290,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`                              //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient          *Quotation             `protobuf:"bytes,291,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"`                           //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ExpirationDate        *timestamppb.Timestamp `protobuf:"bytes,301,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`                     //Дата истечения срока в формате UTC.
	FirstTradeDate        *timestamppb.Timestamp `protobuf:"bytes,311,opt,name=first_trade_date,json=firstTradeDate,proto3" json:"first_trade_date,omitempty"`                   //Дата начала обращения контракта в формате UTC.
	LastTradeDate         *timestamppb.Timestamp `protobuf:"bytes,312,opt,name=last_trade_date,json=lastTradeDate,proto3" json:"last_trade_date,omitempty"`                      //Дата исполнения в формате UTC.
	First_1MinCandleDate  *timestamppb.Timestamp `protobuf:"bytes,321,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи в формате UTC.
	First_1DayCandleDate  *timestamppb.Timestamp `protobuf:"bytes,322,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи в формате UTC.
	ShortEnabledFlag      bool                   `protobuf:"varint,401,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"`            //Признак доступности для операций шорт.
	ForIisFlag            bool                   `protobuf:"varint,402,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Возможность покупки или продажи на ИИС.
	OtcFlag               bool                   `protobuf:"varint,403,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                         //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag      bool                   `protobuf:"varint,404,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`            //Признак доступности для покупки.
	SellAvailableFlag     bool                   `protobuf:"varint,405,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"`         //Признак доступности для продажи.
	ForQualInvestorFlag   bool                   `protobuf:"varint,406,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag           bool                   `protobuf:"varint,407,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag        bool                   `protobuf:"varint,408,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	ApiTradeAvailableFlag bool                   ``                                                                                                                              //Возможность торговать инструментом через API.
	/* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Опцион.

func (*Option) Descriptor deprecated added in v1.2.0

func (*Option) Descriptor() ([]byte, []int)

Deprecated: Use Option.ProtoReflect.Descriptor instead.

func (*Option) GetApiTradeAvailableFlag added in v1.2.3

func (x *Option) GetApiTradeAvailableFlag() bool

func (*Option) GetAssetType added in v1.2.0

func (x *Option) GetAssetType() string

func (*Option) GetBasicAsset added in v1.2.0

func (x *Option) GetBasicAsset() string

func (*Option) GetBasicAssetPositionUid added in v1.2.0

func (x *Option) GetBasicAssetPositionUid() string

func (*Option) GetBasicAssetSize added in v1.2.0

func (x *Option) GetBasicAssetSize() *Quotation

func (*Option) GetBlockedTcaFlag added in v1.2.3

func (x *Option) GetBlockedTcaFlag() bool

func (*Option) GetBrand added in v1.4.0

func (x *Option) GetBrand() *BrandData

func (*Option) GetBuyAvailableFlag added in v1.2.0

func (x *Option) GetBuyAvailableFlag() bool

func (*Option) GetClassCode added in v1.2.0

func (x *Option) GetClassCode() string

func (*Option) GetCountryOfRisk added in v1.2.0

func (x *Option) GetCountryOfRisk() string

func (*Option) GetCountryOfRiskName added in v1.2.0

func (x *Option) GetCountryOfRiskName() string

func (*Option) GetCurrency added in v1.2.0

func (x *Option) GetCurrency() string

func (*Option) GetDirection added in v1.2.0

func (x *Option) GetDirection() OptionDirection

func (*Option) GetDlong deprecated added in v1.2.0

func (x *Option) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Option) GetDlongClient added in v1.8.1

func (x *Option) GetDlongClient() *Quotation

func (*Option) GetDlongMin deprecated added in v1.2.0

func (x *Option) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Option) GetDshort deprecated added in v1.2.0

func (x *Option) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Option) GetDshortClient added in v1.8.1

func (x *Option) GetDshortClient() *Quotation

func (*Option) GetDshortMin deprecated added in v1.2.0

func (x *Option) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Option) GetExchange added in v1.2.0

func (x *Option) GetExchange() string

func (*Option) GetExpirationDate added in v1.2.0

func (x *Option) GetExpirationDate() *timestamppb.Timestamp

func (*Option) GetFirstTradeDate added in v1.2.0

func (x *Option) GetFirstTradeDate() *timestamppb.Timestamp

func (*Option) GetFirst_1DayCandleDate added in v1.2.0

func (x *Option) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Option) GetFirst_1MinCandleDate added in v1.2.0

func (x *Option) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Option) GetForIisFlag added in v1.2.0

func (x *Option) GetForIisFlag() bool

func (*Option) GetForQualInvestorFlag added in v1.2.0

func (x *Option) GetForQualInvestorFlag() bool

func (*Option) GetKlong added in v1.2.0

func (x *Option) GetKlong() *Quotation

func (*Option) GetKshort added in v1.2.0

func (x *Option) GetKshort() *Quotation

func (*Option) GetLastTradeDate added in v1.2.0

func (x *Option) GetLastTradeDate() *timestamppb.Timestamp

func (*Option) GetLot added in v1.2.0

func (x *Option) GetLot() int32

func (*Option) GetMinPriceIncrement added in v1.2.0

func (x *Option) GetMinPriceIncrement() *Quotation

func (*Option) GetName added in v1.2.0

func (x *Option) GetName() string

func (*Option) GetOtcFlag added in v1.2.0

func (x *Option) GetOtcFlag() bool

func (*Option) GetPaymentType added in v1.2.0

func (x *Option) GetPaymentType() OptionPaymentType

func (*Option) GetPositionUid added in v1.2.0

func (x *Option) GetPositionUid() string

func (*Option) GetRealExchange added in v1.2.0

func (x *Option) GetRealExchange() RealExchange

func (*Option) GetSector added in v1.2.0

func (x *Option) GetSector() string

func (*Option) GetSellAvailableFlag added in v1.2.0

func (x *Option) GetSellAvailableFlag() bool

func (*Option) GetSettlementCurrency added in v1.2.0

func (x *Option) GetSettlementCurrency() string

func (*Option) GetSettlementType added in v1.2.0

func (x *Option) GetSettlementType() OptionSettlementType

func (*Option) GetShortEnabledFlag added in v1.2.0

func (x *Option) GetShortEnabledFlag() bool

func (*Option) GetStrikePrice added in v1.2.0

func (x *Option) GetStrikePrice() *MoneyValue

func (*Option) GetStyle added in v1.2.0

func (x *Option) GetStyle() OptionStyle

func (*Option) GetTicker added in v1.2.0

func (x *Option) GetTicker() string

func (*Option) GetTradingStatus added in v1.2.0

func (x *Option) GetTradingStatus() SecurityTradingStatus

func (*Option) GetUid added in v1.2.0

func (x *Option) GetUid() string

func (*Option) GetWeekendFlag added in v1.2.3

func (x *Option) GetWeekendFlag() bool

func (*Option) ProtoMessage added in v1.2.0

func (*Option) ProtoMessage()

func (*Option) ProtoReflect added in v1.2.0

func (x *Option) ProtoReflect() protoreflect.Message

func (*Option) Reset added in v1.2.0

func (x *Option) Reset()

func (*Option) String added in v1.2.0

func (x *Option) String() string

type OptionDirection added in v1.2.0

type OptionDirection int32

Тип опциона по направлению сделки.

const (
	OptionDirection_OPTION_DIRECTION_UNSPECIFIED OptionDirection = 0 //Тип не определён.
	OptionDirection_OPTION_DIRECTION_PUT         OptionDirection = 1 //Опцион на продажу.
	OptionDirection_OPTION_DIRECTION_CALL        OptionDirection = 2 //Опцион на покупку.
)

func (OptionDirection) Descriptor added in v1.2.0

func (OptionDirection) Enum added in v1.2.0

func (x OptionDirection) Enum() *OptionDirection

func (OptionDirection) EnumDescriptor deprecated added in v1.2.0

func (OptionDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionDirection.Descriptor instead.

func (OptionDirection) Number added in v1.2.0

func (OptionDirection) String added in v1.2.0

func (x OptionDirection) String() string

func (OptionDirection) Type added in v1.2.0

type OptionPaymentType added in v1.2.0

type OptionPaymentType int32

Тип расчётов по опциону.

const (
	OptionPaymentType_OPTION_PAYMENT_TYPE_UNSPECIFIED OptionPaymentType = 0 //Тип не определён.
	OptionPaymentType_OPTION_PAYMENT_TYPE_PREMIUM     OptionPaymentType = 1 //Опционы с использованием премии в расчётах.
	OptionPaymentType_OPTION_PAYMENT_TYPE_MARGINAL    OptionPaymentType = 2 //Маржируемые опционы.
)

func (OptionPaymentType) Descriptor added in v1.2.0

func (OptionPaymentType) Enum added in v1.2.0

func (OptionPaymentType) EnumDescriptor deprecated added in v1.2.0

func (OptionPaymentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionPaymentType.Descriptor instead.

func (OptionPaymentType) Number added in v1.2.0

func (OptionPaymentType) String added in v1.2.0

func (x OptionPaymentType) String() string

func (OptionPaymentType) Type added in v1.2.0

type OptionResponse added in v1.2.0

type OptionResponse struct {
	Instrument *Option `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация по опциону.
	// contains filtered or unexported fields
}

Данные по опциону.

func (*OptionResponse) Descriptor deprecated added in v1.2.0

func (*OptionResponse) Descriptor() ([]byte, []int)

Deprecated: Use OptionResponse.ProtoReflect.Descriptor instead.

func (*OptionResponse) GetInstrument added in v1.2.0

func (x *OptionResponse) GetInstrument() *Option

func (*OptionResponse) ProtoMessage added in v1.2.0

func (*OptionResponse) ProtoMessage()

func (*OptionResponse) ProtoReflect added in v1.2.0

func (x *OptionResponse) ProtoReflect() protoreflect.Message

func (*OptionResponse) Reset added in v1.2.0

func (x *OptionResponse) Reset()

func (*OptionResponse) String added in v1.2.0

func (x *OptionResponse) String() string

type OptionSettlementType added in v1.2.0

type OptionSettlementType int32

Тип опциона по способу исполнения.

const (
	OptionSettlementType_OPTION_EXECUTION_TYPE_UNSPECIFIED       OptionSettlementType = 0 //Тип не определён.
	OptionSettlementType_OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY OptionSettlementType = 1 // Поставочный тип опциона.
	OptionSettlementType_OPTION_EXECUTION_TYPE_CASH_SETTLEMENT   OptionSettlementType = 2 //Расчётный тип опциона.
)

func (OptionSettlementType) Descriptor added in v1.2.0

func (OptionSettlementType) Enum added in v1.2.0

func (OptionSettlementType) EnumDescriptor deprecated added in v1.2.0

func (OptionSettlementType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionSettlementType.Descriptor instead.

func (OptionSettlementType) Number added in v1.2.0

func (OptionSettlementType) String added in v1.2.0

func (x OptionSettlementType) String() string

func (OptionSettlementType) Type added in v1.2.0

type OptionStyle added in v1.2.0

type OptionStyle int32

Тип опциона по стилю.

const (
	OptionStyle_OPTION_STYLE_UNSPECIFIED OptionStyle = 0 //Тип не определён.
	OptionStyle_OPTION_STYLE_AMERICAN    OptionStyle = 1 //Американский опцион.
	OptionStyle_OPTION_STYLE_EUROPEAN    OptionStyle = 2 //Европейский опцион.
)

func (OptionStyle) Descriptor added in v1.2.0

func (OptionStyle) Enum added in v1.2.0

func (x OptionStyle) Enum() *OptionStyle

func (OptionStyle) EnumDescriptor deprecated added in v1.2.0

func (OptionStyle) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionStyle.Descriptor instead.

func (OptionStyle) Number added in v1.2.0

func (x OptionStyle) Number() protoreflect.EnumNumber

func (OptionStyle) String added in v1.2.0

func (x OptionStyle) String() string

func (OptionStyle) Type added in v1.2.0

type OptionsResponse added in v1.2.0

type OptionsResponse struct {
	Instruments []*Option `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив данных по опциону.
	// contains filtered or unexported fields
}

Данные по опционам.

func (*OptionsResponse) Descriptor deprecated added in v1.2.0

func (*OptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use OptionsResponse.ProtoReflect.Descriptor instead.

func (*OptionsResponse) GetInstruments added in v1.2.0

func (x *OptionsResponse) GetInstruments() []*Option

func (*OptionsResponse) ProtoMessage added in v1.2.0

func (*OptionsResponse) ProtoMessage()

func (*OptionsResponse) ProtoReflect added in v1.2.0

func (x *OptionsResponse) ProtoReflect() protoreflect.Message

func (*OptionsResponse) Reset added in v1.2.0

func (x *OptionsResponse) Reset()

func (*OptionsResponse) String added in v1.2.0

func (x *OptionsResponse) String() string

type Order

type Order struct {
	Price    *Quotation `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`        //Цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Quantity int64      `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество в лотах.
	// contains filtered or unexported fields
}

Массив предложений/спроса.

func (*Order) Descriptor deprecated

func (*Order) Descriptor() ([]byte, []int)

Deprecated: Use Order.ProtoReflect.Descriptor instead.

func (*Order) GetPrice

func (x *Order) GetPrice() *Quotation

func (*Order) GetQuantity

func (x *Order) GetQuantity() int64

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) ProtoReflect

func (x *Order) ProtoReflect() protoreflect.Message

func (*Order) Reset

func (x *Order) Reset()

func (*Order) String

func (x *Order) String() string

type OrderBook

type OrderBook struct {
	Figi          string                 `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                        //FIGI-идентификатор инструмента.
	Depth         int32                  `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"`                                     //Глубина стакана.
	IsConsistent  bool                   `protobuf:"varint,3,opt,name=is_consistent,json=isConsistent,proto3" json:"is_consistent,omitempty"`   //Флаг консистентности стакана. **false** — не все заявки попали в стакан из-за сетевых задержек или нарушения порядка доставки.
	Bids          []*Order               `protobuf:"bytes,4,rep,name=bids,proto3" json:"bids,omitempty"`                                        //Массив предложений.
	Asks          []*Order               `protobuf:"bytes,5,rep,name=asks,proto3" json:"asks,omitempty"`                                        //Массив спроса.
	Time          *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`                                        //Время формирования стакана в часовом поясе UTC по времени биржи.
	LimitUp       *Quotation             `protobuf:"bytes,7,opt,name=limit_up,json=limitUp,proto3" json:"limit_up,omitempty"`                   //Верхний лимит цены за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	LimitDown     *Quotation             `protobuf:"bytes,8,opt,name=limit_down,json=limitDown,proto3" json:"limit_down,omitempty"`             //Нижний лимит цены за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	InstrumentUid string                 `protobuf:"bytes,9,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	OrderBookType OrderBookType          ``                                                                                                     //Тип стакана.
	/* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Пакет стаканов в рамках стрима.

func (*OrderBook) Descriptor deprecated

func (*OrderBook) Descriptor() ([]byte, []int)

Deprecated: Use OrderBook.ProtoReflect.Descriptor instead.

func (*OrderBook) GetAsks

func (x *OrderBook) GetAsks() []*Order

func (*OrderBook) GetBids

func (x *OrderBook) GetBids() []*Order

func (*OrderBook) GetDepth

func (x *OrderBook) GetDepth() int32

func (*OrderBook) GetFigi

func (x *OrderBook) GetFigi() string

func (*OrderBook) GetInstrumentUid added in v1.2.0

func (x *OrderBook) GetInstrumentUid() string

func (*OrderBook) GetIsConsistent

func (x *OrderBook) GetIsConsistent() bool

func (*OrderBook) GetLimitDown

func (x *OrderBook) GetLimitDown() *Quotation

func (*OrderBook) GetLimitUp

func (x *OrderBook) GetLimitUp() *Quotation

func (*OrderBook) GetOrderBookType added in v1.4.0

func (x *OrderBook) GetOrderBookType() OrderBookType

func (*OrderBook) GetTime

func (x *OrderBook) GetTime() *timestamppb.Timestamp

func (*OrderBook) ProtoMessage

func (*OrderBook) ProtoMessage()

func (*OrderBook) ProtoReflect

func (x *OrderBook) ProtoReflect() protoreflect.Message

func (*OrderBook) Reset

func (x *OrderBook) Reset()

func (*OrderBook) String

func (x *OrderBook) String() string

type OrderBookInstrument

type OrderBookInstrument struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi          string        `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	Depth         int32         `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"`                                  //Глубина стакана.
	InstrumentId  string        `protobuf:"bytes,3,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	OrderBookType OrderBookType ``                                                                                                  //Тип стакана. По умолчанию ORDERBOOK_TYPE_ALL - стакан биржевой и дилера.
	/* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос подписки на стаканы.

func (*OrderBookInstrument) Descriptor deprecated

func (*OrderBookInstrument) Descriptor() ([]byte, []int)

Deprecated: Use OrderBookInstrument.ProtoReflect.Descriptor instead.

func (*OrderBookInstrument) GetDepth

func (x *OrderBookInstrument) GetDepth() int32

func (*OrderBookInstrument) GetFigi deprecated

func (x *OrderBookInstrument) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*OrderBookInstrument) GetInstrumentId added in v1.2.0

func (x *OrderBookInstrument) GetInstrumentId() string

func (*OrderBookInstrument) GetOrderBookType added in v1.4.0

func (x *OrderBookInstrument) GetOrderBookType() OrderBookType

func (*OrderBookInstrument) ProtoMessage

func (*OrderBookInstrument) ProtoMessage()

func (*OrderBookInstrument) ProtoReflect

func (x *OrderBookInstrument) ProtoReflect() protoreflect.Message

func (*OrderBookInstrument) Reset

func (x *OrderBookInstrument) Reset()

func (*OrderBookInstrument) String

func (x *OrderBookInstrument) String() string

type OrderBookSubscription

type OrderBookSubscription struct {
	Figi               string             `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`    //FIGI-идентификатор инструмента.
	Depth              int32              `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` //Глубина стакана.
	SubscriptionStatus SubscriptionStatus ``                                                                 //Статус подписки.
	/* 178-byte string literal not displayed */
	InstrumentUid  string        `protobuf:"bytes,4,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`    //UID инструмента.
	StreamId       string        `protobuf:"bytes,5,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                   //Идентификатор открытого соединения.
	SubscriptionId string        `protobuf:"bytes,6,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` //Идентификатор подписки в формате `UUID`.
	OrderBookType  OrderBookType ``                                                                                                        //Тип стакана.
	/* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Статус подписки.

func (*OrderBookSubscription) Descriptor deprecated

func (*OrderBookSubscription) Descriptor() ([]byte, []int)

Deprecated: Use OrderBookSubscription.ProtoReflect.Descriptor instead.

func (*OrderBookSubscription) GetDepth

func (x *OrderBookSubscription) GetDepth() int32

func (*OrderBookSubscription) GetFigi

func (x *OrderBookSubscription) GetFigi() string

func (*OrderBookSubscription) GetInstrumentUid added in v1.2.0

func (x *OrderBookSubscription) GetInstrumentUid() string

func (*OrderBookSubscription) GetOrderBookType added in v1.4.0

func (x *OrderBookSubscription) GetOrderBookType() OrderBookType

func (*OrderBookSubscription) GetStreamId added in v1.4.0

func (x *OrderBookSubscription) GetStreamId() string

func (*OrderBookSubscription) GetSubscriptionId added in v1.4.0

func (x *OrderBookSubscription) GetSubscriptionId() string

func (*OrderBookSubscription) GetSubscriptionStatus

func (x *OrderBookSubscription) GetSubscriptionStatus() SubscriptionStatus

func (*OrderBookSubscription) ProtoMessage

func (*OrderBookSubscription) ProtoMessage()

func (*OrderBookSubscription) ProtoReflect

func (x *OrderBookSubscription) ProtoReflect() protoreflect.Message

func (*OrderBookSubscription) Reset

func (x *OrderBookSubscription) Reset()

func (*OrderBookSubscription) String

func (x *OrderBookSubscription) String() string

type OrderBookType added in v1.4.0

type OrderBookType int32
const (
	OrderBookType_ORDERBOOK_TYPE_UNSPECIFIED OrderBookType = 0 //Не определён.
	OrderBookType_ORDERBOOK_TYPE_EXCHANGE    OrderBookType = 1 //Биржевой стакан.
	OrderBookType_ORDERBOOK_TYPE_DEALER      OrderBookType = 2 //Стакан дилера.
	OrderBookType_ORDERBOOK_TYPE_ALL         OrderBookType = 3 //Стакан биржевой и дилера.
)

func (OrderBookType) Descriptor added in v1.4.0

func (OrderBookType) Enum added in v1.4.0

func (x OrderBookType) Enum() *OrderBookType

func (OrderBookType) EnumDescriptor deprecated added in v1.4.0

func (OrderBookType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderBookType.Descriptor instead.

func (OrderBookType) Number added in v1.4.0

func (OrderBookType) String added in v1.4.0

func (x OrderBookType) String() string

func (OrderBookType) Type added in v1.4.0

type OrderDirection

type OrderDirection int32

Направление операции.

const (
	OrderDirection_ORDER_DIRECTION_UNSPECIFIED OrderDirection = 0 //Значение не указано
	OrderDirection_ORDER_DIRECTION_BUY         OrderDirection = 1 //Покупка
	OrderDirection_ORDER_DIRECTION_SELL        OrderDirection = 2 //Продажа
)

func (OrderDirection) Descriptor

func (OrderDirection) Enum

func (x OrderDirection) Enum() *OrderDirection

func (OrderDirection) EnumDescriptor deprecated

func (OrderDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderDirection.Descriptor instead.

func (OrderDirection) Number

func (OrderDirection) String

func (x OrderDirection) String() string

func (OrderDirection) Type

type OrderExecutionReportStatus

type OrderExecutionReportStatus int32

Текущий статус заявки (поручения)

const (
	OrderExecutionReportStatus_EXECUTION_REPORT_STATUS_UNSPECIFIED   OrderExecutionReportStatus = 0
	OrderExecutionReportStatus_EXECUTION_REPORT_STATUS_FILL          OrderExecutionReportStatus = 1 //Исполнена
	OrderExecutionReportStatus_EXECUTION_REPORT_STATUS_REJECTED      OrderExecutionReportStatus = 2 //Отклонена
	OrderExecutionReportStatus_EXECUTION_REPORT_STATUS_CANCELLED     OrderExecutionReportStatus = 3 //Отменена пользователем
	OrderExecutionReportStatus_EXECUTION_REPORT_STATUS_NEW           OrderExecutionReportStatus = 4 //Новая
	OrderExecutionReportStatus_EXECUTION_REPORT_STATUS_PARTIALLYFILL OrderExecutionReportStatus = 5 //Частично исполнена
)

func (OrderExecutionReportStatus) Descriptor

func (OrderExecutionReportStatus) Enum

func (OrderExecutionReportStatus) EnumDescriptor deprecated

func (OrderExecutionReportStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderExecutionReportStatus.Descriptor instead.

func (OrderExecutionReportStatus) Number

func (OrderExecutionReportStatus) String

func (OrderExecutionReportStatus) Type

type OrderIdType added in v1.5.0

type OrderIdType int32

Тип идентификатора заявки

const (
	OrderIdType_ORDER_ID_TYPE_UNSPECIFIED OrderIdType = 0 //Тип идентификатора не указан.
	OrderIdType_ORDER_ID_TYPE_EXCHANGE    OrderIdType = 1 //Биржевой идентификатор
	OrderIdType_ORDER_ID_TYPE_REQUEST     OrderIdType = 2 //Ключ идемпотентности, переданный клиентом
)

func (OrderIdType) Descriptor added in v1.5.0

func (OrderIdType) Enum added in v1.5.0

func (x OrderIdType) Enum() *OrderIdType

func (OrderIdType) EnumDescriptor deprecated added in v1.5.0

func (OrderIdType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderIdType.Descriptor instead.

func (OrderIdType) Number added in v1.5.0

func (x OrderIdType) Number() protoreflect.EnumNumber

func (OrderIdType) String added in v1.5.0

func (x OrderIdType) String() string

func (OrderIdType) Type added in v1.5.0

type OrderStage

type OrderStage struct {
	Price         *MoneyValue            `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`                                      //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Quantity      int64                  `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`                               //Количество лотов.
	TradeId       string                 `protobuf:"bytes,3,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`                   //Идентификатор сделки.
	ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` //Время исполнения сделки
	// contains filtered or unexported fields
}

Сделки в рамках торгового поручения.

func (*OrderStage) Descriptor deprecated

func (*OrderStage) Descriptor() ([]byte, []int)

Deprecated: Use OrderStage.ProtoReflect.Descriptor instead.

func (*OrderStage) GetExecutionTime added in v1.4.0

func (x *OrderStage) GetExecutionTime() *timestamppb.Timestamp

func (*OrderStage) GetPrice

func (x *OrderStage) GetPrice() *MoneyValue

func (*OrderStage) GetQuantity

func (x *OrderStage) GetQuantity() int64

func (*OrderStage) GetTradeId

func (x *OrderStage) GetTradeId() string

func (*OrderStage) ProtoMessage

func (*OrderStage) ProtoMessage()

func (*OrderStage) ProtoReflect

func (x *OrderStage) ProtoReflect() protoreflect.Message

func (*OrderStage) Reset

func (x *OrderStage) Reset()

func (*OrderStage) String

func (x *OrderStage) String() string

type OrderState

type OrderState struct {
	OrderId               string                     `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Биржевой идентификатор заявки.
	ExecutionReportStatus OrderExecutionReportStatus ``                                                                                   //Текущий статус заявки.
	/* 197-byte string literal not displayed */
	LotsRequested        int64          `protobuf:"varint,3,opt,name=lots_requested,json=lotsRequested,proto3" json:"lots_requested,omitempty"`                       //Запрошено лотов.
	LotsExecuted         int64          `protobuf:"varint,4,opt,name=lots_executed,json=lotsExecuted,proto3" json:"lots_executed,omitempty"`                          //Исполнено лотов.
	InitialOrderPrice    *MoneyValue    `protobuf:"bytes,5,opt,name=initial_order_price,json=initialOrderPrice,proto3" json:"initial_order_price,omitempty"`          //Начальная цена заявки. Произведение количества запрошенных лотов на цену.
	ExecutedOrderPrice   *MoneyValue    `protobuf:"bytes,6,opt,name=executed_order_price,json=executedOrderPrice,proto3" json:"executed_order_price,omitempty"`       //Исполненная цена заявки. Произведение средней цены покупки на количество лотов.
	TotalOrderAmount     *MoneyValue    `protobuf:"bytes,7,opt,name=total_order_amount,json=totalOrderAmount,proto3" json:"total_order_amount,omitempty"`             //Итоговая стоимость заявки, включающая все комиссии.
	AveragePositionPrice *MoneyValue    `protobuf:"bytes,8,opt,name=average_position_price,json=averagePositionPrice,proto3" json:"average_position_price,omitempty"` //Средняя цена позиции по сделке.
	InitialCommission    *MoneyValue    `protobuf:"bytes,9,opt,name=initial_commission,json=initialCommission,proto3" json:"initial_commission,omitempty"`            //Начальная комиссия. Комиссия, рассчитанная на момент подачи заявки.
	ExecutedCommission   *MoneyValue    `protobuf:"bytes,10,opt,name=executed_commission,json=executedCommission,proto3" json:"executed_commission,omitempty"`        //Фактическая комиссия по итогам исполнения заявки.
	Figi                 string         `protobuf:"bytes,11,opt,name=figi,proto3" json:"figi,omitempty"`                                                              //Figi-идентификатор инструмента.
	Direction            OrderDirection ``                                                                                                                            //Направление заявки.
	/* 131-byte string literal not displayed */
	InitialSecurityPrice *MoneyValue   `protobuf:"bytes,13,opt,name=initial_security_price,json=initialSecurityPrice,proto3" json:"initial_security_price,omitempty"` //Начальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Stages               []*OrderStage `protobuf:"bytes,14,rep,name=stages,proto3" json:"stages,omitempty"`                                                           //Стадии выполнения заявки.
	ServiceCommission    *MoneyValue   `protobuf:"bytes,15,opt,name=service_commission,json=serviceCommission,proto3" json:"service_commission,omitempty"`            //Сервисная комиссия.
	Currency             string        `protobuf:"bytes,16,opt,name=currency,proto3" json:"currency,omitempty"`                                                       //Валюта заявки.
	OrderType            OrderType     ``                                                                                                                             //Тип заявки.
	/* 143-byte string literal not displayed */
	OrderDate      *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=order_date,json=orderDate,proto3" json:"order_date,omitempty"`                  //Дата и время выставления заявки в часовом поясе UTC.
	InstrumentUid  string                 `protobuf:"bytes,19,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`      //UID идентификатор инструмента.
	OrderRequestId string                 `protobuf:"bytes,20,opt,name=order_request_id,json=orderRequestId,proto3" json:"order_request_id,omitempty"` //Идентификатор ключа идемпотентности, переданный клиентом, в формате UID. Максимальная длина 36 символов.
	// contains filtered or unexported fields
}

Информация о торговом поручении.

func (*OrderState) Descriptor deprecated

func (*OrderState) Descriptor() ([]byte, []int)

Deprecated: Use OrderState.ProtoReflect.Descriptor instead.

func (*OrderState) GetAveragePositionPrice

func (x *OrderState) GetAveragePositionPrice() *MoneyValue

func (*OrderState) GetCurrency

func (x *OrderState) GetCurrency() string

func (*OrderState) GetDirection

func (x *OrderState) GetDirection() OrderDirection

func (*OrderState) GetExecutedCommission

func (x *OrderState) GetExecutedCommission() *MoneyValue

func (*OrderState) GetExecutedOrderPrice

func (x *OrderState) GetExecutedOrderPrice() *MoneyValue

func (*OrderState) GetExecutionReportStatus

func (x *OrderState) GetExecutionReportStatus() OrderExecutionReportStatus

func (*OrderState) GetFigi

func (x *OrderState) GetFigi() string

func (*OrderState) GetInitialCommission

func (x *OrderState) GetInitialCommission() *MoneyValue

func (*OrderState) GetInitialOrderPrice

func (x *OrderState) GetInitialOrderPrice() *MoneyValue

func (*OrderState) GetInitialSecurityPrice

func (x *OrderState) GetInitialSecurityPrice() *MoneyValue

func (*OrderState) GetInstrumentUid added in v1.2.2

func (x *OrderState) GetInstrumentUid() string

func (*OrderState) GetLotsExecuted

func (x *OrderState) GetLotsExecuted() int64

func (*OrderState) GetLotsRequested

func (x *OrderState) GetLotsRequested() int64

func (*OrderState) GetOrderDate

func (x *OrderState) GetOrderDate() *timestamppb.Timestamp

func (*OrderState) GetOrderId

func (x *OrderState) GetOrderId() string

func (*OrderState) GetOrderRequestId added in v1.2.5

func (x *OrderState) GetOrderRequestId() string

func (*OrderState) GetOrderType

func (x *OrderState) GetOrderType() OrderType

func (*OrderState) GetServiceCommission

func (x *OrderState) GetServiceCommission() *MoneyValue

func (*OrderState) GetStages

func (x *OrderState) GetStages() []*OrderStage

func (*OrderState) GetTotalOrderAmount

func (x *OrderState) GetTotalOrderAmount() *MoneyValue

func (*OrderState) ProtoMessage

func (*OrderState) ProtoMessage()

func (*OrderState) ProtoReflect

func (x *OrderState) ProtoReflect() protoreflect.Message

func (*OrderState) Reset

func (x *OrderState) Reset()

func (*OrderState) String

func (x *OrderState) String() string

type OrderStateStreamRequest added in v1.4.0

type OrderStateStreamRequest struct {
	Accounts    []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`                                    //Идентификаторы счетов.
	PingDelayMs *int32   `protobuf:"varint,15,opt,name=ping_delay_ms,json=pingDelayMs,proto3,oneof" json:"ping_delay_ms,omitempty"` //Задержка пинг сообщений milliseconds 5000-180000, default 120000
	// contains filtered or unexported fields
}

Запрос установки стрим-соединения торговых поручений

func (*OrderStateStreamRequest) Descriptor deprecated added in v1.4.0

func (*OrderStateStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use OrderStateStreamRequest.ProtoReflect.Descriptor instead.

func (*OrderStateStreamRequest) GetAccounts added in v1.4.0

func (x *OrderStateStreamRequest) GetAccounts() []string

func (*OrderStateStreamRequest) GetPingDelayMs added in v1.6.0

func (x *OrderStateStreamRequest) GetPingDelayMs() int32

func (*OrderStateStreamRequest) ProtoMessage added in v1.4.0

func (*OrderStateStreamRequest) ProtoMessage()

func (*OrderStateStreamRequest) ProtoReflect added in v1.4.0

func (x *OrderStateStreamRequest) ProtoReflect() protoreflect.Message

func (*OrderStateStreamRequest) Reset added in v1.4.0

func (x *OrderStateStreamRequest) Reset()

func (*OrderStateStreamRequest) String added in v1.4.0

func (x *OrderStateStreamRequest) String() string

type OrderStateStreamResponse added in v1.4.0

type OrderStateStreamResponse struct {

	// Types that are assignable to Payload:
	//
	//	*OrderStateStreamResponse_OrderState_
	//	*OrderStateStreamResponse_Ping
	//	*OrderStateStreamResponse_Subscription
	Payload isOrderStateStreamResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Информация по заявкам

func (*OrderStateStreamResponse) Descriptor deprecated added in v1.4.0

func (*OrderStateStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use OrderStateStreamResponse.ProtoReflect.Descriptor instead.

func (*OrderStateStreamResponse) GetOrderState added in v1.4.0

func (*OrderStateStreamResponse) GetPayload added in v1.4.0

func (m *OrderStateStreamResponse) GetPayload() isOrderStateStreamResponse_Payload

func (*OrderStateStreamResponse) GetPing added in v1.4.0

func (x *OrderStateStreamResponse) GetPing() *Ping

func (*OrderStateStreamResponse) GetSubscription added in v1.4.0

func (x *OrderStateStreamResponse) GetSubscription() *SubscriptionResponse

func (*OrderStateStreamResponse) ProtoMessage added in v1.4.0

func (*OrderStateStreamResponse) ProtoMessage()

func (*OrderStateStreamResponse) ProtoReflect added in v1.4.0

func (x *OrderStateStreamResponse) ProtoReflect() protoreflect.Message

func (*OrderStateStreamResponse) Reset added in v1.4.0

func (x *OrderStateStreamResponse) Reset()

func (*OrderStateStreamResponse) String added in v1.4.0

func (x *OrderStateStreamResponse) String() string

type OrderStateStreamResponse_MarkerType added in v1.4.0

type OrderStateStreamResponse_MarkerType int32

Маркер

const (
	OrderStateStreamResponse_MARKER_UNKNOWN OrderStateStreamResponse_MarkerType = 0 //не определено
	OrderStateStreamResponse_MARKER_BROKER  OrderStateStreamResponse_MarkerType = 1 //сделки брокера
	OrderStateStreamResponse_MARKER_CHAT    OrderStateStreamResponse_MarkerType = 2 //исполнение поручение, полученного от клиента через каналы связи
	OrderStateStreamResponse_MARKER_PAPER   OrderStateStreamResponse_MarkerType = 3 //исполнение поручение, полученного от клиента в бумажной форме
	OrderStateStreamResponse_MARKER_MARGIN  OrderStateStreamResponse_MarkerType = 4 //принудительное закрытие позиций
	OrderStateStreamResponse_MARKER_TKBNM   OrderStateStreamResponse_MarkerType = 5 //сделки по управлению ликвидностью
	OrderStateStreamResponse_MARKER_SHORT   OrderStateStreamResponse_MarkerType = 6 //сделки РЕПО по привлечению у клиентов бумаг
	OrderStateStreamResponse_MARKER_SPECMM  OrderStateStreamResponse_MarkerType = 7 //перенос временно непокрытых позиций
	OrderStateStreamResponse_MARKER_PO      OrderStateStreamResponse_MarkerType = 8
)

func (OrderStateStreamResponse_MarkerType) Descriptor added in v1.4.0

func (OrderStateStreamResponse_MarkerType) Enum added in v1.4.0

func (OrderStateStreamResponse_MarkerType) EnumDescriptor deprecated added in v1.4.0

func (OrderStateStreamResponse_MarkerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderStateStreamResponse_MarkerType.Descriptor instead.

func (OrderStateStreamResponse_MarkerType) Number added in v1.4.0

func (OrderStateStreamResponse_MarkerType) String added in v1.4.0

func (OrderStateStreamResponse_MarkerType) Type added in v1.4.0

type OrderStateStreamResponse_OrderState added in v1.4.0

type OrderStateStreamResponse_OrderState struct {
	OrderId               string                     `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`                              //Биржевой идентификатор заявки
	OrderRequestId        *string                    `protobuf:"bytes,2,opt,name=order_request_id,json=orderRequestId,proto3,oneof" json:"order_request_id,omitempty"` //Идентификатор ключа идемпотентности, переданный клиентом, в формате UID. Максимальная длина 36 символов.
	ClientCode            string                     `protobuf:"bytes,3,opt,name=client_code,json=clientCode,proto3" json:"client_code,omitempty"`                     //Код клиента на бирже
	CreatedAt             *timestamppb.Timestamp     `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                        //Дата создания заявки
	ExecutionReportStatus OrderExecutionReportStatus ``                                                                                                                //Статус заявки
	/* 197-byte string literal not displayed */
	StatusInfo *OrderStateStreamResponse_StatusCauseInfo `` //Дополнительная информация по статусу
	/* 182-byte string literal not displayed */
	Ticker    string         `protobuf:"bytes,7,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента
	ClassCode string         `protobuf:"bytes,8,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов)
	LotSize   int32          `protobuf:"varint,9,opt,name=lot_size,json=lotSize,proto3" json:"lot_size,omitempty"`      //Лотность инструмента заявки
	Direction OrderDirection ``                                                                                         //Направление заявки
	/* 131-byte string literal not displayed */
	TimeInForce TimeInForceType `` //Алгоритм исполнения поручения
	/* 157-byte string literal not displayed */
	OrderType OrderType `` //Тип заявки
	/* 143-byte string literal not displayed */
	AccountId          string                               `protobuf:"bytes,13,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`                              //Номер счета
	InitialOrderPrice  *MoneyValue                          `protobuf:"bytes,22,opt,name=initial_order_price,json=initialOrderPrice,proto3" json:"initial_order_price,omitempty"`    //Начальная цена заявки
	OrderPrice         *MoneyValue                          `protobuf:"bytes,23,opt,name=order_price,json=orderPrice,proto3" json:"order_price,omitempty"`                           //Цена выставления заявки
	Amount             *MoneyValue                          `protobuf:"bytes,24,opt,name=amount,proto3,oneof" json:"amount,omitempty"`                                               //Предрассчитанная стоимость полной заявки
	ExecutedOrderPrice *MoneyValue                          `protobuf:"bytes,25,opt,name=executed_order_price,json=executedOrderPrice,proto3" json:"executed_order_price,omitempty"` //Исполненная средняя цена одного инструмента в заявке
	Currency           string                               `protobuf:"bytes,26,opt,name=currency,proto3" json:"currency,omitempty"`                                                 //Валюта исполнения
	LotsRequested      int64                                `protobuf:"varint,27,opt,name=lots_requested,json=lotsRequested,proto3" json:"lots_requested,omitempty"`                 //Запрошено лотов
	LotsExecuted       int64                                `protobuf:"varint,28,opt,name=lots_executed,json=lotsExecuted,proto3" json:"lots_executed,omitempty"`                    //Исполнено лотов
	LotsLeft           int64                                `protobuf:"varint,29,opt,name=lots_left,json=lotsLeft,proto3" json:"lots_left,omitempty"`                                //Число неисполненных лотов по заявке
	LotsCancelled      int64                                `protobuf:"varint,30,opt,name=lots_cancelled,json=lotsCancelled,proto3" json:"lots_cancelled,omitempty"`                 //Отмененные лоты
	Marker             *OrderStateStreamResponse_MarkerType ``                                                                                                                       //Спецсимвол
	/* 152-byte string literal not displayed */
	Trades         []*OrderTrade          `protobuf:"bytes,33,rep,name=trades,proto3" json:"trades,omitempty"`                                       //	Список сделок
	CompletionTime *timestamppb.Timestamp `protobuf:"bytes,35,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` //Время исполнения заявки
	Exchange       string                 `protobuf:"bytes,36,opt,name=exchange,proto3" json:"exchange,omitempty"`                                   //Код биржи
	InstrumentUid  string                 `protobuf:"bytes,41,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`    //UID идентификатор инструмента
	// contains filtered or unexported fields
}

Заявка

func (*OrderStateStreamResponse_OrderState) Descriptor deprecated added in v1.4.0

func (*OrderStateStreamResponse_OrderState) Descriptor() ([]byte, []int)

Deprecated: Use OrderStateStreamResponse_OrderState.ProtoReflect.Descriptor instead.

func (*OrderStateStreamResponse_OrderState) GetAccountId added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetAccountId() string

func (*OrderStateStreamResponse_OrderState) GetAmount added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetClassCode added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetClassCode() string

func (*OrderStateStreamResponse_OrderState) GetClientCode added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetClientCode() string

func (*OrderStateStreamResponse_OrderState) GetCompletionTime added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetCreatedAt added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetCurrency added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetDirection added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetExchange added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetExecutedOrderPrice added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetExecutedOrderPrice() *MoneyValue

func (*OrderStateStreamResponse_OrderState) GetExecutionReportStatus added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetInitialOrderPrice added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetInitialOrderPrice() *MoneyValue

func (*OrderStateStreamResponse_OrderState) GetInstrumentUid added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetInstrumentUid() string

func (*OrderStateStreamResponse_OrderState) GetLotSize added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetLotsCancelled added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetLotsCancelled() int64

func (*OrderStateStreamResponse_OrderState) GetLotsExecuted added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetLotsExecuted() int64

func (*OrderStateStreamResponse_OrderState) GetLotsLeft added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetLotsLeft() int64

func (*OrderStateStreamResponse_OrderState) GetLotsRequested added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetLotsRequested() int64

func (*OrderStateStreamResponse_OrderState) GetMarker added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetOrderId added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetOrderPrice added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetOrderPrice() *MoneyValue

func (*OrderStateStreamResponse_OrderState) GetOrderRequestId added in v1.4.0

func (x *OrderStateStreamResponse_OrderState) GetOrderRequestId() string

func (*OrderStateStreamResponse_OrderState) GetOrderType added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetStatusInfo added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetTicker added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetTimeInForce added in v1.4.0

func (*OrderStateStreamResponse_OrderState) GetTrades added in v1.4.0

func (*OrderStateStreamResponse_OrderState) ProtoMessage added in v1.4.0

func (*OrderStateStreamResponse_OrderState) ProtoMessage()

func (*OrderStateStreamResponse_OrderState) ProtoReflect added in v1.4.0

func (*OrderStateStreamResponse_OrderState) Reset added in v1.4.0

func (*OrderStateStreamResponse_OrderState) String added in v1.4.0

type OrderStateStreamResponse_OrderState_ added in v1.4.0

type OrderStateStreamResponse_OrderState_ struct {
	OrderState *OrderStateStreamResponse_OrderState `protobuf:"bytes,1,opt,name=order_state,json=orderState,proto3,oneof"` //Информация об исполнении торгового поручения.
}

type OrderStateStreamResponse_Ping added in v1.4.0

type OrderStateStreamResponse_Ping struct {
	Ping *Ping `protobuf:"bytes,2,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}

type OrderStateStreamResponse_StatusCauseInfo added in v1.4.0

type OrderStateStreamResponse_StatusCauseInfo int32

Дополнительная информация по статусу заявки

const (
	OrderStateStreamResponse_CAUSE_UNSPECIFIED                   OrderStateStreamResponse_StatusCauseInfo = 0  //Не определено
	OrderStateStreamResponse_CAUSE_CANCELLED_BY_CLIENT           OrderStateStreamResponse_StatusCauseInfo = 15 //Отменено клиентом
	OrderStateStreamResponse_CAUSE_CANCELLED_BY_EXCHANGE         OrderStateStreamResponse_StatusCauseInfo = 1  //Отменено биржей
	OrderStateStreamResponse_CAUSE_CANCELLED_NOT_ENOUGH_POSITION OrderStateStreamResponse_StatusCauseInfo = 2  //Заявка не выставлена из-за нехватки средств
	OrderStateStreamResponse_CAUSE_CANCELLED_BY_CLIENT_BLOCK     OrderStateStreamResponse_StatusCauseInfo = 3  //Отменено из-за блокировки клиента
	OrderStateStreamResponse_CAUSE_REJECTED_BY_BROKER            OrderStateStreamResponse_StatusCauseInfo = 4  //Отклонено брокером
	OrderStateStreamResponse_CAUSE_REJECTED_BY_EXCHANGE          OrderStateStreamResponse_StatusCauseInfo = 5  //Отклонено биржей
	OrderStateStreamResponse_CAUSE_CANCELLED_BY_BROKER           OrderStateStreamResponse_StatusCauseInfo = 6  //Отменено брокером
)

func (OrderStateStreamResponse_StatusCauseInfo) Descriptor added in v1.4.0

func (OrderStateStreamResponse_StatusCauseInfo) Enum added in v1.4.0

func (OrderStateStreamResponse_StatusCauseInfo) EnumDescriptor deprecated added in v1.4.0

func (OrderStateStreamResponse_StatusCauseInfo) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderStateStreamResponse_StatusCauseInfo.Descriptor instead.

func (OrderStateStreamResponse_StatusCauseInfo) Number added in v1.4.0

func (OrderStateStreamResponse_StatusCauseInfo) String added in v1.4.0

func (OrderStateStreamResponse_StatusCauseInfo) Type added in v1.4.0

type OrderStateStreamResponse_Subscription added in v1.4.0

type OrderStateStreamResponse_Subscription struct {
	Subscription *SubscriptionResponse `protobuf:"bytes,3,opt,name=subscription,proto3,oneof"` //Ответ на запрос на подписку.
}

type OrderTrade

type OrderTrade struct {
	DateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date_time,json=dateTime,proto3" json:"date_time,omitempty"` //Дата и время совершения сделки в часовом поясе UTC.
	Price    *Quotation             `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`                       //Цена за 1 инструмент, по которой совершена сделка.
	Quantity int64                  `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`                //Количество штук в сделке.
	TradeId  string                 `protobuf:"bytes,4,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`    //Идентификатор сделки.
	// contains filtered or unexported fields
}

Информация о сделке.

func (*OrderTrade) Descriptor deprecated

func (*OrderTrade) Descriptor() ([]byte, []int)

Deprecated: Use OrderTrade.ProtoReflect.Descriptor instead.

func (*OrderTrade) GetDateTime

func (x *OrderTrade) GetDateTime() *timestamppb.Timestamp

func (*OrderTrade) GetPrice

func (x *OrderTrade) GetPrice() *Quotation

func (*OrderTrade) GetQuantity

func (x *OrderTrade) GetQuantity() int64

func (*OrderTrade) GetTradeId added in v1.2.3

func (x *OrderTrade) GetTradeId() string

func (*OrderTrade) ProtoMessage

func (*OrderTrade) ProtoMessage()

func (*OrderTrade) ProtoReflect

func (x *OrderTrade) ProtoReflect() protoreflect.Message

func (*OrderTrade) Reset

func (x *OrderTrade) Reset()

func (*OrderTrade) String

func (x *OrderTrade) String() string

type OrderTrades

type OrderTrades struct {
	OrderId   string                 `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`       //Идентификатор торгового поручения.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` //Дата и время создания сообщения в часовом поясе UTC.
	Direction OrderDirection         ``                                                                                         //Направление сделки.
	/* 130-byte string literal not displayed */
	Figi          string        `protobuf:"bytes,4,opt,name=figi,proto3" json:"figi,omitempty"`                                        //Figi-идентификатор инструмента.
	Trades        []*OrderTrade `protobuf:"bytes,5,rep,name=trades,proto3" json:"trades,omitempty"`                                    //Массив сделок.
	AccountId     string        `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`             //Идентификатор счёта.
	InstrumentUid string        `protobuf:"bytes,7,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID идентификатор инструмента.
	// contains filtered or unexported fields
}

Информация об исполнении торгового поручения.

func (*OrderTrades) Descriptor deprecated

func (*OrderTrades) Descriptor() ([]byte, []int)

Deprecated: Use OrderTrades.ProtoReflect.Descriptor instead.

func (*OrderTrades) GetAccountId

func (x *OrderTrades) GetAccountId() string

func (*OrderTrades) GetCreatedAt

func (x *OrderTrades) GetCreatedAt() *timestamppb.Timestamp

func (*OrderTrades) GetDirection

func (x *OrderTrades) GetDirection() OrderDirection

func (*OrderTrades) GetFigi

func (x *OrderTrades) GetFigi() string

func (*OrderTrades) GetInstrumentUid added in v1.2.2

func (x *OrderTrades) GetInstrumentUid() string

func (*OrderTrades) GetOrderId

func (x *OrderTrades) GetOrderId() string

func (*OrderTrades) GetTrades

func (x *OrderTrades) GetTrades() []*OrderTrade

func (*OrderTrades) ProtoMessage

func (*OrderTrades) ProtoMessage()

func (*OrderTrades) ProtoReflect

func (x *OrderTrades) ProtoReflect() protoreflect.Message

func (*OrderTrades) Reset

func (x *OrderTrades) Reset()

func (*OrderTrades) String

func (x *OrderTrades) String() string

type OrderType

type OrderType int32

Тип заявки.

const (
	OrderType_ORDER_TYPE_UNSPECIFIED OrderType = 0 //Значение не указано
	OrderType_ORDER_TYPE_LIMIT       OrderType = 1 //Лимитная
	OrderType_ORDER_TYPE_MARKET      OrderType = 2 //Рыночная
	OrderType_ORDER_TYPE_BESTPRICE   OrderType = 3 //Лучшая цена
)

func (OrderType) Descriptor

func (OrderType) Descriptor() protoreflect.EnumDescriptor

func (OrderType) Enum

func (x OrderType) Enum() *OrderType

func (OrderType) EnumDescriptor deprecated

func (OrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderType.Descriptor instead.

func (OrderType) Number

func (x OrderType) Number() protoreflect.EnumNumber

func (OrderType) String

func (x OrderType) String() string

func (OrderType) Type

type OrdersServiceClient

type OrdersServiceClient interface {
	// Метод выставления заявки.
	PostOrder(ctx context.Context, in *PostOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, error)
	// Асинхронный метод выставления заявки.
	PostOrderAsync(ctx context.Context, in *PostOrderAsyncRequest, opts ...grpc.CallOption) (*PostOrderAsyncResponse, error)
	// Метод отмены биржевой заявки.
	CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
	// Метод получения статуса торгового поручения.
	GetOrderState(ctx context.Context, in *GetOrderStateRequest, opts ...grpc.CallOption) (*OrderState, error)
	// Метод получения списка активных заявок по счёту.
	GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error)
	// Метод изменения выставленной заявки.
	ReplaceOrder(ctx context.Context, in *ReplaceOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, error)
	// расчет количества доступных для покупки/продажи лотов
	GetMaxLots(ctx context.Context, in *GetMaxLotsRequest, opts ...grpc.CallOption) (*GetMaxLotsResponse, error)
	// Метод получения предварительной стоимости для лимитной заявки
	GetOrderPrice(ctx context.Context, in *GetOrderPriceRequest, opts ...grpc.CallOption) (*GetOrderPriceResponse, error)
}

OrdersServiceClient is the client API for OrdersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OrdersServiceServer

type OrdersServiceServer interface {
	// Метод выставления заявки.
	PostOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error)
	// Асинхронный метод выставления заявки.
	PostOrderAsync(context.Context, *PostOrderAsyncRequest) (*PostOrderAsyncResponse, error)
	// Метод отмены биржевой заявки.
	CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
	// Метод получения статуса торгового поручения.
	GetOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
	// Метод получения списка активных заявок по счёту.
	GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
	// Метод изменения выставленной заявки.
	ReplaceOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error)
	// расчет количества доступных для покупки/продажи лотов
	GetMaxLots(context.Context, *GetMaxLotsRequest) (*GetMaxLotsResponse, error)
	// Метод получения предварительной стоимости для лимитной заявки
	GetOrderPrice(context.Context, *GetOrderPriceRequest) (*GetOrderPriceResponse, error)
	// contains filtered or unexported methods
}

OrdersServiceServer is the server API for OrdersService service. All implementations must embed UnimplementedOrdersServiceServer for forward compatibility.

type OrdersStreamServiceClient

type OrdersStreamServiceClient interface {
	// Stream сделок пользователя
	TradesStream(ctx context.Context, in *TradesStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TradesStreamResponse], error)
	// Stream поручений пользователя. Перед работой прочитайте [статью](https://russianinvestments.github.io/investAPI/orders_state_stream/).
	OrderStateStream(ctx context.Context, in *OrderStateStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[OrderStateStreamResponse], error)
}

OrdersStreamServiceClient is the client API for OrdersStreamService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OrdersStreamServiceServer

type OrdersStreamServiceServer interface {
	// Stream сделок пользователя
	TradesStream(*TradesStreamRequest, grpc.ServerStreamingServer[TradesStreamResponse]) error
	// Stream поручений пользователя. Перед работой прочитайте [статью](https://russianinvestments.github.io/investAPI/orders_state_stream/).
	OrderStateStream(*OrderStateStreamRequest, grpc.ServerStreamingServer[OrderStateStreamResponse]) error
	// contains filtered or unexported methods
}

OrdersStreamServiceServer is the server API for OrdersStreamService service. All implementations must embed UnimplementedOrdersStreamServiceServer for forward compatibility.

type OrdersStreamService_OrderStateStreamClient added in v1.4.0

type OrdersStreamService_OrderStateStreamClient = grpc.ServerStreamingClient[OrderStateStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type OrdersStreamService_OrderStateStreamServer added in v1.4.0

type OrdersStreamService_OrderStateStreamServer = grpc.ServerStreamingServer[OrderStateStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type OrdersStreamService_TradesStreamClient

type OrdersStreamService_TradesStreamClient = grpc.ServerStreamingClient[TradesStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type OrdersStreamService_TradesStreamServer

type OrdersStreamService_TradesStreamServer = grpc.ServerStreamingServer[TradesStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Page added in v1.4.0

type Page struct {
	Limit      int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`                             //Максимальное число возвращаемых записей.
	PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` //Порядковый номер страницы, начиная с 0.
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated added in v1.4.0

func (*Page) Descriptor() ([]byte, []int)

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetLimit added in v1.4.0

func (x *Page) GetLimit() int32

func (*Page) GetPageNumber added in v1.4.0

func (x *Page) GetPageNumber() int32

func (*Page) ProtoMessage added in v1.4.0

func (*Page) ProtoMessage()

func (*Page) ProtoReflect added in v1.4.0

func (x *Page) ProtoReflect() protoreflect.Message

func (*Page) Reset added in v1.4.0

func (x *Page) Reset()

func (*Page) String added in v1.4.0

func (x *Page) String() string

type PageResponse added in v1.4.0

type PageResponse struct {
	Limit      int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`                             //Максимальное число возвращаемых записей.
	PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` //Порядковый номер страницы, начиная с 0.
	TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` //Общее количество записей.
	// contains filtered or unexported fields
}

func (*PageResponse) Descriptor deprecated added in v1.4.0

func (*PageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PageResponse.ProtoReflect.Descriptor instead.

func (*PageResponse) GetLimit added in v1.4.0

func (x *PageResponse) GetLimit() int32

func (*PageResponse) GetPageNumber added in v1.4.0

func (x *PageResponse) GetPageNumber() int32

func (*PageResponse) GetTotalCount added in v1.4.0

func (x *PageResponse) GetTotalCount() int32

func (*PageResponse) ProtoMessage added in v1.4.0

func (*PageResponse) ProtoMessage()

func (*PageResponse) ProtoReflect added in v1.4.0

func (x *PageResponse) ProtoReflect() protoreflect.Message

func (*PageResponse) Reset added in v1.4.0

func (x *PageResponse) Reset()

func (*PageResponse) String added in v1.4.0

func (x *PageResponse) String() string

type Ping

type Ping struct {
	Time            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`                                                      //Время проверки.
	StreamId        string                 `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                              //Идентификатор соединения.
	PingRequestTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ping_request_time,json=pingRequestTime,proto3,oneof" json:"ping_request_time,omitempty"` //Время формирования запроса
	// contains filtered or unexported fields
}

Проверка активности стрима.

func (*Ping) Descriptor deprecated

func (*Ping) Descriptor() ([]byte, []int)

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetPingRequestTime added in v1.6.0

func (x *Ping) GetPingRequestTime() *timestamppb.Timestamp

func (*Ping) GetStreamId added in v1.4.0

func (x *Ping) GetStreamId() string

func (*Ping) GetTime

func (x *Ping) GetTime() *timestamppb.Timestamp

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

func (x *Ping) ProtoReflect() protoreflect.Message

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

type PingDelaySettings added in v1.6.0

type PingDelaySettings struct {
	PingDelayMs *int32 `protobuf:"varint,15,opt,name=ping_delay_ms,json=pingDelayMs,proto3,oneof" json:"ping_delay_ms,omitempty"` //Задержка пинг сообщений milliseconds 5000-180000, default 120000
	// contains filtered or unexported fields
}

func (*PingDelaySettings) Descriptor deprecated added in v1.6.0

func (*PingDelaySettings) Descriptor() ([]byte, []int)

Deprecated: Use PingDelaySettings.ProtoReflect.Descriptor instead.

func (*PingDelaySettings) GetPingDelayMs added in v1.6.0

func (x *PingDelaySettings) GetPingDelayMs() int32

func (*PingDelaySettings) ProtoMessage added in v1.6.0

func (*PingDelaySettings) ProtoMessage()

func (*PingDelaySettings) ProtoReflect added in v1.6.0

func (x *PingDelaySettings) ProtoReflect() protoreflect.Message

func (*PingDelaySettings) Reset added in v1.6.0

func (x *PingDelaySettings) Reset()

func (*PingDelaySettings) String added in v1.6.0

func (x *PingDelaySettings) String() string

type PingRequest added in v1.6.0

type PingRequest struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3,oneof" json:"time,omitempty"` //Время формирования запроса
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated added in v1.6.0

func (*PingRequest) Descriptor() ([]byte, []int)

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) GetTime added in v1.6.0

func (x *PingRequest) GetTime() *timestamppb.Timestamp

func (*PingRequest) ProtoMessage added in v1.6.0

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect added in v1.6.0

func (x *PingRequest) ProtoReflect() protoreflect.Message

func (*PingRequest) Reset added in v1.6.0

func (x *PingRequest) Reset()

func (*PingRequest) String added in v1.6.0

func (x *PingRequest) String() string

type PortfolioPosition

type PortfolioPosition struct {
	Figi                 string      `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                                               //FIGI-идентификатор инструмента.
	InstrumentType       string      `protobuf:"bytes,2,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"`                     //Тип инструмента.
	Quantity             *Quotation  `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"`                                                       //Количество инструмента в портфеле в штуках.
	AveragePositionPrice *MoneyValue `protobuf:"bytes,4,opt,name=average_position_price,json=averagePositionPrice,proto3" json:"average_position_price,omitempty"` //Средневзвешенная цена позиции. Для пересчёта возможна задержка до одной секунды.
	ExpectedYield        *Quotation  `protobuf:"bytes,5,opt,name=expected_yield,json=expectedYield,proto3" json:"expected_yield,omitempty"`                        //Текущая рассчитанная доходность позиции.
	CurrentNkd           *MoneyValue `protobuf:"bytes,6,opt,name=current_nkd,json=currentNkd,proto3" json:"current_nkd,omitempty"`                                 // Текущий НКД.
	// Deprecated: Marked as deprecated in operations.proto.
	AveragePositionPricePt *Quotation `` // Deprecated Средняя цена позиции в пунктах (для фьючерсов). Для пересчёта возможна задержка до одной секунды.
	/* 131-byte string literal not displayed */
	CurrentPrice             *MoneyValue `protobuf:"bytes,8,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"` //Текущая цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	AveragePositionPriceFifo *MoneyValue ``                                                                                                  //Средняя цена позиции по методу FIFO. Для пересчёта возможна задержка до одной секунды.
	/* 137-byte string literal not displayed */
	// Deprecated: Marked as deprecated in operations.proto.
	QuantityLots      *Quotation  `protobuf:"bytes,10,opt,name=quantity_lots,json=quantityLots,proto3" json:"quantity_lots,omitempty"`                  //Deprecated Количество лотов в портфеле.
	Blocked           bool        `protobuf:"varint,21,opt,name=blocked,proto3" json:"blocked,omitempty"`                                               //Заблокировано на бирже.
	BlockedLots       *Quotation  `protobuf:"bytes,22,opt,name=blocked_lots,json=blockedLots,proto3" json:"blocked_lots,omitempty"`                     //Количество бумаг, заблокированных выставленными заявками.
	PositionUid       string      `protobuf:"bytes,24,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`                     //Уникальный идентификатор позиции.
	InstrumentUid     string      `protobuf:"bytes,25,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`               //Уникальный идентификатор инструмента.
	VarMargin         *MoneyValue `protobuf:"bytes,26,opt,name=var_margin,json=varMargin,proto3" json:"var_margin,omitempty"`                           //Вариационная маржа.
	ExpectedYieldFifo *Quotation  `protobuf:"bytes,27,opt,name=expected_yield_fifo,json=expectedYieldFifo,proto3" json:"expected_yield_fifo,omitempty"` //Текущая рассчитанная доходность позиции.
	DailyYield        *MoneyValue `protobuf:"bytes,31,opt,name=daily_yield,json=dailyYield,proto3" json:"daily_yield,omitempty"`                        // Рассчитанная доходность портфеля за день
	// contains filtered or unexported fields
}

Позиции портфеля.

func (*PortfolioPosition) Descriptor deprecated

func (*PortfolioPosition) Descriptor() ([]byte, []int)

Deprecated: Use PortfolioPosition.ProtoReflect.Descriptor instead.

func (*PortfolioPosition) GetAveragePositionPrice

func (x *PortfolioPosition) GetAveragePositionPrice() *MoneyValue

func (*PortfolioPosition) GetAveragePositionPriceFifo

func (x *PortfolioPosition) GetAveragePositionPriceFifo() *MoneyValue

func (*PortfolioPosition) GetAveragePositionPricePt deprecated

func (x *PortfolioPosition) GetAveragePositionPricePt() *Quotation

Deprecated: Marked as deprecated in operations.proto.

func (*PortfolioPosition) GetBlocked added in v1.1.2

func (x *PortfolioPosition) GetBlocked() bool

func (*PortfolioPosition) GetBlockedLots added in v1.2.4

func (x *PortfolioPosition) GetBlockedLots() *Quotation

func (*PortfolioPosition) GetCurrentNkd

func (x *PortfolioPosition) GetCurrentNkd() *MoneyValue

func (*PortfolioPosition) GetCurrentPrice

func (x *PortfolioPosition) GetCurrentPrice() *MoneyValue

func (*PortfolioPosition) GetDailyYield added in v1.8.1

func (x *PortfolioPosition) GetDailyYield() *MoneyValue

func (*PortfolioPosition) GetExpectedYield

func (x *PortfolioPosition) GetExpectedYield() *Quotation

func (*PortfolioPosition) GetExpectedYieldFifo added in v1.2.3

func (x *PortfolioPosition) GetExpectedYieldFifo() *Quotation

func (*PortfolioPosition) GetFigi

func (x *PortfolioPosition) GetFigi() string

func (*PortfolioPosition) GetInstrumentType

func (x *PortfolioPosition) GetInstrumentType() string

func (*PortfolioPosition) GetInstrumentUid added in v1.2.3

func (x *PortfolioPosition) GetInstrumentUid() string

func (*PortfolioPosition) GetPositionUid added in v1.2.3

func (x *PortfolioPosition) GetPositionUid() string

func (*PortfolioPosition) GetQuantity

func (x *PortfolioPosition) GetQuantity() *Quotation

func (*PortfolioPosition) GetQuantityLots deprecated

func (x *PortfolioPosition) GetQuantityLots() *Quotation

Deprecated: Marked as deprecated in operations.proto.

func (*PortfolioPosition) GetVarMargin added in v1.2.3

func (x *PortfolioPosition) GetVarMargin() *MoneyValue

func (*PortfolioPosition) ProtoMessage

func (*PortfolioPosition) ProtoMessage()

func (*PortfolioPosition) ProtoReflect

func (x *PortfolioPosition) ProtoReflect() protoreflect.Message

func (*PortfolioPosition) Reset

func (x *PortfolioPosition) Reset()

func (*PortfolioPosition) String

func (x *PortfolioPosition) String() string

type PortfolioRequest

type PortfolioRequest struct {
	AccountId string                            `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя.
	Currency  *PortfolioRequest_CurrencyRequest ``                                                                                         //Валюта, в которой нужно рассчитать портфель.
	/* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос получения текущего портфеля по счёту.

func (*PortfolioRequest) Descriptor deprecated

func (*PortfolioRequest) Descriptor() ([]byte, []int)

Deprecated: Use PortfolioRequest.ProtoReflect.Descriptor instead.

func (*PortfolioRequest) GetAccountId

func (x *PortfolioRequest) GetAccountId() string

func (*PortfolioRequest) GetCurrency added in v1.2.3

func (*PortfolioRequest) ProtoMessage

func (*PortfolioRequest) ProtoMessage()

func (*PortfolioRequest) ProtoReflect

func (x *PortfolioRequest) ProtoReflect() protoreflect.Message

func (*PortfolioRequest) Reset

func (x *PortfolioRequest) Reset()

func (*PortfolioRequest) String

func (x *PortfolioRequest) String() string

type PortfolioRequest_CurrencyRequest added in v1.2.3

type PortfolioRequest_CurrencyRequest int32
const (
	PortfolioRequest_RUB PortfolioRequest_CurrencyRequest = 0 //Рубли
	PortfolioRequest_USD PortfolioRequest_CurrencyRequest = 1 //Доллары
	PortfolioRequest_EUR PortfolioRequest_CurrencyRequest = 2 //Евро
)

func (PortfolioRequest_CurrencyRequest) Descriptor added in v1.2.3

func (PortfolioRequest_CurrencyRequest) Enum added in v1.2.3

func (PortfolioRequest_CurrencyRequest) EnumDescriptor deprecated added in v1.2.3

func (PortfolioRequest_CurrencyRequest) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortfolioRequest_CurrencyRequest.Descriptor instead.

func (PortfolioRequest_CurrencyRequest) Number added in v1.2.3

func (PortfolioRequest_CurrencyRequest) String added in v1.2.3

func (PortfolioRequest_CurrencyRequest) Type added in v1.2.3

type PortfolioResponse

type PortfolioResponse struct {
	TotalAmountShares     *MoneyValue `protobuf:"bytes,1,opt,name=total_amount_shares,json=totalAmountShares,proto3" json:"total_amount_shares,omitempty"` //Общая стоимость акций в портфеле.
	TotalAmountBonds      *MoneyValue `protobuf:"bytes,2,opt,name=total_amount_bonds,json=totalAmountBonds,proto3" json:"total_amount_bonds,omitempty"`    //Общая стоимость облигаций в портфеле.
	TotalAmountEtf        *MoneyValue `protobuf:"bytes,3,opt,name=total_amount_etf,json=totalAmountEtf,proto3" json:"total_amount_etf,omitempty"`          //Общая стоимость фондов в портфеле.
	TotalAmountCurrencies *MoneyValue ``                                                                                                                   //Общая стоимость валют в портфеле.
	/* 126-byte string literal not displayed */
	TotalAmountFutures   *MoneyValue                 `protobuf:"bytes,5,opt,name=total_amount_futures,json=totalAmountFutures,proto3" json:"total_amount_futures,omitempty"`        //Общая стоимость фьючерсов в портфеле.
	ExpectedYield        *Quotation                  `protobuf:"bytes,6,opt,name=expected_yield,json=expectedYield,proto3" json:"expected_yield,omitempty"`                         //Текущая относительная доходность портфеля в %.
	Positions            []*PortfolioPosition        `protobuf:"bytes,7,rep,name=positions,proto3" json:"positions,omitempty"`                                                      //Список позиций портфеля.
	AccountId            string                      `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`                                     //Идентификатор счёта пользователя.
	TotalAmountOptions   *MoneyValue                 `protobuf:"bytes,9,opt,name=total_amount_options,json=totalAmountOptions,proto3" json:"total_amount_options,omitempty"`        //Общая стоимость опционов в портфеле.
	TotalAmountSp        *MoneyValue                 `protobuf:"bytes,10,opt,name=total_amount_sp,json=totalAmountSp,proto3" json:"total_amount_sp,omitempty"`                      //Общая стоимость структурных нот в портфеле.
	TotalAmountPortfolio *MoneyValue                 `protobuf:"bytes,11,opt,name=total_amount_portfolio,json=totalAmountPortfolio,proto3" json:"total_amount_portfolio,omitempty"` //Общая стоимость портфеля.
	VirtualPositions     []*VirtualPortfolioPosition `protobuf:"bytes,12,rep,name=virtual_positions,json=virtualPositions,proto3" json:"virtual_positions,omitempty"`               //Массив виртуальных позиций портфеля.
	DailyYield           *MoneyValue                 `protobuf:"bytes,15,opt,name=daily_yield,json=dailyYield,proto3" json:"daily_yield,omitempty"`                                 // Рассчитанная доходность портфеля за день в рублях
	DailyYieldRelative   *Quotation                  `protobuf:"bytes,16,opt,name=daily_yield_relative,json=dailyYieldRelative,proto3" json:"daily_yield_relative,omitempty"`       //Относительная доходность в день в %
	// contains filtered or unexported fields
}

Текущий портфель по счёту.

func (*PortfolioResponse) Descriptor deprecated

func (*PortfolioResponse) Descriptor() ([]byte, []int)

Deprecated: Use PortfolioResponse.ProtoReflect.Descriptor instead.

func (*PortfolioResponse) GetAccountId added in v1.2.0

func (x *PortfolioResponse) GetAccountId() string

func (*PortfolioResponse) GetDailyYield added in v1.8.1

func (x *PortfolioResponse) GetDailyYield() *MoneyValue

func (*PortfolioResponse) GetDailyYieldRelative added in v1.8.1

func (x *PortfolioResponse) GetDailyYieldRelative() *Quotation

func (*PortfolioResponse) GetExpectedYield

func (x *PortfolioResponse) GetExpectedYield() *Quotation

func (*PortfolioResponse) GetPositions

func (x *PortfolioResponse) GetPositions() []*PortfolioPosition

func (*PortfolioResponse) GetTotalAmountBonds

func (x *PortfolioResponse) GetTotalAmountBonds() *MoneyValue

func (*PortfolioResponse) GetTotalAmountCurrencies

func (x *PortfolioResponse) GetTotalAmountCurrencies() *MoneyValue

func (*PortfolioResponse) GetTotalAmountEtf

func (x *PortfolioResponse) GetTotalAmountEtf() *MoneyValue

func (*PortfolioResponse) GetTotalAmountFutures

func (x *PortfolioResponse) GetTotalAmountFutures() *MoneyValue

func (*PortfolioResponse) GetTotalAmountOptions added in v1.2.3

func (x *PortfolioResponse) GetTotalAmountOptions() *MoneyValue

func (*PortfolioResponse) GetTotalAmountPortfolio added in v1.2.3

func (x *PortfolioResponse) GetTotalAmountPortfolio() *MoneyValue

func (*PortfolioResponse) GetTotalAmountShares

func (x *PortfolioResponse) GetTotalAmountShares() *MoneyValue

func (*PortfolioResponse) GetTotalAmountSp added in v1.2.3

func (x *PortfolioResponse) GetTotalAmountSp() *MoneyValue

func (*PortfolioResponse) GetVirtualPositions added in v1.2.3

func (x *PortfolioResponse) GetVirtualPositions() []*VirtualPortfolioPosition

func (*PortfolioResponse) ProtoMessage

func (*PortfolioResponse) ProtoMessage()

func (*PortfolioResponse) ProtoReflect

func (x *PortfolioResponse) ProtoReflect() protoreflect.Message

func (*PortfolioResponse) Reset

func (x *PortfolioResponse) Reset()

func (*PortfolioResponse) String

func (x *PortfolioResponse) String() string

type PortfolioStreamRequest added in v1.1.2

type PortfolioStreamRequest struct {
	Accounts     []string           `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`                              //Массив идентификаторов счётов пользователя.
	PingSettings *PingDelaySettings `protobuf:"bytes,15,opt,name=ping_settings,json=pingSettings,proto3" json:"ping_settings,omitempty"` //Запрос настройки пинга.
	// contains filtered or unexported fields
}

Запрос установки stream-соединения.

func (*PortfolioStreamRequest) Descriptor deprecated added in v1.1.2

func (*PortfolioStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use PortfolioStreamRequest.ProtoReflect.Descriptor instead.

func (*PortfolioStreamRequest) GetAccounts added in v1.1.2

func (x *PortfolioStreamRequest) GetAccounts() []string

func (*PortfolioStreamRequest) GetPingSettings added in v1.6.0

func (x *PortfolioStreamRequest) GetPingSettings() *PingDelaySettings

func (*PortfolioStreamRequest) ProtoMessage added in v1.1.2

func (*PortfolioStreamRequest) ProtoMessage()

func (*PortfolioStreamRequest) ProtoReflect added in v1.1.2

func (x *PortfolioStreamRequest) ProtoReflect() protoreflect.Message

func (*PortfolioStreamRequest) Reset added in v1.1.2

func (x *PortfolioStreamRequest) Reset()

func (*PortfolioStreamRequest) String added in v1.1.2

func (x *PortfolioStreamRequest) String() string

type PortfolioStreamResponse added in v1.1.2

type PortfolioStreamResponse struct {

	// Types that are assignable to Payload:
	//
	//	*PortfolioStreamResponse_Subscriptions
	//	*PortfolioStreamResponse_Portfolio
	//	*PortfolioStreamResponse_Ping
	Payload isPortfolioStreamResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Информация по позициям и доходностям портфелей.

func (*PortfolioStreamResponse) Descriptor deprecated added in v1.1.2

func (*PortfolioStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use PortfolioStreamResponse.ProtoReflect.Descriptor instead.

func (*PortfolioStreamResponse) GetPayload added in v1.1.2

func (m *PortfolioStreamResponse) GetPayload() isPortfolioStreamResponse_Payload

func (*PortfolioStreamResponse) GetPing added in v1.1.2

func (x *PortfolioStreamResponse) GetPing() *Ping

func (*PortfolioStreamResponse) GetPortfolio added in v1.1.2

func (x *PortfolioStreamResponse) GetPortfolio() *PortfolioResponse

func (*PortfolioStreamResponse) GetSubscriptions added in v1.1.2

func (*PortfolioStreamResponse) ProtoMessage added in v1.1.2

func (*PortfolioStreamResponse) ProtoMessage()

func (*PortfolioStreamResponse) ProtoReflect added in v1.1.2

func (x *PortfolioStreamResponse) ProtoReflect() protoreflect.Message

func (*PortfolioStreamResponse) Reset added in v1.1.2

func (x *PortfolioStreamResponse) Reset()

func (*PortfolioStreamResponse) String added in v1.1.2

func (x *PortfolioStreamResponse) String() string

type PortfolioStreamResponse_Ping added in v1.1.2

type PortfolioStreamResponse_Ping struct {
	Ping *Ping `protobuf:"bytes,3,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}

type PortfolioStreamResponse_Portfolio added in v1.1.2

type PortfolioStreamResponse_Portfolio struct {
	Portfolio *PortfolioResponse `protobuf:"bytes,2,opt,name=portfolio,proto3,oneof"` //Объект стриминга портфеля.
}

type PortfolioStreamResponse_Subscriptions added in v1.1.2

type PortfolioStreamResponse_Subscriptions struct {
	Subscriptions *PortfolioSubscriptionResult `protobuf:"bytes,1,opt,name=subscriptions,proto3,oneof"` //Объект результата подписки.
}

type PortfolioSubscriptionResult added in v1.1.2

type PortfolioSubscriptionResult struct {
	Accounts   []*AccountSubscriptionStatus `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`                       //Массив счетов клиента.
	TrackingId string                       `protobuf:"bytes,7,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Уникальный идентификатор запроса, подробнее: [tracking_id](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	StreamId   string                       `protobuf:"bytes,8,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`       //Идентификатор открытого соединения
	// contains filtered or unexported fields
}

Объект результата подписки.

func (*PortfolioSubscriptionResult) Descriptor deprecated added in v1.1.2

func (*PortfolioSubscriptionResult) Descriptor() ([]byte, []int)

Deprecated: Use PortfolioSubscriptionResult.ProtoReflect.Descriptor instead.

func (*PortfolioSubscriptionResult) GetAccounts added in v1.1.2

func (*PortfolioSubscriptionResult) GetStreamId added in v1.4.0

func (x *PortfolioSubscriptionResult) GetStreamId() string

func (*PortfolioSubscriptionResult) GetTrackingId added in v1.4.0

func (x *PortfolioSubscriptionResult) GetTrackingId() string

func (*PortfolioSubscriptionResult) ProtoMessage added in v1.1.2

func (*PortfolioSubscriptionResult) ProtoMessage()

func (*PortfolioSubscriptionResult) ProtoReflect added in v1.1.2

func (*PortfolioSubscriptionResult) Reset added in v1.1.2

func (x *PortfolioSubscriptionResult) Reset()

func (*PortfolioSubscriptionResult) String added in v1.1.2

func (x *PortfolioSubscriptionResult) String() string

type PortfolioSubscriptionStatus added in v1.1.2

type PortfolioSubscriptionStatus int32

Результат подписки.

const (
	PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_UNSPECIFIED       PortfolioSubscriptionStatus = 0 //Тип не определён.
	PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS           PortfolioSubscriptionStatus = 1 //Успешно.
	PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND PortfolioSubscriptionStatus = 2 //Счёт не найден или недостаточно прав.
	PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_INTERNAL_ERROR    PortfolioSubscriptionStatus = 3 //Произошла ошибка.
)

func (PortfolioSubscriptionStatus) Descriptor added in v1.1.2

func (PortfolioSubscriptionStatus) Enum added in v1.1.2

func (PortfolioSubscriptionStatus) EnumDescriptor deprecated added in v1.1.2

func (PortfolioSubscriptionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortfolioSubscriptionStatus.Descriptor instead.

func (PortfolioSubscriptionStatus) Number added in v1.1.2

func (PortfolioSubscriptionStatus) String added in v1.1.2

func (PortfolioSubscriptionStatus) Type added in v1.1.2

type PositionData added in v1.2.0

type PositionData struct {
	AccountId  string                 `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта.
	Money      []*PositionsMoney      `protobuf:"bytes,2,rep,name=money,proto3" json:"money,omitempty"`                          //Массив валютных позиций портфеля.
	Securities []*PositionsSecurities `protobuf:"bytes,3,rep,name=securities,proto3" json:"securities,omitempty"`                //Список ценно-бумажных позиций портфеля.
	Futures    []*PositionsFutures    `protobuf:"bytes,4,rep,name=futures,proto3" json:"futures,omitempty"`                      //Список фьючерсов портфеля.
	Options    []*PositionsOptions    `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"`                      //Список опционов портфеля.
	Date       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`                            //Дата и время операции в формате UTC.
	// contains filtered or unexported fields
}

Данные о позиции портфеля.

func (*PositionData) Descriptor deprecated added in v1.2.0

func (*PositionData) Descriptor() ([]byte, []int)

Deprecated: Use PositionData.ProtoReflect.Descriptor instead.

func (*PositionData) GetAccountId added in v1.2.0

func (x *PositionData) GetAccountId() string

func (*PositionData) GetDate added in v1.2.0

func (x *PositionData) GetDate() *timestamppb.Timestamp

func (*PositionData) GetFutures added in v1.2.0

func (x *PositionData) GetFutures() []*PositionsFutures

func (*PositionData) GetMoney added in v1.2.0

func (x *PositionData) GetMoney() []*PositionsMoney

func (*PositionData) GetOptions added in v1.2.0

func (x *PositionData) GetOptions() []*PositionsOptions

func (*PositionData) GetSecurities added in v1.2.0

func (x *PositionData) GetSecurities() []*PositionsSecurities

func (*PositionData) ProtoMessage added in v1.2.0

func (*PositionData) ProtoMessage()

func (*PositionData) ProtoReflect added in v1.2.0

func (x *PositionData) ProtoReflect() protoreflect.Message

func (*PositionData) Reset added in v1.2.0

func (x *PositionData) Reset()

func (*PositionData) String added in v1.2.0

func (x *PositionData) String() string

type PositionsAccountSubscriptionStatus added in v1.2.0

type PositionsAccountSubscriptionStatus int32

Результат подписки.

const (
	PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_UNSPECIFIED       PositionsAccountSubscriptionStatus = 0 //Тип не определён.
	PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_SUCCESS           PositionsAccountSubscriptionStatus = 1 //Успешно.
	PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND PositionsAccountSubscriptionStatus = 2 //Счёт не найден или недостаточно прав.
	PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_INTERNAL_ERROR    PositionsAccountSubscriptionStatus = 3 //Произошла ошибка.
)

func (PositionsAccountSubscriptionStatus) Descriptor added in v1.2.0

func (PositionsAccountSubscriptionStatus) Enum added in v1.2.0

func (PositionsAccountSubscriptionStatus) EnumDescriptor deprecated added in v1.2.0

func (PositionsAccountSubscriptionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use PositionsAccountSubscriptionStatus.Descriptor instead.

func (PositionsAccountSubscriptionStatus) Number added in v1.2.0

func (PositionsAccountSubscriptionStatus) String added in v1.2.0

func (PositionsAccountSubscriptionStatus) Type added in v1.2.0

type PositionsFutures

type PositionsFutures struct {
	Figi          string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                        //FIGI-идентификатор фьючерса.
	Blocked       int64  `protobuf:"varint,2,opt,name=blocked,proto3" json:"blocked,omitempty"`                                 //Количество бумаг, заблокированных выставленными заявками.
	Balance       int64  `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`                                 //Текущий незаблокированный баланс.
	PositionUid   string `protobuf:"bytes,4,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`       //Уникальный идентификатор позиции.
	InstrumentUid string `protobuf:"bytes,5,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор  инструмента.
	// contains filtered or unexported fields
}

Баланс фьючерса.

func (*PositionsFutures) Descriptor deprecated

func (*PositionsFutures) Descriptor() ([]byte, []int)

Deprecated: Use PositionsFutures.ProtoReflect.Descriptor instead.

func (*PositionsFutures) GetBalance

func (x *PositionsFutures) GetBalance() int64

func (*PositionsFutures) GetBlocked

func (x *PositionsFutures) GetBlocked() int64

func (*PositionsFutures) GetFigi

func (x *PositionsFutures) GetFigi() string

func (*PositionsFutures) GetInstrumentUid added in v1.2.0

func (x *PositionsFutures) GetInstrumentUid() string

func (*PositionsFutures) GetPositionUid added in v1.2.0

func (x *PositionsFutures) GetPositionUid() string

func (*PositionsFutures) ProtoMessage

func (*PositionsFutures) ProtoMessage()

func (*PositionsFutures) ProtoReflect

func (x *PositionsFutures) ProtoReflect() protoreflect.Message

func (*PositionsFutures) Reset

func (x *PositionsFutures) Reset()

func (*PositionsFutures) String

func (x *PositionsFutures) String() string

type PositionsMoney added in v1.2.0

type PositionsMoney struct {
	AvailableValue *MoneyValue `protobuf:"bytes,1,opt,name=available_value,json=availableValue,proto3" json:"available_value,omitempty"` //Доступное количество валютный позиций.
	BlockedValue   *MoneyValue `protobuf:"bytes,2,opt,name=blocked_value,json=blockedValue,proto3" json:"blocked_value,omitempty"`       //Заблокированное количество валютных позиций.
	// contains filtered or unexported fields
}

Валютная позиция портфеля.

func (*PositionsMoney) Descriptor deprecated added in v1.2.0

func (*PositionsMoney) Descriptor() ([]byte, []int)

Deprecated: Use PositionsMoney.ProtoReflect.Descriptor instead.

func (*PositionsMoney) GetAvailableValue added in v1.2.0

func (x *PositionsMoney) GetAvailableValue() *MoneyValue

func (*PositionsMoney) GetBlockedValue added in v1.2.0

func (x *PositionsMoney) GetBlockedValue() *MoneyValue

func (*PositionsMoney) ProtoMessage added in v1.2.0

func (*PositionsMoney) ProtoMessage()

func (*PositionsMoney) ProtoReflect added in v1.2.0

func (x *PositionsMoney) ProtoReflect() protoreflect.Message

func (*PositionsMoney) Reset added in v1.2.0

func (x *PositionsMoney) Reset()

func (*PositionsMoney) String added in v1.2.0

func (x *PositionsMoney) String() string

type PositionsOptions added in v1.2.0

type PositionsOptions struct {
	PositionUid   string `protobuf:"bytes,1,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`       //Уникальный идентификатор позиции опциона.
	InstrumentUid string `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор  инструмента.
	Blocked       int64  `protobuf:"varint,11,opt,name=blocked,proto3" json:"blocked,omitempty"`                                //Количество бумаг, заблокированных выставленными заявками.
	Balance       int64  `protobuf:"varint,21,opt,name=balance,proto3" json:"balance,omitempty"`                                //Текущий незаблокированный баланс.
	// contains filtered or unexported fields
}

Баланс опциона.

func (*PositionsOptions) Descriptor deprecated added in v1.2.0

func (*PositionsOptions) Descriptor() ([]byte, []int)

Deprecated: Use PositionsOptions.ProtoReflect.Descriptor instead.

func (*PositionsOptions) GetBalance added in v1.2.0

func (x *PositionsOptions) GetBalance() int64

func (*PositionsOptions) GetBlocked added in v1.2.0

func (x *PositionsOptions) GetBlocked() int64

func (*PositionsOptions) GetInstrumentUid added in v1.2.0

func (x *PositionsOptions) GetInstrumentUid() string

func (*PositionsOptions) GetPositionUid added in v1.2.0

func (x *PositionsOptions) GetPositionUid() string

func (*PositionsOptions) ProtoMessage added in v1.2.0

func (*PositionsOptions) ProtoMessage()

func (*PositionsOptions) ProtoReflect added in v1.2.0

func (x *PositionsOptions) ProtoReflect() protoreflect.Message

func (*PositionsOptions) Reset added in v1.2.0

func (x *PositionsOptions) Reset()

func (*PositionsOptions) String added in v1.2.0

func (x *PositionsOptions) String() string

type PositionsRequest

type PositionsRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя.
	// contains filtered or unexported fields
}

Запрос позиций портфеля по счёту.

func (*PositionsRequest) Descriptor deprecated

func (*PositionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use PositionsRequest.ProtoReflect.Descriptor instead.

func (*PositionsRequest) GetAccountId

func (x *PositionsRequest) GetAccountId() string

func (*PositionsRequest) ProtoMessage

func (*PositionsRequest) ProtoMessage()

func (*PositionsRequest) ProtoReflect

func (x *PositionsRequest) ProtoReflect() protoreflect.Message

func (*PositionsRequest) Reset

func (x *PositionsRequest) Reset()

func (*PositionsRequest) String

func (x *PositionsRequest) String() string

type PositionsResponse

type PositionsResponse struct {
	Money                   []*MoneyValue          `protobuf:"bytes,1,rep,name=money,proto3" json:"money,omitempty"`           //Массив валютных позиций портфеля.
	Blocked                 []*MoneyValue          `protobuf:"bytes,2,rep,name=blocked,proto3" json:"blocked,omitempty"`       //Массив заблокированных валютных позиций портфеля.
	Securities              []*PositionsSecurities `protobuf:"bytes,3,rep,name=securities,proto3" json:"securities,omitempty"` //Список ценно-бумажных позиций портфеля.
	LimitsLoadingInProgress bool                   ``                                                                          //Признак идущей выгрузки лимитов в данный момент.
	/* 135-byte string literal not displayed */
	Futures   []*PositionsFutures `protobuf:"bytes,5,rep,name=futures,proto3" json:"futures,omitempty"`                       //Список фьючерсов портфеля.
	Options   []*PositionsOptions `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"`                       //Список опционов портфеля.
	AccountId string              `protobuf:"bytes,15,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя.
	// contains filtered or unexported fields
}

Список позиций по счёту.

func (*PositionsResponse) Descriptor deprecated

func (*PositionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use PositionsResponse.ProtoReflect.Descriptor instead.

func (*PositionsResponse) GetAccountId added in v1.8.1

func (x *PositionsResponse) GetAccountId() string

func (*PositionsResponse) GetBlocked

func (x *PositionsResponse) GetBlocked() []*MoneyValue

func (*PositionsResponse) GetFutures

func (x *PositionsResponse) GetFutures() []*PositionsFutures

func (*PositionsResponse) GetLimitsLoadingInProgress

func (x *PositionsResponse) GetLimitsLoadingInProgress() bool

func (*PositionsResponse) GetMoney

func (x *PositionsResponse) GetMoney() []*MoneyValue

func (*PositionsResponse) GetOptions added in v1.2.0

func (x *PositionsResponse) GetOptions() []*PositionsOptions

func (*PositionsResponse) GetSecurities

func (x *PositionsResponse) GetSecurities() []*PositionsSecurities

func (*PositionsResponse) ProtoMessage

func (*PositionsResponse) ProtoMessage()

func (*PositionsResponse) ProtoReflect

func (x *PositionsResponse) ProtoReflect() protoreflect.Message

func (*PositionsResponse) Reset

func (x *PositionsResponse) Reset()

func (*PositionsResponse) String

func (x *PositionsResponse) String() string

type PositionsSecurities

type PositionsSecurities struct {
	Figi            string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                                //FIGI-идентификатор бумаги.
	Blocked         int64  `protobuf:"varint,2,opt,name=blocked,proto3" json:"blocked,omitempty"`                                         //Количество бумаг, заблокированных выставленными заявками.
	Balance         int64  `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`                                         //Текущий незаблокированный баланс.
	PositionUid     string `protobuf:"bytes,4,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`               //Уникальный идентификатор позиции.
	InstrumentUid   string `protobuf:"bytes,5,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`         //Уникальный идентификатор инструмента.
	ExchangeBlocked bool   `protobuf:"varint,11,opt,name=exchange_blocked,json=exchangeBlocked,proto3" json:"exchange_blocked,omitempty"` //Заблокировано на бирже.
	InstrumentType  string `protobuf:"bytes,16,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"`     //Тип инструмента.
	// contains filtered or unexported fields
}

Баланс позиции ценной бумаги.

func (*PositionsSecurities) Descriptor deprecated

func (*PositionsSecurities) Descriptor() ([]byte, []int)

Deprecated: Use PositionsSecurities.ProtoReflect.Descriptor instead.

func (*PositionsSecurities) GetBalance

func (x *PositionsSecurities) GetBalance() int64

func (*PositionsSecurities) GetBlocked

func (x *PositionsSecurities) GetBlocked() int64

func (*PositionsSecurities) GetExchangeBlocked added in v1.1.2

func (x *PositionsSecurities) GetExchangeBlocked() bool

func (*PositionsSecurities) GetFigi

func (x *PositionsSecurities) GetFigi() string

func (*PositionsSecurities) GetInstrumentType added in v1.1.2

func (x *PositionsSecurities) GetInstrumentType() string

func (*PositionsSecurities) GetInstrumentUid added in v1.2.0

func (x *PositionsSecurities) GetInstrumentUid() string

func (*PositionsSecurities) GetPositionUid added in v1.2.0

func (x *PositionsSecurities) GetPositionUid() string

func (*PositionsSecurities) ProtoMessage

func (*PositionsSecurities) ProtoMessage()

func (*PositionsSecurities) ProtoReflect

func (x *PositionsSecurities) ProtoReflect() protoreflect.Message

func (*PositionsSecurities) Reset

func (x *PositionsSecurities) Reset()

func (*PositionsSecurities) String

func (x *PositionsSecurities) String() string

type PositionsStreamRequest added in v1.2.0

type PositionsStreamRequest struct {
	Accounts             []string           `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`                                                        //Массив идентификаторов счётов пользователя.
	WithInitialPositions bool               `protobuf:"varint,3,opt,name=with_initial_positions,json=withInitialPositions,proto3" json:"with_initial_positions,omitempty"` //Получение состояния позиций на момент подключения.
	PingSettings         *PingDelaySettings `protobuf:"bytes,15,opt,name=ping_settings,json=pingSettings,proto3" json:"ping_settings,omitempty"`                           //Запрос настройки пинга.
	// contains filtered or unexported fields
}

Запрос установки stream-соединения позиций.

func (*PositionsStreamRequest) Descriptor deprecated added in v1.2.0

func (*PositionsStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use PositionsStreamRequest.ProtoReflect.Descriptor instead.

func (*PositionsStreamRequest) GetAccounts added in v1.2.0

func (x *PositionsStreamRequest) GetAccounts() []string

func (*PositionsStreamRequest) GetPingSettings added in v1.6.0

func (x *PositionsStreamRequest) GetPingSettings() *PingDelaySettings

func (*PositionsStreamRequest) GetWithInitialPositions added in v1.8.1

func (x *PositionsStreamRequest) GetWithInitialPositions() bool

func (*PositionsStreamRequest) ProtoMessage added in v1.2.0

func (*PositionsStreamRequest) ProtoMessage()

func (*PositionsStreamRequest) ProtoReflect added in v1.2.0

func (x *PositionsStreamRequest) ProtoReflect() protoreflect.Message

func (*PositionsStreamRequest) Reset added in v1.2.0

func (x *PositionsStreamRequest) Reset()

func (*PositionsStreamRequest) String added in v1.2.0

func (x *PositionsStreamRequest) String() string

type PositionsStreamResponse added in v1.2.0

type PositionsStreamResponse struct {

	// Types that are assignable to Payload:
	//
	//	*PositionsStreamResponse_Subscriptions
	//	*PositionsStreamResponse_Position
	//	*PositionsStreamResponse_Ping
	//	*PositionsStreamResponse_InitialPositions
	Payload isPositionsStreamResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Информация по изменению позиций портфеля.

func (*PositionsStreamResponse) Descriptor deprecated added in v1.2.0

func (*PositionsStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use PositionsStreamResponse.ProtoReflect.Descriptor instead.

func (*PositionsStreamResponse) GetInitialPositions added in v1.8.1

func (x *PositionsStreamResponse) GetInitialPositions() *PositionsResponse

func (*PositionsStreamResponse) GetPayload added in v1.2.0

func (m *PositionsStreamResponse) GetPayload() isPositionsStreamResponse_Payload

func (*PositionsStreamResponse) GetPing added in v1.2.0

func (x *PositionsStreamResponse) GetPing() *Ping

func (*PositionsStreamResponse) GetPosition added in v1.2.0

func (x *PositionsStreamResponse) GetPosition() *PositionData

func (*PositionsStreamResponse) GetSubscriptions added in v1.2.0

func (*PositionsStreamResponse) ProtoMessage added in v1.2.0

func (*PositionsStreamResponse) ProtoMessage()

func (*PositionsStreamResponse) ProtoReflect added in v1.2.0

func (x *PositionsStreamResponse) ProtoReflect() protoreflect.Message

func (*PositionsStreamResponse) Reset added in v1.2.0

func (x *PositionsStreamResponse) Reset()

func (*PositionsStreamResponse) String added in v1.2.0

func (x *PositionsStreamResponse) String() string

type PositionsStreamResponse_InitialPositions added in v1.8.1

type PositionsStreamResponse_InitialPositions struct {
	InitialPositions *PositionsResponse `protobuf:"bytes,5,opt,name=initial_positions,json=initialPositions,proto3,oneof"` //Текущие позиции.
}

type PositionsStreamResponse_Ping added in v1.2.0

type PositionsStreamResponse_Ping struct {
	Ping *Ping `protobuf:"bytes,3,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}

type PositionsStreamResponse_Position added in v1.2.0

type PositionsStreamResponse_Position struct {
	Position *PositionData `protobuf:"bytes,2,opt,name=position,proto3,oneof"` //Объект стриминга позиций.
}

type PositionsStreamResponse_Subscriptions added in v1.2.0

type PositionsStreamResponse_Subscriptions struct {
	Subscriptions *PositionsSubscriptionResult `protobuf:"bytes,1,opt,name=subscriptions,proto3,oneof"` //Объект результата подписки.
}

type PositionsSubscriptionResult added in v1.2.0

type PositionsSubscriptionResult struct {
	Accounts   []*PositionsSubscriptionStatus `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`                       //Массив счетов клиента.
	TrackingId string                         `protobuf:"bytes,7,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Уникальный идентификатор запроса, подробнее: [tracking_id](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	StreamId   string                         `protobuf:"bytes,8,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`       //Идентификатор открытого соединения
	// contains filtered or unexported fields
}

Объект результата подписки.

func (*PositionsSubscriptionResult) Descriptor deprecated added in v1.2.0

func (*PositionsSubscriptionResult) Descriptor() ([]byte, []int)

Deprecated: Use PositionsSubscriptionResult.ProtoReflect.Descriptor instead.

func (*PositionsSubscriptionResult) GetAccounts added in v1.2.0

func (*PositionsSubscriptionResult) GetStreamId added in v1.4.0

func (x *PositionsSubscriptionResult) GetStreamId() string

func (*PositionsSubscriptionResult) GetTrackingId added in v1.4.0

func (x *PositionsSubscriptionResult) GetTrackingId() string

func (*PositionsSubscriptionResult) ProtoMessage added in v1.2.0

func (*PositionsSubscriptionResult) ProtoMessage()

func (*PositionsSubscriptionResult) ProtoReflect added in v1.2.0

func (*PositionsSubscriptionResult) Reset added in v1.2.0

func (x *PositionsSubscriptionResult) Reset()

func (*PositionsSubscriptionResult) String added in v1.2.0

func (x *PositionsSubscriptionResult) String() string

type PositionsSubscriptionStatus added in v1.2.0

type PositionsSubscriptionStatus struct {
	AccountId          string                             `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта.
	SubscriptionStatus PositionsAccountSubscriptionStatus ``                                                                                         //Результат подписки.
	/* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

Счёт клиента.

func (*PositionsSubscriptionStatus) Descriptor deprecated added in v1.2.0

func (*PositionsSubscriptionStatus) Descriptor() ([]byte, []int)

Deprecated: Use PositionsSubscriptionStatus.ProtoReflect.Descriptor instead.

func (*PositionsSubscriptionStatus) GetAccountId added in v1.2.0

func (x *PositionsSubscriptionStatus) GetAccountId() string

func (*PositionsSubscriptionStatus) GetSubscriptionStatus added in v1.2.0

func (*PositionsSubscriptionStatus) ProtoMessage added in v1.2.0

func (*PositionsSubscriptionStatus) ProtoMessage()

func (*PositionsSubscriptionStatus) ProtoReflect added in v1.2.0

func (*PositionsSubscriptionStatus) Reset added in v1.2.0

func (x *PositionsSubscriptionStatus) Reset()

func (*PositionsSubscriptionStatus) String added in v1.2.0

func (x *PositionsSubscriptionStatus) String() string

type PostOrderAsyncRequest added in v1.4.0

type PostOrderAsyncRequest struct {
	InstrumentId string         `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значения Figi или Instrument_uid.
	Quantity     int64          `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`                            //Количество лотов.
	Price        *Quotation     `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"`                             //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Игнорируется для рыночных поручений.
	Direction    OrderDirection ``                                                                                                  //Направление операции.
	/* 130-byte string literal not displayed */
	AccountId string    `protobuf:"bytes,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта.
	OrderType OrderType ``                                                                                         //Тип заявки.
	/* 142-byte string literal not displayed */
	OrderId     string           `protobuf:"bytes,7,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Идентификатор запроса выставления поручения для целей идемпотентности в формате UID. Максимальная длина 36 символов.
	TimeInForce *TimeInForceType ``                                                                                   //Алгоритм исполнения поручения, применяется только к лимитной заявке.
	/* 162-byte string literal not displayed */
	PriceType *PriceType `` //Тип цены.
	/* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос выставления асинхронного торгового поручения.

func (*PostOrderAsyncRequest) Descriptor deprecated added in v1.4.0

func (*PostOrderAsyncRequest) Descriptor() ([]byte, []int)

Deprecated: Use PostOrderAsyncRequest.ProtoReflect.Descriptor instead.

func (*PostOrderAsyncRequest) GetAccountId added in v1.4.0

func (x *PostOrderAsyncRequest) GetAccountId() string

func (*PostOrderAsyncRequest) GetDirection added in v1.4.0

func (x *PostOrderAsyncRequest) GetDirection() OrderDirection

func (*PostOrderAsyncRequest) GetInstrumentId added in v1.4.0

func (x *PostOrderAsyncRequest) GetInstrumentId() string

func (*PostOrderAsyncRequest) GetOrderId added in v1.4.0

func (x *PostOrderAsyncRequest) GetOrderId() string

func (*PostOrderAsyncRequest) GetOrderType added in v1.4.0

func (x *PostOrderAsyncRequest) GetOrderType() OrderType

func (*PostOrderAsyncRequest) GetPrice added in v1.4.0

func (x *PostOrderAsyncRequest) GetPrice() *Quotation

func (*PostOrderAsyncRequest) GetPriceType added in v1.4.0

func (x *PostOrderAsyncRequest) GetPriceType() PriceType

func (*PostOrderAsyncRequest) GetQuantity added in v1.4.0

func (x *PostOrderAsyncRequest) GetQuantity() int64

func (*PostOrderAsyncRequest) GetTimeInForce added in v1.4.0

func (x *PostOrderAsyncRequest) GetTimeInForce() TimeInForceType

func (*PostOrderAsyncRequest) ProtoMessage added in v1.4.0

func (*PostOrderAsyncRequest) ProtoMessage()

func (*PostOrderAsyncRequest) ProtoReflect added in v1.4.0

func (x *PostOrderAsyncRequest) ProtoReflect() protoreflect.Message

func (*PostOrderAsyncRequest) Reset added in v1.4.0

func (x *PostOrderAsyncRequest) Reset()

func (*PostOrderAsyncRequest) String added in v1.4.0

func (x *PostOrderAsyncRequest) String() string

type PostOrderAsyncResponse added in v1.4.0

type PostOrderAsyncResponse struct {
	OrderRequestId        string                     `protobuf:"bytes,1,opt,name=order_request_id,json=orderRequestId,proto3" json:"order_request_id,omitempty"` //Идентификатор ключа идемпотентности, переданный клиентом, в формате UID. Максимальная длина 36 символов.
	ExecutionReportStatus OrderExecutionReportStatus ``                                                                                                          //Текущий статус заявки.
	/* 197-byte string literal not displayed */
	TradeIntentId *string `protobuf:"bytes,3,opt,name=trade_intent_id,json=tradeIntentId,proto3,oneof" json:"trade_intent_id,omitempty"` //Идентификатор торгового поручения.
	// contains filtered or unexported fields
}

Результат выставления асинхронного торгового поручения.

func (*PostOrderAsyncResponse) Descriptor deprecated added in v1.4.0

func (*PostOrderAsyncResponse) Descriptor() ([]byte, []int)

Deprecated: Use PostOrderAsyncResponse.ProtoReflect.Descriptor instead.

func (*PostOrderAsyncResponse) GetExecutionReportStatus added in v1.4.0

func (x *PostOrderAsyncResponse) GetExecutionReportStatus() OrderExecutionReportStatus

func (*PostOrderAsyncResponse) GetOrderRequestId added in v1.4.0

func (x *PostOrderAsyncResponse) GetOrderRequestId() string

func (*PostOrderAsyncResponse) GetTradeIntentId added in v1.4.0

func (x *PostOrderAsyncResponse) GetTradeIntentId() string

func (*PostOrderAsyncResponse) ProtoMessage added in v1.4.0

func (*PostOrderAsyncResponse) ProtoMessage()

func (*PostOrderAsyncResponse) ProtoReflect added in v1.4.0

func (x *PostOrderAsyncResponse) ProtoReflect() protoreflect.Message

func (*PostOrderAsyncResponse) Reset added in v1.4.0

func (x *PostOrderAsyncResponse) Reset()

func (*PostOrderAsyncResponse) String added in v1.4.0

func (x *PostOrderAsyncResponse) String() string

type PostOrderRequest

type PostOrderRequest struct {

	// Deprecated: Marked as deprecated in orders.proto.
	Figi      *string        `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"`    //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id.
	Quantity  int64          `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов.
	Price     *Quotation     `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"`  //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Игнорируется для рыночных поручений.
	Direction OrderDirection ``                                                                       //Направление операции.
	/* 130-byte string literal not displayed */
	AccountId string    `protobuf:"bytes,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта.
	OrderType OrderType ``                                                                                         //Тип заявки.
	/* 142-byte string literal not displayed */
	OrderId      string          `protobuf:"bytes,7,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`                //Идентификатор запроса выставления поручения для целей идемпотентности в формате UID. Максимальная длина 36 символов.
	InstrumentId string          `protobuf:"bytes,8,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значения Figi или Instrument_uid.
	TimeInForce  TimeInForceType ``                                                                                                  //Алгоритм исполнения поручения, применяется только к лимитной заявке.
	/* 156-byte string literal not displayed */
	PriceType PriceType `` //Тип цены.
	/* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос выставления торгового поручения.

func (*PostOrderRequest) Descriptor deprecated

func (*PostOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use PostOrderRequest.ProtoReflect.Descriptor instead.

func (*PostOrderRequest) GetAccountId

func (x *PostOrderRequest) GetAccountId() string

func (*PostOrderRequest) GetDirection

func (x *PostOrderRequest) GetDirection() OrderDirection

func (*PostOrderRequest) GetFigi deprecated

func (x *PostOrderRequest) GetFigi() string

Deprecated: Marked as deprecated in orders.proto.

func (*PostOrderRequest) GetInstrumentId added in v1.2.2

func (x *PostOrderRequest) GetInstrumentId() string

func (*PostOrderRequest) GetOrderId

func (x *PostOrderRequest) GetOrderId() string

func (*PostOrderRequest) GetOrderType

func (x *PostOrderRequest) GetOrderType() OrderType

func (*PostOrderRequest) GetPrice

func (x *PostOrderRequest) GetPrice() *Quotation

func (*PostOrderRequest) GetPriceType added in v1.4.0

func (x *PostOrderRequest) GetPriceType() PriceType

func (*PostOrderRequest) GetQuantity

func (x *PostOrderRequest) GetQuantity() int64

func (*PostOrderRequest) GetTimeInForce added in v1.4.0

func (x *PostOrderRequest) GetTimeInForce() TimeInForceType

func (*PostOrderRequest) ProtoMessage

func (*PostOrderRequest) ProtoMessage()

func (*PostOrderRequest) ProtoReflect

func (x *PostOrderRequest) ProtoReflect() protoreflect.Message

func (*PostOrderRequest) Reset

func (x *PostOrderRequest) Reset()

func (*PostOrderRequest) String

func (x *PostOrderRequest) String() string

type PostOrderResponse

type PostOrderResponse struct {
	OrderId               string                     `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Биржевой идентификатор заявки.
	ExecutionReportStatus OrderExecutionReportStatus ``                                                                                   //Текущий статус заявки.
	/* 197-byte string literal not displayed */
	LotsRequested      int64          `protobuf:"varint,3,opt,name=lots_requested,json=lotsRequested,proto3" json:"lots_requested,omitempty"`                 //Запрошено лотов.
	LotsExecuted       int64          `protobuf:"varint,4,opt,name=lots_executed,json=lotsExecuted,proto3" json:"lots_executed,omitempty"`                    //Исполнено лотов.
	InitialOrderPrice  *MoneyValue    `protobuf:"bytes,5,opt,name=initial_order_price,json=initialOrderPrice,proto3" json:"initial_order_price,omitempty"`    //Начальная цена заявки. Произведение количества запрошенных лотов на цену.
	ExecutedOrderPrice *MoneyValue    `protobuf:"bytes,6,opt,name=executed_order_price,json=executedOrderPrice,proto3" json:"executed_order_price,omitempty"` //Исполненная средняя цена одного инструмента в заявке.
	TotalOrderAmount   *MoneyValue    `protobuf:"bytes,7,opt,name=total_order_amount,json=totalOrderAmount,proto3" json:"total_order_amount,omitempty"`       //Итоговая стоимость заявки, включающая все комиссии.
	InitialCommission  *MoneyValue    `protobuf:"bytes,8,opt,name=initial_commission,json=initialCommission,proto3" json:"initial_commission,omitempty"`      //Начальная комиссия. Комиссия рассчитанная при выставлении заявки.
	ExecutedCommission *MoneyValue    `protobuf:"bytes,9,opt,name=executed_commission,json=executedCommission,proto3" json:"executed_commission,omitempty"`   //Фактическая комиссия по итогам исполнения заявки.
	AciValue           *MoneyValue    `protobuf:"bytes,10,opt,name=aci_value,json=aciValue,proto3" json:"aci_value,omitempty"`                                //Значение НКД (накопленного купонного дохода) на дату. Подробнее: [НКД при выставлении торговых поручений](https://russianinvestments.github.io/investAPI/head-orders#coupon)
	Figi               string         `protobuf:"bytes,11,opt,name=figi,proto3" json:"figi,omitempty"`                                                        // Figi-идентификатор инструмента.
	Direction          OrderDirection ``                                                                                                                      //Направление сделки.
	/* 131-byte string literal not displayed */
	InitialSecurityPrice *MoneyValue `protobuf:"bytes,13,opt,name=initial_security_price,json=initialSecurityPrice,proto3" json:"initial_security_price,omitempty"` //Начальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	OrderType            OrderType   ``                                                                                                                             //Тип заявки.
	/* 143-byte string literal not displayed */
	Message             string            `protobuf:"bytes,15,opt,name=message,proto3" json:"message,omitempty"`                                                        //Дополнительные данные об исполнении заявки.
	InitialOrderPricePt *Quotation        `protobuf:"bytes,16,opt,name=initial_order_price_pt,json=initialOrderPricePt,proto3" json:"initial_order_price_pt,omitempty"` //Начальная цена заявки в пунктах (для фьючерсов).
	InstrumentUid       string            `protobuf:"bytes,17,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`                       //UID идентификатор инструмента.
	OrderRequestId      string            `protobuf:"bytes,20,opt,name=order_request_id,json=orderRequestId,proto3" json:"order_request_id,omitempty"`                  //Идентификатор ключа идемпотентности, переданный клиентом, в формате UID. Максимальная длина 36 символов.
	ResponseMetadata    *ResponseMetadata `protobuf:"bytes,254,opt,name=response_metadata,json=responseMetadata,proto3" json:"response_metadata,omitempty"`             //Метадата
	// contains filtered or unexported fields
}

Информация о выставлении поручения.

func (*PostOrderResponse) Descriptor deprecated

func (*PostOrderResponse) Descriptor() ([]byte, []int)

Deprecated: Use PostOrderResponse.ProtoReflect.Descriptor instead.

func (*PostOrderResponse) GetAciValue

func (x *PostOrderResponse) GetAciValue() *MoneyValue

func (*PostOrderResponse) GetDirection

func (x *PostOrderResponse) GetDirection() OrderDirection

func (*PostOrderResponse) GetExecutedCommission

func (x *PostOrderResponse) GetExecutedCommission() *MoneyValue

func (*PostOrderResponse) GetExecutedOrderPrice

func (x *PostOrderResponse) GetExecutedOrderPrice() *MoneyValue

func (*PostOrderResponse) GetExecutionReportStatus

func (x *PostOrderResponse) GetExecutionReportStatus() OrderExecutionReportStatus

func (*PostOrderResponse) GetFigi

func (x *PostOrderResponse) GetFigi() string

func (*PostOrderResponse) GetInitialCommission

func (x *PostOrderResponse) GetInitialCommission() *MoneyValue

func (*PostOrderResponse) GetInitialOrderPrice

func (x *PostOrderResponse) GetInitialOrderPrice() *MoneyValue

func (*PostOrderResponse) GetInitialOrderPricePt

func (x *PostOrderResponse) GetInitialOrderPricePt() *Quotation

func (*PostOrderResponse) GetInitialSecurityPrice

func (x *PostOrderResponse) GetInitialSecurityPrice() *MoneyValue

func (*PostOrderResponse) GetInstrumentUid added in v1.2.2

func (x *PostOrderResponse) GetInstrumentUid() string

func (*PostOrderResponse) GetLotsExecuted

func (x *PostOrderResponse) GetLotsExecuted() int64

func (*PostOrderResponse) GetLotsRequested

func (x *PostOrderResponse) GetLotsRequested() int64

func (*PostOrderResponse) GetMessage

func (x *PostOrderResponse) GetMessage() string

func (*PostOrderResponse) GetOrderId

func (x *PostOrderResponse) GetOrderId() string

func (*PostOrderResponse) GetOrderRequestId added in v1.4.0

func (x *PostOrderResponse) GetOrderRequestId() string

func (*PostOrderResponse) GetOrderType

func (x *PostOrderResponse) GetOrderType() OrderType

func (*PostOrderResponse) GetResponseMetadata added in v1.4.0

func (x *PostOrderResponse) GetResponseMetadata() *ResponseMetadata

func (*PostOrderResponse) GetTotalOrderAmount

func (x *PostOrderResponse) GetTotalOrderAmount() *MoneyValue

func (*PostOrderResponse) ProtoMessage

func (*PostOrderResponse) ProtoMessage()

func (*PostOrderResponse) ProtoReflect

func (x *PostOrderResponse) ProtoReflect() protoreflect.Message

func (*PostOrderResponse) Reset

func (x *PostOrderResponse) Reset()

func (*PostOrderResponse) String

func (x *PostOrderResponse) String() string

type PostStopOrderRequest

type PostStopOrderRequest struct {

	// Deprecated: Marked as deprecated in stoporders.proto.
	Figi      *string            `protobuf:"bytes,1,opt,name=figi,proto3,oneof" json:"figi,omitempty"`                            //Deprecated FIGI-идентификатор инструмента. Используйте `instrument_id`.
	Quantity  int64              `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`                         //Количество лотов.
	Price     *Quotation         `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"`                          //Цена за 1 инструмент биржевой заявки, которая будет выставлена при срабатывании по достижению `stop_price`. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	StopPrice *Quotation         `protobuf:"bytes,4,opt,name=stop_price,json=stopPrice,proto3,oneof" json:"stop_price,omitempty"` //Стоп-цена заявки за 1 инструмент. При достижении стоп-цены происходит активация стоп-заявки, в результате чего выставляется биржевая заявка. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	Direction StopOrderDirection ``                                                                                               //Направление операции.
	/* 134-byte string literal not displayed */
	AccountId      string                  `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта.
	ExpirationType StopOrderExpirationType ``                                                                                         //Тип экспирации заявки.
	/* 171-byte string literal not displayed */
	StopOrderType StopOrderType `` //Тип заявки.
	/* 160-byte string literal not displayed */
	ExpireDate        *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_date,json=expireDate,proto3,oneof" json:"expire_date,omitempty"`  //Дата и время окончания действия стоп-заявки по UTC. Для `ExpirationType = GoodTillDate` заполнение обязательно, для `GoodTillCancel` игнорируется.
	InstrumentId      string                 `protobuf:"bytes,10,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	ExchangeOrderType ExchangeOrderType      ``                                                                                                   //Тип дочерней биржевой заявки для тейкпрофита.
	/* 177-byte string literal not displayed */
	TakeProfitType TakeProfitType `` //Подтип стоп-заявки — `TakeProfit`.
	/* 165-byte string literal not displayed */
	TrailingData *PostStopOrderRequest_TrailingData `protobuf:"bytes,13,opt,name=trailing_data,json=trailingData,proto3" json:"trailing_data,omitempty"` //Массив с параметрами трейлинг-стопа.
	PriceType    PriceType                          ``                                                                                                   //Тип цены.
	/* 143-byte string literal not displayed */
	OrderId string `protobuf:"bytes,15,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Идентификатор запроса выставления поручения для целей идемпотентности в формате `UID`. Максимальная длина — 36 символов.
	// contains filtered or unexported fields
}

Запрос выставления стоп-заявки.

func (*PostStopOrderRequest) Descriptor deprecated

func (*PostStopOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use PostStopOrderRequest.ProtoReflect.Descriptor instead.

func (*PostStopOrderRequest) GetAccountId

func (x *PostStopOrderRequest) GetAccountId() string

func (*PostStopOrderRequest) GetDirection

func (x *PostStopOrderRequest) GetDirection() StopOrderDirection

func (*PostStopOrderRequest) GetExchangeOrderType added in v1.4.0

func (x *PostStopOrderRequest) GetExchangeOrderType() ExchangeOrderType

func (*PostStopOrderRequest) GetExpirationType

func (x *PostStopOrderRequest) GetExpirationType() StopOrderExpirationType

func (*PostStopOrderRequest) GetExpireDate

func (x *PostStopOrderRequest) GetExpireDate() *timestamppb.Timestamp

func (*PostStopOrderRequest) GetFigi deprecated

func (x *PostStopOrderRequest) GetFigi() string

Deprecated: Marked as deprecated in stoporders.proto.

func (*PostStopOrderRequest) GetInstrumentId added in v1.2.3

func (x *PostStopOrderRequest) GetInstrumentId() string

func (*PostStopOrderRequest) GetOrderId added in v1.4.0

func (x *PostStopOrderRequest) GetOrderId() string

func (*PostStopOrderRequest) GetPrice

func (x *PostStopOrderRequest) GetPrice() *Quotation

func (*PostStopOrderRequest) GetPriceType added in v1.4.0

func (x *PostStopOrderRequest) GetPriceType() PriceType

func (*PostStopOrderRequest) GetQuantity

func (x *PostStopOrderRequest) GetQuantity() int64

func (*PostStopOrderRequest) GetStopOrderType

func (x *PostStopOrderRequest) GetStopOrderType() StopOrderType

func (*PostStopOrderRequest) GetStopPrice

func (x *PostStopOrderRequest) GetStopPrice() *Quotation

func (*PostStopOrderRequest) GetTakeProfitType added in v1.4.0

func (x *PostStopOrderRequest) GetTakeProfitType() TakeProfitType

func (*PostStopOrderRequest) GetTrailingData added in v1.4.0

func (*PostStopOrderRequest) ProtoMessage

func (*PostStopOrderRequest) ProtoMessage()

func (*PostStopOrderRequest) ProtoReflect

func (x *PostStopOrderRequest) ProtoReflect() protoreflect.Message

func (*PostStopOrderRequest) Reset

func (x *PostStopOrderRequest) Reset()

func (*PostStopOrderRequest) String

func (x *PostStopOrderRequest) String() string

type PostStopOrderRequest_TrailingData added in v1.4.0

type PostStopOrderRequest_TrailingData struct {
	Indent     *Quotation        `protobuf:"bytes,1,opt,name=indent,proto3" json:"indent,omitempty"` //Отступ.
	IndentType TrailingValueType ``                                                                  //Тип величины отступа.
	/* 153-byte string literal not displayed */
	Spread     *Quotation        `protobuf:"bytes,3,opt,name=spread,proto3" json:"spread,omitempty"` //Размер защитного спреда.
	SpreadType TrailingValueType ``                                                                  //Тип величины защитного спреда.
	/* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PostStopOrderRequest_TrailingData) Descriptor deprecated added in v1.4.0

func (*PostStopOrderRequest_TrailingData) Descriptor() ([]byte, []int)

Deprecated: Use PostStopOrderRequest_TrailingData.ProtoReflect.Descriptor instead.

func (*PostStopOrderRequest_TrailingData) GetIndent added in v1.4.0

func (*PostStopOrderRequest_TrailingData) GetIndentType added in v1.4.0

func (*PostStopOrderRequest_TrailingData) GetSpread added in v1.4.0

func (*PostStopOrderRequest_TrailingData) GetSpreadType added in v1.4.0

func (*PostStopOrderRequest_TrailingData) ProtoMessage added in v1.4.0

func (*PostStopOrderRequest_TrailingData) ProtoMessage()

func (*PostStopOrderRequest_TrailingData) ProtoReflect added in v1.4.0

func (*PostStopOrderRequest_TrailingData) Reset added in v1.4.0

func (*PostStopOrderRequest_TrailingData) String added in v1.4.0

type PostStopOrderResponse

type PostStopOrderResponse struct {
	StopOrderId      string            `protobuf:"bytes,1,opt,name=stop_order_id,json=stopOrderId,proto3" json:"stop_order_id,omitempty"`                //Уникальный идентификатор стоп-заявки.
	OrderRequestId   string            `protobuf:"bytes,2,opt,name=order_request_id,json=orderRequestId,proto3" json:"order_request_id,omitempty"`       //Идентификатор ключа идемпотентности, переданный клиентом, в формате `UID`. Максимальная длина 36 — символов.
	ResponseMetadata *ResponseMetadata `protobuf:"bytes,254,opt,name=response_metadata,json=responseMetadata,proto3" json:"response_metadata,omitempty"` //Метадата.
	// contains filtered or unexported fields
}

Результат выставления стоп-заявки.

func (*PostStopOrderResponse) Descriptor deprecated

func (*PostStopOrderResponse) Descriptor() ([]byte, []int)

Deprecated: Use PostStopOrderResponse.ProtoReflect.Descriptor instead.

func (*PostStopOrderResponse) GetOrderRequestId added in v1.4.0

func (x *PostStopOrderResponse) GetOrderRequestId() string

func (*PostStopOrderResponse) GetResponseMetadata added in v1.4.0

func (x *PostStopOrderResponse) GetResponseMetadata() *ResponseMetadata

func (*PostStopOrderResponse) GetStopOrderId

func (x *PostStopOrderResponse) GetStopOrderId() string

func (*PostStopOrderResponse) ProtoMessage

func (*PostStopOrderResponse) ProtoMessage()

func (*PostStopOrderResponse) ProtoReflect

func (x *PostStopOrderResponse) ProtoReflect() protoreflect.Message

func (*PostStopOrderResponse) Reset

func (x *PostStopOrderResponse) Reset()

func (*PostStopOrderResponse) String

func (x *PostStopOrderResponse) String() string

type PriceType added in v1.1.3

type PriceType int32

Тип цены.

const (
	PriceType_PRICE_TYPE_UNSPECIFIED PriceType = 0 //Значение не определено.
	PriceType_PRICE_TYPE_POINT       PriceType = 1 //Цена в пунктах (только для фьючерсов и облигаций).
	PriceType_PRICE_TYPE_CURRENCY    PriceType = 2 //Цена в валюте расчётов по инструменту.
)

func (PriceType) Descriptor added in v1.1.3

func (PriceType) Descriptor() protoreflect.EnumDescriptor

func (PriceType) Enum added in v1.1.3

func (x PriceType) Enum() *PriceType

func (PriceType) EnumDescriptor deprecated added in v1.1.3

func (PriceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PriceType.Descriptor instead.

func (PriceType) Number added in v1.1.3

func (x PriceType) Number() protoreflect.EnumNumber

func (PriceType) String added in v1.1.3

func (x PriceType) String() string

func (PriceType) Type added in v1.1.3

type Quotation

type Quotation struct {

	// Целая часть суммы, может быть отрицательным числом.
	Units int64 `protobuf:"varint,1,opt,name=units,proto3" json:"units,omitempty"`
	// Дробная часть суммы, может быть отрицательным числом.
	Nano int32 `protobuf:"varint,2,opt,name=nano,proto3" json:"nano,omitempty"`
	// contains filtered or unexported fields
}

Котировка — денежная сумма без указания валюты.

func Float64ToQuotation

func Float64ToQuotation(input float64) (output *Quotation)

Float64ToQuotation преобразует float64 в ссылку на тип Quotation

func (*Quotation) Descriptor deprecated

func (*Quotation) Descriptor() ([]byte, []int)

Deprecated: Use Quotation.ProtoReflect.Descriptor instead.

func (*Quotation) GetNano

func (x *Quotation) GetNano() int32

func (*Quotation) GetUnits

func (x *Quotation) GetUnits() int64

func (*Quotation) ProtoMessage

func (*Quotation) ProtoMessage()

func (*Quotation) ProtoReflect

func (x *Quotation) ProtoReflect() protoreflect.Message

func (*Quotation) Reset

func (x *Quotation) Reset()

func (*Quotation) String

func (x *Quotation) String() string

func (*Quotation) ToFloat64

func (x *Quotation) ToFloat64() (output float64)

ToFloat64 возвращает значения Quotation как число типа float64

type RealExchange

type RealExchange int32

Реальная площадка исполнения расчётов.

const (
	RealExchange_REAL_EXCHANGE_UNSPECIFIED RealExchange = 0 //Тип не определён.
	RealExchange_REAL_EXCHANGE_MOEX        RealExchange = 1 //Московская биржа.
	RealExchange_REAL_EXCHANGE_RTS         RealExchange = 2 //Санкт-Петербургская биржа.
	RealExchange_REAL_EXCHANGE_OTC         RealExchange = 3 //Внебиржевой инструмент.
	RealExchange_REAL_EXCHANGE_DEALER      RealExchange = 4 //Инструмент, торгуемый на площадке брокера.
)

func (RealExchange) Descriptor

func (RealExchange) Enum

func (x RealExchange) Enum() *RealExchange

func (RealExchange) EnumDescriptor deprecated

func (RealExchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use RealExchange.Descriptor instead.

func (RealExchange) Number

func (RealExchange) String

func (x RealExchange) String() string

func (RealExchange) Type

type Recommendation added in v1.4.0

type Recommendation int32
const (
	Recommendation_RECOMMENDATION_UNSPECIFIED Recommendation = 0 // Не определено.
	Recommendation_RECOMMENDATION_BUY         Recommendation = 1 // Покупать.
	Recommendation_RECOMMENDATION_HOLD        Recommendation = 2 // Держать.
	Recommendation_RECOMMENDATION_SELL        Recommendation = 3 // Продавать.
)

func (Recommendation) Descriptor added in v1.4.0

func (Recommendation) Enum added in v1.4.0

func (x Recommendation) Enum() *Recommendation

func (Recommendation) EnumDescriptor deprecated added in v1.4.0

func (Recommendation) EnumDescriptor() ([]byte, []int)

Deprecated: Use Recommendation.Descriptor instead.

func (Recommendation) Number added in v1.4.0

func (Recommendation) String added in v1.4.0

func (x Recommendation) String() string

func (Recommendation) Type added in v1.4.0

type ReplaceOrderRequest added in v1.1.3

type ReplaceOrderRequest struct {
	AccountId      string     `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`                //Номер счета.
	OrderId        string     `protobuf:"bytes,6,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`                      //Идентификатор заявки на бирже.
	IdempotencyKey string     `protobuf:"bytes,7,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` //Новый идентификатор запроса выставления поручения для целей идемпотентности. Максимальная длина 36 символов. Перезатирает старый ключ.
	Quantity       int64      `protobuf:"varint,11,opt,name=quantity,proto3" json:"quantity,omitempty"`                                 //Количество лотов.
	Price          *Quotation `protobuf:"bytes,12,opt,name=price,proto3,oneof" json:"price,omitempty"`                                  //Цена за 1 инструмент.
	PriceType      *PriceType ``                                                                                                        //Тип цены.
	/* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Запрос изменения выставленной заявки.

func (*ReplaceOrderRequest) Descriptor deprecated added in v1.1.3

func (*ReplaceOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReplaceOrderRequest.ProtoReflect.Descriptor instead.

func (*ReplaceOrderRequest) GetAccountId added in v1.1.3

func (x *ReplaceOrderRequest) GetAccountId() string

func (*ReplaceOrderRequest) GetIdempotencyKey added in v1.1.3

func (x *ReplaceOrderRequest) GetIdempotencyKey() string

func (*ReplaceOrderRequest) GetOrderId added in v1.1.3

func (x *ReplaceOrderRequest) GetOrderId() string

func (*ReplaceOrderRequest) GetPrice added in v1.1.3

func (x *ReplaceOrderRequest) GetPrice() *Quotation

func (*ReplaceOrderRequest) GetPriceType added in v1.1.3

func (x *ReplaceOrderRequest) GetPriceType() PriceType

func (*ReplaceOrderRequest) GetQuantity added in v1.1.3

func (x *ReplaceOrderRequest) GetQuantity() int64

func (*ReplaceOrderRequest) ProtoMessage added in v1.1.3

func (*ReplaceOrderRequest) ProtoMessage()

func (*ReplaceOrderRequest) ProtoReflect added in v1.1.3

func (x *ReplaceOrderRequest) ProtoReflect() protoreflect.Message

func (*ReplaceOrderRequest) Reset added in v1.1.3

func (x *ReplaceOrderRequest) Reset()

func (*ReplaceOrderRequest) String added in v1.1.3

func (x *ReplaceOrderRequest) String() string

type ResponseMetadata added in v1.4.0

type ResponseMetadata struct {
	TrackingId string                 `protobuf:"bytes,42,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Идентификатор трекинга.
	ServerTime *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` //Серверное время.
	// contains filtered or unexported fields
}

func (*ResponseMetadata) Descriptor deprecated added in v1.4.0

func (*ResponseMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ResponseMetadata.ProtoReflect.Descriptor instead.

func (*ResponseMetadata) GetServerTime added in v1.4.0

func (x *ResponseMetadata) GetServerTime() *timestamppb.Timestamp

func (*ResponseMetadata) GetTrackingId added in v1.4.0

func (x *ResponseMetadata) GetTrackingId() string

func (*ResponseMetadata) ProtoMessage added in v1.4.0

func (*ResponseMetadata) ProtoMessage()

func (*ResponseMetadata) ProtoReflect added in v1.4.0

func (x *ResponseMetadata) ProtoReflect() protoreflect.Message

func (*ResponseMetadata) Reset added in v1.4.0

func (x *ResponseMetadata) Reset()

func (*ResponseMetadata) String added in v1.4.0

func (x *ResponseMetadata) String() string

type ResultSubscriptionStatus added in v1.4.0

type ResultSubscriptionStatus int32
const (
	ResultSubscriptionStatus_RESULT_SUBSCRIPTION_STATUS_UNSPECIFIED ResultSubscriptionStatus = 0  //Статус подписки не определен.
	ResultSubscriptionStatus_RESULT_SUBSCRIPTION_STATUS_OK          ResultSubscriptionStatus = 1  //Подписка успешно установлена.
	ResultSubscriptionStatus_RESULT_SUBSCRIPTION_STATUS_ERROR       ResultSubscriptionStatus = 13 //Ошибка подписки
)

func (ResultSubscriptionStatus) Descriptor added in v1.4.0

func (ResultSubscriptionStatus) Enum added in v1.4.0

func (ResultSubscriptionStatus) EnumDescriptor deprecated added in v1.4.0

func (ResultSubscriptionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResultSubscriptionStatus.Descriptor instead.

func (ResultSubscriptionStatus) Number added in v1.4.0

func (ResultSubscriptionStatus) String added in v1.4.0

func (x ResultSubscriptionStatus) String() string

func (ResultSubscriptionStatus) Type added in v1.4.0

type RiskLevel added in v1.2.4

type RiskLevel int32

Уровень риска облигации.

const (
	RiskLevel_RISK_LEVEL_UNSPECIFIED RiskLevel = 0 //Не указан.
	RiskLevel_RISK_LEVEL_LOW         RiskLevel = 1 //Низкий уровень риска.
	RiskLevel_RISK_LEVEL_MODERATE    RiskLevel = 2 //Средний уровень риска.
	RiskLevel_RISK_LEVEL_HIGH        RiskLevel = 3 //Высокий уровень риска.
)

func (RiskLevel) Descriptor added in v1.2.4

func (RiskLevel) Descriptor() protoreflect.EnumDescriptor

func (RiskLevel) Enum added in v1.2.4

func (x RiskLevel) Enum() *RiskLevel

func (RiskLevel) EnumDescriptor deprecated added in v1.2.4

func (RiskLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use RiskLevel.Descriptor instead.

func (RiskLevel) Number added in v1.2.4

func (x RiskLevel) Number() protoreflect.EnumNumber

func (RiskLevel) String added in v1.2.4

func (x RiskLevel) String() string

func (RiskLevel) Type added in v1.2.4

type SandboxPayInRequest

type SandboxPayInRequest struct {
	AccountId string      `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта
	Amount    *MoneyValue `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`                        //Сумма пополнения счёта в рублях
	// contains filtered or unexported fields
}

Запрос пополнения счёта в песочнице.

func (*SandboxPayInRequest) Descriptor deprecated

func (*SandboxPayInRequest) Descriptor() ([]byte, []int)

Deprecated: Use SandboxPayInRequest.ProtoReflect.Descriptor instead.

func (*SandboxPayInRequest) GetAccountId

func (x *SandboxPayInRequest) GetAccountId() string

func (*SandboxPayInRequest) GetAmount

func (x *SandboxPayInRequest) GetAmount() *MoneyValue

func (*SandboxPayInRequest) ProtoMessage

func (*SandboxPayInRequest) ProtoMessage()

func (*SandboxPayInRequest) ProtoReflect

func (x *SandboxPayInRequest) ProtoReflect() protoreflect.Message

func (*SandboxPayInRequest) Reset

func (x *SandboxPayInRequest) Reset()

func (*SandboxPayInRequest) String

func (x *SandboxPayInRequest) String() string

type SandboxPayInResponse

type SandboxPayInResponse struct {
	Balance *MoneyValue `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` //Текущий баланс счёта
	// contains filtered or unexported fields
}

Результат пополнения счёта, текущий баланс.

func (*SandboxPayInResponse) Descriptor deprecated

func (*SandboxPayInResponse) Descriptor() ([]byte, []int)

Deprecated: Use SandboxPayInResponse.ProtoReflect.Descriptor instead.

func (*SandboxPayInResponse) GetBalance

func (x *SandboxPayInResponse) GetBalance() *MoneyValue

func (*SandboxPayInResponse) ProtoMessage

func (*SandboxPayInResponse) ProtoMessage()

func (*SandboxPayInResponse) ProtoReflect

func (x *SandboxPayInResponse) ProtoReflect() protoreflect.Message

func (*SandboxPayInResponse) Reset

func (x *SandboxPayInResponse) Reset()

func (*SandboxPayInResponse) String

func (x *SandboxPayInResponse) String() string

type SandboxServiceClient

type SandboxServiceClient interface {
	// Зарегистрировать счёт.
	OpenSandboxAccount(ctx context.Context, in *OpenSandboxAccountRequest, opts ...grpc.CallOption) (*OpenSandboxAccountResponse, error)
	// Получить счета.
	GetSandboxAccounts(ctx context.Context, in *GetAccountsRequest, opts ...grpc.CallOption) (*GetAccountsResponse, error)
	// Закрыть счёт.
	CloseSandboxAccount(ctx context.Context, in *CloseSandboxAccountRequest, opts ...grpc.CallOption) (*CloseSandboxAccountResponse, error)
	// Выставить торговое поручение.
	PostSandboxOrder(ctx context.Context, in *PostOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, error)
	// Изменить выставленную заявку.
	ReplaceSandboxOrder(ctx context.Context, in *ReplaceOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, error)
	// Получить список активных заявок по счёту.
	GetSandboxOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error)
	// Отменить торговое поручение.
	CancelSandboxOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
	// Поулчить статус заявки в песочнице. Заявки хранятся в таблице 7 дней.
	GetSandboxOrderState(ctx context.Context, in *GetOrderStateRequest, opts ...grpc.CallOption) (*OrderState, error)
	// Получить позиции по виртуальному счёту.
	GetSandboxPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error)
	// Получить операции по номеру счёта.
	GetSandboxOperations(ctx context.Context, in *OperationsRequest, opts ...grpc.CallOption) (*OperationsResponse, error)
	// Получить операции по номеру счёта с пагинацией.
	GetSandboxOperationsByCursor(ctx context.Context, in *GetOperationsByCursorRequest, opts ...grpc.CallOption) (*GetOperationsByCursorResponse, error)
	// Получить портфель.
	GetSandboxPortfolio(ctx context.Context, in *PortfolioRequest, opts ...grpc.CallOption) (*PortfolioResponse, error)
	// Пополнить счёт.
	SandboxPayIn(ctx context.Context, in *SandboxPayInRequest, opts ...grpc.CallOption) (*SandboxPayInResponse, error)
	// Получить доступный остаток для вывода средств.
	GetSandboxWithdrawLimits(ctx context.Context, in *WithdrawLimitsRequest, opts ...grpc.CallOption) (*WithdrawLimitsResponse, error)
	// Расчёт количества доступных для покупки/продажи лотов в песочнице.
	GetSandboxMaxLots(ctx context.Context, in *GetMaxLotsRequest, opts ...grpc.CallOption) (*GetMaxLotsResponse, error)
}

SandboxServiceClient is the client API for SandboxService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SandboxServiceServer

type SandboxServiceServer interface {
	// Зарегистрировать счёт.
	OpenSandboxAccount(context.Context, *OpenSandboxAccountRequest) (*OpenSandboxAccountResponse, error)
	// Получить счета.
	GetSandboxAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
	// Закрыть счёт.
	CloseSandboxAccount(context.Context, *CloseSandboxAccountRequest) (*CloseSandboxAccountResponse, error)
	// Выставить торговое поручение.
	PostSandboxOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error)
	// Изменить выставленную заявку.
	ReplaceSandboxOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error)
	// Получить список активных заявок по счёту.
	GetSandboxOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
	// Отменить торговое поручение.
	CancelSandboxOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
	// Поулчить статус заявки в песочнице. Заявки хранятся в таблице 7 дней.
	GetSandboxOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
	// Получить позиции по виртуальному счёту.
	GetSandboxPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
	// Получить операции по номеру счёта.
	GetSandboxOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
	// Получить операции по номеру счёта с пагинацией.
	GetSandboxOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error)
	// Получить портфель.
	GetSandboxPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
	// Пополнить счёт.
	SandboxPayIn(context.Context, *SandboxPayInRequest) (*SandboxPayInResponse, error)
	// Получить доступный остаток для вывода средств.
	GetSandboxWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error)
	// Расчёт количества доступных для покупки/продажи лотов в песочнице.
	GetSandboxMaxLots(context.Context, *GetMaxLotsRequest) (*GetMaxLotsResponse, error)
	// contains filtered or unexported methods
}

SandboxServiceServer is the server API for SandboxService service. All implementations must embed UnimplementedSandboxServiceServer for forward compatibility.

type SecurityTradingStatus

type SecurityTradingStatus int32

Режим торгов инструмента

const (
	SecurityTradingStatus_SECURITY_TRADING_STATUS_UNSPECIFIED                      SecurityTradingStatus = 0  //Торговый статус не определён.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING        SecurityTradingStatus = 1  //Недоступен для торгов.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_OPENING_PERIOD                   SecurityTradingStatus = 2  //Период открытия торгов.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_CLOSING_PERIOD                   SecurityTradingStatus = 3  //Период закрытия торгов.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_BREAK_IN_TRADING                 SecurityTradingStatus = 4  //Перерыв в торговле.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_NORMAL_TRADING                   SecurityTradingStatus = 5  //Нормальная торговля.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_CLOSING_AUCTION                  SecurityTradingStatus = 6  //Аукцион закрытия.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_DARK_POOL_AUCTION                SecurityTradingStatus = 7  //Аукцион крупных пакетов.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_DISCRETE_AUCTION                 SecurityTradingStatus = 8  //Дискретный аукцион.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD           SecurityTradingStatus = 9  //Аукцион открытия.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE SecurityTradingStatus = 10 //Период торгов по цене аукциона закрытия.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_SESSION_ASSIGNED                 SecurityTradingStatus = 11 //Сессия назначена.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_SESSION_CLOSE                    SecurityTradingStatus = 12 //Сессия закрыта.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_SESSION_OPEN                     SecurityTradingStatus = 13 //Сессия открыта.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING            SecurityTradingStatus = 14 //Доступна торговля в режиме внутренней ликвидности брокера.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING          SecurityTradingStatus = 15 //Перерыв торговли в режиме внутренней ликвидности брокера.
	SecurityTradingStatus_SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING SecurityTradingStatus = 16 //Недоступна торговля в режиме внутренней ликвидности брокера.
)

func (SecurityTradingStatus) Descriptor

func (SecurityTradingStatus) Enum

func (SecurityTradingStatus) EnumDescriptor deprecated

func (SecurityTradingStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityTradingStatus.Descriptor instead.

func (SecurityTradingStatus) Number

func (SecurityTradingStatus) String

func (x SecurityTradingStatus) String() string

func (SecurityTradingStatus) Type

type Share

type Share struct {
	Figi      string     `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //FIGI-идентификатор инструмента.
	Ticker    string     `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`                        //Тикер инструмента.
	ClassCode string     `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов).
	Isin      string     `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"`                            //ISIN-идентификатор инструмента.
	Lot       int32      `protobuf:"varint,5,opt,name=lot,proto3" json:"lot,omitempty"`                             //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру `lot`. [Подробнее](https://russianinvestments.github.io/investAPI/glossary#lot)
	Currency  string     `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`                    //Валюта расчётов.
	Klong     *Quotation `protobuf:"bytes,7,opt,name=klong,proto3" json:"klong,omitempty"`                          //Коэффициент ставки риска длинной позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	Kshort    *Quotation `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                        //Коэффициент ставки риска короткой позиции по клиенту. 2 – клиент со стандартным уровнем риска (КСУР); 1 – клиент с повышенным уровнем риска (КПУР).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dlong *Quotation `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска начальной маржи для КСУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	Dshort *Quotation `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска начальной маржи для КСУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DlongMin *Quotation `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи для КПУР лонг. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// Deprecated: Marked as deprecated in instruments.proto.
	DshortMin         *Quotation             `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи для КПУР шорт. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	ShortEnabledFlag  bool                   `protobuf:"varint,13,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"`     //Признак доступности для операций в шорт.
	Name              string                 `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"`                                                        //Название инструмента.
	Exchange          string                 `protobuf:"bytes,16,opt,name=exchange,proto3" json:"exchange,omitempty"`                                                //Tорговая площадка (секция биржи).
	IpoDate           *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=ipo_date,json=ipoDate,proto3" json:"ipo_date,omitempty"`                                   //Дата IPO акции по UTC.
	IssueSize         int64                  `protobuf:"varint,18,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"`                            //Размер выпуска.
	CountryOfRisk     string                 `protobuf:"bytes,19,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"`               //Код страны риска — то есть страны, в которой компания ведёт основной бизнес.
	CountryOfRiskName string                 `protobuf:"bytes,20,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска — то есть страны, в которой компания ведёт основной бизнес.
	Sector            string                 `protobuf:"bytes,21,opt,name=sector,proto3" json:"sector,omitempty"`                                                    //Сектор экономики.
	IssueSizePlan     int64                  `protobuf:"varint,22,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"`              //Плановый размер выпуска.
	Nominal           *MoneyValue            `protobuf:"bytes,23,opt,name=nominal,proto3" json:"nominal,omitempty"`                                                  //Номинал.
	TradingStatus     SecurityTradingStatus  ``                                                                                                                      //Текущий режим торгов инструмента.
	/* 167-byte string literal not displayed */
	OtcFlag           bool      `protobuf:"varint,26,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                                 //Флаг, используемый ранее для определения внебиржевых инструментов. На данный момент не используется для торгуемых через API инструментов. Может использоваться как фильтр для операций, совершавшихся некоторое время назад на ОТС площадке.
	BuyAvailableFlag  bool      `protobuf:"varint,27,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"`    //Признак доступности для покупки.
	SellAvailableFlag bool      `protobuf:"varint,28,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи.
	DivYieldFlag      bool      `protobuf:"varint,29,opt,name=div_yield_flag,json=divYieldFlag,proto3" json:"div_yield_flag,omitempty"`                //Признак наличия дивидендной доходности.
	ShareType         ShareType ``                                                                                                                     //Тип акции. Возможные значения — `[ShareType](https://russianinvestments.github.io/investAPI/instruments#sharetype)`.
	/* 143-byte string literal not displayed */
	MinPriceIncrement     *Quotation `protobuf:"bytes,31,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"` //Шаг цены.
	ApiTradeAvailableFlag bool       ``                                                                                                                    //Возможность торговать инструментом через API.
	/* 130-byte string literal not displayed */
	Uid          string       `protobuf:"bytes,33,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента.
	RealExchange RealExchange ``                                                             //Реальная площадка исполнения расчётов (биржа).
	/* 155-byte string literal not displayed */
	PositionUid        string                 `protobuf:"bytes,35,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента.
	AssetUid           string                 `protobuf:"bytes,36,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"`          //Уникальный идентификатор актива.
	InstrumentExchange InstrumentExchangeType ``                                                                                                //Тип площадки торговли.
	/* 183-byte string literal not displayed */
	ForIisFlag           bool                   `protobuf:"varint,46,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"`                              //Признак доступности для ИИС.
	ForQualInvestorFlag  bool                   `protobuf:"varint,47,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг, отображающий доступность торговли инструментом только для квалифицированных инвесторов.
	WeekendFlag          bool                   `protobuf:"varint,48,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"`                             //Флаг, отображающий доступность торговли инструментом по выходным.
	BlockedTcaFlag       bool                   `protobuf:"varint,49,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"`                  //Флаг заблокированного ТКС.
	LiquidityFlag        bool                   `protobuf:"varint,50,opt,name=liquidity_flag,json=liquidityFlag,proto3" json:"liquidity_flag,omitempty"`                       //Флаг достаточной ликвидности.
	First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"`  //Дата первой минутной свечи.
	First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"`  //Дата первой дневной свечи.
	Brand                *BrandData             `protobuf:"bytes,60,opt,name=brand,proto3" json:"brand,omitempty"`                                                             // Информация о бренде.
	DlongClient          *Quotation             `protobuf:"bytes,90,opt,name=dlong_client,json=dlongClient,proto3" json:"dlong_client,omitempty"`                              //Ставка риска в лонг, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	DshortClient         *Quotation             `protobuf:"bytes,91,opt,name=dshort_client,json=dshortClient,proto3" json:"dshort_client,omitempty"`                           //Ставка риска в шорт, с учетом текущего уровня риска портфеля клиента. [Подробнее про ставки риска](https://www.tbank.ru/invest/help/brokerage/account/margin/about/#q5).
	// contains filtered or unexported fields
}

Объект передачи информации об акции.

func (*Share) Descriptor deprecated

func (*Share) Descriptor() ([]byte, []int)

Deprecated: Use Share.ProtoReflect.Descriptor instead.

func (*Share) GetApiTradeAvailableFlag

func (x *Share) GetApiTradeAvailableFlag() bool

func (*Share) GetAssetUid added in v1.4.0

func (x *Share) GetAssetUid() string

func (*Share) GetBlockedTcaFlag added in v1.2.3

func (x *Share) GetBlockedTcaFlag() bool

func (*Share) GetBrand added in v1.4.0

func (x *Share) GetBrand() *BrandData

func (*Share) GetBuyAvailableFlag

func (x *Share) GetBuyAvailableFlag() bool

func (*Share) GetClassCode

func (x *Share) GetClassCode() string

func (*Share) GetCountryOfRisk

func (x *Share) GetCountryOfRisk() string

func (*Share) GetCountryOfRiskName

func (x *Share) GetCountryOfRiskName() string

func (*Share) GetCurrency

func (x *Share) GetCurrency() string

func (*Share) GetDivYieldFlag

func (x *Share) GetDivYieldFlag() bool

func (*Share) GetDlong deprecated

func (x *Share) GetDlong() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Share) GetDlongClient added in v1.8.1

func (x *Share) GetDlongClient() *Quotation

func (*Share) GetDlongMin deprecated

func (x *Share) GetDlongMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Share) GetDshort deprecated

func (x *Share) GetDshort() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Share) GetDshortClient added in v1.8.1

func (x *Share) GetDshortClient() *Quotation

func (*Share) GetDshortMin deprecated

func (x *Share) GetDshortMin() *Quotation

Deprecated: Marked as deprecated in instruments.proto.

func (*Share) GetExchange

func (x *Share) GetExchange() string

func (*Share) GetFigi

func (x *Share) GetFigi() string

func (*Share) GetFirst_1DayCandleDate added in v1.1.3

func (x *Share) GetFirst_1DayCandleDate() *timestamppb.Timestamp

func (*Share) GetFirst_1MinCandleDate added in v1.1.3

func (x *Share) GetFirst_1MinCandleDate() *timestamppb.Timestamp

func (*Share) GetForIisFlag added in v1.1.3

func (x *Share) GetForIisFlag() bool

func (*Share) GetForQualInvestorFlag added in v1.2.0

func (x *Share) GetForQualInvestorFlag() bool

func (*Share) GetInstrumentExchange added in v1.4.0

func (x *Share) GetInstrumentExchange() InstrumentExchangeType

func (*Share) GetIpoDate

func (x *Share) GetIpoDate() *timestamppb.Timestamp

func (*Share) GetIsin

func (x *Share) GetIsin() string

func (*Share) GetIssueSize

func (x *Share) GetIssueSize() int64

func (*Share) GetIssueSizePlan

func (x *Share) GetIssueSizePlan() int64

func (*Share) GetKlong

func (x *Share) GetKlong() *Quotation

func (*Share) GetKshort

func (x *Share) GetKshort() *Quotation

func (*Share) GetLiquidityFlag added in v1.2.5

func (x *Share) GetLiquidityFlag() bool

func (*Share) GetLot

func (x *Share) GetLot() int32

func (*Share) GetMinPriceIncrement

func (x *Share) GetMinPriceIncrement() *Quotation

func (*Share) GetName

func (x *Share) GetName() string

func (*Share) GetNominal

func (x *Share) GetNominal() *MoneyValue

func (*Share) GetOtcFlag

func (x *Share) GetOtcFlag() bool

func (*Share) GetPositionUid added in v1.1.2

func (x *Share) GetPositionUid() string

func (*Share) GetRealExchange

func (x *Share) GetRealExchange() RealExchange

func (*Share) GetSector

func (x *Share) GetSector() string

func (*Share) GetSellAvailableFlag

func (x *Share) GetSellAvailableFlag() bool

func (*Share) GetShareType

func (x *Share) GetShareType() ShareType

func (*Share) GetShortEnabledFlag

func (x *Share) GetShortEnabledFlag() bool

func (*Share) GetTicker

func (x *Share) GetTicker() string

func (*Share) GetTradingStatus

func (x *Share) GetTradingStatus() SecurityTradingStatus

func (*Share) GetUid

func (x *Share) GetUid() string

func (*Share) GetWeekendFlag added in v1.2.3

func (x *Share) GetWeekendFlag() bool

func (*Share) ProtoMessage

func (*Share) ProtoMessage()

func (*Share) ProtoReflect

func (x *Share) ProtoReflect() protoreflect.Message

func (*Share) Reset

func (x *Share) Reset()

func (*Share) String

func (x *Share) String() string

type ShareResponse

type ShareResponse struct {
	Instrument *Share `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация об акции.
	// contains filtered or unexported fields
}

Данные по акции.

func (*ShareResponse) Descriptor deprecated

func (*ShareResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.

func (*ShareResponse) GetInstrument

func (x *ShareResponse) GetInstrument() *Share

func (*ShareResponse) ProtoMessage

func (*ShareResponse) ProtoMessage()

func (*ShareResponse) ProtoReflect

func (x *ShareResponse) ProtoReflect() protoreflect.Message

func (*ShareResponse) Reset

func (x *ShareResponse) Reset()

func (*ShareResponse) String

func (x *ShareResponse) String() string

type ShareType

type ShareType int32

Тип акций.

const (
	ShareType_SHARE_TYPE_UNSPECIFIED     ShareType = 0 //Значение не определено.
	ShareType_SHARE_TYPE_COMMON          ShareType = 1 //Обыкновенная.
	ShareType_SHARE_TYPE_PREFERRED       ShareType = 2 //Привилегированная.
	ShareType_SHARE_TYPE_ADR             ShareType = 3 //Американские депозитарные расписки.
	ShareType_SHARE_TYPE_GDR             ShareType = 4 //Глобальные депозитарные расписки.
	ShareType_SHARE_TYPE_MLP             ShareType = 5 //Товарищество с ограниченной ответственностью.
	ShareType_SHARE_TYPE_NY_REG_SHRS     ShareType = 6 //Акции из реестра Нью-Йорка.
	ShareType_SHARE_TYPE_CLOSED_END_FUND ShareType = 7 //Закрытый инвестиционный фонд.
	ShareType_SHARE_TYPE_REIT            ShareType = 8 //Траст недвижимости.
)

func (ShareType) Descriptor

func (ShareType) Descriptor() protoreflect.EnumDescriptor

func (ShareType) Enum

func (x ShareType) Enum() *ShareType

func (ShareType) EnumDescriptor deprecated

func (ShareType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ShareType.Descriptor instead.

func (ShareType) Number

func (x ShareType) Number() protoreflect.EnumNumber

func (ShareType) String

func (x ShareType) String() string

func (ShareType) Type

type SharesResponse

type SharesResponse struct {
	Instruments []*Share `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив акций.
	// contains filtered or unexported fields
}

Данные по акциям.

func (*SharesResponse) Descriptor deprecated

func (*SharesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SharesResponse.ProtoReflect.Descriptor instead.

func (*SharesResponse) GetInstruments

func (x *SharesResponse) GetInstruments() []*Share

func (*SharesResponse) ProtoMessage

func (*SharesResponse) ProtoMessage()

func (*SharesResponse) ProtoReflect

func (x *SharesResponse) ProtoReflect() protoreflect.Message

func (*SharesResponse) Reset

func (x *SharesResponse) Reset()

func (*SharesResponse) String

func (x *SharesResponse) String() string

type Signal added in v1.6.0

type Signal struct {
	SignalId      string                 `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3" json:"signal_id,omitempty"`                //Идентификатор сигнала.
	StrategyId    string                 `protobuf:"bytes,2,opt,name=strategy_id,json=strategyId,proto3" json:"strategy_id,omitempty"`          //Идентификатор стратегии.
	StrategyName  string                 `protobuf:"bytes,3,opt,name=strategy_name,json=strategyName,proto3" json:"strategy_name,omitempty"`    //Название стратегии.
	InstrumentUid string                 `protobuf:"bytes,4,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Идентификатор бумаги.
	CreateDt      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_dt,json=createDt,proto3" json:"create_dt,omitempty"`                //Дата и время создания сигнала  в часовом поясе UTC.
	Direction     SignalDirection        ``                                                                                                     //Направление сигнала
	/* 131-byte string literal not displayed */
	InitialPrice *Quotation             `protobuf:"bytes,7,opt,name=initial_price,json=initialPrice,proto3" json:"initial_price,omitempty"`  //Цена бумаги на момент формирования сигнала
	Info         *string                `protobuf:"bytes,8,opt,name=info,proto3,oneof" json:"info,omitempty"`                                //Дополнительная информация о сигнале.
	Name         string                 `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`                                      //Название сигнала.
	TargetPrice  *Quotation             `protobuf:"bytes,10,opt,name=target_price,json=targetPrice,proto3" json:"target_price,omitempty"`    //Целевая цена.
	EndDt        *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=end_dt,json=endDt,proto3" json:"end_dt,omitempty"`                      //Дата и время дедлайна сигнала в часовом поясе UTC.
	Probability  *int32                 `protobuf:"varint,12,opt,name=probability,proto3,oneof" json:"probability,omitempty"`                //Вероятность сигнала.
	Stoploss     *Quotation             `protobuf:"bytes,13,opt,name=stoploss,proto3,oneof" json:"stoploss,omitempty"`                       //Порог закрытия сигнала по стоплосс.
	ClosePrice   *Quotation             `protobuf:"bytes,14,opt,name=close_price,json=closePrice,proto3,oneof" json:"close_price,omitempty"` //Цена закрытия сигнала.
	CloseDt      *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=close_dt,json=closeDt,proto3,oneof" json:"close_dt,omitempty"`          //Дата и время закрытия сигнала в часовом поясе UTC.
	// contains filtered or unexported fields
}

Сигнал.

func (*Signal) Descriptor deprecated added in v1.6.0

func (*Signal) Descriptor() ([]byte, []int)

Deprecated: Use Signal.ProtoReflect.Descriptor instead.

func (*Signal) GetCloseDt added in v1.6.0

func (x *Signal) GetCloseDt() *timestamppb.Timestamp

func (*Signal) GetClosePrice added in v1.6.0

func (x *Signal) GetClosePrice() *Quotation

func (*Signal) GetCreateDt added in v1.6.0

func (x *Signal) GetCreateDt() *timestamppb.Timestamp

func (*Signal) GetDirection added in v1.6.0

func (x *Signal) GetDirection() SignalDirection

func (*Signal) GetEndDt added in v1.6.0

func (x *Signal) GetEndDt() *timestamppb.Timestamp

func (*Signal) GetInfo added in v1.6.0

func (x *Signal) GetInfo() string

func (*Signal) GetInitialPrice added in v1.6.0

func (x *Signal) GetInitialPrice() *Quotation

func (*Signal) GetInstrumentUid added in v1.6.0

func (x *Signal) GetInstrumentUid() string

func (*Signal) GetName added in v1.6.0

func (x *Signal) GetName() string

func (*Signal) GetProbability added in v1.6.0

func (x *Signal) GetProbability() int32

func (*Signal) GetSignalId added in v1.6.0

func (x *Signal) GetSignalId() string

func (*Signal) GetStoploss added in v1.6.0

func (x *Signal) GetStoploss() *Quotation

func (*Signal) GetStrategyId added in v1.6.0

func (x *Signal) GetStrategyId() string

func (*Signal) GetStrategyName added in v1.6.0

func (x *Signal) GetStrategyName() string

func (*Signal) GetTargetPrice added in v1.6.0

func (x *Signal) GetTargetPrice() *Quotation

func (*Signal) ProtoMessage added in v1.6.0

func (*Signal) ProtoMessage()

func (*Signal) ProtoReflect added in v1.6.0

func (x *Signal) ProtoReflect() protoreflect.Message

func (*Signal) Reset added in v1.6.0

func (x *Signal) Reset()

func (*Signal) String added in v1.6.0

func (x *Signal) String() string

type SignalDirection added in v1.6.0

type SignalDirection int32

Направление сигнала.

const (
	SignalDirection_SIGNAL_DIRECTION_UNSPECIFIED SignalDirection = 0 //Не определен.
	SignalDirection_SIGNAL_DIRECTION_BUY         SignalDirection = 1 //Покупка.
	SignalDirection_SIGNAL_DIRECTION_SELL        SignalDirection = 2 //Продажа.
)

func (SignalDirection) Descriptor added in v1.6.0

func (SignalDirection) Enum added in v1.6.0

func (x SignalDirection) Enum() *SignalDirection

func (SignalDirection) EnumDescriptor deprecated added in v1.6.0

func (SignalDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignalDirection.Descriptor instead.

func (SignalDirection) Number added in v1.6.0

func (SignalDirection) String added in v1.6.0

func (x SignalDirection) String() string

func (SignalDirection) Type added in v1.6.0

type SignalServiceClient added in v1.6.0

type SignalServiceClient interface {
	// Запросить стратегии.
	GetStrategies(ctx context.Context, in *GetStrategiesRequest, opts ...grpc.CallOption) (*GetStrategiesResponse, error)
	// Запросить сигналы.
	GetSignals(ctx context.Context, in *GetSignalsRequest, opts ...grpc.CallOption) (*GetSignalsResponse, error)
}

SignalServiceClient is the client API for SignalService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSignalServiceClient added in v1.6.0

func NewSignalServiceClient(cc grpc.ClientConnInterface) SignalServiceClient

type SignalServiceServer added in v1.6.0

type SignalServiceServer interface {
	// Запросить стратегии.
	GetStrategies(context.Context, *GetStrategiesRequest) (*GetStrategiesResponse, error)
	// Запросить сигналы.
	GetSignals(context.Context, *GetSignalsRequest) (*GetSignalsResponse, error)
	// contains filtered or unexported methods
}

SignalServiceServer is the server API for SignalService service. All implementations must embed UnimplementedSignalServiceServer for forward compatibility.

type SignalState added in v1.6.0

type SignalState int32

Статус сигнала.

const (
	SignalState_SIGNAL_STATE_UNSPECIFIED SignalState = 0 //Не определен.
	SignalState_SIGNAL_STATE_ACTIVE      SignalState = 1 //Активный сигнал.
	SignalState_SIGNAL_STATE_CLOSED      SignalState = 2 //Закрытый сигнал.
	SignalState_SIGNAL_STATE_ALL         SignalState = 3 //Все состояния.
)

func (SignalState) Descriptor added in v1.6.0

func (SignalState) Enum added in v1.6.0

func (x SignalState) Enum() *SignalState

func (SignalState) EnumDescriptor deprecated added in v1.6.0

func (SignalState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignalState.Descriptor instead.

func (SignalState) Number added in v1.6.0

func (x SignalState) Number() protoreflect.EnumNumber

func (SignalState) String added in v1.6.0

func (x SignalState) String() string

func (SignalState) Type added in v1.6.0

type StopOrder

type StopOrder struct {
	StopOrderId   string             `protobuf:"bytes,1,opt,name=stop_order_id,json=stopOrderId,proto3" json:"stop_order_id,omitempty"`      //Уникальный идентификатор стоп-заявки.
	LotsRequested int64              `protobuf:"varint,2,opt,name=lots_requested,json=lotsRequested,proto3" json:"lots_requested,omitempty"` //Запрошено лотов.
	Figi          string             `protobuf:"bytes,3,opt,name=figi,proto3" json:"figi,omitempty"`                                         //FIGI-идентификатор инструмента.
	Direction     StopOrderDirection ``                                                                                                      //Направление операции.
	/* 134-byte string literal not displayed */
	Currency  string        `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"` //Валюта стоп-заявки.
	OrderType StopOrderType ``                                                                      //Тип стоп-заявки.
	/* 146-byte string literal not displayed */
	CreateDate         *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_date,json=createDate,proto3" json:"create_date,omitempty"`                           //Дата и время выставления заявки по UTC.
	ActivationDateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=activation_date_time,json=activationDateTime,proto3" json:"activation_date_time,omitempty"` //Дата и время конвертации стоп-заявки в биржевую по UTC.
	ExpirationTime     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`               //Дата и время снятия заявки по UTC.
	Price              *MoneyValue            `protobuf:"bytes,10,opt,name=price,proto3" json:"price,omitempty"`                                                      //Цена заявки за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	StopPrice          *MoneyValue            `protobuf:"bytes,11,opt,name=stop_price,json=stopPrice,proto3" json:"stop_price,omitempty"`                             //Цена активации стоп-заявки за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	InstrumentUid      string                 `protobuf:"bytes,12,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`                 //`instrument_uid`-идентификатор инструмента.
	TakeProfitType     TakeProfitType         ``                                                                                                                      //Подтип стоп-заявки — `TakeProfit`.
	/* 165-byte string literal not displayed */
	TrailingData *StopOrder_TrailingData `protobuf:"bytes,14,opt,name=trailing_data,json=trailingData,proto3" json:"trailing_data,omitempty"` //Параметры трейлинг-стопа.
	Status       StopOrderStatusOption   ``                                                                                                   //Статус заявки.
	/* 132-byte string literal not displayed */
	ExchangeOrderType ExchangeOrderType `` //Тип дочерней биржевой заявки для тейкпрофита.
	/* 177-byte string literal not displayed */
	ExchangeOrderId *string `protobuf:"bytes,17,opt,name=exchange_order_id,json=exchangeOrderId,proto3,oneof" json:"exchange_order_id,omitempty"` //Идентификатор биржевой заявки.
	// contains filtered or unexported fields
}

Информация о стоп-заявке.

func (*StopOrder) Descriptor deprecated

func (*StopOrder) Descriptor() ([]byte, []int)

Deprecated: Use StopOrder.ProtoReflect.Descriptor instead.

func (*StopOrder) GetActivationDateTime

func (x *StopOrder) GetActivationDateTime() *timestamppb.Timestamp

func (*StopOrder) GetCreateDate

func (x *StopOrder) GetCreateDate() *timestamppb.Timestamp

func (*StopOrder) GetCurrency

func (x *StopOrder) GetCurrency() string

func (*StopOrder) GetDirection

func (x *StopOrder) GetDirection() StopOrderDirection

func (*StopOrder) GetExchangeOrderId added in v1.5.0

func (x *StopOrder) GetExchangeOrderId() string

func (*StopOrder) GetExchangeOrderType added in v1.4.0

func (x *StopOrder) GetExchangeOrderType() ExchangeOrderType

func (*StopOrder) GetExpirationTime

func (x *StopOrder) GetExpirationTime() *timestamppb.Timestamp

func (*StopOrder) GetFigi

func (x *StopOrder) GetFigi() string

func (*StopOrder) GetInstrumentUid added in v1.2.3

func (x *StopOrder) GetInstrumentUid() string

func (*StopOrder) GetLotsRequested

func (x *StopOrder) GetLotsRequested() int64

func (*StopOrder) GetOrderType

func (x *StopOrder) GetOrderType() StopOrderType

func (*StopOrder) GetPrice

func (x *StopOrder) GetPrice() *MoneyValue

func (*StopOrder) GetStatus added in v1.4.0

func (x *StopOrder) GetStatus() StopOrderStatusOption

func (*StopOrder) GetStopOrderId

func (x *StopOrder) GetStopOrderId() string

func (*StopOrder) GetStopPrice

func (x *StopOrder) GetStopPrice() *MoneyValue

func (*StopOrder) GetTakeProfitType added in v1.4.0

func (x *StopOrder) GetTakeProfitType() TakeProfitType

func (*StopOrder) GetTrailingData added in v1.4.0

func (x *StopOrder) GetTrailingData() *StopOrder_TrailingData

func (*StopOrder) ProtoMessage

func (*StopOrder) ProtoMessage()

func (*StopOrder) ProtoReflect

func (x *StopOrder) ProtoReflect() protoreflect.Message

func (*StopOrder) Reset

func (x *StopOrder) Reset()

func (*StopOrder) String

func (x *StopOrder) String() string

type StopOrderDirection

type StopOrderDirection int32

Направление сделки стоп-заявки.

const (
	StopOrderDirection_STOP_ORDER_DIRECTION_UNSPECIFIED StopOrderDirection = 0 //Значение не указано.
	StopOrderDirection_STOP_ORDER_DIRECTION_BUY         StopOrderDirection = 1 //Покупка.
	StopOrderDirection_STOP_ORDER_DIRECTION_SELL        StopOrderDirection = 2 //Продажа.
)

func (StopOrderDirection) Descriptor

func (StopOrderDirection) Enum

func (StopOrderDirection) EnumDescriptor deprecated

func (StopOrderDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use StopOrderDirection.Descriptor instead.

func (StopOrderDirection) Number

func (StopOrderDirection) String

func (x StopOrderDirection) String() string

func (StopOrderDirection) Type

type StopOrderExpirationType

type StopOrderExpirationType int32

Тип экспирации стоп-заявке.

const (
	StopOrderExpirationType_STOP_ORDER_EXPIRATION_TYPE_UNSPECIFIED      StopOrderExpirationType = 0 //Значение не указано.
	StopOrderExpirationType_STOP_ORDER_EXPIRATION_TYPE_GOOD_TILL_CANCEL StopOrderExpirationType = 1 //Действительно до отмены.
	StopOrderExpirationType_STOP_ORDER_EXPIRATION_TYPE_GOOD_TILL_DATE   StopOrderExpirationType = 2 //Действительно до даты снятия.
)

func (StopOrderExpirationType) Descriptor

func (StopOrderExpirationType) Enum

func (StopOrderExpirationType) EnumDescriptor deprecated

func (StopOrderExpirationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StopOrderExpirationType.Descriptor instead.

func (StopOrderExpirationType) Number

func (StopOrderExpirationType) String

func (x StopOrderExpirationType) String() string

func (StopOrderExpirationType) Type

type StopOrderStatusOption added in v1.4.0

type StopOrderStatusOption int32

Статус стоп-заяки.

const (
	StopOrderStatusOption_STOP_ORDER_STATUS_UNSPECIFIED StopOrderStatusOption = 0 //Значение не указано.
	StopOrderStatusOption_STOP_ORDER_STATUS_ALL         StopOrderStatusOption = 1 //Все заявки.
	StopOrderStatusOption_STOP_ORDER_STATUS_ACTIVE      StopOrderStatusOption = 2 //Активные заявки.
	StopOrderStatusOption_STOP_ORDER_STATUS_EXECUTED    StopOrderStatusOption = 3 //Исполненные заявки.
	StopOrderStatusOption_STOP_ORDER_STATUS_CANCELED    StopOrderStatusOption = 4 //Отменённые заявки.
	StopOrderStatusOption_STOP_ORDER_STATUS_EXPIRED     StopOrderStatusOption = 5 //Истёкшие заявки.
)

func (StopOrderStatusOption) Descriptor added in v1.4.0

func (StopOrderStatusOption) Enum added in v1.4.0

func (StopOrderStatusOption) EnumDescriptor deprecated added in v1.4.0

func (StopOrderStatusOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use StopOrderStatusOption.Descriptor instead.

func (StopOrderStatusOption) Number added in v1.4.0

func (StopOrderStatusOption) String added in v1.4.0

func (x StopOrderStatusOption) String() string

func (StopOrderStatusOption) Type added in v1.4.0

type StopOrderType

type StopOrderType int32

Тип стоп-заявки.

const (
	StopOrderType_STOP_ORDER_TYPE_UNSPECIFIED StopOrderType = 0 //Значение не указано.
	StopOrderType_STOP_ORDER_TYPE_TAKE_PROFIT StopOrderType = 1 //`Take-profit`-заявка.
	StopOrderType_STOP_ORDER_TYPE_STOP_LOSS   StopOrderType = 2 //`Stop-loss`-заявка.
	StopOrderType_STOP_ORDER_TYPE_STOP_LIMIT  StopOrderType = 3 //`Stop-limit`-заявка.
)

func (StopOrderType) Descriptor

func (StopOrderType) Enum

func (x StopOrderType) Enum() *StopOrderType

func (StopOrderType) EnumDescriptor deprecated

func (StopOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StopOrderType.Descriptor instead.

func (StopOrderType) Number

func (StopOrderType) String

func (x StopOrderType) String() string

func (StopOrderType) Type

type StopOrder_TrailingData added in v1.4.0

type StopOrder_TrailingData struct {
	Indent     *Quotation        `protobuf:"bytes,1,opt,name=indent,proto3" json:"indent,omitempty"` //Отступ.
	IndentType TrailingValueType ``                                                                  //Тип величины отступа.
	/* 153-byte string literal not displayed */
	Spread     *Quotation        `protobuf:"bytes,3,opt,name=spread,proto3" json:"spread,omitempty"` //Размер защитного спреда.
	SpreadType TrailingValueType ``                                                                  //Тип величины защитного спреда.
	/* 153-byte string literal not displayed */
	Status TrailingStopStatus `` //Статус трейлинг-стопа.
	/* 128-byte string literal not displayed */
	Price *Quotation `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"` //Цена исполнения.
	Extr  *Quotation `protobuf:"bytes,8,opt,name=extr,proto3" json:"extr,omitempty"`   //Локальный экстремум.
	// contains filtered or unexported fields
}

func (*StopOrder_TrailingData) Descriptor deprecated added in v1.4.0

func (*StopOrder_TrailingData) Descriptor() ([]byte, []int)

Deprecated: Use StopOrder_TrailingData.ProtoReflect.Descriptor instead.

func (*StopOrder_TrailingData) GetExtr added in v1.4.0

func (x *StopOrder_TrailingData) GetExtr() *Quotation

func (*StopOrder_TrailingData) GetIndent added in v1.4.0

func (x *StopOrder_TrailingData) GetIndent() *Quotation

func (*StopOrder_TrailingData) GetIndentType added in v1.4.0

func (x *StopOrder_TrailingData) GetIndentType() TrailingValueType

func (*StopOrder_TrailingData) GetPrice added in v1.4.0

func (x *StopOrder_TrailingData) GetPrice() *Quotation

func (*StopOrder_TrailingData) GetSpread added in v1.4.0

func (x *StopOrder_TrailingData) GetSpread() *Quotation

func (*StopOrder_TrailingData) GetSpreadType added in v1.4.0

func (x *StopOrder_TrailingData) GetSpreadType() TrailingValueType

func (*StopOrder_TrailingData) GetStatus added in v1.4.0

func (*StopOrder_TrailingData) ProtoMessage added in v1.4.0

func (*StopOrder_TrailingData) ProtoMessage()

func (*StopOrder_TrailingData) ProtoReflect added in v1.4.0

func (x *StopOrder_TrailingData) ProtoReflect() protoreflect.Message

func (*StopOrder_TrailingData) Reset added in v1.4.0

func (x *StopOrder_TrailingData) Reset()

func (*StopOrder_TrailingData) String added in v1.4.0

func (x *StopOrder_TrailingData) String() string

type StopOrdersServiceClient

type StopOrdersServiceClient interface {
	// Выставить стоп-заявку.
	PostStopOrder(ctx context.Context, in *PostStopOrderRequest, opts ...grpc.CallOption) (*PostStopOrderResponse, error)
	// Получить список активных стоп-заявок по счёту.
	GetStopOrders(ctx context.Context, in *GetStopOrdersRequest, opts ...grpc.CallOption) (*GetStopOrdersResponse, error)
	// Отменить стоп-заявку.
	CancelStopOrder(ctx context.Context, in *CancelStopOrderRequest, opts ...grpc.CallOption) (*CancelStopOrderResponse, error)
}

StopOrdersServiceClient is the client API for StopOrdersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StopOrdersServiceServer

type StopOrdersServiceServer interface {
	// Выставить стоп-заявку.
	PostStopOrder(context.Context, *PostStopOrderRequest) (*PostStopOrderResponse, error)
	// Получить список активных стоп-заявок по счёту.
	GetStopOrders(context.Context, *GetStopOrdersRequest) (*GetStopOrdersResponse, error)
	// Отменить стоп-заявку.
	CancelStopOrder(context.Context, *CancelStopOrderRequest) (*CancelStopOrderResponse, error)
	// contains filtered or unexported methods
}

StopOrdersServiceServer is the server API for StopOrdersService service. All implementations must embed UnimplementedStopOrdersServiceServer for forward compatibility.

type Strategy added in v1.6.0

type Strategy struct {
	StrategyId          string       `protobuf:"bytes,1,opt,name=strategy_id,json=strategyId,proto3" json:"strategy_id,omitempty"`                                  //Идентификатор стратегии.
	StrategyName        string       `protobuf:"bytes,2,opt,name=strategy_name,json=strategyName,proto3" json:"strategy_name,omitempty"`                            //Название стратегии.
	StrategyDescription *string      `protobuf:"bytes,3,opt,name=strategy_description,json=strategyDescription,proto3,oneof" json:"strategy_description,omitempty"` //Описание стратегии.
	StrategyUrl         *string      `protobuf:"bytes,4,opt,name=strategy_url,json=strategyUrl,proto3,oneof" json:"strategy_url,omitempty"`                         //Ссылка на страницу с описанием стратегии.
	StrategyType        StrategyType ``                                                                                                                             //Тип стратегии.
	/* 154-byte string literal not displayed */
	ActiveSignals          int32      `protobuf:"varint,6,opt,name=active_signals,json=activeSignals,proto3" json:"active_signals,omitempty"`                 //Количество активных сигналов.
	TotalSignals           int32      `protobuf:"varint,7,opt,name=total_signals,json=totalSignals,proto3" json:"total_signals,omitempty"`                    //Общее количество сигналов.
	TimeInPosition         int64      `protobuf:"varint,8,opt,name=time_in_position,json=timeInPosition,proto3" json:"time_in_position,omitempty"`            //Среднее время нахождения сигнала в позиции.
	AverageSignalYield     *Quotation `protobuf:"bytes,9,opt,name=average_signal_yield,json=averageSignalYield,proto3" json:"average_signal_yield,omitempty"` //Средняя доходность сигнала в стратегии.
	AverageSignalYieldYear *Quotation ``                                                                                                                      //Средняя доходность сигналов в стратегии за последний год.
	/* 132-byte string literal not displayed */
	Yield     *Quotation `protobuf:"bytes,11,opt,name=yield,proto3" json:"yield,omitempty"`                          //Доходность стратегии.
	YieldYear *Quotation `protobuf:"bytes,12,opt,name=yield_year,json=yieldYear,proto3" json:"yield_year,omitempty"` //Доходность стратегии за последний год.
	// contains filtered or unexported fields
}

Стратегия

func (*Strategy) Descriptor deprecated added in v1.6.0

func (*Strategy) Descriptor() ([]byte, []int)

Deprecated: Use Strategy.ProtoReflect.Descriptor instead.

func (*Strategy) GetActiveSignals added in v1.6.0

func (x *Strategy) GetActiveSignals() int32

func (*Strategy) GetAverageSignalYield added in v1.6.0

func (x *Strategy) GetAverageSignalYield() *Quotation

func (*Strategy) GetAverageSignalYieldYear added in v1.6.0

func (x *Strategy) GetAverageSignalYieldYear() *Quotation

func (*Strategy) GetStrategyDescription added in v1.6.0

func (x *Strategy) GetStrategyDescription() string

func (*Strategy) GetStrategyId added in v1.6.0

func (x *Strategy) GetStrategyId() string

func (*Strategy) GetStrategyName added in v1.6.0

func (x *Strategy) GetStrategyName() string

func (*Strategy) GetStrategyType added in v1.6.0

func (x *Strategy) GetStrategyType() StrategyType

func (*Strategy) GetStrategyUrl added in v1.6.0

func (x *Strategy) GetStrategyUrl() string

func (*Strategy) GetTimeInPosition added in v1.6.0

func (x *Strategy) GetTimeInPosition() int64

func (*Strategy) GetTotalSignals added in v1.6.0

func (x *Strategy) GetTotalSignals() int32

func (*Strategy) GetYield added in v1.6.0

func (x *Strategy) GetYield() *Quotation

func (*Strategy) GetYieldYear added in v1.6.0

func (x *Strategy) GetYieldYear() *Quotation

func (*Strategy) ProtoMessage added in v1.6.0

func (*Strategy) ProtoMessage()

func (*Strategy) ProtoReflect added in v1.6.0

func (x *Strategy) ProtoReflect() protoreflect.Message

func (*Strategy) Reset added in v1.6.0

func (x *Strategy) Reset()

func (*Strategy) String added in v1.6.0

func (x *Strategy) String() string

type StrategyType added in v1.6.0

type StrategyType int32

Тип стратегии.

const (
	StrategyType_STRATEGY_TYPE_UNSPECIFIED StrategyType = 0 //Не определен.
	StrategyType_STRATEGY_TYPE_TECHNICAL   StrategyType = 1 //Техническая стратегия.
	StrategyType_STRATEGY_TYPE_FUNDAMENTAL StrategyType = 2 //Фундаментальная стратегия.
)

func (StrategyType) Descriptor added in v1.6.0

func (StrategyType) Enum added in v1.6.0

func (x StrategyType) Enum() *StrategyType

func (StrategyType) EnumDescriptor deprecated added in v1.6.0

func (StrategyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StrategyType.Descriptor instead.

func (StrategyType) Number added in v1.6.0

func (StrategyType) String added in v1.6.0

func (x StrategyType) String() string

func (StrategyType) Type added in v1.6.0

type StreamLimit

type StreamLimit struct {
	Limit   int32    `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`    //Максимальное количество stream-соединений.
	Streams []string `protobuf:"bytes,2,rep,name=streams,proto3" json:"streams,omitempty"` //Названия stream-методов.
	Open    int32    `protobuf:"varint,3,opt,name=open,proto3" json:"open,omitempty"`      //Текущее количество открытых stream-соединений.
	// contains filtered or unexported fields
}

Лимит stream-соединений.

func (*StreamLimit) Descriptor deprecated

func (*StreamLimit) Descriptor() ([]byte, []int)

Deprecated: Use StreamLimit.ProtoReflect.Descriptor instead.

func (*StreamLimit) GetLimit

func (x *StreamLimit) GetLimit() int32

func (*StreamLimit) GetOpen added in v1.2.5

func (x *StreamLimit) GetOpen() int32

func (*StreamLimit) GetStreams

func (x *StreamLimit) GetStreams() []string

func (*StreamLimit) ProtoMessage

func (*StreamLimit) ProtoMessage()

func (*StreamLimit) ProtoReflect

func (x *StreamLimit) ProtoReflect() protoreflect.Message

func (*StreamLimit) Reset

func (x *StreamLimit) Reset()

func (*StreamLimit) String

func (x *StreamLimit) String() string

type StructuredProductType

type StructuredProductType int32

Тип структурной ноты.

const (
	StructuredProductType_SP_TYPE_UNSPECIFIED     StructuredProductType = 0 //Тип не определён.
	StructuredProductType_SP_TYPE_DELIVERABLE     StructuredProductType = 1 //Поставочный.
	StructuredProductType_SP_TYPE_NON_DELIVERABLE StructuredProductType = 2 //Беспоставочный.
)

func (StructuredProductType) Descriptor

func (StructuredProductType) Enum

func (StructuredProductType) EnumDescriptor deprecated

func (StructuredProductType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StructuredProductType.Descriptor instead.

func (StructuredProductType) Number

func (StructuredProductType) String

func (x StructuredProductType) String() string

func (StructuredProductType) Type

type SubscribeCandlesRequest

type SubscribeCandlesRequest struct {
	SubscriptionAction SubscriptionAction `` //Изменение статуса подписки.
	/* 178-byte string literal not displayed */
	Instruments      []*CandleInstrument             `protobuf:"bytes,2,rep,name=instruments,proto3" json:"instruments,omitempty"`                        //Массив инструментов для подписки на свечи.
	WaitingClose     bool                            `protobuf:"varint,3,opt,name=waiting_close,json=waitingClose,proto3" json:"waiting_close,omitempty"` //Флаг ожидания закрытия временного интервала для отправки свечи.
	CandleSourceType *GetCandlesRequest_CandleSource ``                                                                                                   //Источник свечей.
	/* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

subscribeCandles | Изменения статуса подписки на свечи.

func (*SubscribeCandlesRequest) Descriptor deprecated

func (*SubscribeCandlesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeCandlesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeCandlesRequest) GetCandleSourceType added in v1.8.1

func (*SubscribeCandlesRequest) GetInstruments

func (x *SubscribeCandlesRequest) GetInstruments() []*CandleInstrument

func (*SubscribeCandlesRequest) GetSubscriptionAction

func (x *SubscribeCandlesRequest) GetSubscriptionAction() SubscriptionAction

func (*SubscribeCandlesRequest) GetWaitingClose added in v1.1.1

func (x *SubscribeCandlesRequest) GetWaitingClose() bool

func (*SubscribeCandlesRequest) ProtoMessage

func (*SubscribeCandlesRequest) ProtoMessage()

func (*SubscribeCandlesRequest) ProtoReflect

func (x *SubscribeCandlesRequest) ProtoReflect() protoreflect.Message

func (*SubscribeCandlesRequest) Reset

func (x *SubscribeCandlesRequest) Reset()

func (*SubscribeCandlesRequest) String

func (x *SubscribeCandlesRequest) String() string

type SubscribeCandlesResponse

type SubscribeCandlesResponse struct {
	TrackingId           string                `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"`                               //Уникальный идентификатор запроса. [Подробнее](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	CandlesSubscriptions []*CandleSubscription `protobuf:"bytes,2,rep,name=candles_subscriptions,json=candlesSubscriptions,proto3" json:"candles_subscriptions,omitempty"` //Массив статусов подписки на свечи.
	// contains filtered or unexported fields
}

Результат изменения статус подписки на свечи.

func (*SubscribeCandlesResponse) Descriptor deprecated

func (*SubscribeCandlesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeCandlesResponse.ProtoReflect.Descriptor instead.

func (*SubscribeCandlesResponse) GetCandlesSubscriptions

func (x *SubscribeCandlesResponse) GetCandlesSubscriptions() []*CandleSubscription

func (*SubscribeCandlesResponse) GetTrackingId

func (x *SubscribeCandlesResponse) GetTrackingId() string

func (*SubscribeCandlesResponse) ProtoMessage

func (*SubscribeCandlesResponse) ProtoMessage()

func (*SubscribeCandlesResponse) ProtoReflect

func (x *SubscribeCandlesResponse) ProtoReflect() protoreflect.Message

func (*SubscribeCandlesResponse) Reset

func (x *SubscribeCandlesResponse) Reset()

func (*SubscribeCandlesResponse) String

func (x *SubscribeCandlesResponse) String() string

type SubscribeInfoRequest

type SubscribeInfoRequest struct {
	SubscriptionAction SubscriptionAction `` //Изменение статуса подписки.
	/* 178-byte string literal not displayed */
	Instruments []*InfoInstrument `protobuf:"bytes,2,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов для подписки на торговый статус.
	// contains filtered or unexported fields
}

Изменение статуса подписки на торговый статус инструмента.

func (*SubscribeInfoRequest) Descriptor deprecated

func (*SubscribeInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeInfoRequest.ProtoReflect.Descriptor instead.

func (*SubscribeInfoRequest) GetInstruments

func (x *SubscribeInfoRequest) GetInstruments() []*InfoInstrument

func (*SubscribeInfoRequest) GetSubscriptionAction

func (x *SubscribeInfoRequest) GetSubscriptionAction() SubscriptionAction

func (*SubscribeInfoRequest) ProtoMessage

func (*SubscribeInfoRequest) ProtoMessage()

func (*SubscribeInfoRequest) ProtoReflect

func (x *SubscribeInfoRequest) ProtoReflect() protoreflect.Message

func (*SubscribeInfoRequest) Reset

func (x *SubscribeInfoRequest) Reset()

func (*SubscribeInfoRequest) String

func (x *SubscribeInfoRequest) String() string

type SubscribeInfoResponse

type SubscribeInfoResponse struct {
	TrackingId        string              `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"`                      //Уникальный идентификатор запроса. [Подробнее](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	InfoSubscriptions []*InfoSubscription `protobuf:"bytes,2,rep,name=info_subscriptions,json=infoSubscriptions,proto3" json:"info_subscriptions,omitempty"` //Массив статусов подписки на торговый статус.
	// contains filtered or unexported fields
}

Результат изменения статуса подписки на торговый статус.

func (*SubscribeInfoResponse) Descriptor deprecated

func (*SubscribeInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeInfoResponse.ProtoReflect.Descriptor instead.

func (*SubscribeInfoResponse) GetInfoSubscriptions

func (x *SubscribeInfoResponse) GetInfoSubscriptions() []*InfoSubscription

func (*SubscribeInfoResponse) GetTrackingId

func (x *SubscribeInfoResponse) GetTrackingId() string

func (*SubscribeInfoResponse) ProtoMessage

func (*SubscribeInfoResponse) ProtoMessage()

func (*SubscribeInfoResponse) ProtoReflect

func (x *SubscribeInfoResponse) ProtoReflect() protoreflect.Message

func (*SubscribeInfoResponse) Reset

func (x *SubscribeInfoResponse) Reset()

func (*SubscribeInfoResponse) String

func (x *SubscribeInfoResponse) String() string

type SubscribeLastPriceRequest

type SubscribeLastPriceRequest struct {
	SubscriptionAction SubscriptionAction `` //Изменение статуса подписки.
	/* 178-byte string literal not displayed */
	Instruments []*LastPriceInstrument `protobuf:"bytes,2,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов для подписки на цену последней сделки.
	// contains filtered or unexported fields
}

Изменение статуса подписки на цену последней сделки по инструменту.

func (*SubscribeLastPriceRequest) Descriptor deprecated

func (*SubscribeLastPriceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeLastPriceRequest.ProtoReflect.Descriptor instead.

func (*SubscribeLastPriceRequest) GetInstruments

func (x *SubscribeLastPriceRequest) GetInstruments() []*LastPriceInstrument

func (*SubscribeLastPriceRequest) GetSubscriptionAction

func (x *SubscribeLastPriceRequest) GetSubscriptionAction() SubscriptionAction

func (*SubscribeLastPriceRequest) ProtoMessage

func (*SubscribeLastPriceRequest) ProtoMessage()

func (*SubscribeLastPriceRequest) ProtoReflect

func (*SubscribeLastPriceRequest) Reset

func (x *SubscribeLastPriceRequest) Reset()

func (*SubscribeLastPriceRequest) String

func (x *SubscribeLastPriceRequest) String() string

type SubscribeLastPriceResponse

type SubscribeLastPriceResponse struct {
	TrackingId             string                   `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Уникальный идентификатор запроса. [Подробнее](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	LastPriceSubscriptions []*LastPriceSubscription ``                                                                                            //Массив статусов подписки на цену последней сделки.
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Результат изменения статуса подписки на цену последней сделки.

func (*SubscribeLastPriceResponse) Descriptor deprecated

func (*SubscribeLastPriceResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeLastPriceResponse.ProtoReflect.Descriptor instead.

func (*SubscribeLastPriceResponse) GetLastPriceSubscriptions

func (x *SubscribeLastPriceResponse) GetLastPriceSubscriptions() []*LastPriceSubscription

func (*SubscribeLastPriceResponse) GetTrackingId

func (x *SubscribeLastPriceResponse) GetTrackingId() string

func (*SubscribeLastPriceResponse) ProtoMessage

func (*SubscribeLastPriceResponse) ProtoMessage()

func (*SubscribeLastPriceResponse) ProtoReflect

func (*SubscribeLastPriceResponse) Reset

func (x *SubscribeLastPriceResponse) Reset()

func (*SubscribeLastPriceResponse) String

func (x *SubscribeLastPriceResponse) String() string

type SubscribeOrderBookRequest

type SubscribeOrderBookRequest struct {
	SubscriptionAction SubscriptionAction `` //Изменение статуса подписки.
	/* 178-byte string literal not displayed */
	Instruments []*OrderBookInstrument `protobuf:"bytes,2,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов для подписки на стаканы.
	// contains filtered or unexported fields
}

Запрос на изменение статуса подписки на стаканы.

func (*SubscribeOrderBookRequest) Descriptor deprecated

func (*SubscribeOrderBookRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeOrderBookRequest.ProtoReflect.Descriptor instead.

func (*SubscribeOrderBookRequest) GetInstruments

func (x *SubscribeOrderBookRequest) GetInstruments() []*OrderBookInstrument

func (*SubscribeOrderBookRequest) GetSubscriptionAction

func (x *SubscribeOrderBookRequest) GetSubscriptionAction() SubscriptionAction

func (*SubscribeOrderBookRequest) ProtoMessage

func (*SubscribeOrderBookRequest) ProtoMessage()

func (*SubscribeOrderBookRequest) ProtoReflect

func (*SubscribeOrderBookRequest) Reset

func (x *SubscribeOrderBookRequest) Reset()

func (*SubscribeOrderBookRequest) String

func (x *SubscribeOrderBookRequest) String() string

type SubscribeOrderBookResponse

type SubscribeOrderBookResponse struct {
	TrackingId             string                   `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Уникальный идентификатор запроса. [Подробнее](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	OrderBookSubscriptions []*OrderBookSubscription ``                                                                                            //Массив статусов подписки на стаканы.
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Результат изменения статуса подписки на стаканы.

func (*SubscribeOrderBookResponse) Descriptor deprecated

func (*SubscribeOrderBookResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeOrderBookResponse.ProtoReflect.Descriptor instead.

func (*SubscribeOrderBookResponse) GetOrderBookSubscriptions

func (x *SubscribeOrderBookResponse) GetOrderBookSubscriptions() []*OrderBookSubscription

func (*SubscribeOrderBookResponse) GetTrackingId

func (x *SubscribeOrderBookResponse) GetTrackingId() string

func (*SubscribeOrderBookResponse) ProtoMessage

func (*SubscribeOrderBookResponse) ProtoMessage()

func (*SubscribeOrderBookResponse) ProtoReflect

func (*SubscribeOrderBookResponse) Reset

func (x *SubscribeOrderBookResponse) Reset()

func (*SubscribeOrderBookResponse) String

func (x *SubscribeOrderBookResponse) String() string

type SubscribeTradesRequest

type SubscribeTradesRequest struct {
	SubscriptionAction SubscriptionAction `` //Изменение статуса подписки.
	/* 178-byte string literal not displayed */
	Instruments []*TradeInstrument `protobuf:"bytes,2,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов для подписки на поток обезличенных сделок.
	TradeSource TradeSourceType    ``                                                                            //Тип источника сделок. По умолчанию TRADE_SOURCE_ALL - все сделки.
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Изменение статуса подписки на поток обезличенных сделок.

func (*SubscribeTradesRequest) Descriptor deprecated

func (*SubscribeTradesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeTradesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeTradesRequest) GetInstruments

func (x *SubscribeTradesRequest) GetInstruments() []*TradeInstrument

func (*SubscribeTradesRequest) GetSubscriptionAction

func (x *SubscribeTradesRequest) GetSubscriptionAction() SubscriptionAction

func (*SubscribeTradesRequest) GetTradeSource added in v1.6.0

func (x *SubscribeTradesRequest) GetTradeSource() TradeSourceType

func (*SubscribeTradesRequest) ProtoMessage

func (*SubscribeTradesRequest) ProtoMessage()

func (*SubscribeTradesRequest) ProtoReflect

func (x *SubscribeTradesRequest) ProtoReflect() protoreflect.Message

func (*SubscribeTradesRequest) Reset

func (x *SubscribeTradesRequest) Reset()

func (*SubscribeTradesRequest) String

func (x *SubscribeTradesRequest) String() string

type SubscribeTradesResponse

type SubscribeTradesResponse struct {
	TrackingId         string               `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"`                         //Уникальный идентификатор запроса. [Подробнее](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	TradeSubscriptions []*TradeSubscription `protobuf:"bytes,2,rep,name=trade_subscriptions,json=tradeSubscriptions,proto3" json:"trade_subscriptions,omitempty"` //Массив статусов подписки на поток сделок.
	TradeSource        TradeSourceType      ``                                                                                                                    //Тип источника сделок.
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Результат изменения статуса подписки на поток обезличенных сделок.

func (*SubscribeTradesResponse) Descriptor deprecated

func (*SubscribeTradesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeTradesResponse.ProtoReflect.Descriptor instead.

func (*SubscribeTradesResponse) GetTrackingId

func (x *SubscribeTradesResponse) GetTrackingId() string

func (*SubscribeTradesResponse) GetTradeSource added in v1.6.0

func (x *SubscribeTradesResponse) GetTradeSource() TradeSourceType

func (*SubscribeTradesResponse) GetTradeSubscriptions

func (x *SubscribeTradesResponse) GetTradeSubscriptions() []*TradeSubscription

func (*SubscribeTradesResponse) ProtoMessage

func (*SubscribeTradesResponse) ProtoMessage()

func (*SubscribeTradesResponse) ProtoReflect

func (x *SubscribeTradesResponse) ProtoReflect() protoreflect.Message

func (*SubscribeTradesResponse) Reset

func (x *SubscribeTradesResponse) Reset()

func (*SubscribeTradesResponse) String

func (x *SubscribeTradesResponse) String() string

type SubscriptionAction

type SubscriptionAction int32

Тип операции со списком подписок.

const (
	SubscriptionAction_SUBSCRIPTION_ACTION_UNSPECIFIED SubscriptionAction = 0 //Статус подписки не определён.
	SubscriptionAction_SUBSCRIPTION_ACTION_SUBSCRIBE   SubscriptionAction = 1 //Подписаться.
	SubscriptionAction_SUBSCRIPTION_ACTION_UNSUBSCRIBE SubscriptionAction = 2 //Отписаться.
)

func (SubscriptionAction) Descriptor

func (SubscriptionAction) Enum

func (SubscriptionAction) EnumDescriptor deprecated

func (SubscriptionAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubscriptionAction.Descriptor instead.

func (SubscriptionAction) Number

func (SubscriptionAction) String

func (x SubscriptionAction) String() string

func (SubscriptionAction) Type

type SubscriptionInterval

type SubscriptionInterval int32

Интервал свечи.

const (
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_UNSPECIFIED     SubscriptionInterval = 0  //Интервал свечи не определён.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_ONE_MINUTE      SubscriptionInterval = 1  //Минутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_FIVE_MINUTES    SubscriptionInterval = 2  //Пятиминутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_FIFTEEN_MINUTES SubscriptionInterval = 3  //Пятнадцатиминутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_ONE_HOUR        SubscriptionInterval = 4  //Часовые свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_ONE_DAY         SubscriptionInterval = 5  //Дневные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_2_MIN           SubscriptionInterval = 6  //Двухминутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_3_MIN           SubscriptionInterval = 7  //Трёхминутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_10_MIN          SubscriptionInterval = 8  //Десятиминутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_30_MIN          SubscriptionInterval = 9  //Тридцатиминутные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_2_HOUR          SubscriptionInterval = 10 //Двухчасовые свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_4_HOUR          SubscriptionInterval = 11 //Четырёхчасовые свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_WEEK            SubscriptionInterval = 12 //Недельные свечи.
	SubscriptionInterval_SUBSCRIPTION_INTERVAL_MONTH           SubscriptionInterval = 13 //Месячные свечи.
)

func (SubscriptionInterval) Descriptor

func (SubscriptionInterval) Enum

func (SubscriptionInterval) EnumDescriptor deprecated

func (SubscriptionInterval) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubscriptionInterval.Descriptor instead.

func (SubscriptionInterval) Number

func (SubscriptionInterval) String

func (x SubscriptionInterval) String() string

func (SubscriptionInterval) Type

type SubscriptionResponse added in v1.4.0

type SubscriptionResponse struct {
	TrackingId string                   `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Уникальный идентификатор запроса, подробнее: [tracking_id](https://russianinvestments.github.io/investAPI/grpc#tracking-id).
	Status     ResultSubscriptionStatus ``                                                                                            //Статус подписки.
	/* 134-byte string literal not displayed */
	StreamId string       `protobuf:"bytes,4,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` //Идентификатор открытого соединения
	Accounts []string     `protobuf:"bytes,5,rep,name=accounts,proto3" json:"accounts,omitempty"`                 //Идентификаторы счетов.
	Error    *ErrorDetail `protobuf:"bytes,7,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Информация по подпискам

func (*SubscriptionResponse) Descriptor deprecated added in v1.4.0

func (*SubscriptionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionResponse.ProtoReflect.Descriptor instead.

func (*SubscriptionResponse) GetAccounts added in v1.4.0

func (x *SubscriptionResponse) GetAccounts() []string

func (*SubscriptionResponse) GetError added in v1.4.0

func (x *SubscriptionResponse) GetError() *ErrorDetail

func (*SubscriptionResponse) GetStatus added in v1.4.0

func (*SubscriptionResponse) GetStreamId added in v1.4.0

func (x *SubscriptionResponse) GetStreamId() string

func (*SubscriptionResponse) GetTrackingId added in v1.4.0

func (x *SubscriptionResponse) GetTrackingId() string

func (*SubscriptionResponse) ProtoMessage added in v1.4.0

func (*SubscriptionResponse) ProtoMessage()

func (*SubscriptionResponse) ProtoReflect added in v1.4.0

func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message

func (*SubscriptionResponse) Reset added in v1.4.0

func (x *SubscriptionResponse) Reset()

func (*SubscriptionResponse) String added in v1.4.0

func (x *SubscriptionResponse) String() string

type SubscriptionStatus

type SubscriptionStatus int32

Результат подписки.

const (
	SubscriptionStatus_SUBSCRIPTION_STATUS_UNSPECIFIED                    SubscriptionStatus = 0  //Статус подписки не определён.
	SubscriptionStatus_SUBSCRIPTION_STATUS_SUCCESS                        SubscriptionStatus = 1  //Успешно.
	SubscriptionStatus_SUBSCRIPTION_STATUS_INSTRUMENT_NOT_FOUND           SubscriptionStatus = 2  //Инструмент не найден.
	SubscriptionStatus_SUBSCRIPTION_STATUS_SUBSCRIPTION_ACTION_IS_INVALID SubscriptionStatus = 3  //Некорректный статус подписки. [Список возможных значений](https://russianinvestments.github.io/investAPI/marketdata#subscriptionaction).
	SubscriptionStatus_SUBSCRIPTION_STATUS_DEPTH_IS_INVALID               SubscriptionStatus = 4  //Некорректная глубина стакана. Доступные значения — 1, 10, 20, 30, 40, 50.
	SubscriptionStatus_SUBSCRIPTION_STATUS_INTERVAL_IS_INVALID            SubscriptionStatus = 5  //Некорректный интервал свечей. [Список возможных значений](https://russianinvestments.github.io/investAPI/marketdata#subscriptioninterval).
	SubscriptionStatus_SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED              SubscriptionStatus = 6  //Превышен лимит на общее количество подписок в рамках стрима. [Лимитная политика](https://russianinvestments.github.io/investAPI/limits/).
	SubscriptionStatus_SUBSCRIPTION_STATUS_INTERNAL_ERROR                 SubscriptionStatus = 7  //Внутренняя ошибка сервиса.
	SubscriptionStatus_SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS              SubscriptionStatus = 8  //Превышен лимит на количество запросов на подписки в течение установленного отрезка времени.
	SubscriptionStatus_SUBSCRIPTION_STATUS_SUBSCRIPTION_NOT_FOUND         SubscriptionStatus = 9  // Активная подписка не найдена. Ошибка может возникнуть только при отписке от несуществующей подписки.
	SubscriptionStatus_SUBSCRIPTION_STATUS_SOURCE_IS_INVALID              SubscriptionStatus = 10 //Указан некорректный источник
)

func (SubscriptionStatus) Descriptor

func (SubscriptionStatus) Enum

func (SubscriptionStatus) EnumDescriptor deprecated

func (SubscriptionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubscriptionStatus.Descriptor instead.

func (SubscriptionStatus) Number

func (SubscriptionStatus) String

func (x SubscriptionStatus) String() string

func (SubscriptionStatus) Type

type TakeProfitType added in v1.4.0

type TakeProfitType int32

Тип TakeProfit-заявки.

const (
	TakeProfitType_TAKE_PROFIT_TYPE_UNSPECIFIED TakeProfitType = 0 //Значение не указано.
	TakeProfitType_TAKE_PROFIT_TYPE_REGULAR     TakeProfitType = 1 //Обычная заявка, значение по умолчанию.
	TakeProfitType_TAKE_PROFIT_TYPE_TRAILING    TakeProfitType = 2 //Трейлинг-стоп.
)

func (TakeProfitType) Descriptor added in v1.4.0

func (TakeProfitType) Enum added in v1.4.0

func (x TakeProfitType) Enum() *TakeProfitType

func (TakeProfitType) EnumDescriptor deprecated added in v1.4.0

func (TakeProfitType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TakeProfitType.Descriptor instead.

func (TakeProfitType) Number added in v1.4.0

func (TakeProfitType) String added in v1.4.0

func (x TakeProfitType) String() string

func (TakeProfitType) Type added in v1.4.0

type TimeInForceType added in v1.4.0

type TimeInForceType int32

Алгоритм исполнения заявки

const (
	TimeInForceType_TIME_IN_FORCE_UNSPECIFIED   TimeInForceType = 0 //Значение не определено см. TIME_IN_FORCE_DAY
	TimeInForceType_TIME_IN_FORCE_DAY           TimeInForceType = 1 //Заявка действует до конца торгового дня. Значение по умолчанию
	TimeInForceType_TIME_IN_FORCE_FILL_AND_KILL TimeInForceType = 2 //Если в момент выставления возможно исполнение заявки(в т.ч. частичное), заявка будет исполнена или отменена сразу после выставления
	TimeInForceType_TIME_IN_FORCE_FILL_OR_KILL  TimeInForceType = 3 //Если в момент выставления возможно полное исполнение заявки, заявка будет исполнена или отменена сразу после выставления, недоступно для срочного рынка и торговли по выходным
)

func (TimeInForceType) Descriptor added in v1.4.0

func (TimeInForceType) Enum added in v1.4.0

func (x TimeInForceType) Enum() *TimeInForceType

func (TimeInForceType) EnumDescriptor deprecated added in v1.4.0

func (TimeInForceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TimeInForceType.Descriptor instead.

func (TimeInForceType) Number added in v1.4.0

func (TimeInForceType) String added in v1.4.0

func (x TimeInForceType) String() string

func (TimeInForceType) Type added in v1.4.0

type Trade

type Trade struct {
	Figi      string         `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	Direction TradeDirection ``                                                              //Направление сделки.
	/* 130-byte string literal not displayed */
	Price         *Quotation             `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`                                      //Цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента. [Подробнее про перевод цен в валюту](https://russianinvestments.github.io/investAPI/faq_marketdata/#_15).
	Quantity      int64                  `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"`                               //Количество лотов.
	Time          *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`                                        //Время сделки в часовом поясе UTC по времени биржи.
	InstrumentUid string                 `protobuf:"bytes,6,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	TradeSource   TradeSourceType        ``                                                                                                     //Тип источника сделки.
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Информация о сделке.

func (*Trade) Descriptor deprecated

func (*Trade) Descriptor() ([]byte, []int)

Deprecated: Use Trade.ProtoReflect.Descriptor instead.

func (*Trade) GetDirection

func (x *Trade) GetDirection() TradeDirection

func (*Trade) GetFigi

func (x *Trade) GetFigi() string

func (*Trade) GetInstrumentUid added in v1.2.0

func (x *Trade) GetInstrumentUid() string

func (*Trade) GetPrice

func (x *Trade) GetPrice() *Quotation

func (*Trade) GetQuantity

func (x *Trade) GetQuantity() int64

func (*Trade) GetTime

func (x *Trade) GetTime() *timestamppb.Timestamp

func (*Trade) GetTradeSource added in v1.4.0

func (x *Trade) GetTradeSource() TradeSourceType

func (*Trade) ProtoMessage

func (*Trade) ProtoMessage()

func (*Trade) ProtoReflect

func (x *Trade) ProtoReflect() protoreflect.Message

func (*Trade) Reset

func (x *Trade) Reset()

func (*Trade) String

func (x *Trade) String() string

type TradeDirection

type TradeDirection int32

Направление сделки.

const (
	TradeDirection_TRADE_DIRECTION_UNSPECIFIED TradeDirection = 0 //Направление сделки не определено.
	TradeDirection_TRADE_DIRECTION_BUY         TradeDirection = 1 //Покупка.
	TradeDirection_TRADE_DIRECTION_SELL        TradeDirection = 2 //Продажа.
)

func (TradeDirection) Descriptor

func (TradeDirection) Enum

func (x TradeDirection) Enum() *TradeDirection

func (TradeDirection) EnumDescriptor deprecated

func (TradeDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use TradeDirection.Descriptor instead.

func (TradeDirection) Number

func (TradeDirection) String

func (x TradeDirection) String() string

func (TradeDirection) Type

type TradeInstrument

type TradeInstrument struct {

	// Deprecated: Marked as deprecated in marketdata.proto.
	Figi         string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                     //Deprecated FIGI-идентификатор инструмента. Используйте instrument_id`.
	InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента. Принимает значение `figi` или `instrument_uid`.
	// contains filtered or unexported fields
}

Запрос подписки на поток обезличенных сделок.

func (*TradeInstrument) Descriptor deprecated

func (*TradeInstrument) Descriptor() ([]byte, []int)

Deprecated: Use TradeInstrument.ProtoReflect.Descriptor instead.

func (*TradeInstrument) GetFigi deprecated

func (x *TradeInstrument) GetFigi() string

Deprecated: Marked as deprecated in marketdata.proto.

func (*TradeInstrument) GetInstrumentId added in v1.2.0

func (x *TradeInstrument) GetInstrumentId() string

func (*TradeInstrument) ProtoMessage

func (*TradeInstrument) ProtoMessage()

func (*TradeInstrument) ProtoReflect

func (x *TradeInstrument) ProtoReflect() protoreflect.Message

func (*TradeInstrument) Reset

func (x *TradeInstrument) Reset()

func (*TradeInstrument) String

func (x *TradeInstrument) String() string

type TradeSourceType added in v1.4.0

type TradeSourceType int32

Типы источников сделок.

const (
	TradeSourceType_TRADE_SOURCE_UNSPECIFIED TradeSourceType = 0 //Тип источника сделки не определён.
	TradeSourceType_TRADE_SOURCE_EXCHANGE    TradeSourceType = 1 // Биржевые сделки.
	TradeSourceType_TRADE_SOURCE_DEALER      TradeSourceType = 2 // Сделки дилера.
	TradeSourceType_TRADE_SOURCE_ALL         TradeSourceType = 3 // Все сделки.
)

func (TradeSourceType) Descriptor added in v1.4.0

func (TradeSourceType) Enum added in v1.4.0

func (x TradeSourceType) Enum() *TradeSourceType

func (TradeSourceType) EnumDescriptor deprecated added in v1.4.0

func (TradeSourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TradeSourceType.Descriptor instead.

func (TradeSourceType) Number added in v1.4.0

func (TradeSourceType) String added in v1.4.0

func (x TradeSourceType) String() string

func (TradeSourceType) Type added in v1.4.0

type TradeSubscription

type TradeSubscription struct {
	Figi               string             `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	SubscriptionStatus SubscriptionStatus ``                                                              //Статус подписки.
	/* 178-byte string literal not displayed */
	InstrumentUid  string `protobuf:"bytes,3,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`    //UID инструмента.
	StreamId       string `protobuf:"bytes,4,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                   //Идентификатор открытого соединения.
	SubscriptionId string `protobuf:"bytes,5,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` //Идентификатор подписки в формате UUID.
	// contains filtered or unexported fields
}

Статус подписки.

func (*TradeSubscription) Descriptor deprecated

func (*TradeSubscription) Descriptor() ([]byte, []int)

Deprecated: Use TradeSubscription.ProtoReflect.Descriptor instead.

func (*TradeSubscription) GetFigi

func (x *TradeSubscription) GetFigi() string

func (*TradeSubscription) GetInstrumentUid added in v1.2.0

func (x *TradeSubscription) GetInstrumentUid() string

func (*TradeSubscription) GetStreamId added in v1.4.0

func (x *TradeSubscription) GetStreamId() string

func (*TradeSubscription) GetSubscriptionId added in v1.4.0

func (x *TradeSubscription) GetSubscriptionId() string

func (*TradeSubscription) GetSubscriptionStatus

func (x *TradeSubscription) GetSubscriptionStatus() SubscriptionStatus

func (*TradeSubscription) ProtoMessage

func (*TradeSubscription) ProtoMessage()

func (*TradeSubscription) ProtoReflect

func (x *TradeSubscription) ProtoReflect() protoreflect.Message

func (*TradeSubscription) Reset

func (x *TradeSubscription) Reset()

func (*TradeSubscription) String

func (x *TradeSubscription) String() string

type TradesStreamRequest

type TradesStreamRequest struct {
	Accounts    []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`                                    //Идентификаторы счетов.
	PingDelayMs *int32   `protobuf:"varint,15,opt,name=ping_delay_ms,json=pingDelayMs,proto3,oneof" json:"ping_delay_ms,omitempty"` //Задержка пинг сообщений milliseconds 5000-180000, default 120000
	// contains filtered or unexported fields
}

Запрос установки соединения.

func (*TradesStreamRequest) Descriptor deprecated

func (*TradesStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use TradesStreamRequest.ProtoReflect.Descriptor instead.

func (*TradesStreamRequest) GetAccounts

func (x *TradesStreamRequest) GetAccounts() []string

func (*TradesStreamRequest) GetPingDelayMs added in v1.6.0

func (x *TradesStreamRequest) GetPingDelayMs() int32

func (*TradesStreamRequest) ProtoMessage

func (*TradesStreamRequest) ProtoMessage()

func (*TradesStreamRequest) ProtoReflect

func (x *TradesStreamRequest) ProtoReflect() protoreflect.Message

func (*TradesStreamRequest) Reset

func (x *TradesStreamRequest) Reset()

func (*TradesStreamRequest) String

func (x *TradesStreamRequest) String() string

type TradesStreamResponse

type TradesStreamResponse struct {

	// Types that are assignable to Payload:
	//
	//	*TradesStreamResponse_OrderTrades
	//	*TradesStreamResponse_Ping
	//	*TradesStreamResponse_Subscription
	Payload isTradesStreamResponse_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Информация о торговых поручениях.

func (*TradesStreamResponse) Descriptor deprecated

func (*TradesStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use TradesStreamResponse.ProtoReflect.Descriptor instead.

func (*TradesStreamResponse) GetOrderTrades

func (x *TradesStreamResponse) GetOrderTrades() *OrderTrades

func (*TradesStreamResponse) GetPayload

func (m *TradesStreamResponse) GetPayload() isTradesStreamResponse_Payload

func (*TradesStreamResponse) GetPing

func (x *TradesStreamResponse) GetPing() *Ping

func (*TradesStreamResponse) GetSubscription added in v1.4.0

func (x *TradesStreamResponse) GetSubscription() *SubscriptionResponse

func (*TradesStreamResponse) ProtoMessage

func (*TradesStreamResponse) ProtoMessage()

func (*TradesStreamResponse) ProtoReflect

func (x *TradesStreamResponse) ProtoReflect() protoreflect.Message

func (*TradesStreamResponse) Reset

func (x *TradesStreamResponse) Reset()

func (*TradesStreamResponse) String

func (x *TradesStreamResponse) String() string

type TradesStreamResponse_OrderTrades

type TradesStreamResponse_OrderTrades struct {
	OrderTrades *OrderTrades `protobuf:"bytes,1,opt,name=order_trades,json=orderTrades,proto3,oneof"` //Информация об исполнении торгового поручения.
}

type TradesStreamResponse_Ping

type TradesStreamResponse_Ping struct {
	Ping *Ping `protobuf:"bytes,2,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}

type TradesStreamResponse_Subscription added in v1.4.0

type TradesStreamResponse_Subscription struct {
	Subscription *SubscriptionResponse `protobuf:"bytes,3,opt,name=subscription,proto3,oneof"` //Ответ на запрос на подписку.
}

type TradingDay

type TradingDay struct {
	Date                    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`                                        // Дата.
	IsTradingDay            bool                   `protobuf:"varint,2,opt,name=is_trading_day,json=isTradingDay,proto3" json:"is_trading_day,omitempty"` // Признак торгового дня на бирже.
	StartTime               *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`             // Время начала торгов по UTC.
	EndTime                 *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`                   // Время окончания торгов по UTC.
	OpeningAuctionStartTime *timestamppb.Timestamp ``                                                                                                     // Время начала аукциона открытия по UTC.
	/* 134-byte string literal not displayed */
	ClosingAuctionEndTime *timestamppb.Timestamp `` // Время окончания аукциона закрытия по UTC.
	/* 128-byte string literal not displayed */
	EveningOpeningAuctionStartTime *timestamppb.Timestamp `` // Время начала аукциона открытия вечерней сессии по UTC.
	/* 157-byte string literal not displayed */
	EveningStartTime        *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=evening_start_time,json=eveningStartTime,proto3" json:"evening_start_time,omitempty"`       // Время начала вечерней сессии по UTC.
	EveningEndTime          *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=evening_end_time,json=eveningEndTime,proto3" json:"evening_end_time,omitempty"`             // Время окончания вечерней сессии по UTC.
	ClearingStartTime       *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=clearing_start_time,json=clearingStartTime,proto3" json:"clearing_start_time,omitempty"`    // Время начала основного клиринга по UTC.
	ClearingEndTime         *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=clearing_end_time,json=clearingEndTime,proto3" json:"clearing_end_time,omitempty"`          // Время окончания основного клиринга по UTC.
	PremarketStartTime      *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=premarket_start_time,json=premarketStartTime,proto3" json:"premarket_start_time,omitempty"` // Время начала премаркета по UTC.
	PremarketEndTime        *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=premarket_end_time,json=premarketEndTime,proto3" json:"premarket_end_time,omitempty"`       // Время окончания премаркета по UTC.
	ClosingAuctionStartTime *timestamppb.Timestamp ``                                                                                                                       // Время начала аукциона закрытия по UTC.
	/* 135-byte string literal not displayed */
	OpeningAuctionEndTime *timestamppb.Timestamp `` // Время окончания аукциона открытия по UTC.
	/* 129-byte string literal not displayed */
	Intervals []*TradingInterval `protobuf:"bytes,18,rep,name=intervals,proto3" json:"intervals,omitempty"` // Торговые интервалы.
	// contains filtered or unexported fields
}

Информация о времени торгов.

func (*TradingDay) Descriptor deprecated

func (*TradingDay) Descriptor() ([]byte, []int)

Deprecated: Use TradingDay.ProtoReflect.Descriptor instead.

func (*TradingDay) GetClearingEndTime

func (x *TradingDay) GetClearingEndTime() *timestamppb.Timestamp

func (*TradingDay) GetClearingStartTime

func (x *TradingDay) GetClearingStartTime() *timestamppb.Timestamp

func (*TradingDay) GetClosingAuctionEndTime

func (x *TradingDay) GetClosingAuctionEndTime() *timestamppb.Timestamp

func (*TradingDay) GetClosingAuctionStartTime added in v1.2.4

func (x *TradingDay) GetClosingAuctionStartTime() *timestamppb.Timestamp

func (*TradingDay) GetDate

func (x *TradingDay) GetDate() *timestamppb.Timestamp

func (*TradingDay) GetEndTime

func (x *TradingDay) GetEndTime() *timestamppb.Timestamp

func (*TradingDay) GetEveningEndTime

func (x *TradingDay) GetEveningEndTime() *timestamppb.Timestamp

func (*TradingDay) GetEveningOpeningAuctionStartTime

func (x *TradingDay) GetEveningOpeningAuctionStartTime() *timestamppb.Timestamp

func (*TradingDay) GetEveningStartTime

func (x *TradingDay) GetEveningStartTime() *timestamppb.Timestamp

func (*TradingDay) GetIntervals added in v1.4.0

func (x *TradingDay) GetIntervals() []*TradingInterval

func (*TradingDay) GetIsTradingDay

func (x *TradingDay) GetIsTradingDay() bool

func (*TradingDay) GetOpeningAuctionEndTime added in v1.2.4

func (x *TradingDay) GetOpeningAuctionEndTime() *timestamppb.Timestamp

func (*TradingDay) GetOpeningAuctionStartTime

func (x *TradingDay) GetOpeningAuctionStartTime() *timestamppb.Timestamp

func (*TradingDay) GetPremarketEndTime

func (x *TradingDay) GetPremarketEndTime() *timestamppb.Timestamp

func (*TradingDay) GetPremarketStartTime

func (x *TradingDay) GetPremarketStartTime() *timestamppb.Timestamp

func (*TradingDay) GetStartTime

func (x *TradingDay) GetStartTime() *timestamppb.Timestamp

func (*TradingDay) ProtoMessage

func (*TradingDay) ProtoMessage()

func (*TradingDay) ProtoReflect

func (x *TradingDay) ProtoReflect() protoreflect.Message

func (*TradingDay) Reset

func (x *TradingDay) Reset()

func (*TradingDay) String

func (x *TradingDay) String() string

type TradingInterval added in v1.4.0

type TradingInterval struct {
	Type     string                        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`         //Название интервала.
	Interval *TradingInterval_TimeInterval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` //Интервал.
	// contains filtered or unexported fields
}

func (*TradingInterval) Descriptor deprecated added in v1.4.0

func (*TradingInterval) Descriptor() ([]byte, []int)

Deprecated: Use TradingInterval.ProtoReflect.Descriptor instead.

func (*TradingInterval) GetInterval added in v1.4.0

func (*TradingInterval) GetType added in v1.4.0

func (x *TradingInterval) GetType() string

func (*TradingInterval) ProtoMessage added in v1.4.0

func (*TradingInterval) ProtoMessage()

func (*TradingInterval) ProtoReflect added in v1.4.0

func (x *TradingInterval) ProtoReflect() protoreflect.Message

func (*TradingInterval) Reset added in v1.4.0

func (x *TradingInterval) Reset()

func (*TradingInterval) String added in v1.4.0

func (x *TradingInterval) String() string

type TradingInterval_TimeInterval added in v1.4.0

type TradingInterval_TimeInterval struct {
	StartTs *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` // Время начала интервала.
	EndTs   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`       // Время окончания интервала.
	// contains filtered or unexported fields
}

func (*TradingInterval_TimeInterval) Descriptor deprecated added in v1.4.0

func (*TradingInterval_TimeInterval) Descriptor() ([]byte, []int)

Deprecated: Use TradingInterval_TimeInterval.ProtoReflect.Descriptor instead.

func (*TradingInterval_TimeInterval) GetEndTs added in v1.4.0

func (*TradingInterval_TimeInterval) GetStartTs added in v1.4.0

func (*TradingInterval_TimeInterval) ProtoMessage added in v1.4.0

func (*TradingInterval_TimeInterval) ProtoMessage()

func (*TradingInterval_TimeInterval) ProtoReflect added in v1.4.0

func (*TradingInterval_TimeInterval) Reset added in v1.4.0

func (x *TradingInterval_TimeInterval) Reset()

func (*TradingInterval_TimeInterval) String added in v1.4.0

type TradingSchedule

type TradingSchedule struct {
	Exchange string        `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` // Наименование торговой площадки.
	Days     []*TradingDay `protobuf:"bytes,2,rep,name=days,proto3" json:"days,omitempty"`         // Массив с торговыми и неторговыми днями.
	// contains filtered or unexported fields
}

Данные по торговой площадке.

func (*TradingSchedule) Descriptor deprecated

func (*TradingSchedule) Descriptor() ([]byte, []int)

Deprecated: Use TradingSchedule.ProtoReflect.Descriptor instead.

func (*TradingSchedule) GetDays

func (x *TradingSchedule) GetDays() []*TradingDay

func (*TradingSchedule) GetExchange

func (x *TradingSchedule) GetExchange() string

func (*TradingSchedule) ProtoMessage

func (*TradingSchedule) ProtoMessage()

func (*TradingSchedule) ProtoReflect

func (x *TradingSchedule) ProtoReflect() protoreflect.Message

func (*TradingSchedule) Reset

func (x *TradingSchedule) Reset()

func (*TradingSchedule) String

func (x *TradingSchedule) String() string

type TradingSchedulesRequest

type TradingSchedulesRequest struct {
	Exchange *string                `protobuf:"bytes,1,opt,name=exchange,proto3,oneof" json:"exchange,omitempty"` //Наименование биржи или расчетного календаря. </br>Если не передаётся, возвращается информация по всем доступным торговым площадкам.
	From     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`         //Начало периода по UTC.
	To       *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`             //Окончание периода по UTC.
	// contains filtered or unexported fields
}

Запрос расписания торгов.

func (*TradingSchedulesRequest) Descriptor deprecated

func (*TradingSchedulesRequest) Descriptor() ([]byte, []int)

Deprecated: Use TradingSchedulesRequest.ProtoReflect.Descriptor instead.

func (*TradingSchedulesRequest) GetExchange

func (x *TradingSchedulesRequest) GetExchange() string

func (*TradingSchedulesRequest) GetFrom

func (*TradingSchedulesRequest) GetTo

func (*TradingSchedulesRequest) ProtoMessage

func (*TradingSchedulesRequest) ProtoMessage()

func (*TradingSchedulesRequest) ProtoReflect

func (x *TradingSchedulesRequest) ProtoReflect() protoreflect.Message

func (*TradingSchedulesRequest) Reset

func (x *TradingSchedulesRequest) Reset()

func (*TradingSchedulesRequest) String

func (x *TradingSchedulesRequest) String() string

type TradingSchedulesResponse

type TradingSchedulesResponse struct {
	Exchanges []*TradingSchedule `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` // Список торговых площадок и режимов торгов.
	// contains filtered or unexported fields
}

Список торговых площадок.

func (*TradingSchedulesResponse) Descriptor deprecated

func (*TradingSchedulesResponse) Descriptor() ([]byte, []int)

Deprecated: Use TradingSchedulesResponse.ProtoReflect.Descriptor instead.

func (*TradingSchedulesResponse) GetExchanges

func (x *TradingSchedulesResponse) GetExchanges() []*TradingSchedule

func (*TradingSchedulesResponse) ProtoMessage

func (*TradingSchedulesResponse) ProtoMessage()

func (*TradingSchedulesResponse) ProtoReflect

func (x *TradingSchedulesResponse) ProtoReflect() protoreflect.Message

func (*TradingSchedulesResponse) Reset

func (x *TradingSchedulesResponse) Reset()

func (*TradingSchedulesResponse) String

func (x *TradingSchedulesResponse) String() string

type TradingStatus

type TradingStatus struct {
	Figi          string                `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //FIGI-идентификатор инструмента.
	TradingStatus SecurityTradingStatus ``                                                              //Статус торговли инструментом.
	/* 166-byte string literal not displayed */
	Time                    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` //Время изменения торгового статуса по UTC.
	LimitOrderAvailableFlag bool                   ``                                                              //Признак доступности выставления лимитной заявки по инструменту.
	/* 135-byte string literal not displayed */
	MarketOrderAvailableFlag bool `` //Признак доступности выставления рыночной заявки по инструменту.
	/* 138-byte string literal not displayed */
	InstrumentUid string `protobuf:"bytes,6,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID инструмента.
	// contains filtered or unexported fields
}

Пакет изменения торгового статуса.

func (*TradingStatus) Descriptor deprecated

func (*TradingStatus) Descriptor() ([]byte, []int)

Deprecated: Use TradingStatus.ProtoReflect.Descriptor instead.

func (*TradingStatus) GetFigi

func (x *TradingStatus) GetFigi() string

func (*TradingStatus) GetInstrumentUid added in v1.2.0

func (x *TradingStatus) GetInstrumentUid() string

func (*TradingStatus) GetLimitOrderAvailableFlag

func (x *TradingStatus) GetLimitOrderAvailableFlag() bool

func (*TradingStatus) GetMarketOrderAvailableFlag

func (x *TradingStatus) GetMarketOrderAvailableFlag() bool

func (*TradingStatus) GetTime

func (x *TradingStatus) GetTime() *timestamppb.Timestamp

func (*TradingStatus) GetTradingStatus

func (x *TradingStatus) GetTradingStatus() SecurityTradingStatus

func (*TradingStatus) ProtoMessage

func (*TradingStatus) ProtoMessage()

func (*TradingStatus) ProtoReflect

func (x *TradingStatus) ProtoReflect() protoreflect.Message

func (*TradingStatus) Reset

func (x *TradingStatus) Reset()

func (*TradingStatus) String

func (x *TradingStatus) String() string

type TrailingStopStatus added in v1.4.0

type TrailingStopStatus int32

Статус трейлинг-стопа.

const (
	TrailingStopStatus_TRAILING_STOP_UNSPECIFIED TrailingStopStatus = 0 //Значение не указано.
	TrailingStopStatus_TRAILING_STOP_ACTIVE      TrailingStopStatus = 1 //Активный.
	TrailingStopStatus_TRAILING_STOP_ACTIVATED   TrailingStopStatus = 2 //Активированный.
)

func (TrailingStopStatus) Descriptor added in v1.4.0

func (TrailingStopStatus) Enum added in v1.4.0

func (TrailingStopStatus) EnumDescriptor deprecated added in v1.4.0

func (TrailingStopStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrailingStopStatus.Descriptor instead.

func (TrailingStopStatus) Number added in v1.4.0

func (TrailingStopStatus) String added in v1.4.0

func (x TrailingStopStatus) String() string

func (TrailingStopStatus) Type added in v1.4.0

type TrailingValueType added in v1.4.0

type TrailingValueType int32

Тип параметров значений трейлинг-стопа.

const (
	TrailingValueType_TRAILING_VALUE_UNSPECIFIED TrailingValueType = 0 //Значение не указано.
	TrailingValueType_TRAILING_VALUE_ABSOLUTE    TrailingValueType = 1 //Абсолютное значение в единицах цены.
	TrailingValueType_TRAILING_VALUE_RELATIVE    TrailingValueType = 2 //Относительное значение в процентах.
)

func (TrailingValueType) Descriptor added in v1.4.0

func (TrailingValueType) Enum added in v1.4.0

func (TrailingValueType) EnumDescriptor deprecated added in v1.4.0

func (TrailingValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrailingValueType.Descriptor instead.

func (TrailingValueType) Number added in v1.4.0

func (TrailingValueType) String added in v1.4.0

func (x TrailingValueType) String() string

func (TrailingValueType) Type added in v1.4.0

type UnaryLimit

type UnaryLimit struct {
	LimitPerMinute int32    `protobuf:"varint,1,opt,name=limit_per_minute,json=limitPerMinute,proto3" json:"limit_per_minute,omitempty"` //Количество unary-запросов в минуту.
	Methods        []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`                                        //Названия методов.
	// contains filtered or unexported fields
}

Лимит unary-методов.

func (*UnaryLimit) Descriptor deprecated

func (*UnaryLimit) Descriptor() ([]byte, []int)

Deprecated: Use UnaryLimit.ProtoReflect.Descriptor instead.

func (*UnaryLimit) GetLimitPerMinute

func (x *UnaryLimit) GetLimitPerMinute() int32

func (*UnaryLimit) GetMethods

func (x *UnaryLimit) GetMethods() []string

func (*UnaryLimit) ProtoMessage

func (*UnaryLimit) ProtoMessage()

func (*UnaryLimit) ProtoReflect

func (x *UnaryLimit) ProtoReflect() protoreflect.Message

func (*UnaryLimit) Reset

func (x *UnaryLimit) Reset()

func (*UnaryLimit) String

func (x *UnaryLimit) String() string

type UnimplementedInstrumentsServiceServer

type UnimplementedInstrumentsServiceServer struct{}

UnimplementedInstrumentsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedInstrumentsServiceServer) BondBy

func (UnimplementedInstrumentsServiceServer) Bonds

func (UnimplementedInstrumentsServiceServer) Currencies

func (UnimplementedInstrumentsServiceServer) CurrencyBy

func (UnimplementedInstrumentsServiceServer) EditFavorites

func (UnimplementedInstrumentsServiceServer) EtfBy

func (UnimplementedInstrumentsServiceServer) Etfs

func (UnimplementedInstrumentsServiceServer) FindInstrument added in v1.1.1

func (UnimplementedInstrumentsServiceServer) FutureBy

func (UnimplementedInstrumentsServiceServer) Futures

func (UnimplementedInstrumentsServiceServer) GetAccruedInterests

func (UnimplementedInstrumentsServiceServer) GetAssetBy

func (UnimplementedInstrumentsServiceServer) GetAssetFundamentals added in v1.4.0

func (UnimplementedInstrumentsServiceServer) GetAssetReports added in v1.4.0

func (UnimplementedInstrumentsServiceServer) GetAssets

func (UnimplementedInstrumentsServiceServer) GetBondCoupons

func (UnimplementedInstrumentsServiceServer) GetBondEvents added in v1.4.0

func (UnimplementedInstrumentsServiceServer) GetBrandBy added in v1.1.1

func (UnimplementedInstrumentsServiceServer) GetBrands added in v1.1.1

func (UnimplementedInstrumentsServiceServer) GetConsensusForecasts added in v1.4.0

func (UnimplementedInstrumentsServiceServer) GetCountries added in v1.1.1

func (UnimplementedInstrumentsServiceServer) GetDividends

func (UnimplementedInstrumentsServiceServer) GetFavorites

func (UnimplementedInstrumentsServiceServer) GetForecastBy added in v1.4.0

func (UnimplementedInstrumentsServiceServer) GetFuturesMargin

func (UnimplementedInstrumentsServiceServer) GetInstrumentBy

func (UnimplementedInstrumentsServiceServer) Indicatives added in v1.4.0

func (UnimplementedInstrumentsServiceServer) OptionBy added in v1.2.0

func (UnimplementedInstrumentsServiceServer) Options added in v1.2.0

func (UnimplementedInstrumentsServiceServer) OptionsBy added in v1.2.5

func (UnimplementedInstrumentsServiceServer) ShareBy

func (UnimplementedInstrumentsServiceServer) Shares

func (UnimplementedInstrumentsServiceServer) TradingSchedules

type UnimplementedMarketDataServiceServer

type UnimplementedMarketDataServiceServer struct{}

UnimplementedMarketDataServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMarketDataServiceServer) GetCandles

func (UnimplementedMarketDataServiceServer) GetClosePrices added in v1.2.0

func (UnimplementedMarketDataServiceServer) GetLastPrices

func (UnimplementedMarketDataServiceServer) GetLastTrades

func (UnimplementedMarketDataServiceServer) GetOrderBook

func (UnimplementedMarketDataServiceServer) GetTechAnalysis added in v1.4.0

func (UnimplementedMarketDataServiceServer) GetTradingStatus

func (UnimplementedMarketDataServiceServer) GetTradingStatuses added in v1.2.4

type UnimplementedMarketDataStreamServiceServer

type UnimplementedMarketDataStreamServiceServer struct{}

UnimplementedMarketDataStreamServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMarketDataStreamServiceServer) MarketDataServerSideStream added in v1.1.1

func (UnimplementedMarketDataStreamServiceServer) MarketDataStream

type UnimplementedOperationsServiceServer

type UnimplementedOperationsServiceServer struct{}

UnimplementedOperationsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOperationsServiceServer) GetBrokerReport

func (UnimplementedOperationsServiceServer) GetOperations

func (UnimplementedOperationsServiceServer) GetOperationsByCursor added in v1.1.3

func (UnimplementedOperationsServiceServer) GetPortfolio

func (UnimplementedOperationsServiceServer) GetPositions

func (UnimplementedOperationsServiceServer) GetWithdrawLimits

type UnimplementedOperationsStreamServiceServer added in v1.1.2

type UnimplementedOperationsStreamServiceServer struct{}

UnimplementedOperationsStreamServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOperationsStreamServiceServer) PortfolioStream added in v1.1.2

func (UnimplementedOperationsStreamServiceServer) PositionsStream added in v1.2.0

type UnimplementedOrdersServiceServer

type UnimplementedOrdersServiceServer struct{}

UnimplementedOrdersServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrdersServiceServer) CancelOrder

func (UnimplementedOrdersServiceServer) GetMaxLots added in v1.4.0

func (UnimplementedOrdersServiceServer) GetOrderPrice added in v1.4.0

func (UnimplementedOrdersServiceServer) GetOrderState

func (UnimplementedOrdersServiceServer) GetOrders

func (UnimplementedOrdersServiceServer) PostOrder

func (UnimplementedOrdersServiceServer) PostOrderAsync added in v1.4.0

func (UnimplementedOrdersServiceServer) ReplaceOrder added in v1.1.3

type UnimplementedOrdersStreamServiceServer

type UnimplementedOrdersStreamServiceServer struct{}

UnimplementedOrdersStreamServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrdersStreamServiceServer) OrderStateStream added in v1.4.0

type UnimplementedSandboxServiceServer

type UnimplementedSandboxServiceServer struct{}

UnimplementedSandboxServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSandboxServiceServer) CancelSandboxOrder

func (UnimplementedSandboxServiceServer) CloseSandboxAccount

func (UnimplementedSandboxServiceServer) GetSandboxAccounts

func (UnimplementedSandboxServiceServer) GetSandboxMaxLots added in v1.4.0

func (UnimplementedSandboxServiceServer) GetSandboxOperations

func (UnimplementedSandboxServiceServer) GetSandboxOperationsByCursor added in v1.2.0

func (UnimplementedSandboxServiceServer) GetSandboxOrderState

func (UnimplementedSandboxServiceServer) GetSandboxOrders

func (UnimplementedSandboxServiceServer) GetSandboxPortfolio

func (UnimplementedSandboxServiceServer) GetSandboxPositions

func (UnimplementedSandboxServiceServer) GetSandboxWithdrawLimits added in v1.2.0

func (UnimplementedSandboxServiceServer) OpenSandboxAccount

func (UnimplementedSandboxServiceServer) PostSandboxOrder

func (UnimplementedSandboxServiceServer) ReplaceSandboxOrder added in v1.2.0

func (UnimplementedSandboxServiceServer) SandboxPayIn

type UnimplementedSignalServiceServer added in v1.6.0

type UnimplementedSignalServiceServer struct{}

UnimplementedSignalServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSignalServiceServer) GetSignals added in v1.6.0

func (UnimplementedSignalServiceServer) GetStrategies added in v1.6.0

type UnimplementedStopOrdersServiceServer

type UnimplementedStopOrdersServiceServer struct{}

UnimplementedStopOrdersServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedStopOrdersServiceServer) CancelStopOrder

func (UnimplementedStopOrdersServiceServer) GetStopOrders

func (UnimplementedStopOrdersServiceServer) PostStopOrder

type UnimplementedUsersServiceServer

type UnimplementedUsersServiceServer struct{}

UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUsersServiceServer) GetAccounts

func (UnimplementedUsersServiceServer) GetInfo

func (UnimplementedUsersServiceServer) GetUserTariff

type UnsafeInstrumentsServiceServer

type UnsafeInstrumentsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeInstrumentsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstrumentsServiceServer will result in compilation errors.

type UnsafeMarketDataServiceServer

type UnsafeMarketDataServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMarketDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MarketDataServiceServer will result in compilation errors.

type UnsafeMarketDataStreamServiceServer

type UnsafeMarketDataStreamServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMarketDataStreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MarketDataStreamServiceServer will result in compilation errors.

type UnsafeOperationsServiceServer

type UnsafeOperationsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOperationsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationsServiceServer will result in compilation errors.

type UnsafeOperationsStreamServiceServer added in v1.1.2

type UnsafeOperationsStreamServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOperationsStreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationsStreamServiceServer will result in compilation errors.

type UnsafeOrdersServiceServer

type UnsafeOrdersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOrdersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrdersServiceServer will result in compilation errors.

type UnsafeOrdersStreamServiceServer

type UnsafeOrdersStreamServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOrdersStreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrdersStreamServiceServer will result in compilation errors.

type UnsafeSandboxServiceServer

type UnsafeSandboxServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSandboxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SandboxServiceServer will result in compilation errors.

type UnsafeSignalServiceServer added in v1.6.0

type UnsafeSignalServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSignalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SignalServiceServer will result in compilation errors.

type UnsafeStopOrdersServiceServer

type UnsafeStopOrdersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStopOrdersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StopOrdersServiceServer will result in compilation errors.

type UnsafeUsersServiceServer

type UnsafeUsersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUsersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServiceServer will result in compilation errors.

type UsersServiceClient

type UsersServiceClient interface {
	// Получить счета пользователя.
	GetAccounts(ctx context.Context, in *GetAccountsRequest, opts ...grpc.CallOption) (*GetAccountsResponse, error)
	// Рассчитать маржинальные показатели по счёту.
	GetMarginAttributes(ctx context.Context, in *GetMarginAttributesRequest, opts ...grpc.CallOption) (*GetMarginAttributesResponse, error)
	// Запросить тариф пользователя.
	GetUserTariff(ctx context.Context, in *GetUserTariffRequest, opts ...grpc.CallOption) (*GetUserTariffResponse, error)
	// Получить информацию о пользователе.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
}

UsersServiceClient is the client API for UsersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UsersServiceServer

type UsersServiceServer interface {
	// Получить счета пользователя.
	GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
	// Рассчитать маржинальные показатели по счёту.
	GetMarginAttributes(context.Context, *GetMarginAttributesRequest) (*GetMarginAttributesResponse, error)
	// Запросить тариф пользователя.
	GetUserTariff(context.Context, *GetUserTariffRequest) (*GetUserTariffResponse, error)
	// Получить информацию о пользователе.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	// contains filtered or unexported methods
}

UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility.

type VirtualPortfolioPosition added in v1.2.3

type VirtualPortfolioPosition struct {
	PositionUid              string                 `protobuf:"bytes,1,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"`                              //Уникальный идентификатор позиции.
	InstrumentUid            string                 `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"`                        //Уникальный идентификатор инструмента.
	Figi                     string                 `protobuf:"bytes,3,opt,name=figi,proto3" json:"figi,omitempty"`                                                               //FIGI-идентификатор инструмента.
	InstrumentType           string                 `protobuf:"bytes,4,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"`                     //Тип инструмента.
	Quantity                 *Quotation             `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"`                                                       //Количество инструмента в портфеле в штуках.
	AveragePositionPrice     *MoneyValue            `protobuf:"bytes,6,opt,name=average_position_price,json=averagePositionPrice,proto3" json:"average_position_price,omitempty"` //Средневзвешенная цена позиции. Для пересчёта возможна задержка до одной секунды.
	ExpectedYield            *Quotation             `protobuf:"bytes,7,opt,name=expected_yield,json=expectedYield,proto3" json:"expected_yield,omitempty"`                        //Текущая рассчитанная доходность позиции.
	ExpectedYieldFifo        *Quotation             `protobuf:"bytes,8,opt,name=expected_yield_fifo,json=expectedYieldFifo,proto3" json:"expected_yield_fifo,omitempty"`          //Текущая рассчитанная доходность позиции.
	ExpireDate               *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`                                 //Дата, до которой нужно продать виртуальные бумаги. После этой даты виртуальная позиция «сгораетт».
	CurrentPrice             *MoneyValue            `protobuf:"bytes,10,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`                          //Текущая цена за 1 инструмент. Чтобы получить стоимость лота, нужно умножить на лотность инструмента.
	AveragePositionPriceFifo *MoneyValue            ``                                                                                                                            //Средняя цена позиции по методу FIFO. Для пересчёта возможна задержка до одной секунды.
	/* 138-byte string literal not displayed */
	DailyYield *MoneyValue `protobuf:"bytes,31,opt,name=daily_yield,json=dailyYield,proto3" json:"daily_yield,omitempty"` // Рассчитанная доходность портфеля за день
	// contains filtered or unexported fields
}

func (*VirtualPortfolioPosition) Descriptor deprecated added in v1.2.3

func (*VirtualPortfolioPosition) Descriptor() ([]byte, []int)

Deprecated: Use VirtualPortfolioPosition.ProtoReflect.Descriptor instead.

func (*VirtualPortfolioPosition) GetAveragePositionPrice added in v1.2.3

func (x *VirtualPortfolioPosition) GetAveragePositionPrice() *MoneyValue

func (*VirtualPortfolioPosition) GetAveragePositionPriceFifo added in v1.2.3

func (x *VirtualPortfolioPosition) GetAveragePositionPriceFifo() *MoneyValue

func (*VirtualPortfolioPosition) GetCurrentPrice added in v1.2.3

func (x *VirtualPortfolioPosition) GetCurrentPrice() *MoneyValue

func (*VirtualPortfolioPosition) GetDailyYield added in v1.8.1

func (x *VirtualPortfolioPosition) GetDailyYield() *MoneyValue

func (*VirtualPortfolioPosition) GetExpectedYield added in v1.2.3

func (x *VirtualPortfolioPosition) GetExpectedYield() *Quotation

func (*VirtualPortfolioPosition) GetExpectedYieldFifo added in v1.2.3

func (x *VirtualPortfolioPosition) GetExpectedYieldFifo() *Quotation

func (*VirtualPortfolioPosition) GetExpireDate added in v1.2.3

func (x *VirtualPortfolioPosition) GetExpireDate() *timestamppb.Timestamp

func (*VirtualPortfolioPosition) GetFigi added in v1.2.3

func (x *VirtualPortfolioPosition) GetFigi() string

func (*VirtualPortfolioPosition) GetInstrumentType added in v1.2.3

func (x *VirtualPortfolioPosition) GetInstrumentType() string

func (*VirtualPortfolioPosition) GetInstrumentUid added in v1.2.3

func (x *VirtualPortfolioPosition) GetInstrumentUid() string

func (*VirtualPortfolioPosition) GetPositionUid added in v1.2.3

func (x *VirtualPortfolioPosition) GetPositionUid() string

func (*VirtualPortfolioPosition) GetQuantity added in v1.2.3

func (x *VirtualPortfolioPosition) GetQuantity() *Quotation

func (*VirtualPortfolioPosition) ProtoMessage added in v1.2.3

func (*VirtualPortfolioPosition) ProtoMessage()

func (*VirtualPortfolioPosition) ProtoReflect added in v1.2.3

func (x *VirtualPortfolioPosition) ProtoReflect() protoreflect.Message

func (*VirtualPortfolioPosition) Reset added in v1.2.3

func (x *VirtualPortfolioPosition) Reset()

func (*VirtualPortfolioPosition) String added in v1.2.3

func (x *VirtualPortfolioPosition) String() string

type WithdrawLimitsRequest

type WithdrawLimitsRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя.
	// contains filtered or unexported fields
}

Запрос доступного остатка для вывода.

func (*WithdrawLimitsRequest) Descriptor deprecated

func (*WithdrawLimitsRequest) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawLimitsRequest.ProtoReflect.Descriptor instead.

func (*WithdrawLimitsRequest) GetAccountId

func (x *WithdrawLimitsRequest) GetAccountId() string

func (*WithdrawLimitsRequest) ProtoMessage

func (*WithdrawLimitsRequest) ProtoMessage()

func (*WithdrawLimitsRequest) ProtoReflect

func (x *WithdrawLimitsRequest) ProtoReflect() protoreflect.Message

func (*WithdrawLimitsRequest) Reset

func (x *WithdrawLimitsRequest) Reset()

func (*WithdrawLimitsRequest) String

func (x *WithdrawLimitsRequest) String() string

type WithdrawLimitsResponse

type WithdrawLimitsResponse struct {
	Money            []*MoneyValue `protobuf:"bytes,1,rep,name=money,proto3" json:"money,omitempty"`                                               //Массив валютных позиций портфеля.
	Blocked          []*MoneyValue `protobuf:"bytes,2,rep,name=blocked,proto3" json:"blocked,omitempty"`                                           //Массив заблокированных валютных позиций портфеля.
	BlockedGuarantee []*MoneyValue `protobuf:"bytes,3,rep,name=blocked_guarantee,json=blockedGuarantee,proto3" json:"blocked_guarantee,omitempty"` //Заблокировано под гарантийное обеспечение фьючерсов.
	// contains filtered or unexported fields
}

Доступный остаток для вывода.

func (*WithdrawLimitsResponse) Descriptor deprecated

func (*WithdrawLimitsResponse) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawLimitsResponse.ProtoReflect.Descriptor instead.

func (*WithdrawLimitsResponse) GetBlocked

func (x *WithdrawLimitsResponse) GetBlocked() []*MoneyValue

func (*WithdrawLimitsResponse) GetBlockedGuarantee

func (x *WithdrawLimitsResponse) GetBlockedGuarantee() []*MoneyValue

func (*WithdrawLimitsResponse) GetMoney

func (x *WithdrawLimitsResponse) GetMoney() []*MoneyValue

func (*WithdrawLimitsResponse) ProtoMessage

func (*WithdrawLimitsResponse) ProtoMessage()

func (*WithdrawLimitsResponse) ProtoReflect

func (x *WithdrawLimitsResponse) ProtoReflect() protoreflect.Message

func (*WithdrawLimitsResponse) Reset

func (x *WithdrawLimitsResponse) Reset()

func (*WithdrawLimitsResponse) String

func (x *WithdrawLimitsResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL