investpb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 (
	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 (
	InstrumentIdType_name = map[int32]string{
		0: "INSTRUMENT_ID_UNSPECIFIED",
		1: "INSTRUMENT_ID_TYPE_FIGI",
		2: "INSTRUMENT_ID_TYPE_TICKER",
		3: "INSTRUMENT_ID_TYPE_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,
	}
)

Enum value maps for InstrumentIdType.

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 (
	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",
	}
	RealExchange_value = map[string]int32{
		"REAL_EXCHANGE_UNSPECIFIED": 0,
		"REAL_EXCHANGE_MOEX":        1,
		"REAL_EXCHANGE_RTS":         2,
		"REAL_EXCHANGE_OTC":         3,
	}
)

Enum value maps for RealExchange.

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",
	}
	SubscriptionInterval_value = map[string]int32{
		"SUBSCRIPTION_INTERVAL_UNSPECIFIED":  0,
		"SUBSCRIPTION_INTERVAL_ONE_MINUTE":   1,
		"SUBSCRIPTION_INTERVAL_FIVE_MINUTES": 2,
	}
)

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",
	}
	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,
	}
)

Enum value maps for SubscriptionStatus.

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",
	}
	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,
	}
)

Enum value maps for CandleInterval.

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

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",
	}
	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,
	}
)

Enum value maps for OperationType.

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",
	}
	OrderType_value = map[string]int32{
		"ORDER_TYPE_UNSPECIFIED": 0,
		"ORDER_TYPE_LIMIT":       1,
		"ORDER_TYPE_MARKET":      2,
	}
)

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 (
	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 (
	AccountType_name = map[int32]string{
		0: "ACCOUNT_TYPE_UNSPECIFIED",
		1: "ACCOUNT_TYPE_TINKOFF",
		2: "ACCOUNT_TYPE_TINKOFF_IIS",
		3: "ACCOUNT_TYPE_INVEST_BOX",
	}
	AccountType_value = map[string]int32{
		"ACCOUNT_TYPE_UNSPECIFIED": 0,
		"ACCOUNT_TYPE_TINKOFF":     1,
		"ACCOUNT_TYPE_TINKOFF_IIS": 2,
		"ACCOUNT_TYPE_INVEST_BOX":  3,
	}
)

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",
	}
	AccountStatus_value = map[string]int32{
		"ACCOUNT_STATUS_UNSPECIFIED": 0,
		"ACCOUNT_STATUS_NEW":         1,
		"ACCOUNT_STATUS_OPEN":        2,
		"ACCOUNT_STATUS_CLOSED":      3,
	}
)

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_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: "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: "ShareBy",
			Handler:    _InstrumentsService_ShareBy_Handler,
		},
		{
			MethodName: "Shares",
			Handler:    _InstrumentsService_Shares_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,
		},
	},
	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: "GetLastTrades",
			Handler:    _MarketDataService_GetLastTrades_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,
		},
	},
	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,
		},
	},
	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 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: "CancelOrder",
			Handler:    _OrdersService_CancelOrder_Handler,
		},
		{
			MethodName: "GetOrderState",
			Handler:    _OrdersService_GetOrderState_Handler,
		},
		{
			MethodName: "GetOrders",
			Handler:    _OrdersService_GetOrders_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,
		},
	},
	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: "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: "GetSandboxPortfolio",
			Handler:    _SandboxService_GetSandboxPortfolio_Handler,
		},
		{
			MethodName: "SandboxPayIn",
			Handler:    _SandboxService_SandboxPayIn_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 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 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 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 *timestamp.Timestamp `protobuf:"bytes,5,opt,name=opened_date,json=openedDate,proto3" json:"opened_date,omitempty"`
	// Дата закрытия счёта в часовом поясе UTC.
	ClosedDate *timestamp.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() *timestamp.Timestamp

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetOpenedDate

func (x *Account) GetOpenedDate() *timestamp.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 //Закрытый счёт.
)

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 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 //Инвесткопилка.
)

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         *timestamp.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() *timestamp.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       *timestamp.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       *timestamp.Timestamp `protobuf:"bytes,18,opt,name=state_reg_date,json=stateRegDate,proto3" json:"state_reg_date,omitempty"`                    //Дата выпуска облигации.
	PlacementDate      *timestamp.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() *timestamp.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() *timestamp.Timestamp

func (*AssetBond) GetPlacementPrice

func (x *AssetBond) GetPlacementPrice() *Quotation

func (*AssetBond) GetReturnCondition

func (x *AssetBond) GetReturnCondition() string

func (*AssetBond) GetStateRegDate

func (x *AssetBond) GetStateRegDate() *timestamp.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            *timestamp.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 []*timestamp.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() []*timestamp.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() *timestamp.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     *timestamp.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   *timestamp.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() *timestamp.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() *timestamp.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"`                                         //Массив связанных инструментов.
	// 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) GetInstrumentType

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

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"` //Тип ценной бумаги.
	// 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) 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            *timestamp.Timestamp `protobuf:"bytes,8,opt,name=ipo_date,json=ipoDate,proto3" json:"ipo_date,omitempty"`                                    //Дата IPO.
	RegistryDate       *timestamp.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      *timestamp.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() *timestamp.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() *timestamp.Timestamp

func (*AssetShare) GetPreferredShareType

func (x *AssetShare) GetPreferredShareType() string

func (*AssetShare) GetPrimaryIndex

func (x *AssetShare) GetPrimaryIndex() string

func (*AssetShare) GetRegistryDate

func (x *AssetShare) GetRegistryDate() *timestamp.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  *timestamp.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 *timestamp.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() *timestamp.Timestamp

func (*AssetStructuredProduct) GetNominal

func (x *AssetStructuredProduct) GetNominal() *Quotation

func (*AssetStructuredProduct) GetNominalCurrency

func (x *AssetStructuredProduct) GetNominalCurrency() string

func (*AssetStructuredProduct) GetPlacementDate

func (x *AssetStructuredProduct) GetPlacementDate() *timestamp.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 {
	// contains filtered or unexported fields
}

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

func (*AssetsRequest) Descriptor deprecated

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

Deprecated: Use AssetsRequest.ProtoReflect.Descriptor instead.

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://tinkoff.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"`                                                   //Коэффициент ставки риска длинной позиции по инструменту.
	Kshort                *Quotation `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                 //Коэффициент ставки риска короткой позиции по инструменту.
	Dlong                 *Quotation `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"`                                                   //Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	Dshort                *Quotation `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"`                                                //Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	DlongMin              *Quotation `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"`                            //Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	DshortMin             *Quotation `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                         //Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	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"`                                            //Торговая площадка.
	CouponQuantityPerYear int32      ``                                                                                                                  //Количество выплат по купонам в год.
	/* 130-byte string literal not displayed */
	MaturityDate      *timestamp.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"`                                                  //Номинал облигации.
	StateRegDate      *timestamp.Timestamp  `protobuf:"bytes,21,opt,name=state_reg_date,json=stateRegDate,proto3" json:"state_reg_date,omitempty"`                  //Дата выпуска облигации в часовом поясе UTC.
	PlacementDate     *timestamp.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"`                                    //Признак внебиржевой ценной бумаги.
	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 */
	// 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) GetBuyAvailableFlag

func (x *Bond) GetBuyAvailableFlag() bool

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

func (x *Bond) GetDlong() *Quotation

func (*Bond) GetDlongMin

func (x *Bond) GetDlongMin() *Quotation

func (*Bond) GetDshort

func (x *Bond) GetDshort() *Quotation

func (*Bond) GetDshortMin

func (x *Bond) GetDshortMin() *Quotation

func (*Bond) GetExchange

func (x *Bond) GetExchange() string

func (*Bond) GetFigi

func (x *Bond) GetFigi() string

func (*Bond) GetFloatingCouponFlag

func (x *Bond) GetFloatingCouponFlag() bool

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) GetLot

func (x *Bond) GetLot() int32

func (*Bond) GetMaturityDate

func (x *Bond) GetMaturityDate() *timestamp.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() *timestamp.Timestamp

func (*Bond) GetPlacementPrice

func (x *Bond) GetPlacementPrice() *MoneyValue

func (*Bond) GetRealExchange

func (x *Bond) GetRealExchange() RealExchange

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() *timestamp.Timestamp

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) 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 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 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              *timestamp.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        *timestamp.Timestamp `protobuf:"bytes,21,opt,name=clear_value_date,json=clearValueDate,proto3" json:"clear_value_date,omitempty"` //Дата расчётов в часовом поясе UTC.
	SecValueDate          *timestamp.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() *timestamp.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() *timestamp.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() *timestamp.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"`       //Идентификатор заявки.
	// 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) 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 *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` //Дата и время отмены заявки в часовом поясе UTC.
	// contains filtered or unexported fields
}

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

func (*CancelOrderResponse) Descriptor deprecated

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

Deprecated: Use CancelOrderResponse.ProtoReflect.Descriptor instead.

func (*CancelOrderResponse) GetTime

func (x *CancelOrderResponse) GetTime() *timestamp.Timestamp

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 *timestamp.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 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	High        *Quotation           `protobuf:"bytes,4,opt,name=high,proto3" json:"high,omitempty"`                                    //Максимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Low         *Quotation           `protobuf:"bytes,5,opt,name=low,proto3" json:"low,omitempty"`                                      //Минимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Close       *Quotation           `protobuf:"bytes,6,opt,name=close,proto3" json:"close,omitempty"`                                  //Цена закрытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Volume      int64                `protobuf:"varint,7,opt,name=volume,proto3" json:"volume,omitempty"`                               //Объём сделок в лотах.
	Time        *timestamp.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"`                                    //Время начала интервала свечи в часовом поясе UTC.
	LastTradeTs *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_trade_ts,json=lastTradeTs,proto3" json:"last_trade_ts,omitempty"` //Время последней сделки, вошедшей в свечу в часовом поясе UTC.
	// contains filtered or unexported fields
}

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

func (*Candle) Descriptor deprecated

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

Deprecated: Use Candle.ProtoReflect.Descriptor instead.

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) GetInterval

func (x *Candle) GetInterval() SubscriptionInterval

func (*Candle) GetLastTradeTs

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

func (*Candle) GetLow

func (x *Candle) GetLow() *Quotation

func (*Candle) GetOpen

func (x *Candle) GetOpen() *Quotation

func (*Candle) GetTime

func (x *Candle) GetTime() *timestamp.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 {
	Figi     string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	Interval SubscriptionInterval ``                                                              //Интервал свечей.
	/* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*CandleInstrument) Descriptor deprecated

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

Deprecated: Use CandleInstrument.ProtoReflect.Descriptor instead.

func (*CandleInstrument) GetFigi

func (x *CandleInstrument) GetFigi() 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 минута.
	CandleInterval_CANDLE_INTERVAL_5_MIN       CandleInterval = 2 //5 минут.
	CandleInterval_CANDLE_INTERVAL_15_MIN      CandleInterval = 3 //15 минут.
	CandleInterval_CANDLE_INTERVAL_HOUR        CandleInterval = 4 //1 час.
	CandleInterval_CANDLE_INTERVAL_DAY         CandleInterval = 5 //1 день.
)

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 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 */
	// contains filtered or unexported fields
}

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

func (*CandleSubscription) Descriptor deprecated

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

Deprecated: Use CandleSubscription.ProtoReflect.Descriptor instead.

func (*CandleSubscription) GetFigi

func (x *CandleSubscription) GetFigi() string

func (*CandleSubscription) GetInterval

func (x *CandleSubscription) GetInterval() SubscriptionInterval

func (*CandleSubscription) GetSubscriptionStatus

func (x *CandleSubscription) GetSubscriptionStatus() SubscriptionStatus

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 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 Coupon

type Coupon struct {
	Figi         string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                                      //Figi-идентификатор инструмента.
	CouponDate   *timestamp.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      *timestamp.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 *timestamp.Timestamp `protobuf:"bytes,7,opt,name=coupon_start_date,json=couponStartDate,proto3" json:"coupon_start_date,omitempty"` //Начало купонного периода.
	CouponEndDate   *timestamp.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() *timestamp.Timestamp

func (*Coupon) GetCouponEndDate

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

func (*Coupon) GetCouponNumber

func (x *Coupon) GetCouponNumber() int64

func (*Coupon) GetCouponPeriod

func (x *Coupon) GetCouponPeriod() int32

func (*Coupon) GetCouponStartDate

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

func (*Coupon) GetCouponType

func (x *Coupon) GetCouponType() CouponType

func (*Coupon) GetFigi

func (x *Coupon) GetFigi() string

func (*Coupon) GetFixDate

func (x *Coupon) GetFixDate() *timestamp.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://tinkoff.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"`                                                       //Коэффициент ставки риска длинной позиции по инструменту.
	Kshort            *Quotation            `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                     //Коэффициент ставки риска короткой позиции по инструменту.
	Dlong             *Quotation            `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"`                                                       //Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	Dshort            *Quotation            `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"`                                                    //Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	DlongMin          *Quotation            `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"`                                //Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	DshortMin         *Quotation            `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	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"`                                                //Торговая площадка.
	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"`                                 //Признак внебиржевой ценной бумаги.
	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 */
	// 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) 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

func (x *Currency) GetDlong() *Quotation

func (*Currency) GetDlongMin

func (x *Currency) GetDlongMin() *Quotation

func (*Currency) GetDshort

func (x *Currency) GetDshort() *Quotation

func (*Currency) GetDshortMin

func (x *Currency) GetDshortMin() *Quotation

func (*Currency) GetExchange

func (x *Currency) GetExchange() string

func (*Currency) GetFigi

func (x *Currency) GetFigi() string

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) 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) 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  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"`    //Дата фактических выплат в часовом поясе UTC.
	DeclaredDate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=declared_date,json=declaredDate,proto3" json:"declared_date,omitempty"` //Дата объявления дивидендов в часовом поясе UTC.
	LastBuyDate  *timestamp.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   *timestamp.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    *timestamp.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() *timestamp.Timestamp

func (*Dividend) GetDeclaredDate

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

func (*Dividend) GetDividendNet

func (x *Dividend) GetDividendNet() *MoneyValue

func (*Dividend) GetDividendType

func (x *Dividend) GetDividendType() string

func (*Dividend) GetLastBuyDate

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

func (*Dividend) GetPaymentDate

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

func (*Dividend) GetRecordDate

func (x *Dividend) GetRecordDate() *timestamp.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         *timestamp.Timestamp `protobuf:"bytes,1,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"`                         //Дата фиксации реестра.
	PaymentDate        *timestamp.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() *timestamp.Timestamp

func (*DividendsForeignIssuerReport) GetQuantity

func (x *DividendsForeignIssuerReport) GetQuantity() int64

func (*DividendsForeignIssuerReport) GetRecordDate

func (x *DividendsForeignIssuerReport) GetRecordDate() *timestamp.Timestamp

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 {
	Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	// contains filtered or unexported fields
}

Избранный инструмент для редактирования.

func (*EditFavoritesRequestInstrument) Descriptor deprecated

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

Deprecated: Use EditFavoritesRequestInstrument.ProtoReflect.Descriptor instead.

func (*EditFavoritesRequestInstrument) GetFigi

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 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://tinkoff.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"`                                                       //Коэффициент ставки риска длинной позиции по инструменту.
	Kshort            *Quotation            `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                     //Коэффициент ставки риска короткой позиции по инструменту.
	Dlong             *Quotation            `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"`                                                       //Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	Dshort            *Quotation            `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"`                                                    //Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	DlongMin          *Quotation            `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"`                                //Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	DshortMin         *Quotation            `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	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"`                                                //Торговая площадка.
	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      *timestamp.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"`                                 //Признак внебиржевой ценной бумаги.
	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 */
	// 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) 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

func (x *Etf) GetDlong() *Quotation

func (*Etf) GetDlongMin

func (x *Etf) GetDlongMin() *Quotation

func (*Etf) GetDshort

func (x *Etf) GetDshort() *Quotation

func (*Etf) GetDshortMin

func (x *Etf) GetDshortMin() *Quotation

func (*Etf) GetExchange

func (x *Etf) GetExchange() string

func (*Etf) GetFigi

func (x *Etf) GetFigi() string

func (*Etf) GetFixedCommission

func (x *Etf) GetFixedCommission() *Quotation

func (*Etf) GetFocusType

func (x *Etf) GetFocusType() string

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) 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) GetRealExchange

func (x *Etf) GetRealExchange() RealExchange

func (*Etf) GetRebalancingFreq

func (x *Etf) GetRebalancingFreq() string

func (*Etf) GetReleasedDate

func (x *Etf) GetReleasedDate() *timestamp.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) 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 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"` //Тип инструмента.
	OtcFlag               bool   `protobuf:"varint,16,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"`                     //Признак внебиржевой ценной бумаги.
	ApiTradeAvailableFlag bool   ``                                                                                                         //Признак доступности торгов через API.
	/* 130-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) GetInstrumentType

func (x *FavoriteInstrument) GetInstrumentType() string

func (*FavoriteInstrument) GetIsin

func (x *FavoriteInstrument) GetIsin() string

func (*FavoriteInstrument) GetOtcFlag

func (x *FavoriteInstrument) GetOtcFlag() bool

func (*FavoriteInstrument) GetTicker

func (x *FavoriteInstrument) GetTicker() 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 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://tinkoff.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"`                                                       //Коэффициент ставки риска длинной позиции по клиенту.
	Kshort            *Quotation            `protobuf:"bytes,7,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                     //Коэффициент ставки риска короткой позиции по клиенту.
	Dlong             *Quotation            `protobuf:"bytes,8,opt,name=dlong,proto3" json:"dlong,omitempty"`                                                       //Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	Dshort            *Quotation            `protobuf:"bytes,9,opt,name=dshort,proto3" json:"dshort,omitempty"`                                                     //Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	DlongMin          *Quotation            `protobuf:"bytes,10,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"`                                //Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	DshortMin         *Quotation            `protobuf:"bytes,11,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	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"`                                                //Торговая площадка.
	FirstTradeDate    *timestamp.Timestamp  `protobuf:"bytes,15,opt,name=first_trade_date,json=firstTradeDate,proto3" json:"first_trade_date,omitempty"`            //Дата начала обращения контракта в часовом поясе UTC.
	LastTradeDate     *timestamp.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    *timestamp.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"`                                 //Признак внебиржевой ценной бумаги.
	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 */
	// 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) GetBasicAssetSize

func (x *Future) GetBasicAssetSize() *Quotation

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

func (x *Future) GetDlong() *Quotation

func (*Future) GetDlongMin

func (x *Future) GetDlongMin() *Quotation

func (*Future) GetDshort

func (x *Future) GetDshort() *Quotation

func (*Future) GetDshortMin

func (x *Future) GetDshortMin() *Quotation

func (*Future) GetExchange

func (x *Future) GetExchange() string

func (*Future) GetExpirationDate

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

func (*Future) GetFigi

func (x *Future) GetFigi() string

func (*Future) GetFirstTradeDate

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

func (*Future) GetFuturesType

func (x *Future) GetFuturesType() string

func (*Future) GetKlong

func (x *Future) GetKlong() *Quotation

func (*Future) GetKshort

func (x *Future) GetKshort() *Quotation

func (*Future) GetLastTradeDate

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

func (*Future) GetLot

func (x *Future) GetLot() int32

func (*Future) GetMinPriceIncrement

func (x *Future) GetMinPriceIncrement() *Quotation

func (*Future) GetName

func (x *Future) GetName() string

func (*Future) GetOtcFlag

func (x *Future) GetOtcFlag() bool

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) 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      *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                            //Начало периода в часовом поясе UTC.
	To        *timestamp.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      *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                            //Начало периода (по UTC).
	To        *timestamp.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 {
	// contains filtered or unexported fields
}

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

func (*GetAccountsRequest) Descriptor deprecated

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

Deprecated: Use GetAccountsRequest.ProtoReflect.Descriptor instead.

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 {
	Figi string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	From *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC.
	To   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`     //Окончание запрашиваемого периода в часовом поясе UTC.
	// contains filtered or unexported fields
}

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

func (*GetAccruedInterestsRequest) Descriptor deprecated

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

Deprecated: Use GetAccruedInterestsRequest.ProtoReflect.Descriptor instead.

func (*GetAccruedInterestsRequest) GetFigi

func (x *GetAccruedInterestsRequest) GetFigi() string

func (*GetAccruedInterestsRequest) GetFrom

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 GetBondCouponsRequest

type GetBondCouponsRequest struct {
	Figi string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	From *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. Фильтрация по coupon_date (дата выплаты купона)
	To   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`     //Окончание запрашиваемого периода в часовом поясе UTC. Фильтрация по coupon_date (дата выплаты купона)
	// contains filtered or unexported fields
}

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

func (*GetBondCouponsRequest) Descriptor deprecated

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

Deprecated: Use GetBondCouponsRequest.ProtoReflect.Descriptor instead.

func (*GetBondCouponsRequest) GetFigi

func (x *GetBondCouponsRequest) GetFigi() string

func (*GetBondCouponsRequest) GetFrom

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 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" 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 {
	Figi     string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	From     *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC.
	To       *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`     //Окончание запрашиваемого периода в часовом поясе UTC.
	Interval CandleInterval       ``                                                              //Интервал запрошенных свечей.
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*GetCandlesRequest) Descriptor deprecated

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

Deprecated: Use GetCandlesRequest.ProtoReflect.Descriptor instead.

func (*GetCandlesRequest) GetFigi

func (x *GetCandlesRequest) GetFigi() string

func (*GetCandlesRequest) GetFrom

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

func (*GetCandlesRequest) GetInterval

func (x *GetCandlesRequest) GetInterval() CandleInterval

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 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 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" 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 {
	Figi string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	From *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. Фильтрация происходит по параметру *record_date* (дата фиксации реестра).
	To   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`     //Окончание запрашиваемого периода в часовом поясе UTC. Фильтрация происходит по параметру *record_date* (дата фиксации реестра).
	// contains filtered or unexported fields
}

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

func (*GetDividendsRequest) Descriptor deprecated

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

Deprecated: Use GetDividendsRequest.ProtoReflect.Descriptor instead.

func (*GetDividendsRequest) GetFigi

func (x *GetDividendsRequest) GetFigi() string

func (*GetDividendsRequest) GetFrom

func (x *GetDividendsRequest) GetFrom() *timestamp.Timestamp

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 GetFuturesMarginRequest

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

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

func (*GetFuturesMarginRequest) Descriptor deprecated

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

Deprecated: Use GetFuturesMarginRequest.ProtoReflect.Descriptor instead.

func (*GetFuturesMarginRequest) GetFigi

func (x *GetFuturesMarginRequest) GetFigi() 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"` //Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь.
	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 {
	Figi []string `protobuf:"bytes,1,rep,name=figi,proto3" json:"figi,omitempty"` //Массив figi-идентификаторов инструментов.
	// contains filtered or unexported fields
}

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

func (*GetLastPricesRequest) Descriptor deprecated

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

Deprecated: Use GetLastPricesRequest.ProtoReflect.Descriptor instead.

func (*GetLastPricesRequest) GetFigi

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

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 {
	Figi string               `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента
	From *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC.
	To   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`     //Окончание запрашиваемого периода в часовом поясе UTC.
	// contains filtered or unexported fields
}

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

func (*GetLastTradesRequest) Descriptor deprecated

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

Deprecated: Use GetLastTradesRequest.ProtoReflect.Descriptor instead.

func (*GetLastTradesRequest) GetFigi

func (x *GetLastTradesRequest) GetFigi() string

func (*GetLastTradesRequest) GetFrom

func (*GetLastTradesRequest) GetTo

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.tinkoff.ru/margin-trade/short/liquid-portfolio/).
	LiquidPortfolio *MoneyValue `protobuf:"bytes,1,opt,name=liquid_portfolio,json=liquidPortfolio,proto3" json:"liquid_portfolio,omitempty"`
	// Начальная маржа — начальное обеспечение для совершения новой сделки. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.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.tinkoff.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"`
	// 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) 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 GetOrderBookRequest

type GetOrderBookRequest 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"` //Глубина стакана.
	// 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

func (x *GetOrderBookRequest) GetFigi() 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 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	ClosePrice *Quotation `protobuf:"bytes,6,opt,name=close_price,json=closePrice,proto3" json:"close_price,omitempty"` //Цена закрытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	LimitUp    *Quotation `protobuf:"bytes,7,opt,name=limit_up,json=limitUp,proto3" json:"limit_up,omitempty"`          //Верхний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	LimitDown  *Quotation `protobuf:"bytes,8,opt,name=limit_down,json=limitDown,proto3" json:"limit_down,omitempty"`    //Нижний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	// 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) GetDepth

func (x *GetOrderBookResponse) GetDepth() int32

func (*GetOrderBookResponse) GetFigi

func (x *GetOrderBookResponse) GetFigi() string

func (*GetOrderBookResponse) GetLastPrice

func (x *GetOrderBookResponse) GetLastPrice() *Quotation

func (*GetOrderBookResponse) GetLimitDown

func (x *GetOrderBookResponse) GetLimitDown() *Quotation

func (*GetOrderBookResponse) GetLimitUp

func (x *GetOrderBookResponse) GetLimitUp() *Quotation

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 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"`       //Идентификатор заявки.
	// 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) 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 GetStopOrdersRequest

type GetStopOrdersRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,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) 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 GetTradingStatusRequest

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

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

func (*GetTradingStatusRequest) Descriptor deprecated

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

Deprecated: Use GetTradingStatusRequest.ProtoReflect.Descriptor instead.

func (*GetTradingStatusRequest) GetFigi

func (x *GetTradingStatusRequest) GetFigi() 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 */
	// 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) GetFigi

func (x *GetTradingStatusResponse) GetFigi() string

func (*GetTradingStatusResponse) GetLimitOrderAvailableFlag

func (x *GetTradingStatusResponse) GetLimitOrderAvailableFlag() bool

func (*GetTradingStatusResponse) GetMarketOrderAvailableFlag

func (x *GetTradingStatusResponse) GetMarketOrderAvailableFlag() 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 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 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	High       *Quotation           `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"`                                //Максимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Low        *Quotation           `protobuf:"bytes,3,opt,name=low,proto3" json:"low,omitempty"`                                  //Минимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Close      *Quotation           `protobuf:"bytes,4,opt,name=close,proto3" json:"close,omitempty"`                              //Цена закрытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Volume     int64                `protobuf:"varint,5,opt,name=volume,proto3" json:"volume,omitempty"`                           //Объём торгов в лотах.
	Time       *timestamp.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** значит, свеча за текущие интервал ещё сформирована не полностью.
	// contains filtered or unexported fields
}

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

func (*HistoricCandle) Descriptor deprecated

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

Deprecated: Use HistoricCandle.ProtoReflect.Descriptor instead.

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() *timestamp.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 InfoInstrument

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

Запрос подписки на торговый статус.

func (*InfoInstrument) Descriptor deprecated

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

Deprecated: Use InfoInstrument.ProtoReflect.Descriptor instead.

func (*InfoInstrument) GetFigi

func (x *InfoInstrument) GetFigi() 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 */
	// 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) 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://tinkoff.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"`                                                       //Коэффициент ставки риска длинной позиции по инструменту.
	Kshort            *Quotation            `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                     //Коэффициент ставки риска короткой позиции по инструменту.
	Dlong             *Quotation            `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"`                                                       //Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	Dshort            *Quotation            `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"`                                                    //Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	DlongMin          *Quotation            `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"`                                //Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	DshortMin         *Quotation            `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	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"`                                                //Торговая площадка.
	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"`                                 //Признак внебиржевой ценной бумаги.
	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 */
	// 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) 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

func (x *Instrument) GetDlong() *Quotation

func (*Instrument) GetDlongMin

func (x *Instrument) GetDlongMin() *Quotation

func (*Instrument) GetDshort

func (x *Instrument) GetDshort() *Quotation

func (*Instrument) GetDshortMin

func (x *Instrument) GetDshortMin() *Quotation

func (*Instrument) GetExchange

func (x *Instrument) GetExchange() string

func (*Instrument) GetFigi

func (x *Instrument) GetFigi() string

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) 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) 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 InstrumentIdType

type InstrumentIdType int32

Тип идентификатора инструмента. Подробнее об идентификации инструментов: [Идентификация инструментов](https://tinkoff.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 //Уникальный идентификатор.
)

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://tinkoff.github.io/investAPI/faq_identification/)
	/* 140-byte string literal not displayed */
	ClassCode string `protobuf:"bytes,2,opt,name=class_code,json=classCode,proto3" 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 InstrumentStatus

type InstrumentStatus int32

Статус запрашиваемых инструментов.

const (
	InstrumentStatus_INSTRUMENT_STATUS_UNSPECIFIED InstrumentStatus = 0 //Значение не определено.
	InstrumentStatus_INSTRUMENT_STATUS_BASE        InstrumentStatus = 1 //Базовый список инструментов (по умолчанию). Инструменты доступные для торговли через TINKOFF INVEST 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 InstrumentsRequest

type InstrumentsRequest struct {
	InstrumentStatus InstrumentStatus `` //Статус запрашиваемых инструментов. Возможные значения: [InstrumentStatus](#instrumentstatus)
	/* 170-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) 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)
	//Метод получения валюты по её идентификатору.
	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)
	//Метод получения акции по её идентификатору.
	ShareBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*ShareResponse, error)
	//Метод получения списка акций.
	Shares(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*SharesResponse, 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)
}

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)
	//Метод получения валюты по её идентификатору.
	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)
	//Метод получения акции по её идентификатору.
	ShareBy(context.Context, *InstrumentRequest) (*ShareResponse, error)
	//Метод получения списка акций.
	Shares(context.Context, *InstrumentsRequest) (*SharesResponse, 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)
	// 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"`   //Идентификатор инструмента.
	Price *Quotation           `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` //Последняя цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Time  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`   //Время получения последней цены в часовом поясе UTC по времени биржи.
	// 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) GetPrice

func (x *LastPrice) GetPrice() *Quotation

func (*LastPrice) GetTime

func (x *LastPrice) GetTime() *timestamp.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 {
	Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	// contains filtered or unexported fields
}

Запрос подписки на последнюю цену.

func (*LastPriceInstrument) Descriptor deprecated

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

Deprecated: Use LastPriceInstrument.ProtoReflect.Descriptor instead.

func (*LastPriceInstrument) GetFigi

func (x *LastPriceInstrument) GetFigi() 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 */
	// 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) 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 MarketDataRequest

type MarketDataRequest struct {

	// Types that are assignable to Payload:
	//	*MarketDataRequest_SubscribeCandlesRequest
	//	*MarketDataRequest_SubscribeOrderBookRequest
	//	*MarketDataRequest_SubscribeTradesRequest
	//	*MarketDataRequest_SubscribeInfoRequest
	//	*MarketDataRequest_SubscribeLastPriceRequest
	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) GetPayload

func (m *MarketDataRequest) GetPayload() isMarketDataRequest_Payload

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_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 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)
	//Метод запроса последних обезличенных сделок по инструменту.
	GetLastTrades(ctx context.Context, in *GetLastTradesRequest, opts ...grpc.CallOption) (*GetLastTradesResponse, 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)
	//Метод запроса последних обезличенных сделок по инструменту.
	GetLastTrades(context.Context, *GetLastTradesRequest) (*GetLastTradesResponse, 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 {
	//Bi-directional стрим предоставления биржевой информации.
	MarketDataStream(ctx context.Context, opts ...grpc.CallOption) (MarketDataStreamService_MarketDataStreamClient, 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 {
	//Bi-directional стрим предоставления биржевой информации.
	MarketDataStream(MarketDataStreamService_MarketDataStreamServer) error
	// contains filtered or unexported methods
}

MarketDataStreamServiceServer is the server API for MarketDataStreamService service. All implementations must embed UnimplementedMarketDataStreamServiceServer for forward compatibility

type MarketDataStreamService_MarketDataStreamClient

type MarketDataStreamService_MarketDataStreamClient interface {
	Send(*MarketDataRequest) error
	Recv() (*MarketDataResponse, error)
	grpc.ClientStream
}

type MarketDataStreamService_MarketDataStreamServer

type MarketDataStreamService_MarketDataStreamServer interface {
	Send(*MarketDataResponse) error
	Recv() (*MarketDataRequest, error)
	grpc.ServerStream
}

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 (*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

type OpenSandboxAccountRequest

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

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

func (*OpenSandboxAccountRequest) Descriptor deprecated

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

Deprecated: Use OpenSandboxAccountRequest.ProtoReflect.Descriptor instead.

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>**bond** — облигация; </br>**share** — акция; </br>**currency** — валюта; </br>**etf** — фонд; </br>**futures** — фьючерс.
	Date              *timestamp.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"` //Массив сделок.
	// contains filtered or unexported fields
}

Данные по операции.

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetCurrency

func (x *Operation) GetCurrency() string

func (*Operation) GetDate

func (x *Operation) GetDate() *timestamp.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) GetOperationType

func (x *Operation) GetOperationType() OperationType

func (*Operation) GetParentOperationId

func (x *Operation) GetParentOperationId() string

func (*Operation) GetPayment

func (x *Operation) GetPayment() *MoneyValue

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 OperationState

type OperationState int32

Статус запрашиваемых операций.

const (
	OperationState_OPERATION_STATE_UNSPECIFIED OperationState = 0 //Статус операции не определён
	OperationState_OPERATION_STATE_EXECUTED    OperationState = 1 //Исполнена.
	OperationState_OPERATION_STATE_CANCELED    OperationState = 2 //Отменена.
)

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 *timestamp.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() *timestamp.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 //Корректировка налога по купонам.
)

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      *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`                                                              //Начало периода (по UTC).
	To        *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`                                                                  //Окончание периода (по UTC).
	State     OperationState       `protobuf:"varint,4,opt,name=state,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationState" json:"state,omitempty"` //Статус запрашиваемых операций.
	Figi      string               `protobuf:"bytes,5,opt,name=figi,proto3" 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() *timestamp.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 {
	//Метод получения списка операций по счёту.
	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)
}

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 {
	//Метод получения списка операций по счёту.
	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)
	// contains filtered or unexported methods
}

OperationsServiceServer is the server API for OperationsService service. All implementations must embed UnimplementedOperationsServiceServer for forward compatibility

type Order

type Order struct {
	Price    *Quotation `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`        //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	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         *timestamp.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 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	LimitDown    *Quotation           `protobuf:"bytes,8,opt,name=limit_down,json=limitDown,proto3" json:"limit_down,omitempty"`           //Нижний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	// 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) GetIsConsistent

func (x *OrderBook) GetIsConsistent() bool

func (*OrderBook) GetLimitDown

func (x *OrderBook) GetLimitDown() *Quotation

func (*OrderBook) GetLimitUp

func (x *OrderBook) GetLimitUp() *Quotation

func (*OrderBook) GetTime

func (x *OrderBook) GetTime() *timestamp.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 {
	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"` //Глубина стакана.
	// 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

func (x *OrderBookInstrument) GetFigi() string

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 */
	// 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) 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 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 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"` //Идентификатор торговой операции.
	// contains filtered or unexported fields
}

Сделки в рамках торгового поручения.

func (*OrderStage) Descriptor deprecated

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

Deprecated: Use OrderStage.ProtoReflect.Descriptor instead.

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 *timestamp.Timestamp `protobuf:"bytes,18,opt,name=order_date,json=orderDate,proto3" json:"order_date,omitempty"` //Дата и время выставления заявки в часовом поясе UTC.
	// 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) GetLotsExecuted

func (x *OrderState) GetLotsExecuted() int64

func (*OrderState) GetLotsRequested

func (x *OrderState) GetLotsRequested() int64

func (*OrderState) GetOrderDate

func (x *OrderState) GetOrderDate() *timestamp.Timestamp

func (*OrderState) GetOrderId

func (x *OrderState) GetOrderId() 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 OrderTrade

type OrderTrade struct {
	DateTime *timestamp.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"`                       //Цена одного инструмента, по которой совершена сделка.
	Quantity int64                `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,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() *timestamp.Timestamp

func (*OrderTrade) GetPrice

func (x *OrderTrade) GetPrice() *Quotation

func (*OrderTrade) GetQuantity

func (x *OrderTrade) GetQuantity() int64

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 *timestamp.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"` //Идентификатор счёта.
	// 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() *timestamp.Timestamp

func (*OrderTrades) GetDirection

func (x *OrderTrades) GetDirection() OrderDirection

func (*OrderTrades) GetFigi

func (x *OrderTrades) GetFigi() 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 //Рыночная
)

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)
	//Метод отмены биржевой заявки.
	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)
}

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)
	//Метод отмены биржевой заявки.
	CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
	//Метод получения статуса торгового поручения.
	GetOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
	//Метод получения списка активных заявок по счёту.
	GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, 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) (OrdersStreamService_TradesStreamClient, 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, OrdersStreamService_TradesStreamServer) error
	// contains filtered or unexported methods
}

OrdersStreamServiceServer is the server API for OrdersStreamService service. All implementations must embed UnimplementedOrdersStreamServiceServer for forward compatibility

type OrdersStreamService_TradesStreamClient

type OrdersStreamService_TradesStreamClient interface {
	Recv() (*TradesStreamResponse, error)
	grpc.ClientStream
}

type OrdersStreamService_TradesStreamServer

type OrdersStreamService_TradesStreamServer interface {
	Send(*TradesStreamResponse) error
	grpc.ServerStream
}

type Ping

type Ping struct {

	//Время проверки.
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

Проверка активности стрима.

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetTime

func (x *Ping) GetTime() *timestamp.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 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"`                                 // Текущий НКД.
	AveragePositionPricePt *Quotation  ``                                                                                                                            //Средняя цена лота в позиции в пунктах (для фьючерсов). **Возможна задержка до секунды для пересчёта**.
	/* 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 */
	QuantityLots *Quotation `protobuf:"bytes,10,opt,name=quantity_lots,json=quantityLots,proto3" json:"quantity_lots,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

func (x *PortfolioPosition) GetAveragePositionPricePt() *Quotation

func (*PortfolioPosition) GetCurrentNkd

func (x *PortfolioPosition) GetCurrentNkd() *MoneyValue

func (*PortfolioPosition) GetCurrentPrice

func (x *PortfolioPosition) GetCurrentPrice() *MoneyValue

func (*PortfolioPosition) GetExpectedYield

func (x *PortfolioPosition) GetExpectedYield() *Quotation

func (*PortfolioPosition) GetFigi

func (x *PortfolioPosition) GetFigi() string

func (*PortfolioPosition) GetInstrumentType

func (x *PortfolioPosition) GetInstrumentType() string

func (*PortfolioPosition) GetQuantity

func (x *PortfolioPosition) GetQuantity() *Quotation

func (*PortfolioPosition) GetQuantityLots

func (x *PortfolioPosition) GetQuantityLots() *Quotation

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"` //Идентификатор счёта пользователя.
	// 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) 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 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"`                                               //Список позиций портфеля.
	// contains filtered or unexported fields
}

Текущий портфель по счёту.

func (*PortfolioResponse) Descriptor deprecated

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

Deprecated: Use PortfolioResponse.ProtoReflect.Descriptor instead.

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) GetTotalAmountShares

func (x *PortfolioResponse) GetTotalAmountShares() *MoneyValue

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 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"` //Текущий незаблокированный баланс.
	// 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) 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 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"` //Список фьючерсов портфеля.
	// contains filtered or unexported fields
}

Список позиций по счёту.

func (*PositionsResponse) Descriptor deprecated

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

Deprecated: Use PositionsResponse.ProtoReflect.Descriptor instead.

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) 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"` //Текущий незаблокированный баланс.
	// 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) GetFigi

func (x *PositionsSecurities) GetFigi() 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 PostOrderRequest

type PostOrderRequest struct {
	Figi      string         `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`          //Figi-идентификатор инструмента.
	Quantity  int64          `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов.
	Price     *Quotation     `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`        //Цена одного инструмента. Для получения стоимости лота требуется умножить на лотность инструмента.
	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"` //Идентификатор запроса выставления поручения для целей идемпотентности. Максимальная длина 36 символов.
	// 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

func (x *PostOrderRequest) GetFigi() 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) GetQuantity

func (x *PostOrderRequest) GetQuantity() int64

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://tinkoff.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"` //Начальная цена заявки в пунктах (для фьючерсов).
	// 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) 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) GetOrderType

func (x *PostOrderResponse) GetOrderType() OrderType

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 {
	Figi      string             `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"`                            //Figi-идентификатор инструмента.
	Quantity  int64              `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`                   //Количество лотов.
	Price     *Quotation         `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`                          //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	StopPrice *Quotation         `protobuf:"bytes,4,opt,name=stop_price,json=stopPrice,proto3" 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 *timestamp.Timestamp `protobuf:"bytes,9,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` //Дата и время окончания действия стоп-заявки в часовом поясе UTC. **Для ExpirationType = GoodTillDate заполнение обязательно**.
	// 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) GetExpirationType

func (x *PostStopOrderRequest) GetExpirationType() StopOrderExpirationType

func (*PostStopOrderRequest) GetExpireDate

func (x *PostStopOrderRequest) GetExpireDate() *timestamp.Timestamp

func (*PostStopOrderRequest) GetFigi

func (x *PostStopOrderRequest) GetFigi() string

func (*PostStopOrderRequest) GetPrice

func (x *PostStopOrderRequest) GetPrice() *Quotation

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) 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 PostStopOrderResponse

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

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

func (*PostStopOrderResponse) Descriptor deprecated

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

Deprecated: Use PostStopOrderResponse.ProtoReflect.Descriptor instead.

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 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 (*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

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 //Внебиржевой инструмент.
)

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 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)
	//Метод получения списка активных заявок по счёту в песочнице.
	GetSandboxOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error)
	//Метод отмены торгового поручения в песочнице.
	CancelSandboxOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
	//Метод получения статуса заявки в песочнице.
	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)
	//Метод получения портфолио в песочнице.
	GetSandboxPortfolio(ctx context.Context, in *PortfolioRequest, opts ...grpc.CallOption) (*PortfolioResponse, error)
	//Метод пополнения счёта в песочнице.
	SandboxPayIn(ctx context.Context, in *SandboxPayInRequest, opts ...grpc.CallOption) (*SandboxPayInResponse, 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)
	//Метод получения списка активных заявок по счёту в песочнице.
	GetSandboxOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
	//Метод отмены торгового поручения в песочнице.
	CancelSandboxOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
	//Метод получения статуса заявки в песочнице.
	GetSandboxOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
	//Метод получения позиций по виртуальному счёту песочницы.
	GetSandboxPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
	//Метод получения операций в песочнице по номеру счёта.
	GetSandboxOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
	//Метод получения портфолио в песочнице.
	GetSandboxPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
	//Метод пополнения счёта в песочнице.
	SandboxPayIn(context.Context, *SandboxPayInRequest) (*SandboxPayInResponse, 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://tinkoff.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"`                                                       //Коэффициент ставки риска длинной позиции по инструменту.
	Kshort            *Quotation            `protobuf:"bytes,8,opt,name=kshort,proto3" json:"kshort,omitempty"`                                                     //Коэффициент ставки риска короткой позиции по инструменту.
	Dlong             *Quotation            `protobuf:"bytes,9,opt,name=dlong,proto3" json:"dlong,omitempty"`                                                       //Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	Dshort            *Quotation            `protobuf:"bytes,10,opt,name=dshort,proto3" json:"dshort,omitempty"`                                                    //Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	DlongMin          *Quotation            `protobuf:"bytes,11,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"`                                //Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
	DshortMin         *Quotation            `protobuf:"bytes,12,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"`                             //Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
	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"`                                                //Торговая площадка.
	IpoDate           *timestamp.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"`                                 //Признак внебиржевой ценной бумаги.
	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://tinkoff.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 */
	// 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) 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

func (x *Share) GetDlong() *Quotation

func (*Share) GetDlongMin

func (x *Share) GetDlongMin() *Quotation

func (*Share) GetDshort

func (x *Share) GetDshort() *Quotation

func (*Share) GetDshortMin

func (x *Share) GetDshortMin() *Quotation

func (*Share) GetExchange

func (x *Share) GetExchange() string

func (*Share) GetFigi

func (x *Share) GetFigi() string

func (*Share) GetIpoDate

func (x *Share) GetIpoDate() *timestamp.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) 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) 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) 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 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         *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_date,json=createDate,proto3" json:"create_date,omitempty"`                           //Дата и время выставления заявки в часовом поясе UTC.
	ActivationDateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=activation_date_time,json=activationDateTime,proto3" json:"activation_date_time,omitempty"` //Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
	ExpirationTime     *timestamp.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 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	// 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() *timestamp.Timestamp

func (*StopOrder) GetCreateDate

func (x *StopOrder) GetCreateDate() *timestamp.Timestamp

func (*StopOrder) GetCurrency

func (x *StopOrder) GetCurrency() string

func (*StopOrder) GetDirection

func (x *StopOrder) GetDirection() StopOrderDirection

func (*StopOrder) GetExpirationTime

func (x *StopOrder) GetExpirationTime() *timestamp.Timestamp

func (*StopOrder) GetFigi

func (x *StopOrder) GetFigi() 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) GetStopOrderId

func (x *StopOrder) GetStopOrderId() string

func (*StopOrder) GetStopPrice

func (x *StopOrder) GetStopPrice() *MoneyValue

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 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 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 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-методов
	// 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) 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"` //Массив инструментов для подписки на свечи.
	// contains filtered or unexported fields
}

subscribeCandles | Изменения статуса подписки на свечи.

func (*SubscribeCandlesRequest) Descriptor deprecated

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

Deprecated: Use SubscribeCandlesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeCandlesRequest) GetInstruments

func (x *SubscribeCandlesRequest) GetInstruments() []*CandleInstrument

func (*SubscribeCandlesRequest) GetSubscriptionAction

func (x *SubscribeCandlesRequest) GetSubscriptionAction() SubscriptionAction

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"`                               //Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.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"`                      //Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.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"` //Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.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"` //Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.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"` //Массив инструментов для подписки на поток обезличенных сделок.
	// 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) 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"`                         //Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.github.io/investAPI/grpc#tracking-id).
	TradeSubscriptions []*TradeSubscription `protobuf:"bytes,2,rep,name=trade_subscriptions,json=tradeSubscriptions,proto3" json:"trade_subscriptions,omitempty"` //Массив статусов подписки на поток сделок.
	// 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) 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 //Пятиминутные свечи.
)

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 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 //Некорректный статус подписки, список возможных значений: [SubscriptionAction](https://tinkoff.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 //Некорректный интервал свечей, список возможных значений: [SubscriptionInterval](https://tinkoff.github.io/investAPI/marketdata#subscriptioninterval).
	SubscriptionStatus_SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED              SubscriptionStatus = 6 //Превышен лимит подписок в рамках стрима, подробнее: [Лимитная политика](https://tinkoff.github.io/investAPI/limits/).
	SubscriptionStatus_SUBSCRIPTION_STATUS_INTERNAL_ERROR                 SubscriptionStatus = 7 //Внутренняя ошибка сервиса.
)

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 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 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
	Quantity int64                `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов.
	Time     *timestamp.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`          //Время сделки в часовом поясе UTC по времени биржи.
	// 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) GetPrice

func (x *Trade) GetPrice() *Quotation

func (*Trade) GetQuantity

func (x *Trade) GetQuantity() int64

func (*Trade) GetTime

func (x *Trade) GetTime() *timestamp.Timestamp

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 {
	Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента.
	// contains filtered or unexported fields
}

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

func (*TradeInstrument) Descriptor deprecated

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

Deprecated: Use TradeInstrument.ProtoReflect.Descriptor instead.

func (*TradeInstrument) GetFigi

func (x *TradeInstrument) GetFigi() 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 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 */
	// 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) 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"` //Идентификаторы счетов.
	// 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) 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
	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) 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 TradingDay

type TradingDay struct {
	Date                    *timestamp.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               *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`             // Время начала торгов по часовому поясу UTC.
	EndTime                 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`                   // Время окончания торгов по часовому поясу UTC.
	OpeningAuctionStartTime *timestamp.Timestamp ``                                                                                                     // Время начала аукциона открытия в часовом поясе UTC.
	/* 134-byte string literal not displayed */
	ClosingAuctionEndTime *timestamp.Timestamp `` // Время окончания аукциона закрытия в часовом поясе UTC.
	/* 128-byte string literal not displayed */
	EveningOpeningAuctionStartTime *timestamp.Timestamp `` // Время начала аукциона открытия вечерней сессии в часовом поясе UTC.
	/* 157-byte string literal not displayed */
	EveningStartTime   *timestamp.Timestamp `protobuf:"bytes,10,opt,name=evening_start_time,json=eveningStartTime,proto3" json:"evening_start_time,omitempty"`       // Время начала вечерней сессии в часовом поясе UTC.
	EveningEndTime     *timestamp.Timestamp `protobuf:"bytes,11,opt,name=evening_end_time,json=eveningEndTime,proto3" json:"evening_end_time,omitempty"`             // Время окончания вечерней сессии в часовом поясе UTC.
	ClearingStartTime  *timestamp.Timestamp `protobuf:"bytes,12,opt,name=clearing_start_time,json=clearingStartTime,proto3" json:"clearing_start_time,omitempty"`    // Время начала основного клиринга в часовом поясе UTC.
	ClearingEndTime    *timestamp.Timestamp `protobuf:"bytes,13,opt,name=clearing_end_time,json=clearingEndTime,proto3" json:"clearing_end_time,omitempty"`          // Время окончания основного клиринга в часовом поясе UTC.
	PremarketStartTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=premarket_start_time,json=premarketStartTime,proto3" json:"premarket_start_time,omitempty"` // Время начала премаркета в часовом поясе UTC.
	PremarketEndTime   *timestamp.Timestamp `protobuf:"bytes,15,opt,name=premarket_end_time,json=premarketEndTime,proto3" json:"premarket_end_time,omitempty"`       // Время окончания премаркета в часовом поясе UTC.
	// 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() *timestamp.Timestamp

func (*TradingDay) GetClearingStartTime

func (x *TradingDay) GetClearingStartTime() *timestamp.Timestamp

func (*TradingDay) GetClosingAuctionEndTime

func (x *TradingDay) GetClosingAuctionEndTime() *timestamp.Timestamp

func (*TradingDay) GetDate

func (x *TradingDay) GetDate() *timestamp.Timestamp

func (*TradingDay) GetEndTime

func (x *TradingDay) GetEndTime() *timestamp.Timestamp

func (*TradingDay) GetEveningEndTime

func (x *TradingDay) GetEveningEndTime() *timestamp.Timestamp

func (*TradingDay) GetEveningOpeningAuctionStartTime

func (x *TradingDay) GetEveningOpeningAuctionStartTime() *timestamp.Timestamp

func (*TradingDay) GetEveningStartTime

func (x *TradingDay) GetEveningStartTime() *timestamp.Timestamp

func (*TradingDay) GetIsTradingDay

func (x *TradingDay) GetIsTradingDay() bool

func (*TradingDay) GetOpeningAuctionStartTime

func (x *TradingDay) GetOpeningAuctionStartTime() *timestamp.Timestamp

func (*TradingDay) GetPremarketEndTime

func (x *TradingDay) GetPremarketEndTime() *timestamp.Timestamp

func (*TradingDay) GetPremarketStartTime

func (x *TradingDay) GetPremarketStartTime() *timestamp.Timestamp

func (*TradingDay) GetStartTime

func (x *TradingDay) GetStartTime() *timestamp.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 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" json:"exchange,omitempty"` //Наименование биржи или расчетного календаря. </br>Если не передаётся, возвращается информация по всем доступным торговым площадкам.
	From     *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`         //Начало периода по часовому поясу UTC.
	To       *timestamp.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" 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                    *timestamp.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 */
	// 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) GetLimitOrderAvailableFlag

func (x *TradingStatus) GetLimitOrderAvailableFlag() bool

func (*TradingStatus) GetMarketOrderAvailableFlag

func (x *TradingStatus) GetMarketOrderAvailableFlag() bool

func (*TradingStatus) GetTime

func (x *TradingStatus) GetTime() *timestamp.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 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.

func (UnimplementedInstrumentsServiceServer) BondBy

func (UnimplementedInstrumentsServiceServer) Bonds

func (UnimplementedInstrumentsServiceServer) Currencies

func (UnimplementedInstrumentsServiceServer) CurrencyBy

func (UnimplementedInstrumentsServiceServer) EditFavorites

func (UnimplementedInstrumentsServiceServer) EtfBy

func (UnimplementedInstrumentsServiceServer) Etfs

func (UnimplementedInstrumentsServiceServer) FutureBy

func (UnimplementedInstrumentsServiceServer) Futures

func (UnimplementedInstrumentsServiceServer) GetAccruedInterests

func (UnimplementedInstrumentsServiceServer) GetAssetBy

func (UnimplementedInstrumentsServiceServer) GetAssets

func (UnimplementedInstrumentsServiceServer) GetBondCoupons

func (UnimplementedInstrumentsServiceServer) GetDividends

func (UnimplementedInstrumentsServiceServer) GetFavorites

func (UnimplementedInstrumentsServiceServer) GetFuturesMargin

func (UnimplementedInstrumentsServiceServer) GetInstrumentBy

func (UnimplementedInstrumentsServiceServer) ShareBy

func (UnimplementedInstrumentsServiceServer) Shares

func (UnimplementedInstrumentsServiceServer) TradingSchedules

type UnimplementedMarketDataServiceServer

type UnimplementedMarketDataServiceServer struct {
}

UnimplementedMarketDataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMarketDataServiceServer) GetCandles

func (UnimplementedMarketDataServiceServer) GetLastPrices

func (UnimplementedMarketDataServiceServer) GetLastTrades

func (UnimplementedMarketDataServiceServer) GetOrderBook

func (UnimplementedMarketDataServiceServer) GetTradingStatus

type UnimplementedMarketDataStreamServiceServer

type UnimplementedMarketDataStreamServiceServer struct {
}

UnimplementedMarketDataStreamServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMarketDataStreamServiceServer) MarketDataStream

type UnimplementedOperationsServiceServer

type UnimplementedOperationsServiceServer struct {
}

UnimplementedOperationsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOperationsServiceServer) GetBrokerReport

func (UnimplementedOperationsServiceServer) GetOperations

func (UnimplementedOperationsServiceServer) GetPortfolio

func (UnimplementedOperationsServiceServer) GetPositions

func (UnimplementedOperationsServiceServer) GetWithdrawLimits

type UnimplementedOrdersServiceServer

type UnimplementedOrdersServiceServer struct {
}

UnimplementedOrdersServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrdersServiceServer) CancelOrder

func (UnimplementedOrdersServiceServer) GetOrderState

func (UnimplementedOrdersServiceServer) GetOrders

func (UnimplementedOrdersServiceServer) PostOrder

type UnimplementedOrdersStreamServiceServer

type UnimplementedOrdersStreamServiceServer struct {
}

UnimplementedOrdersStreamServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrdersStreamServiceServer) TradesStream

type UnimplementedSandboxServiceServer

type UnimplementedSandboxServiceServer struct {
}

UnimplementedSandboxServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSandboxServiceServer) CancelSandboxOrder

func (UnimplementedSandboxServiceServer) CloseSandboxAccount

func (UnimplementedSandboxServiceServer) GetSandboxAccounts

func (UnimplementedSandboxServiceServer) GetSandboxOperations

func (UnimplementedSandboxServiceServer) GetSandboxOrderState

func (UnimplementedSandboxServiceServer) GetSandboxOrders

func (UnimplementedSandboxServiceServer) GetSandboxPortfolio

func (UnimplementedSandboxServiceServer) GetSandboxPositions

func (UnimplementedSandboxServiceServer) OpenSandboxAccount

func (UnimplementedSandboxServiceServer) PostSandboxOrder

func (UnimplementedSandboxServiceServer) SandboxPayIn

type UnimplementedStopOrdersServiceServer

type UnimplementedStopOrdersServiceServer struct {
}

UnimplementedStopOrdersServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStopOrdersServiceServer) CancelStopOrder

func (UnimplementedStopOrdersServiceServer) GetStopOrders

func (UnimplementedStopOrdersServiceServer) PostStopOrder

type UnimplementedUsersServiceServer

type UnimplementedUsersServiceServer struct {
}

UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.

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 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 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 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