Documentation ¶
Index ¶
- Variables
- func RegisterInstrumentsServiceServer(s grpc.ServiceRegistrar, srv InstrumentsServiceServer)
- func RegisterMarketDataServiceServer(s grpc.ServiceRegistrar, srv MarketDataServiceServer)
- func RegisterMarketDataStreamServiceServer(s grpc.ServiceRegistrar, srv MarketDataStreamServiceServer)
- func RegisterOperationsServiceServer(s grpc.ServiceRegistrar, srv OperationsServiceServer)
- func RegisterOperationsStreamServiceServer(s grpc.ServiceRegistrar, srv OperationsStreamServiceServer)
- func RegisterOrdersServiceServer(s grpc.ServiceRegistrar, srv OrdersServiceServer)
- func RegisterOrdersStreamServiceServer(s grpc.ServiceRegistrar, srv OrdersStreamServiceServer)
- func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)
- func RegisterStopOrdersServiceServer(s grpc.ServiceRegistrar, srv StopOrdersServiceServer)
- func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
- type AccessLevel
- func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AccessLevel) Enum() *AccessLevel
- func (AccessLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessLevel) Number() protoreflect.EnumNumber
- func (x AccessLevel) String() string
- func (AccessLevel) Type() protoreflect.EnumType
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccessLevel() AccessLevel
- func (x *Account) GetClosedDate() *timestamppb.Timestamp
- func (x *Account) GetId() string
- func (x *Account) GetName() string
- func (x *Account) GetOpenedDate() *timestamppb.Timestamp
- func (x *Account) GetStatus() AccountStatus
- func (x *Account) GetType() AccountType
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountStatus
- func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AccountStatus) Enum() *AccountStatus
- func (AccountStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountStatus) Number() protoreflect.EnumNumber
- func (x AccountStatus) String() string
- func (AccountStatus) Type() protoreflect.EnumType
- type AccountSubscriptionStatus
- func (*AccountSubscriptionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *AccountSubscriptionStatus) GetAccountId() string
- func (x *AccountSubscriptionStatus) GetSubscriptionStatus() PortfolioSubscriptionStatus
- func (*AccountSubscriptionStatus) ProtoMessage()
- func (x *AccountSubscriptionStatus) ProtoReflect() protoreflect.Message
- func (x *AccountSubscriptionStatus) Reset()
- func (x *AccountSubscriptionStatus) String() string
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type AccruedInterest
- func (*AccruedInterest) Descriptor() ([]byte, []int)deprecated
- func (x *AccruedInterest) GetDate() *timestamppb.Timestamp
- func (x *AccruedInterest) GetNominal() *Quotation
- func (x *AccruedInterest) GetValue() *Quotation
- func (x *AccruedInterest) GetValuePercent() *Quotation
- func (*AccruedInterest) ProtoMessage()
- func (x *AccruedInterest) ProtoReflect() protoreflect.Message
- func (x *AccruedInterest) Reset()
- func (x *AccruedInterest) String() string
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (x *Asset) GetInstruments() []*AssetInstrument
- func (x *Asset) GetName() string
- func (x *Asset) GetType() AssetType
- func (x *Asset) GetUid() string
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (x *Asset) String() string
- type AssetBond
- func (*AssetBond) Descriptor() ([]byte, []int)deprecated
- func (x *AssetBond) GetAmortizationFlag() bool
- func (x *AssetBond) GetBorrowName() string
- func (x *AssetBond) GetCollateralFlag() bool
- func (x *AssetBond) GetCouponQuantityPerYear() int32
- func (x *AssetBond) GetCurrentNominal() *Quotation
- func (x *AssetBond) GetFloatingCouponFlag() bool
- func (x *AssetBond) GetIndexedNominalFlag() bool
- func (x *AssetBond) GetInterestKind() string
- func (x *AssetBond) GetIssueKind() string
- func (x *AssetBond) GetIssueSize() *Quotation
- func (x *AssetBond) GetIssueSizePlan() *Quotation
- func (x *AssetBond) GetMaturityDate() *timestamppb.Timestamp
- func (x *AssetBond) GetNominal() *Quotation
- func (x *AssetBond) GetNominalCurrency() string
- func (x *AssetBond) GetPerpetualFlag() bool
- func (x *AssetBond) GetPlacementDate() *timestamppb.Timestamp
- func (x *AssetBond) GetPlacementPrice() *Quotation
- func (x *AssetBond) GetReturnCondition() string
- func (x *AssetBond) GetStateRegDate() *timestamppb.Timestamp
- func (x *AssetBond) GetSubordinatedFlag() bool
- func (x *AssetBond) GetTaxFreeFlag() bool
- func (*AssetBond) ProtoMessage()
- func (x *AssetBond) ProtoReflect() protoreflect.Message
- func (x *AssetBond) Reset()
- func (x *AssetBond) String() string
- type AssetClearingCertificate
- func (*AssetClearingCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *AssetClearingCertificate) GetNominal() *Quotation
- func (x *AssetClearingCertificate) GetNominalCurrency() string
- func (*AssetClearingCertificate) ProtoMessage()
- func (x *AssetClearingCertificate) ProtoReflect() protoreflect.Message
- func (x *AssetClearingCertificate) Reset()
- func (x *AssetClearingCertificate) String() string
- type AssetCurrency
- type AssetEtf
- func (*AssetEtf) Descriptor() ([]byte, []int)deprecated
- func (x *AssetEtf) GetBuyPremium() *Quotation
- func (x *AssetEtf) GetDescription() string
- func (x *AssetEtf) GetDivYieldFlag() bool
- func (x *AssetEtf) GetExpenseCommission() *Quotation
- func (x *AssetEtf) GetFixedCommission() *Quotation
- func (x *AssetEtf) GetFocusType() string
- func (x *AssetEtf) GetHurdleRate() *Quotation
- func (x *AssetEtf) GetInavCode() string
- func (x *AssetEtf) GetIndexRecoveryPeriod() *Quotation
- func (x *AssetEtf) GetIssueKind() string
- func (x *AssetEtf) GetLeveragedFlag() bool
- func (x *AssetEtf) GetManagementType() string
- func (x *AssetEtf) GetNominal() *Quotation
- func (x *AssetEtf) GetNominalCurrency() string
- func (x *AssetEtf) GetNumShare() *Quotation
- func (x *AssetEtf) GetPaymentType() string
- func (x *AssetEtf) GetPerformanceFee() *Quotation
- func (x *AssetEtf) GetPrimaryIndex() string
- func (x *AssetEtf) GetPrimaryIndexCompany() string
- func (x *AssetEtf) GetPrimaryIndexDescription() string
- func (x *AssetEtf) GetPrimaryIndexTrackingError() *Quotation
- func (x *AssetEtf) GetRebalancingDates() []*timestamppb.Timestamp
- func (x *AssetEtf) GetRebalancingFlag() bool
- func (x *AssetEtf) GetRebalancingFreq() string
- func (x *AssetEtf) GetRebalancingPlan() string
- func (x *AssetEtf) GetReleasedDate() *timestamppb.Timestamp
- func (x *AssetEtf) GetSellDiscount() *Quotation
- func (x *AssetEtf) GetTaxRate() string
- func (x *AssetEtf) GetTotalExpense() *Quotation
- func (x *AssetEtf) GetUcitsFlag() bool
- func (x *AssetEtf) GetWatermarkFlag() bool
- func (*AssetEtf) ProtoMessage()
- func (x *AssetEtf) ProtoReflect() protoreflect.Message
- func (x *AssetEtf) Reset()
- func (x *AssetEtf) String() string
- type AssetFull
- func (*AssetFull) Descriptor() ([]byte, []int)deprecated
- func (x *AssetFull) GetBrCode() string
- func (x *AssetFull) GetBrCodeName() string
- func (x *AssetFull) GetBrand() *Brand
- func (x *AssetFull) GetCfi() string
- func (x *AssetFull) GetCodeNsd() string
- func (x *AssetFull) GetCurrency() *AssetCurrency
- func (x *AssetFull) GetDeletedAt() *timestamppb.Timestamp
- func (x *AssetFull) GetDescription() string
- func (m *AssetFull) GetExt() isAssetFull_Ext
- func (x *AssetFull) GetGosRegCode() string
- func (x *AssetFull) GetInstruments() []*AssetInstrument
- func (x *AssetFull) GetName() string
- func (x *AssetFull) GetNameBrief() string
- func (x *AssetFull) GetRequiredTests() []string
- func (x *AssetFull) GetSecurity() *AssetSecurity
- func (x *AssetFull) GetStatus() string
- func (x *AssetFull) GetType() AssetType
- func (x *AssetFull) GetUid() string
- func (x *AssetFull) GetUpdatedAt() *timestamppb.Timestamp
- func (*AssetFull) ProtoMessage()
- func (x *AssetFull) ProtoReflect() protoreflect.Message
- func (x *AssetFull) Reset()
- func (x *AssetFull) String() string
- type AssetFull_Currency
- type AssetFull_Security
- type AssetInstrument
- func (*AssetInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *AssetInstrument) GetClassCode() string
- func (x *AssetInstrument) GetFigi() string
- func (x *AssetInstrument) GetInstrumentKind() InstrumentType
- func (x *AssetInstrument) GetInstrumentType() string
- func (x *AssetInstrument) GetLinks() []*InstrumentLink
- func (x *AssetInstrument) GetPositionUid() string
- func (x *AssetInstrument) GetTicker() string
- func (x *AssetInstrument) GetUid() string
- func (*AssetInstrument) ProtoMessage()
- func (x *AssetInstrument) ProtoReflect() protoreflect.Message
- func (x *AssetInstrument) Reset()
- func (x *AssetInstrument) String() string
- type AssetRequest
- type AssetResponse
- type AssetSecurity
- func (*AssetSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *AssetSecurity) GetBond() *AssetBond
- func (x *AssetSecurity) GetClearingCertificate() *AssetClearingCertificate
- func (x *AssetSecurity) GetEtf() *AssetEtf
- func (m *AssetSecurity) GetExt() isAssetSecurity_Ext
- func (x *AssetSecurity) GetInstrumentKind() InstrumentType
- func (x *AssetSecurity) GetIsin() string
- func (x *AssetSecurity) GetShare() *AssetShare
- func (x *AssetSecurity) GetSp() *AssetStructuredProduct
- func (x *AssetSecurity) GetType() string
- func (*AssetSecurity) ProtoMessage()
- func (x *AssetSecurity) ProtoReflect() protoreflect.Message
- func (x *AssetSecurity) Reset()
- func (x *AssetSecurity) String() string
- type AssetSecurity_Bond
- type AssetSecurity_ClearingCertificate
- type AssetSecurity_Etf
- type AssetSecurity_Share
- type AssetSecurity_Sp
- type AssetShare
- func (*AssetShare) Descriptor() ([]byte, []int)deprecated
- func (x *AssetShare) GetDivYieldFlag() bool
- func (x *AssetShare) GetDividendRate() *Quotation
- func (x *AssetShare) GetIpoDate() *timestamppb.Timestamp
- func (x *AssetShare) GetIssueKind() string
- func (x *AssetShare) GetIssueSize() *Quotation
- func (x *AssetShare) GetIssueSizePlan() *Quotation
- func (x *AssetShare) GetNominal() *Quotation
- func (x *AssetShare) GetNominalCurrency() string
- func (x *AssetShare) GetPlacementDate() *timestamppb.Timestamp
- func (x *AssetShare) GetPreferredShareType() string
- func (x *AssetShare) GetPrimaryIndex() string
- func (x *AssetShare) GetRegistryDate() *timestamppb.Timestamp
- func (x *AssetShare) GetRepresIsin() string
- func (x *AssetShare) GetTotalFloat() *Quotation
- func (x *AssetShare) GetType() ShareType
- func (*AssetShare) ProtoMessage()
- func (x *AssetShare) ProtoReflect() protoreflect.Message
- func (x *AssetShare) Reset()
- func (x *AssetShare) String() string
- type AssetStructuredProduct
- func (*AssetStructuredProduct) Descriptor() ([]byte, []int)deprecated
- func (x *AssetStructuredProduct) GetAssetType() AssetType
- func (x *AssetStructuredProduct) GetBasicAsset() string
- func (x *AssetStructuredProduct) GetBorrowName() string
- func (x *AssetStructuredProduct) GetIssueKind() string
- func (x *AssetStructuredProduct) GetIssueSize() *Quotation
- func (x *AssetStructuredProduct) GetIssueSizePlan() *Quotation
- func (x *AssetStructuredProduct) GetLogicPortfolio() string
- func (x *AssetStructuredProduct) GetMaturityDate() *timestamppb.Timestamp
- func (x *AssetStructuredProduct) GetNominal() *Quotation
- func (x *AssetStructuredProduct) GetNominalCurrency() string
- func (x *AssetStructuredProduct) GetPlacementDate() *timestamppb.Timestamp
- func (x *AssetStructuredProduct) GetSafetyBarrier() *Quotation
- func (x *AssetStructuredProduct) GetType() StructuredProductType
- func (*AssetStructuredProduct) ProtoMessage()
- func (x *AssetStructuredProduct) ProtoReflect() protoreflect.Message
- func (x *AssetStructuredProduct) Reset()
- func (x *AssetStructuredProduct) String() string
- type AssetType
- type AssetsRequest
- type AssetsResponse
- type Bond
- func (*Bond) Descriptor() ([]byte, []int)deprecated
- func (x *Bond) GetAciValue() *MoneyValue
- func (x *Bond) GetAmortizationFlag() bool
- func (x *Bond) GetApiTradeAvailableFlag() bool
- func (x *Bond) GetBlockedTcaFlag() bool
- func (x *Bond) GetBuyAvailableFlag() bool
- func (x *Bond) GetClassCode() string
- func (x *Bond) GetCountryOfRisk() string
- func (x *Bond) GetCountryOfRiskName() string
- func (x *Bond) GetCouponQuantityPerYear() int32
- func (x *Bond) GetCurrency() string
- func (x *Bond) GetDlong() *Quotation
- func (x *Bond) GetDlongMin() *Quotation
- func (x *Bond) GetDshort() *Quotation
- func (x *Bond) GetDshortMin() *Quotation
- func (x *Bond) GetExchange() string
- func (x *Bond) GetFigi() string
- func (x *Bond) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Bond) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Bond) GetFloatingCouponFlag() bool
- func (x *Bond) GetForIisFlag() bool
- func (x *Bond) GetForQualInvestorFlag() bool
- func (x *Bond) GetInitialNominal() *MoneyValue
- func (x *Bond) GetIsin() string
- func (x *Bond) GetIssueKind() string
- func (x *Bond) GetIssueSize() int64
- func (x *Bond) GetIssueSizePlan() int64
- func (x *Bond) GetKlong() *Quotation
- func (x *Bond) GetKshort() *Quotation
- func (x *Bond) GetLiquidityFlag() bool
- func (x *Bond) GetLot() int32
- func (x *Bond) GetMaturityDate() *timestamppb.Timestamp
- func (x *Bond) GetMinPriceIncrement() *Quotation
- func (x *Bond) GetName() string
- func (x *Bond) GetNominal() *MoneyValue
- func (x *Bond) GetOtcFlag() bool
- func (x *Bond) GetPerpetualFlag() bool
- func (x *Bond) GetPlacementDate() *timestamppb.Timestamp
- func (x *Bond) GetPlacementPrice() *MoneyValue
- func (x *Bond) GetPositionUid() string
- func (x *Bond) GetRealExchange() RealExchange
- func (x *Bond) GetRiskLevel() RiskLevel
- func (x *Bond) GetSector() string
- func (x *Bond) GetSellAvailableFlag() bool
- func (x *Bond) GetShortEnabledFlag() bool
- func (x *Bond) GetStateRegDate() *timestamppb.Timestamp
- func (x *Bond) GetSubordinatedFlag() bool
- func (x *Bond) GetTicker() string
- func (x *Bond) GetTradingStatus() SecurityTradingStatus
- func (x *Bond) GetUid() string
- func (x *Bond) GetWeekendFlag() bool
- func (*Bond) ProtoMessage()
- func (x *Bond) ProtoReflect() protoreflect.Message
- func (x *Bond) Reset()
- func (x *Bond) String() string
- type BondResponse
- type BondsResponse
- type Brand
- func (*Brand) Descriptor() ([]byte, []int)deprecated
- func (x *Brand) GetCompany() string
- func (x *Brand) GetCountryOfRisk() string
- func (x *Brand) GetCountryOfRiskName() string
- func (x *Brand) GetDescription() string
- func (x *Brand) GetInfo() string
- func (x *Brand) GetName() string
- func (x *Brand) GetSector() string
- func (x *Brand) GetUid() string
- func (*Brand) ProtoMessage()
- func (x *Brand) ProtoReflect() protoreflect.Message
- func (x *Brand) Reset()
- func (x *Brand) String() string
- type BrokerReport
- func (*BrokerReport) Descriptor() ([]byte, []int)deprecated
- func (x *BrokerReport) GetAciValue() *Quotation
- func (x *BrokerReport) GetBrokerCommission() *MoneyValue
- func (x *BrokerReport) GetBrokerStatus() string
- func (x *BrokerReport) GetClassCode() string
- func (x *BrokerReport) GetClearValueDate() *timestamppb.Timestamp
- func (x *BrokerReport) GetDeliveryType() string
- func (x *BrokerReport) GetDirection() string
- func (x *BrokerReport) GetExchange() string
- func (x *BrokerReport) GetExchangeClearingCommission() *MoneyValue
- func (x *BrokerReport) GetExchangeCommission() *MoneyValue
- func (x *BrokerReport) GetExecuteSign() string
- func (x *BrokerReport) GetFigi() string
- func (x *BrokerReport) GetName() string
- func (x *BrokerReport) GetOrderAmount() *MoneyValue
- func (x *BrokerReport) GetOrderId() string
- func (x *BrokerReport) GetParty() string
- func (x *BrokerReport) GetPrice() *MoneyValue
- func (x *BrokerReport) GetQuantity() int64
- func (x *BrokerReport) GetRepoRate() *Quotation
- func (x *BrokerReport) GetSecValueDate() *timestamppb.Timestamp
- func (x *BrokerReport) GetSeparateAgreementDate() string
- func (x *BrokerReport) GetSeparateAgreementNumber() string
- func (x *BrokerReport) GetSeparateAgreementType() string
- func (x *BrokerReport) GetTicker() string
- func (x *BrokerReport) GetTotalOrderAmount() *MoneyValue
- func (x *BrokerReport) GetTradeDatetime() *timestamppb.Timestamp
- func (x *BrokerReport) GetTradeId() string
- func (*BrokerReport) ProtoMessage()
- func (x *BrokerReport) ProtoReflect() protoreflect.Message
- func (x *BrokerReport) Reset()
- func (x *BrokerReport) String() string
- type BrokerReportRequest
- func (*BrokerReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BrokerReportRequest) GetGenerateBrokerReportRequest() *GenerateBrokerReportRequest
- func (x *BrokerReportRequest) GetGetBrokerReportRequest() *GetBrokerReportRequest
- func (m *BrokerReportRequest) GetPayload() isBrokerReportRequest_Payload
- func (*BrokerReportRequest) ProtoMessage()
- func (x *BrokerReportRequest) ProtoReflect() protoreflect.Message
- func (x *BrokerReportRequest) Reset()
- func (x *BrokerReportRequest) String() string
- type BrokerReportRequest_GenerateBrokerReportRequest
- type BrokerReportRequest_GetBrokerReportRequest
- type BrokerReportResponse
- func (*BrokerReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BrokerReportResponse) GetGenerateBrokerReportResponse() *GenerateBrokerReportResponse
- func (x *BrokerReportResponse) GetGetBrokerReportResponse() *GetBrokerReportResponse
- func (m *BrokerReportResponse) GetPayload() isBrokerReportResponse_Payload
- func (*BrokerReportResponse) ProtoMessage()
- func (x *BrokerReportResponse) ProtoReflect() protoreflect.Message
- func (x *BrokerReportResponse) Reset()
- func (x *BrokerReportResponse) String() string
- type BrokerReportResponse_GenerateBrokerReportResponse
- type BrokerReportResponse_GetBrokerReportResponse
- type CancelOrderRequest
- func (*CancelOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOrderRequest) GetAccountId() string
- func (x *CancelOrderRequest) GetOrderId() string
- func (*CancelOrderRequest) ProtoMessage()
- func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message
- func (x *CancelOrderRequest) Reset()
- func (x *CancelOrderRequest) String() string
- type CancelOrderResponse
- func (*CancelOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOrderResponse) GetTime() *timestamppb.Timestamp
- func (*CancelOrderResponse) ProtoMessage()
- func (x *CancelOrderResponse) ProtoReflect() protoreflect.Message
- func (x *CancelOrderResponse) Reset()
- func (x *CancelOrderResponse) String() string
- type CancelStopOrderRequest
- func (*CancelStopOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelStopOrderRequest) GetAccountId() string
- func (x *CancelStopOrderRequest) GetStopOrderId() string
- func (*CancelStopOrderRequest) ProtoMessage()
- func (x *CancelStopOrderRequest) ProtoReflect() protoreflect.Message
- func (x *CancelStopOrderRequest) Reset()
- func (x *CancelStopOrderRequest) String() string
- type CancelStopOrderResponse
- func (*CancelStopOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelStopOrderResponse) GetTime() *timestamppb.Timestamp
- func (*CancelStopOrderResponse) ProtoMessage()
- func (x *CancelStopOrderResponse) ProtoReflect() protoreflect.Message
- func (x *CancelStopOrderResponse) Reset()
- func (x *CancelStopOrderResponse) String() string
- type Candle
- func (*Candle) Descriptor() ([]byte, []int)deprecated
- func (x *Candle) GetClose() *Quotation
- func (x *Candle) GetFigi() string
- func (x *Candle) GetHigh() *Quotation
- func (x *Candle) GetInstrumentUid() string
- func (x *Candle) GetInterval() SubscriptionInterval
- func (x *Candle) GetLastTradeTs() *timestamppb.Timestamp
- func (x *Candle) GetLow() *Quotation
- func (x *Candle) GetOpen() *Quotation
- func (x *Candle) GetTime() *timestamppb.Timestamp
- func (x *Candle) GetVolume() int64
- func (*Candle) ProtoMessage()
- func (x *Candle) ProtoReflect() protoreflect.Message
- func (x *Candle) Reset()
- func (x *Candle) String() string
- type CandleInstrument
- func (*CandleInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *CandleInstrument) GetFigi() stringdeprecated
- func (x *CandleInstrument) GetInstrumentId() string
- func (x *CandleInstrument) GetInterval() SubscriptionInterval
- func (*CandleInstrument) ProtoMessage()
- func (x *CandleInstrument) ProtoReflect() protoreflect.Message
- func (x *CandleInstrument) Reset()
- func (x *CandleInstrument) String() string
- type CandleInterval
- func (CandleInterval) Descriptor() protoreflect.EnumDescriptor
- func (x CandleInterval) Enum() *CandleInterval
- func (CandleInterval) EnumDescriptor() ([]byte, []int)deprecated
- func (x CandleInterval) Number() protoreflect.EnumNumber
- func (x CandleInterval) String() string
- func (CandleInterval) Type() protoreflect.EnumType
- type CandleSubscription
- func (*CandleSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *CandleSubscription) GetFigi() string
- func (x *CandleSubscription) GetInstrumentUid() string
- func (x *CandleSubscription) GetInterval() SubscriptionInterval
- func (x *CandleSubscription) GetSubscriptionStatus() SubscriptionStatus
- func (*CandleSubscription) ProtoMessage()
- func (x *CandleSubscription) ProtoReflect() protoreflect.Message
- func (x *CandleSubscription) Reset()
- func (x *CandleSubscription) String() string
- type CloseSandboxAccountRequest
- func (*CloseSandboxAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSandboxAccountRequest) GetAccountId() string
- func (*CloseSandboxAccountRequest) ProtoMessage()
- func (x *CloseSandboxAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CloseSandboxAccountRequest) Reset()
- func (x *CloseSandboxAccountRequest) String() string
- type CloseSandboxAccountResponse
- type CountryResponse
- func (*CountryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountryResponse) GetAlfaThree() string
- func (x *CountryResponse) GetAlfaTwo() string
- func (x *CountryResponse) GetName() string
- func (x *CountryResponse) GetNameBrief() string
- func (*CountryResponse) ProtoMessage()
- func (x *CountryResponse) ProtoReflect() protoreflect.Message
- func (x *CountryResponse) Reset()
- func (x *CountryResponse) String() string
- type Coupon
- func (*Coupon) Descriptor() ([]byte, []int)deprecated
- func (x *Coupon) GetCouponDate() *timestamppb.Timestamp
- func (x *Coupon) GetCouponEndDate() *timestamppb.Timestamp
- func (x *Coupon) GetCouponNumber() int64
- func (x *Coupon) GetCouponPeriod() int32
- func (x *Coupon) GetCouponStartDate() *timestamppb.Timestamp
- func (x *Coupon) GetCouponType() CouponType
- func (x *Coupon) GetFigi() string
- func (x *Coupon) GetFixDate() *timestamppb.Timestamp
- func (x *Coupon) GetPayOneBond() *MoneyValue
- func (*Coupon) ProtoMessage()
- func (x *Coupon) ProtoReflect() protoreflect.Message
- func (x *Coupon) Reset()
- func (x *Coupon) String() string
- type CouponType
- type CurrenciesResponse
- func (*CurrenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrenciesResponse) GetInstruments() []*Currency
- func (*CurrenciesResponse) ProtoMessage()
- func (x *CurrenciesResponse) ProtoReflect() protoreflect.Message
- func (x *CurrenciesResponse) Reset()
- func (x *CurrenciesResponse) String() string
- type Currency
- func (*Currency) Descriptor() ([]byte, []int)deprecated
- func (x *Currency) GetApiTradeAvailableFlag() bool
- func (x *Currency) GetBlockedTcaFlag() bool
- func (x *Currency) GetBuyAvailableFlag() bool
- func (x *Currency) GetClassCode() string
- func (x *Currency) GetCountryOfRisk() string
- func (x *Currency) GetCountryOfRiskName() string
- func (x *Currency) GetCurrency() string
- func (x *Currency) GetDlong() *Quotation
- func (x *Currency) GetDlongMin() *Quotation
- func (x *Currency) GetDshort() *Quotation
- func (x *Currency) GetDshortMin() *Quotation
- func (x *Currency) GetExchange() string
- func (x *Currency) GetFigi() string
- func (x *Currency) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Currency) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Currency) GetForIisFlag() bool
- func (x *Currency) GetForQualInvestorFlag() bool
- func (x *Currency) GetIsin() string
- func (x *Currency) GetIsoCurrencyName() string
- func (x *Currency) GetKlong() *Quotation
- func (x *Currency) GetKshort() *Quotation
- func (x *Currency) GetLot() int32
- func (x *Currency) GetMinPriceIncrement() *Quotation
- func (x *Currency) GetName() string
- func (x *Currency) GetNominal() *MoneyValue
- func (x *Currency) GetOtcFlag() bool
- func (x *Currency) GetPositionUid() string
- func (x *Currency) GetRealExchange() RealExchange
- func (x *Currency) GetSellAvailableFlag() bool
- func (x *Currency) GetShortEnabledFlag() bool
- func (x *Currency) GetTicker() string
- func (x *Currency) GetTradingStatus() SecurityTradingStatus
- func (x *Currency) GetUid() string
- func (x *Currency) GetWeekendFlag() bool
- func (*Currency) ProtoMessage()
- func (x *Currency) ProtoReflect() protoreflect.Message
- func (x *Currency) Reset()
- func (x *Currency) String() string
- type CurrencyResponse
- type Dividend
- func (*Dividend) Descriptor() ([]byte, []int)deprecated
- func (x *Dividend) GetClosePrice() *MoneyValue
- func (x *Dividend) GetCreatedAt() *timestamppb.Timestamp
- func (x *Dividend) GetDeclaredDate() *timestamppb.Timestamp
- func (x *Dividend) GetDividendNet() *MoneyValue
- func (x *Dividend) GetDividendType() string
- func (x *Dividend) GetLastBuyDate() *timestamppb.Timestamp
- func (x *Dividend) GetPaymentDate() *timestamppb.Timestamp
- func (x *Dividend) GetRecordDate() *timestamppb.Timestamp
- func (x *Dividend) GetRegularity() string
- func (x *Dividend) GetYieldValue() *Quotation
- func (*Dividend) ProtoMessage()
- func (x *Dividend) ProtoReflect() protoreflect.Message
- func (x *Dividend) Reset()
- func (x *Dividend) String() string
- type DividendsForeignIssuerReport
- func (*DividendsForeignIssuerReport) Descriptor() ([]byte, []int)deprecated
- func (x *DividendsForeignIssuerReport) GetCurrency() string
- func (x *DividendsForeignIssuerReport) GetDividend() *Quotation
- func (x *DividendsForeignIssuerReport) GetDividendAmount() *Quotation
- func (x *DividendsForeignIssuerReport) GetDividendGross() *Quotation
- func (x *DividendsForeignIssuerReport) GetExternalCommission() *Quotation
- func (x *DividendsForeignIssuerReport) GetIsin() string
- func (x *DividendsForeignIssuerReport) GetIssuerCountry() string
- func (x *DividendsForeignIssuerReport) GetPaymentDate() *timestamppb.Timestamp
- func (x *DividendsForeignIssuerReport) GetQuantity() int64
- func (x *DividendsForeignIssuerReport) GetRecordDate() *timestamppb.Timestamp
- func (x *DividendsForeignIssuerReport) GetSecurityName() string
- func (x *DividendsForeignIssuerReport) GetTax() *Quotation
- func (*DividendsForeignIssuerReport) ProtoMessage()
- func (x *DividendsForeignIssuerReport) ProtoReflect() protoreflect.Message
- func (x *DividendsForeignIssuerReport) Reset()
- func (x *DividendsForeignIssuerReport) String() string
- type EditFavoritesActionType
- func (EditFavoritesActionType) Descriptor() protoreflect.EnumDescriptor
- func (x EditFavoritesActionType) Enum() *EditFavoritesActionType
- func (EditFavoritesActionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EditFavoritesActionType) Number() protoreflect.EnumNumber
- func (x EditFavoritesActionType) String() string
- func (EditFavoritesActionType) Type() protoreflect.EnumType
- type EditFavoritesRequest
- func (*EditFavoritesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditFavoritesRequest) GetActionType() EditFavoritesActionType
- func (x *EditFavoritesRequest) GetInstruments() []*EditFavoritesRequestInstrument
- func (*EditFavoritesRequest) ProtoMessage()
- func (x *EditFavoritesRequest) ProtoReflect() protoreflect.Message
- func (x *EditFavoritesRequest) Reset()
- func (x *EditFavoritesRequest) String() string
- type EditFavoritesRequestInstrument
- func (*EditFavoritesRequestInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *EditFavoritesRequestInstrument) GetFigi() string
- func (*EditFavoritesRequestInstrument) ProtoMessage()
- func (x *EditFavoritesRequestInstrument) ProtoReflect() protoreflect.Message
- func (x *EditFavoritesRequestInstrument) Reset()
- func (x *EditFavoritesRequestInstrument) String() string
- type EditFavoritesResponse
- func (*EditFavoritesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditFavoritesResponse) GetFavoriteInstruments() []*FavoriteInstrument
- func (*EditFavoritesResponse) ProtoMessage()
- func (x *EditFavoritesResponse) ProtoReflect() protoreflect.Message
- func (x *EditFavoritesResponse) Reset()
- func (x *EditFavoritesResponse) String() string
- type Etf
- func (*Etf) Descriptor() ([]byte, []int)deprecated
- func (x *Etf) GetApiTradeAvailableFlag() bool
- func (x *Etf) GetBlockedTcaFlag() bool
- func (x *Etf) GetBuyAvailableFlag() bool
- func (x *Etf) GetClassCode() string
- func (x *Etf) GetCountryOfRisk() string
- func (x *Etf) GetCountryOfRiskName() string
- func (x *Etf) GetCurrency() string
- func (x *Etf) GetDlong() *Quotation
- func (x *Etf) GetDlongMin() *Quotation
- func (x *Etf) GetDshort() *Quotation
- func (x *Etf) GetDshortMin() *Quotation
- func (x *Etf) GetExchange() string
- func (x *Etf) GetFigi() string
- func (x *Etf) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Etf) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Etf) GetFixedCommission() *Quotation
- func (x *Etf) GetFocusType() string
- func (x *Etf) GetForIisFlag() bool
- func (x *Etf) GetForQualInvestorFlag() bool
- func (x *Etf) GetIsin() string
- func (x *Etf) GetKlong() *Quotation
- func (x *Etf) GetKshort() *Quotation
- func (x *Etf) GetLiquidityFlag() bool
- func (x *Etf) GetLot() int32
- func (x *Etf) GetMinPriceIncrement() *Quotation
- func (x *Etf) GetName() string
- func (x *Etf) GetNumShares() *Quotation
- func (x *Etf) GetOtcFlag() bool
- func (x *Etf) GetPositionUid() string
- func (x *Etf) GetRealExchange() RealExchange
- func (x *Etf) GetRebalancingFreq() string
- func (x *Etf) GetReleasedDate() *timestamppb.Timestamp
- func (x *Etf) GetSector() string
- func (x *Etf) GetSellAvailableFlag() bool
- func (x *Etf) GetShortEnabledFlag() bool
- func (x *Etf) GetTicker() string
- func (x *Etf) GetTradingStatus() SecurityTradingStatus
- func (x *Etf) GetUid() string
- func (x *Etf) GetWeekendFlag() bool
- func (*Etf) ProtoMessage()
- func (x *Etf) ProtoReflect() protoreflect.Message
- func (x *Etf) Reset()
- func (x *Etf) String() string
- type EtfResponse
- type EtfsResponse
- type FavoriteInstrument
- func (*FavoriteInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *FavoriteInstrument) GetApiTradeAvailableFlag() bool
- func (x *FavoriteInstrument) GetClassCode() string
- func (x *FavoriteInstrument) GetFigi() string
- func (x *FavoriteInstrument) GetInstrumentKind() InstrumentType
- func (x *FavoriteInstrument) GetInstrumentType() string
- func (x *FavoriteInstrument) GetIsin() string
- func (x *FavoriteInstrument) GetOtcFlag() bool
- func (x *FavoriteInstrument) GetTicker() string
- func (*FavoriteInstrument) ProtoMessage()
- func (x *FavoriteInstrument) ProtoReflect() protoreflect.Message
- func (x *FavoriteInstrument) Reset()
- func (x *FavoriteInstrument) String() string
- type FilterOptionsRequest
- func (*FilterOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterOptionsRequest) GetBasicAssetPositionUid() string
- func (x *FilterOptionsRequest) GetBasicAssetUid() string
- func (*FilterOptionsRequest) ProtoMessage()
- func (x *FilterOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *FilterOptionsRequest) Reset()
- func (x *FilterOptionsRequest) String() string
- type FindInstrumentRequest
- func (*FindInstrumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindInstrumentRequest) GetApiTradeAvailableFlag() bool
- func (x *FindInstrumentRequest) GetInstrumentKind() InstrumentType
- func (x *FindInstrumentRequest) GetQuery() string
- func (*FindInstrumentRequest) ProtoMessage()
- func (x *FindInstrumentRequest) ProtoReflect() protoreflect.Message
- func (x *FindInstrumentRequest) Reset()
- func (x *FindInstrumentRequest) String() string
- type FindInstrumentResponse
- func (*FindInstrumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindInstrumentResponse) GetInstruments() []*InstrumentShort
- func (*FindInstrumentResponse) ProtoMessage()
- func (x *FindInstrumentResponse) ProtoReflect() protoreflect.Message
- func (x *FindInstrumentResponse) Reset()
- func (x *FindInstrumentResponse) String() string
- type Future
- func (*Future) Descriptor() ([]byte, []int)deprecated
- func (x *Future) GetApiTradeAvailableFlag() bool
- func (x *Future) GetAssetType() string
- func (x *Future) GetBasicAsset() string
- func (x *Future) GetBasicAssetPositionUid() string
- func (x *Future) GetBasicAssetSize() *Quotation
- func (x *Future) GetBlockedTcaFlag() bool
- func (x *Future) GetBuyAvailableFlag() bool
- func (x *Future) GetClassCode() string
- func (x *Future) GetCountryOfRisk() string
- func (x *Future) GetCountryOfRiskName() string
- func (x *Future) GetCurrency() string
- func (x *Future) GetDlong() *Quotation
- func (x *Future) GetDlongMin() *Quotation
- func (x *Future) GetDshort() *Quotation
- func (x *Future) GetDshortMin() *Quotation
- func (x *Future) GetExchange() string
- func (x *Future) GetExpirationDate() *timestamppb.Timestamp
- func (x *Future) GetFigi() string
- func (x *Future) GetFirstTradeDate() *timestamppb.Timestamp
- func (x *Future) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Future) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Future) GetForIisFlag() bool
- func (x *Future) GetForQualInvestorFlag() bool
- func (x *Future) GetFuturesType() string
- func (x *Future) GetKlong() *Quotation
- func (x *Future) GetKshort() *Quotation
- func (x *Future) GetLastTradeDate() *timestamppb.Timestamp
- func (x *Future) GetLot() int32
- func (x *Future) GetMinPriceIncrement() *Quotation
- func (x *Future) GetName() string
- func (x *Future) GetOtcFlag() bool
- func (x *Future) GetPositionUid() string
- func (x *Future) GetRealExchange() RealExchange
- func (x *Future) GetSector() string
- func (x *Future) GetSellAvailableFlag() bool
- func (x *Future) GetShortEnabledFlag() bool
- func (x *Future) GetTicker() string
- func (x *Future) GetTradingStatus() SecurityTradingStatus
- func (x *Future) GetUid() string
- func (x *Future) GetWeekendFlag() bool
- func (*Future) ProtoMessage()
- func (x *Future) ProtoReflect() protoreflect.Message
- func (x *Future) Reset()
- func (x *Future) String() string
- type FutureResponse
- type FuturesResponse
- type GenerateBrokerReportRequest
- func (*GenerateBrokerReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateBrokerReportRequest) GetAccountId() string
- func (x *GenerateBrokerReportRequest) GetFrom() *timestamppb.Timestamp
- func (x *GenerateBrokerReportRequest) GetTo() *timestamppb.Timestamp
- func (*GenerateBrokerReportRequest) ProtoMessage()
- func (x *GenerateBrokerReportRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateBrokerReportRequest) Reset()
- func (x *GenerateBrokerReportRequest) String() string
- type GenerateBrokerReportResponse
- func (*GenerateBrokerReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateBrokerReportResponse) GetTaskId() string
- func (*GenerateBrokerReportResponse) ProtoMessage()
- func (x *GenerateBrokerReportResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateBrokerReportResponse) Reset()
- func (x *GenerateBrokerReportResponse) String() string
- type GenerateDividendsForeignIssuerReportRequest
- func (*GenerateDividendsForeignIssuerReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateDividendsForeignIssuerReportRequest) GetAccountId() string
- func (x *GenerateDividendsForeignIssuerReportRequest) GetFrom() *timestamppb.Timestamp
- func (x *GenerateDividendsForeignIssuerReportRequest) GetTo() *timestamppb.Timestamp
- func (*GenerateDividendsForeignIssuerReportRequest) ProtoMessage()
- func (x *GenerateDividendsForeignIssuerReportRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateDividendsForeignIssuerReportRequest) Reset()
- func (x *GenerateDividendsForeignIssuerReportRequest) String() string
- type GenerateDividendsForeignIssuerReportResponse
- func (*GenerateDividendsForeignIssuerReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateDividendsForeignIssuerReportResponse) GetTaskId() string
- func (*GenerateDividendsForeignIssuerReportResponse) ProtoMessage()
- func (x *GenerateDividendsForeignIssuerReportResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateDividendsForeignIssuerReportResponse) Reset()
- func (x *GenerateDividendsForeignIssuerReportResponse) String() string
- type GetAccountsRequest
- type GetAccountsResponse
- func (*GetAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountsResponse) GetAccounts() []*Account
- func (*GetAccountsResponse) ProtoMessage()
- func (x *GetAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountsResponse) Reset()
- func (x *GetAccountsResponse) String() string
- type GetAccruedInterestsRequest
- func (*GetAccruedInterestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccruedInterestsRequest) GetFigi() string
- func (x *GetAccruedInterestsRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetAccruedInterestsRequest) GetTo() *timestamppb.Timestamp
- func (*GetAccruedInterestsRequest) ProtoMessage()
- func (x *GetAccruedInterestsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccruedInterestsRequest) Reset()
- func (x *GetAccruedInterestsRequest) String() string
- type GetAccruedInterestsResponse
- func (*GetAccruedInterestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccruedInterestsResponse) GetAccruedInterests() []*AccruedInterest
- func (*GetAccruedInterestsResponse) ProtoMessage()
- func (x *GetAccruedInterestsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccruedInterestsResponse) Reset()
- func (x *GetAccruedInterestsResponse) String() string
- type GetBondCouponsRequest
- func (*GetBondCouponsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBondCouponsRequest) GetFigi() string
- func (x *GetBondCouponsRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetBondCouponsRequest) GetTo() *timestamppb.Timestamp
- func (*GetBondCouponsRequest) ProtoMessage()
- func (x *GetBondCouponsRequest) ProtoReflect() protoreflect.Message
- func (x *GetBondCouponsRequest) Reset()
- func (x *GetBondCouponsRequest) String() string
- type GetBondCouponsResponse
- func (*GetBondCouponsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBondCouponsResponse) GetEvents() []*Coupon
- func (*GetBondCouponsResponse) ProtoMessage()
- func (x *GetBondCouponsResponse) ProtoReflect() protoreflect.Message
- func (x *GetBondCouponsResponse) Reset()
- func (x *GetBondCouponsResponse) String() string
- type GetBrandRequest
- type GetBrandsRequest
- type GetBrandsResponse
- type GetBrokerReportRequest
- func (*GetBrokerReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBrokerReportRequest) GetPage() int32
- func (x *GetBrokerReportRequest) GetTaskId() string
- func (*GetBrokerReportRequest) ProtoMessage()
- func (x *GetBrokerReportRequest) ProtoReflect() protoreflect.Message
- func (x *GetBrokerReportRequest) Reset()
- func (x *GetBrokerReportRequest) String() string
- type GetBrokerReportResponse
- func (*GetBrokerReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBrokerReportResponse) GetBrokerReport() []*BrokerReport
- func (x *GetBrokerReportResponse) GetItemsCount() int32
- func (x *GetBrokerReportResponse) GetPage() int32
- func (x *GetBrokerReportResponse) GetPagesCount() int32
- func (*GetBrokerReportResponse) ProtoMessage()
- func (x *GetBrokerReportResponse) ProtoReflect() protoreflect.Message
- func (x *GetBrokerReportResponse) Reset()
- func (x *GetBrokerReportResponse) String() string
- type GetCandlesRequest
- func (*GetCandlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCandlesRequest) GetFigi() stringdeprecated
- func (x *GetCandlesRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetCandlesRequest) GetInstrumentId() string
- func (x *GetCandlesRequest) GetInterval() CandleInterval
- func (x *GetCandlesRequest) GetTo() *timestamppb.Timestamp
- func (*GetCandlesRequest) ProtoMessage()
- func (x *GetCandlesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCandlesRequest) Reset()
- func (x *GetCandlesRequest) String() string
- type GetCandlesResponse
- func (*GetCandlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCandlesResponse) GetCandles() []*HistoricCandle
- func (*GetCandlesResponse) ProtoMessage()
- func (x *GetCandlesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCandlesResponse) Reset()
- func (x *GetCandlesResponse) String() string
- type GetClosePricesRequest
- func (*GetClosePricesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClosePricesRequest) GetInstruments() []*InstrumentClosePriceRequest
- func (*GetClosePricesRequest) ProtoMessage()
- func (x *GetClosePricesRequest) ProtoReflect() protoreflect.Message
- func (x *GetClosePricesRequest) Reset()
- func (x *GetClosePricesRequest) String() string
- type GetClosePricesResponse
- func (*GetClosePricesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClosePricesResponse) GetClosePrices() []*InstrumentClosePriceResponse
- func (*GetClosePricesResponse) ProtoMessage()
- func (x *GetClosePricesResponse) ProtoReflect() protoreflect.Message
- func (x *GetClosePricesResponse) Reset()
- func (x *GetClosePricesResponse) String() string
- type GetCountriesRequest
- type GetCountriesResponse
- func (*GetCountriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCountriesResponse) GetCountries() []*CountryResponse
- func (*GetCountriesResponse) ProtoMessage()
- func (x *GetCountriesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCountriesResponse) Reset()
- func (x *GetCountriesResponse) String() string
- type GetDividendsForeignIssuerReportRequest
- func (*GetDividendsForeignIssuerReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDividendsForeignIssuerReportRequest) GetPage() int32
- func (x *GetDividendsForeignIssuerReportRequest) GetTaskId() string
- func (*GetDividendsForeignIssuerReportRequest) ProtoMessage()
- func (x *GetDividendsForeignIssuerReportRequest) ProtoReflect() protoreflect.Message
- func (x *GetDividendsForeignIssuerReportRequest) Reset()
- func (x *GetDividendsForeignIssuerReportRequest) String() string
- type GetDividendsForeignIssuerReportResponse
- func (*GetDividendsForeignIssuerReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDividendsForeignIssuerReportResponse) GetDividendsForeignIssuerReport() []*DividendsForeignIssuerReport
- func (x *GetDividendsForeignIssuerReportResponse) GetItemsCount() int32
- func (x *GetDividendsForeignIssuerReportResponse) GetPage() int32
- func (x *GetDividendsForeignIssuerReportResponse) GetPagesCount() int32
- func (*GetDividendsForeignIssuerReportResponse) ProtoMessage()
- func (x *GetDividendsForeignIssuerReportResponse) ProtoReflect() protoreflect.Message
- func (x *GetDividendsForeignIssuerReportResponse) Reset()
- func (x *GetDividendsForeignIssuerReportResponse) String() string
- type GetDividendsForeignIssuerRequest
- func (*GetDividendsForeignIssuerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDividendsForeignIssuerRequest) GetGenerateDivForeignIssuerReport() *GenerateDividendsForeignIssuerReportRequest
- func (x *GetDividendsForeignIssuerRequest) GetGetDivForeignIssuerReport() *GetDividendsForeignIssuerReportRequest
- func (m *GetDividendsForeignIssuerRequest) GetPayload() isGetDividendsForeignIssuerRequest_Payload
- func (*GetDividendsForeignIssuerRequest) ProtoMessage()
- func (x *GetDividendsForeignIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *GetDividendsForeignIssuerRequest) Reset()
- func (x *GetDividendsForeignIssuerRequest) String() string
- type GetDividendsForeignIssuerRequest_GenerateDivForeignIssuerReport
- type GetDividendsForeignIssuerRequest_GetDivForeignIssuerReport
- type GetDividendsForeignIssuerResponse
- func (*GetDividendsForeignIssuerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDividendsForeignIssuerResponse) GetDivForeignIssuerReport() *GetDividendsForeignIssuerReportResponse
- func (x *GetDividendsForeignIssuerResponse) GetGenerateDivForeignIssuerReportResponse() *GenerateDividendsForeignIssuerReportResponse
- func (m *GetDividendsForeignIssuerResponse) GetPayload() isGetDividendsForeignIssuerResponse_Payload
- func (*GetDividendsForeignIssuerResponse) ProtoMessage()
- func (x *GetDividendsForeignIssuerResponse) ProtoReflect() protoreflect.Message
- func (x *GetDividendsForeignIssuerResponse) Reset()
- func (x *GetDividendsForeignIssuerResponse) String() string
- type GetDividendsForeignIssuerResponse_DivForeignIssuerReport
- type GetDividendsForeignIssuerResponse_GenerateDivForeignIssuerReportResponse
- type GetDividendsRequest
- func (*GetDividendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDividendsRequest) GetFigi() string
- func (x *GetDividendsRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetDividendsRequest) GetTo() *timestamppb.Timestamp
- func (*GetDividendsRequest) ProtoMessage()
- func (x *GetDividendsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDividendsRequest) Reset()
- func (x *GetDividendsRequest) String() string
- type GetDividendsResponse
- func (*GetDividendsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDividendsResponse) GetDividends() []*Dividend
- func (*GetDividendsResponse) ProtoMessage()
- func (x *GetDividendsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDividendsResponse) Reset()
- func (x *GetDividendsResponse) String() string
- type GetFavoritesRequest
- type GetFavoritesResponse
- func (*GetFavoritesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFavoritesResponse) GetFavoriteInstruments() []*FavoriteInstrument
- func (*GetFavoritesResponse) ProtoMessage()
- func (x *GetFavoritesResponse) ProtoReflect() protoreflect.Message
- func (x *GetFavoritesResponse) Reset()
- func (x *GetFavoritesResponse) String() string
- type GetFuturesMarginRequest
- func (*GetFuturesMarginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFuturesMarginRequest) GetFigi() string
- func (*GetFuturesMarginRequest) ProtoMessage()
- func (x *GetFuturesMarginRequest) ProtoReflect() protoreflect.Message
- func (x *GetFuturesMarginRequest) Reset()
- func (x *GetFuturesMarginRequest) String() string
- type GetFuturesMarginResponse
- func (*GetFuturesMarginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFuturesMarginResponse) GetInitialMarginOnBuy() *MoneyValue
- func (x *GetFuturesMarginResponse) GetInitialMarginOnSell() *MoneyValue
- func (x *GetFuturesMarginResponse) GetMinPriceIncrement() *Quotation
- func (x *GetFuturesMarginResponse) GetMinPriceIncrementAmount() *Quotation
- func (*GetFuturesMarginResponse) ProtoMessage()
- func (x *GetFuturesMarginResponse) ProtoReflect() protoreflect.Message
- func (x *GetFuturesMarginResponse) Reset()
- func (x *GetFuturesMarginResponse) String() string
- type GetInfoRequest
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetPremStatus() bool
- func (x *GetInfoResponse) GetQualStatus() bool
- func (x *GetInfoResponse) GetQualifiedForWorkWith() []string
- func (x *GetInfoResponse) GetTariff() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type GetLastPricesRequest
- func (*GetLastPricesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastPricesRequest) GetFigi() []stringdeprecated
- func (x *GetLastPricesRequest) GetInstrumentId() []string
- func (*GetLastPricesRequest) ProtoMessage()
- func (x *GetLastPricesRequest) ProtoReflect() protoreflect.Message
- func (x *GetLastPricesRequest) Reset()
- func (x *GetLastPricesRequest) String() string
- type GetLastPricesResponse
- func (*GetLastPricesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastPricesResponse) GetLastPrices() []*LastPrice
- func (*GetLastPricesResponse) ProtoMessage()
- func (x *GetLastPricesResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastPricesResponse) Reset()
- func (x *GetLastPricesResponse) String() string
- type GetLastTradesRequest
- func (*GetLastTradesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastTradesRequest) GetFigi() stringdeprecated
- func (x *GetLastTradesRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetLastTradesRequest) GetInstrumentId() string
- func (x *GetLastTradesRequest) GetTo() *timestamppb.Timestamp
- func (*GetLastTradesRequest) ProtoMessage()
- func (x *GetLastTradesRequest) ProtoReflect() protoreflect.Message
- func (x *GetLastTradesRequest) Reset()
- func (x *GetLastTradesRequest) String() string
- type GetLastTradesResponse
- func (*GetLastTradesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastTradesResponse) GetTrades() []*Trade
- func (*GetLastTradesResponse) ProtoMessage()
- func (x *GetLastTradesResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastTradesResponse) Reset()
- func (x *GetLastTradesResponse) String() string
- type GetMarginAttributesRequest
- func (*GetMarginAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarginAttributesRequest) GetAccountId() string
- func (*GetMarginAttributesRequest) ProtoMessage()
- func (x *GetMarginAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMarginAttributesRequest) Reset()
- func (x *GetMarginAttributesRequest) String() string
- type GetMarginAttributesResponse
- func (*GetMarginAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarginAttributesResponse) GetAmountOfMissingFunds() *MoneyValue
- func (x *GetMarginAttributesResponse) GetCorrectedMargin() *MoneyValue
- func (x *GetMarginAttributesResponse) GetFundsSufficiencyLevel() *Quotation
- func (x *GetMarginAttributesResponse) GetLiquidPortfolio() *MoneyValue
- func (x *GetMarginAttributesResponse) GetMinimalMargin() *MoneyValue
- func (x *GetMarginAttributesResponse) GetStartingMargin() *MoneyValue
- func (*GetMarginAttributesResponse) ProtoMessage()
- func (x *GetMarginAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMarginAttributesResponse) Reset()
- func (x *GetMarginAttributesResponse) String() string
- type GetMySubscriptions
- type GetOperationsByCursorRequest
- func (*GetOperationsByCursorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOperationsByCursorRequest) GetAccountId() string
- func (x *GetOperationsByCursorRequest) GetCursor() string
- func (x *GetOperationsByCursorRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetOperationsByCursorRequest) GetInstrumentId() string
- func (x *GetOperationsByCursorRequest) GetLimit() int32
- func (x *GetOperationsByCursorRequest) GetOperationTypes() []OperationType
- func (x *GetOperationsByCursorRequest) GetState() OperationState
- func (x *GetOperationsByCursorRequest) GetTo() *timestamppb.Timestamp
- func (x *GetOperationsByCursorRequest) GetWithoutCommissions() bool
- func (x *GetOperationsByCursorRequest) GetWithoutOvernights() bool
- func (x *GetOperationsByCursorRequest) GetWithoutTrades() bool
- func (*GetOperationsByCursorRequest) ProtoMessage()
- func (x *GetOperationsByCursorRequest) ProtoReflect() protoreflect.Message
- func (x *GetOperationsByCursorRequest) Reset()
- func (x *GetOperationsByCursorRequest) String() string
- type GetOperationsByCursorResponse
- func (*GetOperationsByCursorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOperationsByCursorResponse) GetHasNext() bool
- func (x *GetOperationsByCursorResponse) GetItems() []*OperationItem
- func (x *GetOperationsByCursorResponse) GetNextCursor() string
- func (*GetOperationsByCursorResponse) ProtoMessage()
- func (x *GetOperationsByCursorResponse) ProtoReflect() protoreflect.Message
- func (x *GetOperationsByCursorResponse) Reset()
- func (x *GetOperationsByCursorResponse) String() string
- type GetOrderBookRequest
- func (*GetOrderBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrderBookRequest) GetDepth() int32
- func (x *GetOrderBookRequest) GetFigi() stringdeprecated
- func (x *GetOrderBookRequest) GetInstrumentId() string
- func (*GetOrderBookRequest) ProtoMessage()
- func (x *GetOrderBookRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrderBookRequest) Reset()
- func (x *GetOrderBookRequest) String() string
- type GetOrderBookResponse
- func (*GetOrderBookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrderBookResponse) GetAsks() []*Order
- func (x *GetOrderBookResponse) GetBids() []*Order
- func (x *GetOrderBookResponse) GetClosePrice() *Quotation
- func (x *GetOrderBookResponse) GetClosePriceTs() *timestamppb.Timestamp
- func (x *GetOrderBookResponse) GetDepth() int32
- func (x *GetOrderBookResponse) GetFigi() string
- func (x *GetOrderBookResponse) GetInstrumentUid() string
- func (x *GetOrderBookResponse) GetLastPrice() *Quotation
- func (x *GetOrderBookResponse) GetLastPriceTs() *timestamppb.Timestamp
- func (x *GetOrderBookResponse) GetLimitDown() *Quotation
- func (x *GetOrderBookResponse) GetLimitUp() *Quotation
- func (x *GetOrderBookResponse) GetOrderbookTs() *timestamppb.Timestamp
- func (*GetOrderBookResponse) ProtoMessage()
- func (x *GetOrderBookResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrderBookResponse) Reset()
- func (x *GetOrderBookResponse) String() string
- type GetOrderStateRequest
- func (*GetOrderStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrderStateRequest) GetAccountId() string
- func (x *GetOrderStateRequest) GetOrderId() string
- func (*GetOrderStateRequest) ProtoMessage()
- func (x *GetOrderStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrderStateRequest) Reset()
- func (x *GetOrderStateRequest) String() string
- type GetOrdersRequest
- type GetOrdersResponse
- func (*GetOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrdersResponse) GetOrders() []*OrderState
- func (*GetOrdersResponse) ProtoMessage()
- func (x *GetOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrdersResponse) Reset()
- func (x *GetOrdersResponse) String() string
- type GetStopOrdersRequest
- func (*GetStopOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStopOrdersRequest) GetAccountId() string
- func (*GetStopOrdersRequest) ProtoMessage()
- func (x *GetStopOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *GetStopOrdersRequest) Reset()
- func (x *GetStopOrdersRequest) String() string
- type GetStopOrdersResponse
- func (*GetStopOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStopOrdersResponse) GetStopOrders() []*StopOrder
- func (*GetStopOrdersResponse) ProtoMessage()
- func (x *GetStopOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *GetStopOrdersResponse) Reset()
- func (x *GetStopOrdersResponse) String() string
- type GetTradingStatusRequest
- func (*GetTradingStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTradingStatusRequest) GetFigi() stringdeprecated
- func (x *GetTradingStatusRequest) GetInstrumentId() string
- func (*GetTradingStatusRequest) ProtoMessage()
- func (x *GetTradingStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetTradingStatusRequest) Reset()
- func (x *GetTradingStatusRequest) String() string
- type GetTradingStatusResponse
- func (*GetTradingStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTradingStatusResponse) GetApiTradeAvailableFlag() bool
- func (x *GetTradingStatusResponse) GetFigi() string
- func (x *GetTradingStatusResponse) GetInstrumentUid() string
- func (x *GetTradingStatusResponse) GetLimitOrderAvailableFlag() bool
- func (x *GetTradingStatusResponse) GetMarketOrderAvailableFlag() bool
- func (x *GetTradingStatusResponse) GetTradingStatus() SecurityTradingStatus
- func (*GetTradingStatusResponse) ProtoMessage()
- func (x *GetTradingStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetTradingStatusResponse) Reset()
- func (x *GetTradingStatusResponse) String() string
- type GetTradingStatusesRequest
- func (*GetTradingStatusesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTradingStatusesRequest) GetInstrumentId() []string
- func (*GetTradingStatusesRequest) ProtoMessage()
- func (x *GetTradingStatusesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTradingStatusesRequest) Reset()
- func (x *GetTradingStatusesRequest) String() string
- type GetTradingStatusesResponse
- func (*GetTradingStatusesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTradingStatusesResponse) GetTradingStatuses() []*GetTradingStatusResponse
- func (*GetTradingStatusesResponse) ProtoMessage()
- func (x *GetTradingStatusesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTradingStatusesResponse) Reset()
- func (x *GetTradingStatusesResponse) String() string
- type GetUserTariffRequest
- type GetUserTariffResponse
- func (*GetUserTariffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserTariffResponse) GetStreamLimits() []*StreamLimit
- func (x *GetUserTariffResponse) GetUnaryLimits() []*UnaryLimit
- func (*GetUserTariffResponse) ProtoMessage()
- func (x *GetUserTariffResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserTariffResponse) Reset()
- func (x *GetUserTariffResponse) String() string
- type HistoricCandle
- func (*HistoricCandle) Descriptor() ([]byte, []int)deprecated
- func (x *HistoricCandle) GetClose() *Quotation
- func (x *HistoricCandle) GetHigh() *Quotation
- func (x *HistoricCandle) GetIsComplete() bool
- func (x *HistoricCandle) GetLow() *Quotation
- func (x *HistoricCandle) GetOpen() *Quotation
- func (x *HistoricCandle) GetTime() *timestamppb.Timestamp
- func (x *HistoricCandle) GetVolume() int64
- func (*HistoricCandle) ProtoMessage()
- func (x *HistoricCandle) ProtoReflect() protoreflect.Message
- func (x *HistoricCandle) Reset()
- func (x *HistoricCandle) String() string
- func (hc *HistoricCandle) ToCSV() string
- type InfoInstrument
- func (*InfoInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *InfoInstrument) GetFigi() stringdeprecated
- func (x *InfoInstrument) GetInstrumentId() string
- func (*InfoInstrument) ProtoMessage()
- func (x *InfoInstrument) ProtoReflect() protoreflect.Message
- func (x *InfoInstrument) Reset()
- func (x *InfoInstrument) String() string
- type InfoSubscription
- func (*InfoSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *InfoSubscription) GetFigi() string
- func (x *InfoSubscription) GetInstrumentUid() string
- func (x *InfoSubscription) GetSubscriptionStatus() SubscriptionStatus
- func (*InfoSubscription) ProtoMessage()
- func (x *InfoSubscription) ProtoReflect() protoreflect.Message
- func (x *InfoSubscription) Reset()
- func (x *InfoSubscription) String() string
- type Instrument
- func (*Instrument) Descriptor() ([]byte, []int)deprecated
- func (x *Instrument) GetApiTradeAvailableFlag() bool
- func (x *Instrument) GetBlockedTcaFlag() bool
- func (x *Instrument) GetBuyAvailableFlag() bool
- func (x *Instrument) GetClassCode() string
- func (x *Instrument) GetCountryOfRisk() string
- func (x *Instrument) GetCountryOfRiskName() string
- func (x *Instrument) GetCurrency() string
- func (x *Instrument) GetDlong() *Quotation
- func (x *Instrument) GetDlongMin() *Quotation
- func (x *Instrument) GetDshort() *Quotation
- func (x *Instrument) GetDshortMin() *Quotation
- func (x *Instrument) GetExchange() string
- func (x *Instrument) GetFigi() string
- func (x *Instrument) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Instrument) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Instrument) GetForIisFlag() bool
- func (x *Instrument) GetForQualInvestorFlag() bool
- func (x *Instrument) GetInstrumentKind() InstrumentType
- func (x *Instrument) GetInstrumentType() string
- func (x *Instrument) GetIsin() string
- func (x *Instrument) GetKlong() *Quotation
- func (x *Instrument) GetKshort() *Quotation
- func (x *Instrument) GetLot() int32
- func (x *Instrument) GetMinPriceIncrement() *Quotation
- func (x *Instrument) GetName() string
- func (x *Instrument) GetOtcFlag() bool
- func (x *Instrument) GetPositionUid() string
- func (x *Instrument) GetRealExchange() RealExchange
- func (x *Instrument) GetSellAvailableFlag() bool
- func (x *Instrument) GetShortEnabledFlag() bool
- func (x *Instrument) GetTicker() string
- func (x *Instrument) GetTradingStatus() SecurityTradingStatus
- func (x *Instrument) GetUid() string
- func (x *Instrument) GetWeekendFlag() bool
- func (*Instrument) ProtoMessage()
- func (x *Instrument) ProtoReflect() protoreflect.Message
- func (x *Instrument) Reset()
- func (x *Instrument) String() string
- type InstrumentClosePriceRequest
- func (*InstrumentClosePriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentClosePriceRequest) GetInstrumentId() string
- func (*InstrumentClosePriceRequest) ProtoMessage()
- func (x *InstrumentClosePriceRequest) ProtoReflect() protoreflect.Message
- func (x *InstrumentClosePriceRequest) Reset()
- func (x *InstrumentClosePriceRequest) String() string
- type InstrumentClosePriceResponse
- func (*InstrumentClosePriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentClosePriceResponse) GetFigi() string
- func (x *InstrumentClosePriceResponse) GetInstrumentUid() string
- func (x *InstrumentClosePriceResponse) GetPrice() *Quotation
- func (x *InstrumentClosePriceResponse) GetTime() *timestamppb.Timestamp
- func (*InstrumentClosePriceResponse) ProtoMessage()
- func (x *InstrumentClosePriceResponse) ProtoReflect() protoreflect.Message
- func (x *InstrumentClosePriceResponse) Reset()
- func (x *InstrumentClosePriceResponse) String() string
- type InstrumentIdType
- func (InstrumentIdType) Descriptor() protoreflect.EnumDescriptor
- func (x InstrumentIdType) Enum() *InstrumentIdType
- func (InstrumentIdType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstrumentIdType) Number() protoreflect.EnumNumber
- func (x InstrumentIdType) String() string
- func (InstrumentIdType) Type() protoreflect.EnumType
- type InstrumentLink
- func (*InstrumentLink) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentLink) GetInstrumentUid() string
- func (x *InstrumentLink) GetType() string
- func (*InstrumentLink) ProtoMessage()
- func (x *InstrumentLink) ProtoReflect() protoreflect.Message
- func (x *InstrumentLink) Reset()
- func (x *InstrumentLink) String() string
- type InstrumentRequest
- func (*InstrumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentRequest) GetClassCode() string
- func (x *InstrumentRequest) GetId() string
- func (x *InstrumentRequest) GetIdType() InstrumentIdType
- func (*InstrumentRequest) ProtoMessage()
- func (x *InstrumentRequest) ProtoReflect() protoreflect.Message
- func (x *InstrumentRequest) Reset()
- func (x *InstrumentRequest) String() string
- type InstrumentResponse
- func (*InstrumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentResponse) GetInstrument() *Instrument
- func (*InstrumentResponse) ProtoMessage()
- func (x *InstrumentResponse) ProtoReflect() protoreflect.Message
- func (x *InstrumentResponse) Reset()
- func (x *InstrumentResponse) String() string
- type InstrumentShort
- func (*InstrumentShort) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentShort) GetApiTradeAvailableFlag() bool
- func (x *InstrumentShort) GetBlockedTcaFlag() bool
- func (x *InstrumentShort) GetClassCode() string
- func (x *InstrumentShort) GetFigi() string
- func (x *InstrumentShort) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *InstrumentShort) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *InstrumentShort) GetForIisFlag() bool
- func (x *InstrumentShort) GetForQualInvestorFlag() bool
- func (x *InstrumentShort) GetInstrumentKind() InstrumentType
- func (x *InstrumentShort) GetInstrumentType() string
- func (x *InstrumentShort) GetIsin() string
- func (x *InstrumentShort) GetName() string
- func (x *InstrumentShort) GetPositionUid() string
- func (x *InstrumentShort) GetTicker() string
- func (x *InstrumentShort) GetUid() string
- func (x *InstrumentShort) GetWeekendFlag() bool
- func (*InstrumentShort) ProtoMessage()
- func (x *InstrumentShort) ProtoReflect() protoreflect.Message
- func (x *InstrumentShort) Reset()
- func (x *InstrumentShort) String() string
- type InstrumentStatus
- func (InstrumentStatus) Descriptor() protoreflect.EnumDescriptor
- func (x InstrumentStatus) Enum() *InstrumentStatus
- func (InstrumentStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstrumentStatus) Number() protoreflect.EnumNumber
- func (x InstrumentStatus) String() string
- func (InstrumentStatus) Type() protoreflect.EnumType
- type InstrumentType
- func (InstrumentType) Descriptor() protoreflect.EnumDescriptor
- func (x InstrumentType) Enum() *InstrumentType
- func (InstrumentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstrumentType) Number() protoreflect.EnumNumber
- func (x InstrumentType) String() string
- func (InstrumentType) Type() protoreflect.EnumType
- type InstrumentsRequest
- func (*InstrumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentsRequest) GetInstrumentStatus() InstrumentStatus
- func (*InstrumentsRequest) ProtoMessage()
- func (x *InstrumentsRequest) ProtoReflect() protoreflect.Message
- func (x *InstrumentsRequest) Reset()
- func (x *InstrumentsRequest) String() string
- type InstrumentsServiceClient
- type InstrumentsServiceServer
- type LastPrice
- func (*LastPrice) Descriptor() ([]byte, []int)deprecated
- func (x *LastPrice) GetFigi() string
- func (x *LastPrice) GetInstrumentUid() string
- func (x *LastPrice) GetPrice() *Quotation
- func (x *LastPrice) GetTime() *timestamppb.Timestamp
- func (*LastPrice) ProtoMessage()
- func (x *LastPrice) ProtoReflect() protoreflect.Message
- func (x *LastPrice) Reset()
- func (x *LastPrice) String() string
- type LastPriceInstrument
- func (*LastPriceInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *LastPriceInstrument) GetFigi() stringdeprecated
- func (x *LastPriceInstrument) GetInstrumentId() string
- func (*LastPriceInstrument) ProtoMessage()
- func (x *LastPriceInstrument) ProtoReflect() protoreflect.Message
- func (x *LastPriceInstrument) Reset()
- func (x *LastPriceInstrument) String() string
- type LastPriceSubscription
- func (*LastPriceSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *LastPriceSubscription) GetFigi() string
- func (x *LastPriceSubscription) GetInstrumentUid() string
- func (x *LastPriceSubscription) GetSubscriptionStatus() SubscriptionStatus
- func (*LastPriceSubscription) ProtoMessage()
- func (x *LastPriceSubscription) ProtoReflect() protoreflect.Message
- func (x *LastPriceSubscription) Reset()
- func (x *LastPriceSubscription) String() string
- type MarketDataRequest
- func (*MarketDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarketDataRequest) GetGetMySubscriptions() *GetMySubscriptions
- func (m *MarketDataRequest) GetPayload() isMarketDataRequest_Payload
- func (x *MarketDataRequest) GetSubscribeCandlesRequest() *SubscribeCandlesRequest
- func (x *MarketDataRequest) GetSubscribeInfoRequest() *SubscribeInfoRequest
- func (x *MarketDataRequest) GetSubscribeLastPriceRequest() *SubscribeLastPriceRequest
- func (x *MarketDataRequest) GetSubscribeOrderBookRequest() *SubscribeOrderBookRequest
- func (x *MarketDataRequest) GetSubscribeTradesRequest() *SubscribeTradesRequest
- func (*MarketDataRequest) ProtoMessage()
- func (x *MarketDataRequest) ProtoReflect() protoreflect.Message
- func (x *MarketDataRequest) Reset()
- func (x *MarketDataRequest) String() string
- type MarketDataRequest_GetMySubscriptions
- type MarketDataRequest_SubscribeCandlesRequest
- type MarketDataRequest_SubscribeInfoRequest
- type MarketDataRequest_SubscribeLastPriceRequest
- type MarketDataRequest_SubscribeOrderBookRequest
- type MarketDataRequest_SubscribeTradesRequest
- type MarketDataResponse
- func (*MarketDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarketDataResponse) GetCandle() *Candle
- func (x *MarketDataResponse) GetLastPrice() *LastPrice
- func (x *MarketDataResponse) GetOrderbook() *OrderBook
- func (m *MarketDataResponse) GetPayload() isMarketDataResponse_Payload
- func (x *MarketDataResponse) GetPing() *Ping
- func (x *MarketDataResponse) GetSubscribeCandlesResponse() *SubscribeCandlesResponse
- func (x *MarketDataResponse) GetSubscribeInfoResponse() *SubscribeInfoResponse
- func (x *MarketDataResponse) GetSubscribeLastPriceResponse() *SubscribeLastPriceResponse
- func (x *MarketDataResponse) GetSubscribeOrderBookResponse() *SubscribeOrderBookResponse
- func (x *MarketDataResponse) GetSubscribeTradesResponse() *SubscribeTradesResponse
- func (x *MarketDataResponse) GetTrade() *Trade
- func (x *MarketDataResponse) GetTradingStatus() *TradingStatus
- func (*MarketDataResponse) ProtoMessage()
- func (x *MarketDataResponse) ProtoReflect() protoreflect.Message
- func (x *MarketDataResponse) Reset()
- func (x *MarketDataResponse) String() string
- type MarketDataResponse_Candle
- type MarketDataResponse_LastPrice
- type MarketDataResponse_Orderbook
- type MarketDataResponse_Ping
- type MarketDataResponse_SubscribeCandlesResponse
- type MarketDataResponse_SubscribeInfoResponse
- type MarketDataResponse_SubscribeLastPriceResponse
- type MarketDataResponse_SubscribeOrderBookResponse
- type MarketDataResponse_SubscribeTradesResponse
- type MarketDataResponse_Trade
- type MarketDataResponse_TradingStatus
- type MarketDataServerSideStreamRequest
- func (*MarketDataServerSideStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarketDataServerSideStreamRequest) GetSubscribeCandlesRequest() *SubscribeCandlesRequest
- func (x *MarketDataServerSideStreamRequest) GetSubscribeInfoRequest() *SubscribeInfoRequest
- func (x *MarketDataServerSideStreamRequest) GetSubscribeLastPriceRequest() *SubscribeLastPriceRequest
- func (x *MarketDataServerSideStreamRequest) GetSubscribeOrderBookRequest() *SubscribeOrderBookRequest
- func (x *MarketDataServerSideStreamRequest) GetSubscribeTradesRequest() *SubscribeTradesRequest
- func (*MarketDataServerSideStreamRequest) ProtoMessage()
- func (x *MarketDataServerSideStreamRequest) ProtoReflect() protoreflect.Message
- func (x *MarketDataServerSideStreamRequest) Reset()
- func (x *MarketDataServerSideStreamRequest) String() string
- type MarketDataServiceClient
- type MarketDataServiceServer
- type MarketDataStreamServiceClient
- type MarketDataStreamServiceServer
- type MarketDataStreamService_MarketDataServerSideStreamClient
- type MarketDataStreamService_MarketDataServerSideStreamServer
- type MarketDataStreamService_MarketDataStreamClient
- type MarketDataStreamService_MarketDataStreamServer
- type MoneyValue
- func (*MoneyValue) Descriptor() ([]byte, []int)deprecated
- func (x *MoneyValue) GetCurrency() string
- func (x *MoneyValue) GetNano() int32
- func (x *MoneyValue) GetUnits() int64
- func (*MoneyValue) ProtoMessage()
- func (x *MoneyValue) ProtoReflect() protoreflect.Message
- func (x *MoneyValue) Reset()
- func (x *MoneyValue) String() string
- func (mv *MoneyValue) ToFloat() float64
- type OpenSandboxAccountRequest
- type OpenSandboxAccountResponse
- func (*OpenSandboxAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenSandboxAccountResponse) GetAccountId() string
- func (*OpenSandboxAccountResponse) ProtoMessage()
- func (x *OpenSandboxAccountResponse) ProtoReflect() protoreflect.Message
- func (x *OpenSandboxAccountResponse) Reset()
- func (x *OpenSandboxAccountResponse) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAssetUid() string
- func (x *Operation) GetCurrency() string
- func (x *Operation) GetDate() *timestamppb.Timestamp
- func (x *Operation) GetFigi() string
- func (x *Operation) GetId() string
- func (x *Operation) GetInstrumentType() string
- func (x *Operation) GetInstrumentUid() string
- func (x *Operation) GetOperationType() OperationType
- func (x *Operation) GetParentOperationId() string
- func (x *Operation) GetPayment() *MoneyValue
- func (x *Operation) GetPositionUid() string
- func (x *Operation) GetPrice() *MoneyValue
- func (x *Operation) GetQuantity() int64
- func (x *Operation) GetQuantityRest() int64
- func (x *Operation) GetState() OperationState
- func (x *Operation) GetTrades() []*OperationTrade
- func (x *Operation) GetType() string
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type OperationItem
- func (*OperationItem) Descriptor() ([]byte, []int)deprecated
- func (x *OperationItem) GetAccruedInt() *MoneyValue
- func (x *OperationItem) GetAssetUid() string
- func (x *OperationItem) GetBrokerAccountId() string
- func (x *OperationItem) GetCancelDateTime() *timestamppb.Timestamp
- func (x *OperationItem) GetCancelReason() string
- func (x *OperationItem) GetCommission() *MoneyValue
- func (x *OperationItem) GetCursor() string
- func (x *OperationItem) GetDate() *timestamppb.Timestamp
- func (x *OperationItem) GetDescription() string
- func (x *OperationItem) GetFigi() string
- func (x *OperationItem) GetId() string
- func (x *OperationItem) GetInstrumentKind() InstrumentType
- func (x *OperationItem) GetInstrumentType() string
- func (x *OperationItem) GetInstrumentUid() string
- func (x *OperationItem) GetName() string
- func (x *OperationItem) GetParentOperationId() string
- func (x *OperationItem) GetPayment() *MoneyValue
- func (x *OperationItem) GetPositionUid() string
- func (x *OperationItem) GetPrice() *MoneyValue
- func (x *OperationItem) GetQuantity() int64
- func (x *OperationItem) GetQuantityDone() int64
- func (x *OperationItem) GetQuantityRest() int64
- func (x *OperationItem) GetState() OperationState
- func (x *OperationItem) GetTradesInfo() *OperationItemTrades
- func (x *OperationItem) GetType() OperationType
- func (x *OperationItem) GetYield() *MoneyValue
- func (x *OperationItem) GetYieldRelative() *Quotation
- func (*OperationItem) ProtoMessage()
- func (x *OperationItem) ProtoReflect() protoreflect.Message
- func (x *OperationItem) Reset()
- func (x *OperationItem) String() string
- type OperationItemTrade
- func (*OperationItemTrade) Descriptor() ([]byte, []int)deprecated
- func (x *OperationItemTrade) GetDate() *timestamppb.Timestamp
- func (x *OperationItemTrade) GetNum() string
- func (x *OperationItemTrade) GetPrice() *MoneyValue
- func (x *OperationItemTrade) GetQuantity() int64
- func (x *OperationItemTrade) GetYield() *MoneyValue
- func (x *OperationItemTrade) GetYieldRelative() *Quotation
- func (*OperationItemTrade) ProtoMessage()
- func (x *OperationItemTrade) ProtoReflect() protoreflect.Message
- func (x *OperationItemTrade) Reset()
- func (x *OperationItemTrade) String() string
- type OperationItemTrades
- func (*OperationItemTrades) Descriptor() ([]byte, []int)deprecated
- func (x *OperationItemTrades) GetTrades() []*OperationItemTrade
- func (*OperationItemTrades) ProtoMessage()
- func (x *OperationItemTrades) ProtoReflect() protoreflect.Message
- func (x *OperationItemTrades) Reset()
- func (x *OperationItemTrades) String() string
- type OperationState
- func (OperationState) Descriptor() protoreflect.EnumDescriptor
- func (x OperationState) Enum() *OperationState
- func (OperationState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationState) Number() protoreflect.EnumNumber
- func (x OperationState) String() string
- func (OperationState) Type() protoreflect.EnumType
- type OperationTrade
- func (*OperationTrade) Descriptor() ([]byte, []int)deprecated
- func (x *OperationTrade) GetDateTime() *timestamppb.Timestamp
- func (x *OperationTrade) GetPrice() *MoneyValue
- func (x *OperationTrade) GetQuantity() int64
- func (x *OperationTrade) GetTradeId() string
- func (*OperationTrade) ProtoMessage()
- func (x *OperationTrade) ProtoReflect() protoreflect.Message
- func (x *OperationTrade) Reset()
- func (x *OperationTrade) String() string
- type OperationType
- func (OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationType) Enum() *OperationType
- func (OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationType) Number() protoreflect.EnumNumber
- func (x OperationType) String() string
- func (OperationType) Type() protoreflect.EnumType
- type OperationsRequest
- func (*OperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OperationsRequest) GetAccountId() string
- func (x *OperationsRequest) GetFigi() string
- func (x *OperationsRequest) GetFrom() *timestamppb.Timestamp
- func (x *OperationsRequest) GetState() OperationState
- func (x *OperationsRequest) GetTo() *timestamppb.Timestamp
- func (*OperationsRequest) ProtoMessage()
- func (x *OperationsRequest) ProtoReflect() protoreflect.Message
- func (x *OperationsRequest) Reset()
- func (x *OperationsRequest) String() string
- type OperationsResponse
- func (*OperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OperationsResponse) GetOperations() []*Operation
- func (*OperationsResponse) ProtoMessage()
- func (x *OperationsResponse) ProtoReflect() protoreflect.Message
- func (x *OperationsResponse) Reset()
- func (x *OperationsResponse) String() string
- type OperationsServiceClient
- type OperationsServiceServer
- type OperationsStreamServiceClient
- type OperationsStreamServiceServer
- type OperationsStreamService_PortfolioStreamClient
- type OperationsStreamService_PortfolioStreamServer
- type OperationsStreamService_PositionsStreamClient
- type OperationsStreamService_PositionsStreamServer
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetApiTradeAvailableFlag() bool
- func (x *Option) GetAssetType() string
- func (x *Option) GetBasicAsset() string
- func (x *Option) GetBasicAssetPositionUid() string
- func (x *Option) GetBasicAssetSize() *Quotation
- func (x *Option) GetBlockedTcaFlag() bool
- func (x *Option) GetBuyAvailableFlag() bool
- func (x *Option) GetClassCode() string
- func (x *Option) GetCountryOfRisk() string
- func (x *Option) GetCountryOfRiskName() string
- func (x *Option) GetCurrency() string
- func (x *Option) GetDirection() OptionDirection
- func (x *Option) GetDlong() *Quotation
- func (x *Option) GetDlongMin() *Quotation
- func (x *Option) GetDshort() *Quotation
- func (x *Option) GetDshortMin() *Quotation
- func (x *Option) GetExchange() string
- func (x *Option) GetExpirationDate() *timestamppb.Timestamp
- func (x *Option) GetFirstTradeDate() *timestamppb.Timestamp
- func (x *Option) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Option) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Option) GetForIisFlag() bool
- func (x *Option) GetForQualInvestorFlag() bool
- func (x *Option) GetKlong() *Quotation
- func (x *Option) GetKshort() *Quotation
- func (x *Option) GetLastTradeDate() *timestamppb.Timestamp
- func (x *Option) GetLot() int32
- func (x *Option) GetMinPriceIncrement() *Quotation
- func (x *Option) GetName() string
- func (x *Option) GetOtcFlag() bool
- func (x *Option) GetPaymentType() OptionPaymentType
- func (x *Option) GetPositionUid() string
- func (x *Option) GetRealExchange() RealExchange
- func (x *Option) GetSector() string
- func (x *Option) GetSellAvailableFlag() bool
- func (x *Option) GetSettlementCurrency() string
- func (x *Option) GetSettlementType() OptionSettlementType
- func (x *Option) GetShortEnabledFlag() bool
- func (x *Option) GetStrikePrice() *MoneyValue
- func (x *Option) GetStyle() OptionStyle
- func (x *Option) GetTicker() string
- func (x *Option) GetTradingStatus() SecurityTradingStatus
- func (x *Option) GetUid() string
- func (x *Option) GetWeekendFlag() bool
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- type OptionDirection
- func (OptionDirection) Descriptor() protoreflect.EnumDescriptor
- func (x OptionDirection) Enum() *OptionDirection
- func (OptionDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x OptionDirection) Number() protoreflect.EnumNumber
- func (x OptionDirection) String() string
- func (OptionDirection) Type() protoreflect.EnumType
- type OptionPaymentType
- func (OptionPaymentType) Descriptor() protoreflect.EnumDescriptor
- func (x OptionPaymentType) Enum() *OptionPaymentType
- func (OptionPaymentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OptionPaymentType) Number() protoreflect.EnumNumber
- func (x OptionPaymentType) String() string
- func (OptionPaymentType) Type() protoreflect.EnumType
- type OptionResponse
- type OptionSettlementType
- func (OptionSettlementType) Descriptor() protoreflect.EnumDescriptor
- func (x OptionSettlementType) Enum() *OptionSettlementType
- func (OptionSettlementType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OptionSettlementType) Number() protoreflect.EnumNumber
- func (x OptionSettlementType) String() string
- func (OptionSettlementType) Type() protoreflect.EnumType
- type OptionStyle
- func (OptionStyle) Descriptor() protoreflect.EnumDescriptor
- func (x OptionStyle) Enum() *OptionStyle
- func (OptionStyle) EnumDescriptor() ([]byte, []int)deprecated
- func (x OptionStyle) Number() protoreflect.EnumNumber
- func (x OptionStyle) String() string
- func (OptionStyle) Type() protoreflect.EnumType
- type OptionsResponse
- type Order
- type OrderBook
- func (*OrderBook) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBook) GetAsks() []*Order
- func (x *OrderBook) GetBids() []*Order
- func (x *OrderBook) GetDepth() int32
- func (x *OrderBook) GetFigi() string
- func (x *OrderBook) GetInstrumentUid() string
- func (x *OrderBook) GetIsConsistent() bool
- func (x *OrderBook) GetLimitDown() *Quotation
- func (x *OrderBook) GetLimitUp() *Quotation
- func (x *OrderBook) GetTime() *timestamppb.Timestamp
- func (*OrderBook) ProtoMessage()
- func (x *OrderBook) ProtoReflect() protoreflect.Message
- func (x *OrderBook) Reset()
- func (x *OrderBook) String() string
- type OrderBookInstrument
- func (*OrderBookInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBookInstrument) GetDepth() int32
- func (x *OrderBookInstrument) GetFigi() stringdeprecated
- func (x *OrderBookInstrument) GetInstrumentId() string
- func (*OrderBookInstrument) ProtoMessage()
- func (x *OrderBookInstrument) ProtoReflect() protoreflect.Message
- func (x *OrderBookInstrument) Reset()
- func (x *OrderBookInstrument) String() string
- type OrderBookSubscription
- func (*OrderBookSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBookSubscription) GetDepth() int32
- func (x *OrderBookSubscription) GetFigi() string
- func (x *OrderBookSubscription) GetInstrumentUid() string
- func (x *OrderBookSubscription) GetSubscriptionStatus() SubscriptionStatus
- func (*OrderBookSubscription) ProtoMessage()
- func (x *OrderBookSubscription) ProtoReflect() protoreflect.Message
- func (x *OrderBookSubscription) Reset()
- func (x *OrderBookSubscription) String() string
- type OrderDirection
- func (OrderDirection) Descriptor() protoreflect.EnumDescriptor
- func (x OrderDirection) Enum() *OrderDirection
- func (OrderDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderDirection) Number() protoreflect.EnumNumber
- func (x OrderDirection) String() string
- func (OrderDirection) Type() protoreflect.EnumType
- type OrderExecutionReportStatus
- func (OrderExecutionReportStatus) Descriptor() protoreflect.EnumDescriptor
- func (x OrderExecutionReportStatus) Enum() *OrderExecutionReportStatus
- func (OrderExecutionReportStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderExecutionReportStatus) Number() protoreflect.EnumNumber
- func (x OrderExecutionReportStatus) String() string
- func (OrderExecutionReportStatus) Type() protoreflect.EnumType
- type OrderStage
- func (*OrderStage) Descriptor() ([]byte, []int)deprecated
- func (x *OrderStage) GetPrice() *MoneyValue
- func (x *OrderStage) GetQuantity() int64
- func (x *OrderStage) GetTradeId() string
- func (*OrderStage) ProtoMessage()
- func (x *OrderStage) ProtoReflect() protoreflect.Message
- func (x *OrderStage) Reset()
- func (x *OrderStage) String() string
- type OrderState
- func (*OrderState) Descriptor() ([]byte, []int)deprecated
- func (x *OrderState) GetAveragePositionPrice() *MoneyValue
- func (x *OrderState) GetCurrency() string
- func (x *OrderState) GetDirection() OrderDirection
- func (x *OrderState) GetExecutedCommission() *MoneyValue
- func (x *OrderState) GetExecutedOrderPrice() *MoneyValue
- func (x *OrderState) GetExecutionReportStatus() OrderExecutionReportStatus
- func (x *OrderState) GetFigi() string
- func (x *OrderState) GetInitialCommission() *MoneyValue
- func (x *OrderState) GetInitialOrderPrice() *MoneyValue
- func (x *OrderState) GetInitialSecurityPrice() *MoneyValue
- func (x *OrderState) GetInstrumentUid() string
- func (x *OrderState) GetLotsExecuted() int64
- func (x *OrderState) GetLotsRequested() int64
- func (x *OrderState) GetOrderDate() *timestamppb.Timestamp
- func (x *OrderState) GetOrderId() string
- func (x *OrderState) GetOrderRequestId() string
- func (x *OrderState) GetOrderType() OrderType
- func (x *OrderState) GetServiceCommission() *MoneyValue
- func (x *OrderState) GetStages() []*OrderStage
- func (x *OrderState) GetTotalOrderAmount() *MoneyValue
- func (*OrderState) ProtoMessage()
- func (x *OrderState) ProtoReflect() protoreflect.Message
- func (x *OrderState) Reset()
- func (x *OrderState) String() string
- type OrderTrade
- func (*OrderTrade) Descriptor() ([]byte, []int)deprecated
- func (x *OrderTrade) GetDateTime() *timestamppb.Timestamp
- func (x *OrderTrade) GetPrice() *Quotation
- func (x *OrderTrade) GetQuantity() int64
- func (x *OrderTrade) GetTradeId() string
- func (*OrderTrade) ProtoMessage()
- func (x *OrderTrade) ProtoReflect() protoreflect.Message
- func (x *OrderTrade) Reset()
- func (x *OrderTrade) String() string
- type OrderTrades
- func (*OrderTrades) Descriptor() ([]byte, []int)deprecated
- func (x *OrderTrades) GetAccountId() string
- func (x *OrderTrades) GetCreatedAt() *timestamppb.Timestamp
- func (x *OrderTrades) GetDirection() OrderDirection
- func (x *OrderTrades) GetFigi() string
- func (x *OrderTrades) GetInstrumentUid() string
- func (x *OrderTrades) GetOrderId() string
- func (x *OrderTrades) GetTrades() []*OrderTrade
- func (*OrderTrades) ProtoMessage()
- func (x *OrderTrades) ProtoReflect() protoreflect.Message
- func (x *OrderTrades) Reset()
- func (x *OrderTrades) String() string
- type OrderType
- type OrdersServiceClient
- type OrdersServiceServer
- type OrdersStreamServiceClient
- type OrdersStreamServiceServer
- type OrdersStreamService_TradesStreamClient
- type OrdersStreamService_TradesStreamServer
- type Ping
- type PortfolioPosition
- func (*PortfolioPosition) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioPosition) GetAveragePositionPrice() *MoneyValue
- func (x *PortfolioPosition) GetAveragePositionPriceFifo() *MoneyValue
- func (x *PortfolioPosition) GetAveragePositionPricePt() *Quotationdeprecated
- func (x *PortfolioPosition) GetBlocked() bool
- func (x *PortfolioPosition) GetBlockedLots() *Quotation
- func (x *PortfolioPosition) GetCurrentNkd() *MoneyValue
- func (x *PortfolioPosition) GetCurrentPrice() *MoneyValue
- func (x *PortfolioPosition) GetExpectedYield() *Quotation
- func (x *PortfolioPosition) GetExpectedYieldFifo() *Quotation
- func (x *PortfolioPosition) GetFigi() string
- func (x *PortfolioPosition) GetInstrumentType() string
- func (x *PortfolioPosition) GetInstrumentUid() string
- func (x *PortfolioPosition) GetPositionUid() string
- func (x *PortfolioPosition) GetQuantity() *Quotation
- func (x *PortfolioPosition) GetQuantityLots() *Quotationdeprecated
- func (x *PortfolioPosition) GetVarMargin() *MoneyValue
- func (*PortfolioPosition) ProtoMessage()
- func (x *PortfolioPosition) ProtoReflect() protoreflect.Message
- func (x *PortfolioPosition) Reset()
- func (x *PortfolioPosition) String() string
- type PortfolioRequest
- func (*PortfolioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioRequest) GetAccountId() string
- func (x *PortfolioRequest) GetCurrency() PortfolioRequest_CurrencyRequest
- func (*PortfolioRequest) ProtoMessage()
- func (x *PortfolioRequest) ProtoReflect() protoreflect.Message
- func (x *PortfolioRequest) Reset()
- func (x *PortfolioRequest) String() string
- type PortfolioRequest_CurrencyRequest
- func (PortfolioRequest_CurrencyRequest) Descriptor() protoreflect.EnumDescriptor
- func (x PortfolioRequest_CurrencyRequest) Enum() *PortfolioRequest_CurrencyRequest
- func (PortfolioRequest_CurrencyRequest) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortfolioRequest_CurrencyRequest) Number() protoreflect.EnumNumber
- func (x PortfolioRequest_CurrencyRequest) String() string
- func (PortfolioRequest_CurrencyRequest) Type() protoreflect.EnumType
- type PortfolioResponse
- func (*PortfolioResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioResponse) GetAccountId() string
- func (x *PortfolioResponse) GetExpectedYield() *Quotation
- func (x *PortfolioResponse) GetPositions() []*PortfolioPosition
- func (x *PortfolioResponse) GetTotalAmountBonds() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountCurrencies() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountEtf() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountFutures() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountOptions() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountPortfolio() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountShares() *MoneyValue
- func (x *PortfolioResponse) GetTotalAmountSp() *MoneyValue
- func (x *PortfolioResponse) GetVirtualPositions() []*VirtualPortfolioPosition
- func (*PortfolioResponse) ProtoMessage()
- func (x *PortfolioResponse) ProtoReflect() protoreflect.Message
- func (x *PortfolioResponse) Reset()
- func (x *PortfolioResponse) String() string
- type PortfolioStreamRequest
- func (*PortfolioStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioStreamRequest) GetAccounts() []string
- func (*PortfolioStreamRequest) ProtoMessage()
- func (x *PortfolioStreamRequest) ProtoReflect() protoreflect.Message
- func (x *PortfolioStreamRequest) Reset()
- func (x *PortfolioStreamRequest) String() string
- type PortfolioStreamResponse
- func (*PortfolioStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (m *PortfolioStreamResponse) GetPayload() isPortfolioStreamResponse_Payload
- func (x *PortfolioStreamResponse) GetPing() *Ping
- func (x *PortfolioStreamResponse) GetPortfolio() *PortfolioResponse
- func (x *PortfolioStreamResponse) GetSubscriptions() *PortfolioSubscriptionResult
- func (*PortfolioStreamResponse) ProtoMessage()
- func (x *PortfolioStreamResponse) ProtoReflect() protoreflect.Message
- func (x *PortfolioStreamResponse) Reset()
- func (x *PortfolioStreamResponse) String() string
- type PortfolioStreamResponse_Ping
- type PortfolioStreamResponse_Portfolio
- type PortfolioStreamResponse_Subscriptions
- type PortfolioSubscriptionResult
- func (*PortfolioSubscriptionResult) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioSubscriptionResult) GetAccounts() []*AccountSubscriptionStatus
- func (*PortfolioSubscriptionResult) ProtoMessage()
- func (x *PortfolioSubscriptionResult) ProtoReflect() protoreflect.Message
- func (x *PortfolioSubscriptionResult) Reset()
- func (x *PortfolioSubscriptionResult) String() string
- type PortfolioSubscriptionStatus
- func (PortfolioSubscriptionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PortfolioSubscriptionStatus) Enum() *PortfolioSubscriptionStatus
- func (PortfolioSubscriptionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortfolioSubscriptionStatus) Number() protoreflect.EnumNumber
- func (x PortfolioSubscriptionStatus) String() string
- func (PortfolioSubscriptionStatus) Type() protoreflect.EnumType
- type PositionData
- func (*PositionData) Descriptor() ([]byte, []int)deprecated
- func (x *PositionData) GetAccountId() string
- func (x *PositionData) GetDate() *timestamppb.Timestamp
- func (x *PositionData) GetFutures() []*PositionsFutures
- func (x *PositionData) GetMoney() []*PositionsMoney
- func (x *PositionData) GetOptions() []*PositionsOptions
- func (x *PositionData) GetSecurities() []*PositionsSecurities
- func (*PositionData) ProtoMessage()
- func (x *PositionData) ProtoReflect() protoreflect.Message
- func (x *PositionData) Reset()
- func (x *PositionData) String() string
- type PositionsAccountSubscriptionStatus
- func (PositionsAccountSubscriptionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PositionsAccountSubscriptionStatus) Enum() *PositionsAccountSubscriptionStatus
- func (PositionsAccountSubscriptionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PositionsAccountSubscriptionStatus) Number() protoreflect.EnumNumber
- func (x PositionsAccountSubscriptionStatus) String() string
- func (PositionsAccountSubscriptionStatus) Type() protoreflect.EnumType
- type PositionsFutures
- func (*PositionsFutures) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsFutures) GetBalance() int64
- func (x *PositionsFutures) GetBlocked() int64
- func (x *PositionsFutures) GetFigi() string
- func (x *PositionsFutures) GetInstrumentUid() string
- func (x *PositionsFutures) GetPositionUid() string
- func (*PositionsFutures) ProtoMessage()
- func (x *PositionsFutures) ProtoReflect() protoreflect.Message
- func (x *PositionsFutures) Reset()
- func (x *PositionsFutures) String() string
- type PositionsMoney
- func (*PositionsMoney) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsMoney) GetAvailableValue() *MoneyValue
- func (x *PositionsMoney) GetBlockedValue() *MoneyValue
- func (*PositionsMoney) ProtoMessage()
- func (x *PositionsMoney) ProtoReflect() protoreflect.Message
- func (x *PositionsMoney) Reset()
- func (x *PositionsMoney) String() string
- type PositionsOptions
- func (*PositionsOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsOptions) GetBalance() int64
- func (x *PositionsOptions) GetBlocked() int64
- func (x *PositionsOptions) GetInstrumentUid() string
- func (x *PositionsOptions) GetPositionUid() string
- func (*PositionsOptions) ProtoMessage()
- func (x *PositionsOptions) ProtoReflect() protoreflect.Message
- func (x *PositionsOptions) Reset()
- func (x *PositionsOptions) String() string
- type PositionsRequest
- type PositionsResponse
- func (*PositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsResponse) GetBlocked() []*MoneyValue
- func (x *PositionsResponse) GetFutures() []*PositionsFutures
- func (x *PositionsResponse) GetLimitsLoadingInProgress() bool
- func (x *PositionsResponse) GetMoney() []*MoneyValue
- func (x *PositionsResponse) GetOptions() []*PositionsOptions
- func (x *PositionsResponse) GetSecurities() []*PositionsSecurities
- func (*PositionsResponse) ProtoMessage()
- func (x *PositionsResponse) ProtoReflect() protoreflect.Message
- func (x *PositionsResponse) Reset()
- func (x *PositionsResponse) String() string
- type PositionsSecurities
- func (*PositionsSecurities) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsSecurities) GetBalance() int64
- func (x *PositionsSecurities) GetBlocked() int64
- func (x *PositionsSecurities) GetExchangeBlocked() bool
- func (x *PositionsSecurities) GetFigi() string
- func (x *PositionsSecurities) GetInstrumentType() string
- func (x *PositionsSecurities) GetInstrumentUid() string
- func (x *PositionsSecurities) GetPositionUid() string
- func (*PositionsSecurities) ProtoMessage()
- func (x *PositionsSecurities) ProtoReflect() protoreflect.Message
- func (x *PositionsSecurities) Reset()
- func (x *PositionsSecurities) String() string
- type PositionsStreamRequest
- func (*PositionsStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsStreamRequest) GetAccounts() []string
- func (*PositionsStreamRequest) ProtoMessage()
- func (x *PositionsStreamRequest) ProtoReflect() protoreflect.Message
- func (x *PositionsStreamRequest) Reset()
- func (x *PositionsStreamRequest) String() string
- type PositionsStreamResponse
- func (*PositionsStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (m *PositionsStreamResponse) GetPayload() isPositionsStreamResponse_Payload
- func (x *PositionsStreamResponse) GetPing() *Ping
- func (x *PositionsStreamResponse) GetPosition() *PositionData
- func (x *PositionsStreamResponse) GetSubscriptions() *PositionsSubscriptionResult
- func (*PositionsStreamResponse) ProtoMessage()
- func (x *PositionsStreamResponse) ProtoReflect() protoreflect.Message
- func (x *PositionsStreamResponse) Reset()
- func (x *PositionsStreamResponse) String() string
- type PositionsStreamResponse_Ping
- type PositionsStreamResponse_Position
- type PositionsStreamResponse_Subscriptions
- type PositionsSubscriptionResult
- func (*PositionsSubscriptionResult) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsSubscriptionResult) GetAccounts() []*PositionsSubscriptionStatus
- func (*PositionsSubscriptionResult) ProtoMessage()
- func (x *PositionsSubscriptionResult) ProtoReflect() protoreflect.Message
- func (x *PositionsSubscriptionResult) Reset()
- func (x *PositionsSubscriptionResult) String() string
- type PositionsSubscriptionStatus
- func (*PositionsSubscriptionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsSubscriptionStatus) GetAccountId() string
- func (x *PositionsSubscriptionStatus) GetSubscriptionStatus() PositionsAccountSubscriptionStatus
- func (*PositionsSubscriptionStatus) ProtoMessage()
- func (x *PositionsSubscriptionStatus) ProtoReflect() protoreflect.Message
- func (x *PositionsSubscriptionStatus) Reset()
- func (x *PositionsSubscriptionStatus) String() string
- type PostOrderRequest
- func (*PostOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostOrderRequest) GetAccountId() string
- func (x *PostOrderRequest) GetDirection() OrderDirection
- func (x *PostOrderRequest) GetFigi() stringdeprecated
- func (x *PostOrderRequest) GetInstrumentId() string
- func (x *PostOrderRequest) GetOrderId() string
- func (x *PostOrderRequest) GetOrderType() OrderType
- func (x *PostOrderRequest) GetPrice() *Quotation
- func (x *PostOrderRequest) GetQuantity() int64
- func (*PostOrderRequest) ProtoMessage()
- func (x *PostOrderRequest) ProtoReflect() protoreflect.Message
- func (x *PostOrderRequest) Reset()
- func (x *PostOrderRequest) String() string
- type PostOrderResponse
- func (*PostOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostOrderResponse) GetAciValue() *MoneyValue
- func (x *PostOrderResponse) GetDirection() OrderDirection
- func (x *PostOrderResponse) GetExecutedCommission() *MoneyValue
- func (x *PostOrderResponse) GetExecutedOrderPrice() *MoneyValue
- func (x *PostOrderResponse) GetExecutionReportStatus() OrderExecutionReportStatus
- func (x *PostOrderResponse) GetFigi() string
- func (x *PostOrderResponse) GetInitialCommission() *MoneyValue
- func (x *PostOrderResponse) GetInitialOrderPrice() *MoneyValue
- func (x *PostOrderResponse) GetInitialOrderPricePt() *Quotation
- func (x *PostOrderResponse) GetInitialSecurityPrice() *MoneyValue
- func (x *PostOrderResponse) GetInstrumentUid() string
- func (x *PostOrderResponse) GetLotsExecuted() int64
- func (x *PostOrderResponse) GetLotsRequested() int64
- func (x *PostOrderResponse) GetMessage() string
- func (x *PostOrderResponse) GetOrderId() string
- func (x *PostOrderResponse) GetOrderType() OrderType
- func (x *PostOrderResponse) GetTotalOrderAmount() *MoneyValue
- func (*PostOrderResponse) ProtoMessage()
- func (x *PostOrderResponse) ProtoReflect() protoreflect.Message
- func (x *PostOrderResponse) Reset()
- func (x *PostOrderResponse) String() string
- type PostStopOrderRequest
- func (*PostStopOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostStopOrderRequest) GetAccountId() string
- func (x *PostStopOrderRequest) GetDirection() StopOrderDirection
- func (x *PostStopOrderRequest) GetExpirationType() StopOrderExpirationType
- func (x *PostStopOrderRequest) GetExpireDate() *timestamppb.Timestamp
- func (x *PostStopOrderRequest) GetFigi() stringdeprecated
- func (x *PostStopOrderRequest) GetInstrumentId() string
- func (x *PostStopOrderRequest) GetPrice() *Quotation
- func (x *PostStopOrderRequest) GetQuantity() int64
- func (x *PostStopOrderRequest) GetStopOrderType() StopOrderType
- func (x *PostStopOrderRequest) GetStopPrice() *Quotation
- func (*PostStopOrderRequest) ProtoMessage()
- func (x *PostStopOrderRequest) ProtoReflect() protoreflect.Message
- func (x *PostStopOrderRequest) Reset()
- func (x *PostStopOrderRequest) String() string
- type PostStopOrderResponse
- func (*PostStopOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostStopOrderResponse) GetStopOrderId() string
- func (*PostStopOrderResponse) ProtoMessage()
- func (x *PostStopOrderResponse) ProtoReflect() protoreflect.Message
- func (x *PostStopOrderResponse) Reset()
- func (x *PostStopOrderResponse) String() string
- type PriceType
- type Quotation
- func (*Quotation) Descriptor() ([]byte, []int)deprecated
- func (x *Quotation) GetNano() int32
- func (x *Quotation) GetUnits() int64
- func (*Quotation) ProtoMessage()
- func (x *Quotation) ProtoReflect() protoreflect.Message
- func (x *Quotation) Reset()
- func (x *Quotation) String() string
- func (q *Quotation) ToFloat() float64
- type RealExchange
- func (RealExchange) Descriptor() protoreflect.EnumDescriptor
- func (x RealExchange) Enum() *RealExchange
- func (RealExchange) EnumDescriptor() ([]byte, []int)deprecated
- func (x RealExchange) Number() protoreflect.EnumNumber
- func (x RealExchange) String() string
- func (RealExchange) Type() protoreflect.EnumType
- type ReplaceOrderRequest
- func (*ReplaceOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceOrderRequest) GetAccountId() string
- func (x *ReplaceOrderRequest) GetIdempotencyKey() string
- func (x *ReplaceOrderRequest) GetOrderId() string
- func (x *ReplaceOrderRequest) GetPrice() *Quotation
- func (x *ReplaceOrderRequest) GetPriceType() PriceType
- func (x *ReplaceOrderRequest) GetQuantity() int64
- func (*ReplaceOrderRequest) ProtoMessage()
- func (x *ReplaceOrderRequest) ProtoReflect() protoreflect.Message
- func (x *ReplaceOrderRequest) Reset()
- func (x *ReplaceOrderRequest) String() string
- type RiskLevel
- type SandboxPayInRequest
- func (*SandboxPayInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxPayInRequest) GetAccountId() string
- func (x *SandboxPayInRequest) GetAmount() *MoneyValue
- func (*SandboxPayInRequest) ProtoMessage()
- func (x *SandboxPayInRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxPayInRequest) Reset()
- func (x *SandboxPayInRequest) String() string
- type SandboxPayInResponse
- func (*SandboxPayInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxPayInResponse) GetBalance() *MoneyValue
- func (*SandboxPayInResponse) ProtoMessage()
- func (x *SandboxPayInResponse) ProtoReflect() protoreflect.Message
- func (x *SandboxPayInResponse) Reset()
- func (x *SandboxPayInResponse) String() string
- type SandboxServiceClient
- type SandboxServiceServer
- type SecurityTradingStatus
- func (SecurityTradingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityTradingStatus) Enum() *SecurityTradingStatus
- func (SecurityTradingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityTradingStatus) Number() protoreflect.EnumNumber
- func (x SecurityTradingStatus) String() string
- func (SecurityTradingStatus) Type() protoreflect.EnumType
- type Share
- func (*Share) Descriptor() ([]byte, []int)deprecated
- func (x *Share) GetApiTradeAvailableFlag() bool
- func (x *Share) GetBlockedTcaFlag() bool
- func (x *Share) GetBuyAvailableFlag() bool
- func (x *Share) GetClassCode() string
- func (x *Share) GetCountryOfRisk() string
- func (x *Share) GetCountryOfRiskName() string
- func (x *Share) GetCurrency() string
- func (x *Share) GetDivYieldFlag() bool
- func (x *Share) GetDlong() *Quotation
- func (x *Share) GetDlongMin() *Quotation
- func (x *Share) GetDshort() *Quotation
- func (x *Share) GetDshortMin() *Quotation
- func (x *Share) GetExchange() string
- func (x *Share) GetFigi() string
- func (x *Share) GetFirst_1DayCandleDate() *timestamppb.Timestamp
- func (x *Share) GetFirst_1MinCandleDate() *timestamppb.Timestamp
- func (x *Share) GetForIisFlag() bool
- func (x *Share) GetForQualInvestorFlag() bool
- func (x *Share) GetIpoDate() *timestamppb.Timestamp
- func (x *Share) GetIsin() string
- func (x *Share) GetIssueSize() int64
- func (x *Share) GetIssueSizePlan() int64
- func (x *Share) GetKlong() *Quotation
- func (x *Share) GetKshort() *Quotation
- func (x *Share) GetLiquidityFlag() bool
- func (x *Share) GetLot() int32
- func (x *Share) GetMinPriceIncrement() *Quotation
- func (x *Share) GetName() string
- func (x *Share) GetNominal() *MoneyValue
- func (x *Share) GetOtcFlag() bool
- func (x *Share) GetPositionUid() string
- func (x *Share) GetRealExchange() RealExchange
- func (x *Share) GetSector() string
- func (x *Share) GetSellAvailableFlag() bool
- func (x *Share) GetShareType() ShareType
- func (x *Share) GetShortEnabledFlag() bool
- func (x *Share) GetTicker() string
- func (x *Share) GetTradingStatus() SecurityTradingStatus
- func (x *Share) GetUid() string
- func (x *Share) GetWeekendFlag() bool
- func (*Share) ProtoMessage()
- func (x *Share) ProtoReflect() protoreflect.Message
- func (x *Share) Reset()
- func (x *Share) String() string
- type ShareResponse
- type ShareType
- type SharesResponse
- type StopOrder
- func (*StopOrder) Descriptor() ([]byte, []int)deprecated
- func (x *StopOrder) GetActivationDateTime() *timestamppb.Timestamp
- func (x *StopOrder) GetCreateDate() *timestamppb.Timestamp
- func (x *StopOrder) GetCurrency() string
- func (x *StopOrder) GetDirection() StopOrderDirection
- func (x *StopOrder) GetExpirationTime() *timestamppb.Timestamp
- func (x *StopOrder) GetFigi() string
- func (x *StopOrder) GetInstrumentUid() string
- func (x *StopOrder) GetLotsRequested() int64
- func (x *StopOrder) GetOrderType() StopOrderType
- func (x *StopOrder) GetPrice() *MoneyValue
- func (x *StopOrder) GetStopOrderId() string
- func (x *StopOrder) GetStopPrice() *MoneyValue
- func (*StopOrder) ProtoMessage()
- func (x *StopOrder) ProtoReflect() protoreflect.Message
- func (x *StopOrder) Reset()
- func (x *StopOrder) String() string
- type StopOrderDirection
- func (StopOrderDirection) Descriptor() protoreflect.EnumDescriptor
- func (x StopOrderDirection) Enum() *StopOrderDirection
- func (StopOrderDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x StopOrderDirection) Number() protoreflect.EnumNumber
- func (x StopOrderDirection) String() string
- func (StopOrderDirection) Type() protoreflect.EnumType
- type StopOrderExpirationType
- func (StopOrderExpirationType) Descriptor() protoreflect.EnumDescriptor
- func (x StopOrderExpirationType) Enum() *StopOrderExpirationType
- func (StopOrderExpirationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StopOrderExpirationType) Number() protoreflect.EnumNumber
- func (x StopOrderExpirationType) String() string
- func (StopOrderExpirationType) Type() protoreflect.EnumType
- type StopOrderType
- func (StopOrderType) Descriptor() protoreflect.EnumDescriptor
- func (x StopOrderType) Enum() *StopOrderType
- func (StopOrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StopOrderType) Number() protoreflect.EnumNumber
- func (x StopOrderType) String() string
- func (StopOrderType) Type() protoreflect.EnumType
- type StopOrdersServiceClient
- type StopOrdersServiceServer
- type StreamLimit
- func (*StreamLimit) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLimit) GetLimit() int32
- func (x *StreamLimit) GetOpen() int32
- func (x *StreamLimit) GetStreams() []string
- func (*StreamLimit) ProtoMessage()
- func (x *StreamLimit) ProtoReflect() protoreflect.Message
- func (x *StreamLimit) Reset()
- func (x *StreamLimit) String() string
- type StructuredProductType
- func (StructuredProductType) Descriptor() protoreflect.EnumDescriptor
- func (x StructuredProductType) Enum() *StructuredProductType
- func (StructuredProductType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StructuredProductType) Number() protoreflect.EnumNumber
- func (x StructuredProductType) String() string
- func (StructuredProductType) Type() protoreflect.EnumType
- type SubscribeCandlesRequest
- func (*SubscribeCandlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeCandlesRequest) GetInstruments() []*CandleInstrument
- func (x *SubscribeCandlesRequest) GetSubscriptionAction() SubscriptionAction
- func (x *SubscribeCandlesRequest) GetWaitingClose() bool
- func (*SubscribeCandlesRequest) ProtoMessage()
- func (x *SubscribeCandlesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeCandlesRequest) Reset()
- func (x *SubscribeCandlesRequest) String() string
- type SubscribeCandlesResponse
- func (*SubscribeCandlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeCandlesResponse) GetCandlesSubscriptions() []*CandleSubscription
- func (x *SubscribeCandlesResponse) GetTrackingId() string
- func (*SubscribeCandlesResponse) ProtoMessage()
- func (x *SubscribeCandlesResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeCandlesResponse) Reset()
- func (x *SubscribeCandlesResponse) String() string
- type SubscribeInfoRequest
- func (*SubscribeInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeInfoRequest) GetInstruments() []*InfoInstrument
- func (x *SubscribeInfoRequest) GetSubscriptionAction() SubscriptionAction
- func (*SubscribeInfoRequest) ProtoMessage()
- func (x *SubscribeInfoRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeInfoRequest) Reset()
- func (x *SubscribeInfoRequest) String() string
- type SubscribeInfoResponse
- func (*SubscribeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeInfoResponse) GetInfoSubscriptions() []*InfoSubscription
- func (x *SubscribeInfoResponse) GetTrackingId() string
- func (*SubscribeInfoResponse) ProtoMessage()
- func (x *SubscribeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeInfoResponse) Reset()
- func (x *SubscribeInfoResponse) String() string
- type SubscribeLastPriceRequest
- func (*SubscribeLastPriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeLastPriceRequest) GetInstruments() []*LastPriceInstrument
- func (x *SubscribeLastPriceRequest) GetSubscriptionAction() SubscriptionAction
- func (*SubscribeLastPriceRequest) ProtoMessage()
- func (x *SubscribeLastPriceRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeLastPriceRequest) Reset()
- func (x *SubscribeLastPriceRequest) String() string
- type SubscribeLastPriceResponse
- func (*SubscribeLastPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeLastPriceResponse) GetLastPriceSubscriptions() []*LastPriceSubscription
- func (x *SubscribeLastPriceResponse) GetTrackingId() string
- func (*SubscribeLastPriceResponse) ProtoMessage()
- func (x *SubscribeLastPriceResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeLastPriceResponse) Reset()
- func (x *SubscribeLastPriceResponse) String() string
- type SubscribeOrderBookRequest
- func (*SubscribeOrderBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeOrderBookRequest) GetInstruments() []*OrderBookInstrument
- func (x *SubscribeOrderBookRequest) GetSubscriptionAction() SubscriptionAction
- func (*SubscribeOrderBookRequest) ProtoMessage()
- func (x *SubscribeOrderBookRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeOrderBookRequest) Reset()
- func (x *SubscribeOrderBookRequest) String() string
- type SubscribeOrderBookResponse
- func (*SubscribeOrderBookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeOrderBookResponse) GetOrderBookSubscriptions() []*OrderBookSubscription
- func (x *SubscribeOrderBookResponse) GetTrackingId() string
- func (*SubscribeOrderBookResponse) ProtoMessage()
- func (x *SubscribeOrderBookResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeOrderBookResponse) Reset()
- func (x *SubscribeOrderBookResponse) String() string
- type SubscribeTradesRequest
- func (*SubscribeTradesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeTradesRequest) GetInstruments() []*TradeInstrument
- func (x *SubscribeTradesRequest) GetSubscriptionAction() SubscriptionAction
- func (*SubscribeTradesRequest) ProtoMessage()
- func (x *SubscribeTradesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeTradesRequest) Reset()
- func (x *SubscribeTradesRequest) String() string
- type SubscribeTradesResponse
- func (*SubscribeTradesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeTradesResponse) GetTrackingId() string
- func (x *SubscribeTradesResponse) GetTradeSubscriptions() []*TradeSubscription
- func (*SubscribeTradesResponse) ProtoMessage()
- func (x *SubscribeTradesResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeTradesResponse) Reset()
- func (x *SubscribeTradesResponse) String() string
- type SubscriptionAction
- func (SubscriptionAction) Descriptor() protoreflect.EnumDescriptor
- func (x SubscriptionAction) Enum() *SubscriptionAction
- func (SubscriptionAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubscriptionAction) Number() protoreflect.EnumNumber
- func (x SubscriptionAction) String() string
- func (SubscriptionAction) Type() protoreflect.EnumType
- type SubscriptionInterval
- func (SubscriptionInterval) Descriptor() protoreflect.EnumDescriptor
- func (x SubscriptionInterval) Enum() *SubscriptionInterval
- func (SubscriptionInterval) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubscriptionInterval) Number() protoreflect.EnumNumber
- func (x SubscriptionInterval) String() string
- func (SubscriptionInterval) Type() protoreflect.EnumType
- type SubscriptionStatus
- func (SubscriptionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SubscriptionStatus) Enum() *SubscriptionStatus
- func (SubscriptionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubscriptionStatus) Number() protoreflect.EnumNumber
- func (x SubscriptionStatus) String() string
- func (SubscriptionStatus) Type() protoreflect.EnumType
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)deprecated
- func (x *Trade) GetDirection() TradeDirection
- func (x *Trade) GetFigi() string
- func (x *Trade) GetInstrumentUid() string
- func (x *Trade) GetPrice() *Quotation
- func (x *Trade) GetQuantity() int64
- func (x *Trade) GetTime() *timestamppb.Timestamp
- func (*Trade) ProtoMessage()
- func (x *Trade) ProtoReflect() protoreflect.Message
- func (x *Trade) Reset()
- func (x *Trade) String() string
- type TradeDirection
- func (TradeDirection) Descriptor() protoreflect.EnumDescriptor
- func (x TradeDirection) Enum() *TradeDirection
- func (TradeDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x TradeDirection) Number() protoreflect.EnumNumber
- func (x TradeDirection) String() string
- func (TradeDirection) Type() protoreflect.EnumType
- type TradeInstrument
- func (*TradeInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *TradeInstrument) GetFigi() stringdeprecated
- func (x *TradeInstrument) GetInstrumentId() string
- func (*TradeInstrument) ProtoMessage()
- func (x *TradeInstrument) ProtoReflect() protoreflect.Message
- func (x *TradeInstrument) Reset()
- func (x *TradeInstrument) String() string
- type TradeSubscription
- func (*TradeSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *TradeSubscription) GetFigi() string
- func (x *TradeSubscription) GetInstrumentUid() string
- func (x *TradeSubscription) GetSubscriptionStatus() SubscriptionStatus
- func (*TradeSubscription) ProtoMessage()
- func (x *TradeSubscription) ProtoReflect() protoreflect.Message
- func (x *TradeSubscription) Reset()
- func (x *TradeSubscription) String() string
- type TradesStreamRequest
- func (*TradesStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TradesStreamRequest) GetAccounts() []string
- func (*TradesStreamRequest) ProtoMessage()
- func (x *TradesStreamRequest) ProtoReflect() protoreflect.Message
- func (x *TradesStreamRequest) Reset()
- func (x *TradesStreamRequest) String() string
- type TradesStreamResponse
- func (*TradesStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TradesStreamResponse) GetOrderTrades() *OrderTrades
- func (m *TradesStreamResponse) GetPayload() isTradesStreamResponse_Payload
- func (x *TradesStreamResponse) GetPing() *Ping
- func (*TradesStreamResponse) ProtoMessage()
- func (x *TradesStreamResponse) ProtoReflect() protoreflect.Message
- func (x *TradesStreamResponse) Reset()
- func (x *TradesStreamResponse) String() string
- type TradesStreamResponse_OrderTrades
- type TradesStreamResponse_Ping
- type TradingDay
- func (*TradingDay) Descriptor() ([]byte, []int)deprecated
- func (x *TradingDay) GetClearingEndTime() *timestamppb.Timestamp
- func (x *TradingDay) GetClearingStartTime() *timestamppb.Timestamp
- func (x *TradingDay) GetClosingAuctionEndTime() *timestamppb.Timestamp
- func (x *TradingDay) GetClosingAuctionStartTime() *timestamppb.Timestamp
- func (x *TradingDay) GetDate() *timestamppb.Timestamp
- func (x *TradingDay) GetEndTime() *timestamppb.Timestamp
- func (x *TradingDay) GetEveningEndTime() *timestamppb.Timestamp
- func (x *TradingDay) GetEveningOpeningAuctionStartTime() *timestamppb.Timestamp
- func (x *TradingDay) GetEveningStartTime() *timestamppb.Timestamp
- func (x *TradingDay) GetIsTradingDay() bool
- func (x *TradingDay) GetOpeningAuctionEndTime() *timestamppb.Timestamp
- func (x *TradingDay) GetOpeningAuctionStartTime() *timestamppb.Timestamp
- func (x *TradingDay) GetPremarketEndTime() *timestamppb.Timestamp
- func (x *TradingDay) GetPremarketStartTime() *timestamppb.Timestamp
- func (x *TradingDay) GetStartTime() *timestamppb.Timestamp
- func (*TradingDay) ProtoMessage()
- func (x *TradingDay) ProtoReflect() protoreflect.Message
- func (x *TradingDay) Reset()
- func (x *TradingDay) String() string
- type TradingSchedule
- func (*TradingSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *TradingSchedule) GetDays() []*TradingDay
- func (x *TradingSchedule) GetExchange() string
- func (*TradingSchedule) ProtoMessage()
- func (x *TradingSchedule) ProtoReflect() protoreflect.Message
- func (x *TradingSchedule) Reset()
- func (x *TradingSchedule) String() string
- type TradingSchedulesRequest
- func (*TradingSchedulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TradingSchedulesRequest) GetExchange() string
- func (x *TradingSchedulesRequest) GetFrom() *timestamppb.Timestamp
- func (x *TradingSchedulesRequest) GetTo() *timestamppb.Timestamp
- func (*TradingSchedulesRequest) ProtoMessage()
- func (x *TradingSchedulesRequest) ProtoReflect() protoreflect.Message
- func (x *TradingSchedulesRequest) Reset()
- func (x *TradingSchedulesRequest) String() string
- type TradingSchedulesResponse
- func (*TradingSchedulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TradingSchedulesResponse) GetExchanges() []*TradingSchedule
- func (*TradingSchedulesResponse) ProtoMessage()
- func (x *TradingSchedulesResponse) ProtoReflect() protoreflect.Message
- func (x *TradingSchedulesResponse) Reset()
- func (x *TradingSchedulesResponse) String() string
- type TradingStatus
- func (*TradingStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TradingStatus) GetFigi() string
- func (x *TradingStatus) GetInstrumentUid() string
- func (x *TradingStatus) GetLimitOrderAvailableFlag() bool
- func (x *TradingStatus) GetMarketOrderAvailableFlag() bool
- func (x *TradingStatus) GetTime() *timestamppb.Timestamp
- func (x *TradingStatus) GetTradingStatus() SecurityTradingStatus
- func (*TradingStatus) ProtoMessage()
- func (x *TradingStatus) ProtoReflect() protoreflect.Message
- func (x *TradingStatus) Reset()
- func (x *TradingStatus) String() string
- type UnaryLimit
- func (*UnaryLimit) Descriptor() ([]byte, []int)deprecated
- func (x *UnaryLimit) GetLimitPerMinute() int32
- func (x *UnaryLimit) GetMethods() []string
- func (*UnaryLimit) ProtoMessage()
- func (x *UnaryLimit) ProtoReflect() protoreflect.Message
- func (x *UnaryLimit) Reset()
- func (x *UnaryLimit) String() string
- type UnimplementedInstrumentsServiceServer
- func (UnimplementedInstrumentsServiceServer) BondBy(context.Context, *InstrumentRequest) (*BondResponse, error)
- func (UnimplementedInstrumentsServiceServer) Bonds(context.Context, *InstrumentsRequest) (*BondsResponse, error)
- func (UnimplementedInstrumentsServiceServer) Currencies(context.Context, *InstrumentsRequest) (*CurrenciesResponse, error)
- func (UnimplementedInstrumentsServiceServer) CurrencyBy(context.Context, *InstrumentRequest) (*CurrencyResponse, error)
- func (UnimplementedInstrumentsServiceServer) EditFavorites(context.Context, *EditFavoritesRequest) (*EditFavoritesResponse, error)
- func (UnimplementedInstrumentsServiceServer) EtfBy(context.Context, *InstrumentRequest) (*EtfResponse, error)
- func (UnimplementedInstrumentsServiceServer) Etfs(context.Context, *InstrumentsRequest) (*EtfsResponse, error)
- func (UnimplementedInstrumentsServiceServer) FindInstrument(context.Context, *FindInstrumentRequest) (*FindInstrumentResponse, error)
- func (UnimplementedInstrumentsServiceServer) FutureBy(context.Context, *InstrumentRequest) (*FutureResponse, error)
- func (UnimplementedInstrumentsServiceServer) Futures(context.Context, *InstrumentsRequest) (*FuturesResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetAccruedInterests(context.Context, *GetAccruedInterestsRequest) (*GetAccruedInterestsResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetAssetBy(context.Context, *AssetRequest) (*AssetResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetAssets(context.Context, *AssetsRequest) (*AssetsResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetBondCoupons(context.Context, *GetBondCouponsRequest) (*GetBondCouponsResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetBrandBy(context.Context, *GetBrandRequest) (*Brand, error)
- func (UnimplementedInstrumentsServiceServer) GetBrands(context.Context, *GetBrandsRequest) (*GetBrandsResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetCountries(context.Context, *GetCountriesRequest) (*GetCountriesResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetDividends(context.Context, *GetDividendsRequest) (*GetDividendsResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetFavorites(context.Context, *GetFavoritesRequest) (*GetFavoritesResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetFuturesMargin(context.Context, *GetFuturesMarginRequest) (*GetFuturesMarginResponse, error)
- func (UnimplementedInstrumentsServiceServer) GetInstrumentBy(context.Context, *InstrumentRequest) (*InstrumentResponse, error)
- func (UnimplementedInstrumentsServiceServer) OptionBy(context.Context, *InstrumentRequest) (*OptionResponse, error)
- func (UnimplementedInstrumentsServiceServer) Options(context.Context, *InstrumentsRequest) (*OptionsResponse, error)
- func (UnimplementedInstrumentsServiceServer) OptionsBy(context.Context, *FilterOptionsRequest) (*OptionsResponse, error)
- func (UnimplementedInstrumentsServiceServer) ShareBy(context.Context, *InstrumentRequest) (*ShareResponse, error)
- func (UnimplementedInstrumentsServiceServer) Shares(context.Context, *InstrumentsRequest) (*SharesResponse, error)
- func (UnimplementedInstrumentsServiceServer) TradingSchedules(context.Context, *TradingSchedulesRequest) (*TradingSchedulesResponse, error)
- type UnimplementedMarketDataServiceServer
- func (UnimplementedMarketDataServiceServer) GetCandles(context.Context, *GetCandlesRequest) (*GetCandlesResponse, error)
- func (UnimplementedMarketDataServiceServer) GetClosePrices(context.Context, *GetClosePricesRequest) (*GetClosePricesResponse, error)
- func (UnimplementedMarketDataServiceServer) GetLastPrices(context.Context, *GetLastPricesRequest) (*GetLastPricesResponse, error)
- func (UnimplementedMarketDataServiceServer) GetLastTrades(context.Context, *GetLastTradesRequest) (*GetLastTradesResponse, error)
- func (UnimplementedMarketDataServiceServer) GetOrderBook(context.Context, *GetOrderBookRequest) (*GetOrderBookResponse, error)
- func (UnimplementedMarketDataServiceServer) GetTradingStatus(context.Context, *GetTradingStatusRequest) (*GetTradingStatusResponse, error)
- func (UnimplementedMarketDataServiceServer) GetTradingStatuses(context.Context, *GetTradingStatusesRequest) (*GetTradingStatusesResponse, error)
- type UnimplementedMarketDataStreamServiceServer
- type UnimplementedOperationsServiceServer
- func (UnimplementedOperationsServiceServer) GetBrokerReport(context.Context, *BrokerReportRequest) (*BrokerReportResponse, error)
- func (UnimplementedOperationsServiceServer) GetDividendsForeignIssuer(context.Context, *GetDividendsForeignIssuerRequest) (*GetDividendsForeignIssuerResponse, error)
- func (UnimplementedOperationsServiceServer) GetOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
- func (UnimplementedOperationsServiceServer) GetOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error)
- func (UnimplementedOperationsServiceServer) GetPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
- func (UnimplementedOperationsServiceServer) GetPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
- func (UnimplementedOperationsServiceServer) GetWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error)
- type UnimplementedOperationsStreamServiceServer
- type UnimplementedOrdersServiceServer
- func (UnimplementedOrdersServiceServer) CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
- func (UnimplementedOrdersServiceServer) GetOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
- func (UnimplementedOrdersServiceServer) GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
- func (UnimplementedOrdersServiceServer) PostOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error)
- func (UnimplementedOrdersServiceServer) ReplaceOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error)
- type UnimplementedOrdersStreamServiceServer
- type UnimplementedSandboxServiceServer
- func (UnimplementedSandboxServiceServer) CancelSandboxOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
- func (UnimplementedSandboxServiceServer) CloseSandboxAccount(context.Context, *CloseSandboxAccountRequest) (*CloseSandboxAccountResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
- func (UnimplementedSandboxServiceServer) GetSandboxOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
- func (UnimplementedSandboxServiceServer) GetSandboxWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error)
- func (UnimplementedSandboxServiceServer) OpenSandboxAccount(context.Context, *OpenSandboxAccountRequest) (*OpenSandboxAccountResponse, error)
- func (UnimplementedSandboxServiceServer) PostSandboxOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error)
- func (UnimplementedSandboxServiceServer) ReplaceSandboxOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error)
- func (UnimplementedSandboxServiceServer) SandboxPayIn(context.Context, *SandboxPayInRequest) (*SandboxPayInResponse, error)
- type UnimplementedStopOrdersServiceServer
- func (UnimplementedStopOrdersServiceServer) CancelStopOrder(context.Context, *CancelStopOrderRequest) (*CancelStopOrderResponse, error)
- func (UnimplementedStopOrdersServiceServer) GetStopOrders(context.Context, *GetStopOrdersRequest) (*GetStopOrdersResponse, error)
- func (UnimplementedStopOrdersServiceServer) PostStopOrder(context.Context, *PostStopOrderRequest) (*PostStopOrderResponse, error)
- type UnimplementedUsersServiceServer
- func (UnimplementedUsersServiceServer) GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
- func (UnimplementedUsersServiceServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedUsersServiceServer) GetMarginAttributes(context.Context, *GetMarginAttributesRequest) (*GetMarginAttributesResponse, error)
- func (UnimplementedUsersServiceServer) GetUserTariff(context.Context, *GetUserTariffRequest) (*GetUserTariffResponse, error)
- type UnsafeInstrumentsServiceServer
- type UnsafeMarketDataServiceServer
- type UnsafeMarketDataStreamServiceServer
- type UnsafeOperationsServiceServer
- type UnsafeOperationsStreamServiceServer
- type UnsafeOrdersServiceServer
- type UnsafeOrdersStreamServiceServer
- type UnsafeSandboxServiceServer
- type UnsafeStopOrdersServiceServer
- type UnsafeUsersServiceServer
- type UsersServiceClient
- type UsersServiceServer
- type VirtualPortfolioPosition
- func (*VirtualPortfolioPosition) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualPortfolioPosition) GetAveragePositionPrice() *MoneyValue
- func (x *VirtualPortfolioPosition) GetAveragePositionPriceFifo() *MoneyValue
- func (x *VirtualPortfolioPosition) GetCurrentPrice() *MoneyValue
- func (x *VirtualPortfolioPosition) GetExpectedYield() *Quotation
- func (x *VirtualPortfolioPosition) GetExpectedYieldFifo() *Quotation
- func (x *VirtualPortfolioPosition) GetExpireDate() *timestamppb.Timestamp
- func (x *VirtualPortfolioPosition) GetFigi() string
- func (x *VirtualPortfolioPosition) GetInstrumentType() string
- func (x *VirtualPortfolioPosition) GetInstrumentUid() string
- func (x *VirtualPortfolioPosition) GetPositionUid() string
- func (x *VirtualPortfolioPosition) GetQuantity() *Quotation
- func (*VirtualPortfolioPosition) ProtoMessage()
- func (x *VirtualPortfolioPosition) ProtoReflect() protoreflect.Message
- func (x *VirtualPortfolioPosition) Reset()
- func (x *VirtualPortfolioPosition) String() string
- type WithdrawLimitsRequest
- func (*WithdrawLimitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawLimitsRequest) GetAccountId() string
- func (*WithdrawLimitsRequest) ProtoMessage()
- func (x *WithdrawLimitsRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawLimitsRequest) Reset()
- func (x *WithdrawLimitsRequest) String() string
- type WithdrawLimitsResponse
- func (*WithdrawLimitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawLimitsResponse) GetBlocked() []*MoneyValue
- func (x *WithdrawLimitsResponse) GetBlockedGuarantee() []*MoneyValue
- func (x *WithdrawLimitsResponse) GetMoney() []*MoneyValue
- func (*WithdrawLimitsResponse) ProtoMessage()
- func (x *WithdrawLimitsResponse) ProtoReflect() protoreflect.Message
- func (x *WithdrawLimitsResponse) Reset()
- func (x *WithdrawLimitsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( InstrumentType_name = map[int32]string{ 0: "INSTRUMENT_TYPE_UNSPECIFIED", 1: "INSTRUMENT_TYPE_BOND", 2: "INSTRUMENT_TYPE_SHARE", 3: "INSTRUMENT_TYPE_CURRENCY", 4: "INSTRUMENT_TYPE_ETF", 5: "INSTRUMENT_TYPE_FUTURES", 6: "INSTRUMENT_TYPE_SP", 7: "INSTRUMENT_TYPE_OPTION", 8: "INSTRUMENT_TYPE_CLEARING_CERTIFICATE", } InstrumentType_value = map[string]int32{ "INSTRUMENT_TYPE_UNSPECIFIED": 0, "INSTRUMENT_TYPE_BOND": 1, "INSTRUMENT_TYPE_SHARE": 2, "INSTRUMENT_TYPE_CURRENCY": 3, "INSTRUMENT_TYPE_ETF": 4, "INSTRUMENT_TYPE_FUTURES": 5, "INSTRUMENT_TYPE_SP": 6, "INSTRUMENT_TYPE_OPTION": 7, "INSTRUMENT_TYPE_CLEARING_CERTIFICATE": 8, } )
Enum value maps for InstrumentType.
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.
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.
var ( OptionDirection_name = map[int32]string{ 0: "OPTION_DIRECTION_UNSPECIFIED", 1: "OPTION_DIRECTION_PUT", 2: "OPTION_DIRECTION_CALL", } OptionDirection_value = map[string]int32{ "OPTION_DIRECTION_UNSPECIFIED": 0, "OPTION_DIRECTION_PUT": 1, "OPTION_DIRECTION_CALL": 2, } )
Enum value maps for OptionDirection.
var ( OptionPaymentType_name = map[int32]string{ 0: "OPTION_PAYMENT_TYPE_UNSPECIFIED", 1: "OPTION_PAYMENT_TYPE_PREMIUM", 2: "OPTION_PAYMENT_TYPE_MARGINAL", } OptionPaymentType_value = map[string]int32{ "OPTION_PAYMENT_TYPE_UNSPECIFIED": 0, "OPTION_PAYMENT_TYPE_PREMIUM": 1, "OPTION_PAYMENT_TYPE_MARGINAL": 2, } )
Enum value maps for OptionPaymentType.
var ( OptionStyle_name = map[int32]string{ 0: "OPTION_STYLE_UNSPECIFIED", 1: "OPTION_STYLE_AMERICAN", 2: "OPTION_STYLE_EUROPEAN", } OptionStyle_value = map[string]int32{ "OPTION_STYLE_UNSPECIFIED": 0, "OPTION_STYLE_AMERICAN": 1, "OPTION_STYLE_EUROPEAN": 2, } )
Enum value maps for OptionStyle.
var ( OptionSettlementType_name = map[int32]string{ 0: "OPTION_EXECUTION_TYPE_UNSPECIFIED", 1: "OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY", 2: "OPTION_EXECUTION_TYPE_CASH_SETTLEMENT", } OptionSettlementType_value = map[string]int32{ "OPTION_EXECUTION_TYPE_UNSPECIFIED": 0, "OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY": 1, "OPTION_EXECUTION_TYPE_CASH_SETTLEMENT": 2, } )
Enum value maps for OptionSettlementType.
var ( InstrumentIdType_name = map[int32]string{ 0: "INSTRUMENT_ID_UNSPECIFIED", 1: "INSTRUMENT_ID_TYPE_FIGI", 2: "INSTRUMENT_ID_TYPE_TICKER", 3: "INSTRUMENT_ID_TYPE_UID", 4: "INSTRUMENT_ID_TYPE_POSITION_UID", } InstrumentIdType_value = map[string]int32{ "INSTRUMENT_ID_UNSPECIFIED": 0, "INSTRUMENT_ID_TYPE_FIGI": 1, "INSTRUMENT_ID_TYPE_TICKER": 2, "INSTRUMENT_ID_TYPE_UID": 3, "INSTRUMENT_ID_TYPE_POSITION_UID": 4, } )
Enum value maps for InstrumentIdType.
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.
var (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", } "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.
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.
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.
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.
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.
var ( RiskLevel_name = map[int32]string{ 0: "RISK_LEVEL_UNSPECIFIED", 1: "RISK_LEVEL_LOW", 2: "RISK_LEVEL_MODERATE", 3: "RISK_LEVEL_HIGH", } RiskLevel_value = map[string]int32{ "RISK_LEVEL_UNSPECIFIED": 0, "RISK_LEVEL_LOW": 1, "RISK_LEVEL_MODERATE": 2, "RISK_LEVEL_HIGH": 3, } )
Enum value maps for RiskLevel.
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.
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.
var ( SubscriptionStatus_name = map[int32]string{ 0: "SUBSCRIPTION_STATUS_UNSPECIFIED", 1: "SUBSCRIPTION_STATUS_SUCCESS", 2: "SUBSCRIPTION_STATUS_INSTRUMENT_NOT_FOUND", 3: "SUBSCRIPTION_STATUS_SUBSCRIPTION_ACTION_IS_INVALID", 4: "SUBSCRIPTION_STATUS_DEPTH_IS_INVALID", 5: "SUBSCRIPTION_STATUS_INTERVAL_IS_INVALID", 6: "SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED", 7: "SUBSCRIPTION_STATUS_INTERNAL_ERROR", 8: "SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS", } SubscriptionStatus_value = map[string]int32{ "SUBSCRIPTION_STATUS_UNSPECIFIED": 0, "SUBSCRIPTION_STATUS_SUCCESS": 1, "SUBSCRIPTION_STATUS_INSTRUMENT_NOT_FOUND": 2, "SUBSCRIPTION_STATUS_SUBSCRIPTION_ACTION_IS_INVALID": 3, "SUBSCRIPTION_STATUS_DEPTH_IS_INVALID": 4, "SUBSCRIPTION_STATUS_INTERVAL_IS_INVALID": 5, "SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED": 6, "SUBSCRIPTION_STATUS_INTERNAL_ERROR": 7, "SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS": 8, } )
Enum value maps for SubscriptionStatus.
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.
var ( CandleInterval_name = map[int32]string{ 0: "CANDLE_INTERVAL_UNSPECIFIED", 1: "CANDLE_INTERVAL_1_MIN", 2: "CANDLE_INTERVAL_5_MIN", 3: "CANDLE_INTERVAL_15_MIN", 4: "CANDLE_INTERVAL_HOUR", 5: "CANDLE_INTERVAL_DAY", 6: "CANDLE_INTERVAL_2_MIN", 7: "CANDLE_INTERVAL_3_MIN", 8: "CANDLE_INTERVAL_10_MIN", 9: "CANDLE_INTERVAL_30_MIN", 10: "CANDLE_INTERVAL_2_HOUR", 11: "CANDLE_INTERVAL_4_HOUR", 12: "CANDLE_INTERVAL_WEEK", 13: "CANDLE_INTERVAL_MONTH", } CandleInterval_value = map[string]int32{ "CANDLE_INTERVAL_UNSPECIFIED": 0, "CANDLE_INTERVAL_1_MIN": 1, "CANDLE_INTERVAL_5_MIN": 2, "CANDLE_INTERVAL_15_MIN": 3, "CANDLE_INTERVAL_HOUR": 4, "CANDLE_INTERVAL_DAY": 5, "CANDLE_INTERVAL_2_MIN": 6, "CANDLE_INTERVAL_3_MIN": 7, "CANDLE_INTERVAL_10_MIN": 8, "CANDLE_INTERVAL_30_MIN": 9, "CANDLE_INTERVAL_2_HOUR": 10, "CANDLE_INTERVAL_4_HOUR": 11, "CANDLE_INTERVAL_WEEK": 12, "CANDLE_INTERVAL_MONTH": 13, } )
Enum value maps for CandleInterval.
var ( OperationState_name = map[int32]string{ 0: "OPERATION_STATE_UNSPECIFIED", 1: "OPERATION_STATE_EXECUTED", 2: "OPERATION_STATE_CANCELED", 3: "OPERATION_STATE_PROGRESS", } OperationState_value = map[string]int32{ "OPERATION_STATE_UNSPECIFIED": 0, "OPERATION_STATE_EXECUTED": 1, "OPERATION_STATE_CANCELED": 2, "OPERATION_STATE_PROGRESS": 3, } )
Enum value maps for OperationState.
var ( OperationType_name = map[int32]string{ 0: "OPERATION_TYPE_UNSPECIFIED", 1: "OPERATION_TYPE_INPUT", 2: "OPERATION_TYPE_BOND_TAX", 3: "OPERATION_TYPE_OUTPUT_SECURITIES", 4: "OPERATION_TYPE_OVERNIGHT", 5: "OPERATION_TYPE_TAX", 6: "OPERATION_TYPE_BOND_REPAYMENT_FULL", 7: "OPERATION_TYPE_SELL_CARD", 8: "OPERATION_TYPE_DIVIDEND_TAX", 9: "OPERATION_TYPE_OUTPUT", 10: "OPERATION_TYPE_BOND_REPAYMENT", 11: "OPERATION_TYPE_TAX_CORRECTION", 12: "OPERATION_TYPE_SERVICE_FEE", 13: "OPERATION_TYPE_BENEFIT_TAX", 14: "OPERATION_TYPE_MARGIN_FEE", 15: "OPERATION_TYPE_BUY", 16: "OPERATION_TYPE_BUY_CARD", 17: "OPERATION_TYPE_INPUT_SECURITIES", 18: "OPERATION_TYPE_SELL_MARGIN", 19: "OPERATION_TYPE_BROKER_FEE", 20: "OPERATION_TYPE_BUY_MARGIN", 21: "OPERATION_TYPE_DIVIDEND", 22: "OPERATION_TYPE_SELL", 23: "OPERATION_TYPE_COUPON", 24: "OPERATION_TYPE_SUCCESS_FEE", 25: "OPERATION_TYPE_DIVIDEND_TRANSFER", 26: "OPERATION_TYPE_ACCRUING_VARMARGIN", 27: "OPERATION_TYPE_WRITING_OFF_VARMARGIN", 28: "OPERATION_TYPE_DELIVERY_BUY", 29: "OPERATION_TYPE_DELIVERY_SELL", 30: "OPERATION_TYPE_TRACK_MFEE", 31: "OPERATION_TYPE_TRACK_PFEE", 32: "OPERATION_TYPE_TAX_PROGRESSIVE", 33: "OPERATION_TYPE_BOND_TAX_PROGRESSIVE", 34: "OPERATION_TYPE_DIVIDEND_TAX_PROGRESSIVE", 35: "OPERATION_TYPE_BENEFIT_TAX_PROGRESSIVE", 36: "OPERATION_TYPE_TAX_CORRECTION_PROGRESSIVE", 37: "OPERATION_TYPE_TAX_REPO_PROGRESSIVE", 38: "OPERATION_TYPE_TAX_REPO", 39: "OPERATION_TYPE_TAX_REPO_HOLD", 40: "OPERATION_TYPE_TAX_REPO_REFUND", 41: "OPERATION_TYPE_TAX_REPO_HOLD_PROGRESSIVE", 42: "OPERATION_TYPE_TAX_REPO_REFUND_PROGRESSIVE", 43: "OPERATION_TYPE_DIV_EXT", 44: "OPERATION_TYPE_TAX_CORRECTION_COUPON", 45: "OPERATION_TYPE_CASH_FEE", 46: "OPERATION_TYPE_OUT_FEE", 47: "OPERATION_TYPE_OUT_STAMP_DUTY", 50: "OPERATION_TYPE_OUTPUT_SWIFT", 51: "OPERATION_TYPE_INPUT_SWIFT", 53: "OPERATION_TYPE_OUTPUT_ACQUIRING", 54: "OPERATION_TYPE_INPUT_ACQUIRING", 55: "OPERATION_TYPE_OUTPUT_PENALTY", 56: "OPERATION_TYPE_ADVICE_FEE", 57: "OPERATION_TYPE_TRANS_IIS_BS", 58: "OPERATION_TYPE_TRANS_BS_BS", 59: "OPERATION_TYPE_OUT_MULTI", 60: "OPERATION_TYPE_INP_MULTI", 61: "OPERATION_TYPE_OVER_PLACEMENT", 62: "OPERATION_TYPE_OVER_COM", 63: "OPERATION_TYPE_OVER_INCOME", 64: "OPERATION_TYPE_OPTION_EXPIRATION", } OperationType_value = map[string]int32{ "OPERATION_TYPE_UNSPECIFIED": 0, "OPERATION_TYPE_INPUT": 1, "OPERATION_TYPE_BOND_TAX": 2, "OPERATION_TYPE_OUTPUT_SECURITIES": 3, "OPERATION_TYPE_OVERNIGHT": 4, "OPERATION_TYPE_TAX": 5, "OPERATION_TYPE_BOND_REPAYMENT_FULL": 6, "OPERATION_TYPE_SELL_CARD": 7, "OPERATION_TYPE_DIVIDEND_TAX": 8, "OPERATION_TYPE_OUTPUT": 9, "OPERATION_TYPE_BOND_REPAYMENT": 10, "OPERATION_TYPE_TAX_CORRECTION": 11, "OPERATION_TYPE_SERVICE_FEE": 12, "OPERATION_TYPE_BENEFIT_TAX": 13, "OPERATION_TYPE_MARGIN_FEE": 14, "OPERATION_TYPE_BUY": 15, "OPERATION_TYPE_BUY_CARD": 16, "OPERATION_TYPE_INPUT_SECURITIES": 17, "OPERATION_TYPE_SELL_MARGIN": 18, "OPERATION_TYPE_BROKER_FEE": 19, "OPERATION_TYPE_BUY_MARGIN": 20, "OPERATION_TYPE_DIVIDEND": 21, "OPERATION_TYPE_SELL": 22, "OPERATION_TYPE_COUPON": 23, "OPERATION_TYPE_SUCCESS_FEE": 24, "OPERATION_TYPE_DIVIDEND_TRANSFER": 25, "OPERATION_TYPE_ACCRUING_VARMARGIN": 26, "OPERATION_TYPE_WRITING_OFF_VARMARGIN": 27, "OPERATION_TYPE_DELIVERY_BUY": 28, "OPERATION_TYPE_DELIVERY_SELL": 29, "OPERATION_TYPE_TRACK_MFEE": 30, "OPERATION_TYPE_TRACK_PFEE": 31, "OPERATION_TYPE_TAX_PROGRESSIVE": 32, "OPERATION_TYPE_BOND_TAX_PROGRESSIVE": 33, "OPERATION_TYPE_DIVIDEND_TAX_PROGRESSIVE": 34, "OPERATION_TYPE_BENEFIT_TAX_PROGRESSIVE": 35, "OPERATION_TYPE_TAX_CORRECTION_PROGRESSIVE": 36, "OPERATION_TYPE_TAX_REPO_PROGRESSIVE": 37, "OPERATION_TYPE_TAX_REPO": 38, "OPERATION_TYPE_TAX_REPO_HOLD": 39, "OPERATION_TYPE_TAX_REPO_REFUND": 40, "OPERATION_TYPE_TAX_REPO_HOLD_PROGRESSIVE": 41, "OPERATION_TYPE_TAX_REPO_REFUND_PROGRESSIVE": 42, "OPERATION_TYPE_DIV_EXT": 43, "OPERATION_TYPE_TAX_CORRECTION_COUPON": 44, "OPERATION_TYPE_CASH_FEE": 45, "OPERATION_TYPE_OUT_FEE": 46, "OPERATION_TYPE_OUT_STAMP_DUTY": 47, "OPERATION_TYPE_OUTPUT_SWIFT": 50, "OPERATION_TYPE_INPUT_SWIFT": 51, "OPERATION_TYPE_OUTPUT_ACQUIRING": 53, "OPERATION_TYPE_INPUT_ACQUIRING": 54, "OPERATION_TYPE_OUTPUT_PENALTY": 55, "OPERATION_TYPE_ADVICE_FEE": 56, "OPERATION_TYPE_TRANS_IIS_BS": 57, "OPERATION_TYPE_TRANS_BS_BS": 58, "OPERATION_TYPE_OUT_MULTI": 59, "OPERATION_TYPE_INP_MULTI": 60, "OPERATION_TYPE_OVER_PLACEMENT": 61, "OPERATION_TYPE_OVER_COM": 62, "OPERATION_TYPE_OVER_INCOME": 63, "OPERATION_TYPE_OPTION_EXPIRATION": 64, } )
Enum value maps for OperationType.
var ( PortfolioSubscriptionStatus_name = map[int32]string{ 0: "PORTFOLIO_SUBSCRIPTION_STATUS_UNSPECIFIED", 1: "PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS", 2: "PORTFOLIO_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND", 3: "PORTFOLIO_SUBSCRIPTION_STATUS_INTERNAL_ERROR", } PortfolioSubscriptionStatus_value = map[string]int32{ "PORTFOLIO_SUBSCRIPTION_STATUS_UNSPECIFIED": 0, "PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS": 1, "PORTFOLIO_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND": 2, "PORTFOLIO_SUBSCRIPTION_STATUS_INTERNAL_ERROR": 3, } )
Enum value maps for PortfolioSubscriptionStatus.
var ( PositionsAccountSubscriptionStatus_name = map[int32]string{ 0: "POSITIONS_SUBSCRIPTION_STATUS_UNSPECIFIED", 1: "POSITIONS_SUBSCRIPTION_STATUS_SUCCESS", 2: "POSITIONS_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND", 3: "POSITIONS_SUBSCRIPTION_STATUS_INTERNAL_ERROR", } PositionsAccountSubscriptionStatus_value = map[string]int32{ "POSITIONS_SUBSCRIPTION_STATUS_UNSPECIFIED": 0, "POSITIONS_SUBSCRIPTION_STATUS_SUCCESS": 1, "POSITIONS_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND": 2, "POSITIONS_SUBSCRIPTION_STATUS_INTERNAL_ERROR": 3, } )
Enum value maps for PositionsAccountSubscriptionStatus.
var ( PortfolioRequest_CurrencyRequest_name = map[int32]string{ 0: "RUB", 1: "USD", 2: "EUR", } PortfolioRequest_CurrencyRequest_value = map[string]int32{ "RUB": 0, "USD": 1, "EUR": 2, } )
Enum value maps for PortfolioRequest_CurrencyRequest.
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.
var ( OrderType_name = map[int32]string{ 0: "ORDER_TYPE_UNSPECIFIED", 1: "ORDER_TYPE_LIMIT", 2: "ORDER_TYPE_MARKET", 3: "ORDER_TYPE_BESTPRICE", } OrderType_value = map[string]int32{ "ORDER_TYPE_UNSPECIFIED": 0, "ORDER_TYPE_LIMIT": 1, "ORDER_TYPE_MARKET": 2, "ORDER_TYPE_BESTPRICE": 3, } )
Enum value maps for OrderType.
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.
var ( PriceType_name = map[int32]string{ 0: "PRICE_TYPE_UNSPECIFIED", 1: "PRICE_TYPE_POINT", 2: "PRICE_TYPE_CURRENCY", } PriceType_value = map[string]int32{ "PRICE_TYPE_UNSPECIFIED": 0, "PRICE_TYPE_POINT": 1, "PRICE_TYPE_CURRENCY": 2, } )
Enum value maps for PriceType.
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.
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.
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.
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.
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.
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.
var File_common_proto protoreflect.FileDescriptor
var File_instruments_proto protoreflect.FileDescriptor
var File_marketdata_proto protoreflect.FileDescriptor
var File_operations_proto protoreflect.FileDescriptor
var File_orders_proto protoreflect.FileDescriptor
var File_sandbox_proto protoreflect.FileDescriptor
var File_stoporders_proto protoreflect.FileDescriptor
var File_users_proto protoreflect.FileDescriptor
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: "OptionBy", Handler: _InstrumentsService_OptionBy_Handler, }, { MethodName: "Options", Handler: _InstrumentsService_Options_Handler, }, { MethodName: "OptionsBy", Handler: _InstrumentsService_OptionsBy_Handler, }, { MethodName: "ShareBy", Handler: _InstrumentsService_ShareBy_Handler, }, { MethodName: "Shares", Handler: _InstrumentsService_Shares_Handler, }, { MethodName: "GetAccruedInterests", Handler: _InstrumentsService_GetAccruedInterests_Handler, }, { MethodName: "GetFuturesMargin", Handler: _InstrumentsService_GetFuturesMargin_Handler, }, { MethodName: "GetInstrumentBy", Handler: _InstrumentsService_GetInstrumentBy_Handler, }, { MethodName: "GetDividends", Handler: _InstrumentsService_GetDividends_Handler, }, { MethodName: "GetAssetBy", Handler: _InstrumentsService_GetAssetBy_Handler, }, { MethodName: "GetAssets", Handler: _InstrumentsService_GetAssets_Handler, }, { MethodName: "GetFavorites", Handler: _InstrumentsService_GetFavorites_Handler, }, { MethodName: "EditFavorites", Handler: _InstrumentsService_EditFavorites_Handler, }, { MethodName: "GetCountries", Handler: _InstrumentsService_GetCountries_Handler, }, { MethodName: "FindInstrument", Handler: _InstrumentsService_FindInstrument_Handler, }, { MethodName: "GetBrands", Handler: _InstrumentsService_GetBrands_Handler, }, { MethodName: "GetBrandBy", Handler: _InstrumentsService_GetBrandBy_Handler, }, }, 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)
var MarketDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tinkoff.public.invest.api.contract.v1.MarketDataService", HandlerType: (*MarketDataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCandles", Handler: _MarketDataService_GetCandles_Handler, }, { MethodName: "GetLastPrices", Handler: _MarketDataService_GetLastPrices_Handler, }, { MethodName: "GetOrderBook", Handler: _MarketDataService_GetOrderBook_Handler, }, { MethodName: "GetTradingStatus", Handler: _MarketDataService_GetTradingStatus_Handler, }, { MethodName: "GetTradingStatuses", Handler: _MarketDataService_GetTradingStatuses_Handler, }, { MethodName: "GetLastTrades", Handler: _MarketDataService_GetLastTrades_Handler, }, { MethodName: "GetClosePrices", Handler: _MarketDataService_GetClosePrices_Handler, }, }, 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)
var MarketDataStreamService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tinkoff.public.invest.api.contract.v1.MarketDataStreamService", HandlerType: (*MarketDataStreamServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "MarketDataStream", Handler: _MarketDataStreamService_MarketDataStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "MarketDataServerSideStream", Handler: _MarketDataStreamService_MarketDataServerSideStream_Handler, ServerStreams: true, }, }, Metadata: "marketdata.proto", }
MarketDataStreamService_ServiceDesc is the grpc.ServiceDesc for MarketDataStreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OperationsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tinkoff.public.invest.api.contract.v1.OperationsService", HandlerType: (*OperationsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOperations", Handler: _OperationsService_GetOperations_Handler, }, { MethodName: "GetPortfolio", Handler: _OperationsService_GetPortfolio_Handler, }, { MethodName: "GetPositions", Handler: _OperationsService_GetPositions_Handler, }, { MethodName: "GetWithdrawLimits", Handler: _OperationsService_GetWithdrawLimits_Handler, }, { MethodName: "GetBrokerReport", Handler: _OperationsService_GetBrokerReport_Handler, }, { MethodName: "GetDividendsForeignIssuer", Handler: _OperationsService_GetDividendsForeignIssuer_Handler, }, { MethodName: "GetOperationsByCursor", Handler: _OperationsService_GetOperationsByCursor_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "operations.proto", }
OperationsService_ServiceDesc is the grpc.ServiceDesc for OperationsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OperationsStreamService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tinkoff.public.invest.api.contract.v1.OperationsStreamService", HandlerType: (*OperationsStreamServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "PortfolioStream", Handler: _OperationsStreamService_PortfolioStream_Handler, ServerStreams: true, }, { StreamName: "PositionsStream", Handler: _OperationsStreamService_PositionsStream_Handler, ServerStreams: true, }, }, Metadata: "operations.proto", }
OperationsStreamService_ServiceDesc is the grpc.ServiceDesc for OperationsStreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
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, }, { MethodName: "ReplaceOrder", Handler: _OrdersService_ReplaceOrder_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)
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)
var SandboxService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tinkoff.public.invest.api.contract.v1.SandboxService", HandlerType: (*SandboxServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OpenSandboxAccount", Handler: _SandboxService_OpenSandboxAccount_Handler, }, { MethodName: "GetSandboxAccounts", Handler: _SandboxService_GetSandboxAccounts_Handler, }, { MethodName: "CloseSandboxAccount", Handler: _SandboxService_CloseSandboxAccount_Handler, }, { MethodName: "PostSandboxOrder", Handler: _SandboxService_PostSandboxOrder_Handler, }, { MethodName: "ReplaceSandboxOrder", Handler: _SandboxService_ReplaceSandboxOrder_Handler, }, { MethodName: "GetSandboxOrders", Handler: _SandboxService_GetSandboxOrders_Handler, }, { MethodName: "CancelSandboxOrder", Handler: _SandboxService_CancelSandboxOrder_Handler, }, { MethodName: "GetSandboxOrderState", Handler: _SandboxService_GetSandboxOrderState_Handler, }, { MethodName: "GetSandboxPositions", Handler: _SandboxService_GetSandboxPositions_Handler, }, { MethodName: "GetSandboxOperations", Handler: _SandboxService_GetSandboxOperations_Handler, }, { MethodName: "GetSandboxOperationsByCursor", Handler: _SandboxService_GetSandboxOperationsByCursor_Handler, }, { MethodName: "GetSandboxPortfolio", Handler: _SandboxService_GetSandboxPortfolio_Handler, }, { MethodName: "SandboxPayIn", Handler: _SandboxService_SandboxPayIn_Handler, }, { MethodName: "GetSandboxWithdrawLimits", Handler: _SandboxService_GetSandboxWithdrawLimits_Handler, }, }, 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)
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)
var UsersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tinkoff.public.invest.api.contract.v1.UsersService", HandlerType: (*UsersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccounts", Handler: _UsersService_GetAccounts_Handler, }, { MethodName: "GetMarginAttributes", Handler: _UsersService_GetMarginAttributes_Handler, }, { MethodName: "GetUserTariff", Handler: _UsersService_GetUserTariff_Handler, }, { MethodName: "GetInfo", Handler: _UsersService_GetInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "users.proto", }
UsersService_ServiceDesc is the grpc.ServiceDesc for UsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInstrumentsServiceServer ¶
func RegisterInstrumentsServiceServer(s grpc.ServiceRegistrar, srv InstrumentsServiceServer)
func RegisterMarketDataServiceServer ¶
func RegisterMarketDataServiceServer(s grpc.ServiceRegistrar, srv MarketDataServiceServer)
func RegisterMarketDataStreamServiceServer ¶
func RegisterMarketDataStreamServiceServer(s grpc.ServiceRegistrar, srv MarketDataStreamServiceServer)
func RegisterOperationsServiceServer ¶
func RegisterOperationsServiceServer(s grpc.ServiceRegistrar, srv OperationsServiceServer)
func RegisterOperationsStreamServiceServer ¶
func RegisterOperationsStreamServiceServer(s grpc.ServiceRegistrar, srv OperationsStreamServiceServer)
func RegisterOrdersServiceServer ¶
func RegisterOrdersServiceServer(s grpc.ServiceRegistrar, srv OrdersServiceServer)
func RegisterOrdersStreamServiceServer ¶
func RegisterOrdersStreamServiceServer(s grpc.ServiceRegistrar, srv OrdersStreamServiceServer)
func RegisterSandboxServiceServer ¶
func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)
func 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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (AccessLevel) Type() protoreflect.EnumType
type Account ¶
type Account struct { // Идентификатор счёта. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Тип счёта. Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.AccountType" json:"type,omitempty"` // Название счёта. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Статус счёта. Status AccountStatus `protobuf:"varint,4,opt,name=status,proto3,enum=tinkoff.public.invest.api.contract.v1.AccountStatus" json:"status,omitempty"` // Дата открытия счёта в часовом поясе UTC. OpenedDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=opened_date,json=openedDate,proto3" json:"opened_date,omitempty"` // Дата закрытия счёта в часовом поясе UTC. ClosedDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=closed_date,json=closedDate,proto3" json:"closed_date,omitempty"` // Уровень доступа к текущему счёту (определяется токеном). AccessLevel AccessLevel `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
Информация о счёте.
func (*Account) Descriptor
deprecated
func (*Account) GetAccessLevel ¶
func (x *Account) GetAccessLevel() AccessLevel
func (*Account) GetClosedDate ¶
func (x *Account) GetClosedDate() *timestamppb.Timestamp
func (*Account) GetOpenedDate ¶
func (x *Account) GetOpenedDate() *timestamppb.Timestamp
func (*Account) GetStatus ¶
func (x *Account) GetStatus() AccountStatus
func (*Account) GetType ¶
func (x *Account) GetType() AccountType
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x AccountStatus) Number() protoreflect.EnumNumber
func (AccountStatus) String ¶
func (x AccountStatus) String() string
func (AccountStatus) Type ¶
func (AccountStatus) Type() protoreflect.EnumType
type AccountSubscriptionStatus ¶
type AccountSubscriptionStatus struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта SubscriptionStatus PortfolioSubscriptionStatus `` //Результат подписки. /* 187-byte string literal not displayed */ // contains filtered or unexported fields }
Счет клиента.
func (*AccountSubscriptionStatus) Descriptor
deprecated
func (*AccountSubscriptionStatus) Descriptor() ([]byte, []int)
Deprecated: Use AccountSubscriptionStatus.ProtoReflect.Descriptor instead.
func (*AccountSubscriptionStatus) GetAccountId ¶
func (x *AccountSubscriptionStatus) GetAccountId() string
func (*AccountSubscriptionStatus) GetSubscriptionStatus ¶
func (x *AccountSubscriptionStatus) GetSubscriptionStatus() PortfolioSubscriptionStatus
func (*AccountSubscriptionStatus) ProtoMessage ¶
func (*AccountSubscriptionStatus) ProtoMessage()
func (*AccountSubscriptionStatus) ProtoReflect ¶
func (x *AccountSubscriptionStatus) ProtoReflect() protoreflect.Message
func (*AccountSubscriptionStatus) Reset ¶
func (x *AccountSubscriptionStatus) Reset()
func (*AccountSubscriptionStatus) String ¶
func (x *AccountSubscriptionStatus) String() string
type AccountType ¶
type AccountType int32
Тип счёта.
const ( AccountType_ACCOUNT_TYPE_UNSPECIFIED AccountType = 0 //Тип аккаунта не определён. AccountType_ACCOUNT_TYPE_TINKOFF AccountType = 1 //Брокерский счёт Тинькофф. AccountType_ACCOUNT_TYPE_TINKOFF_IIS AccountType = 2 //ИИС счёт. AccountType_ACCOUNT_TYPE_INVEST_BOX AccountType = 3 //Инвесткопилка. )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (AccountType) Type() protoreflect.EnumType
type AccruedInterest ¶
type AccruedInterest struct { Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` //Дата и время выплаты в часовом поясе UTC. Value *Quotation `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` //Величина выплаты. ValuePercent *Quotation `protobuf:"bytes,3,opt,name=value_percent,json=valuePercent,proto3" json:"value_percent,omitempty"` //Величина выплаты в процентах от номинала. Nominal *Quotation `protobuf:"bytes,4,opt,name=nominal,proto3" json:"nominal,omitempty"` //Номинал облигации. // contains filtered or unexported fields }
Операция начисления купонов.
func (*AccruedInterest) Descriptor
deprecated
func (*AccruedInterest) Descriptor() ([]byte, []int)
Deprecated: Use AccruedInterest.ProtoReflect.Descriptor instead.
func (*AccruedInterest) GetDate ¶
func (x *AccruedInterest) GetDate() *timestamppb.Timestamp
func (*AccruedInterest) GetNominal ¶
func (x *AccruedInterest) GetNominal() *Quotation
func (*AccruedInterest) GetValue ¶
func (x *AccruedInterest) GetValue() *Quotation
func (*AccruedInterest) GetValuePercent ¶
func (x *AccruedInterest) GetValuePercent() *Quotation
func (*AccruedInterest) ProtoMessage ¶
func (*AccruedInterest) ProtoMessage()
func (*AccruedInterest) ProtoReflect ¶
func (x *AccruedInterest) ProtoReflect() protoreflect.Message
func (*AccruedInterest) Reset ¶
func (x *AccruedInterest) Reset()
func (*AccruedInterest) String ¶
func (x *AccruedInterest) String() string
type Asset ¶
type Asset struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор актива. Type AssetType `protobuf:"varint,2,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.AssetType" json:"type,omitempty"` //Тип актива. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` //Наименование актива. Instruments []*AssetInstrument `protobuf:"bytes,4,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив идентификаторов инструментов. // contains filtered or unexported fields }
Информация об активе.
func (*Asset) Descriptor
deprecated
func (*Asset) GetInstruments ¶
func (x *Asset) GetInstruments() []*AssetInstrument
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect ¶
func (x *Asset) ProtoReflect() protoreflect.Message
type AssetBond ¶
type AssetBond struct { CurrentNominal *Quotation `protobuf:"bytes,1,opt,name=current_nominal,json=currentNominal,proto3" json:"current_nominal,omitempty"` //Текущий номинал. BorrowName string `protobuf:"bytes,2,opt,name=borrow_name,json=borrowName,proto3" json:"borrow_name,omitempty"` //Наименование заемщика. IssueSize *Quotation `protobuf:"bytes,3,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"` //Объем эмиссии облигации (стоимость). Nominal *Quotation `protobuf:"bytes,4,opt,name=nominal,proto3" json:"nominal,omitempty"` //Номинал облигации. NominalCurrency string `protobuf:"bytes,5,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"` //Валюта номинала. IssueKind string `protobuf:"bytes,6,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"` //Форма выпуска облигации. InterestKind string `protobuf:"bytes,7,opt,name=interest_kind,json=interestKind,proto3" json:"interest_kind,omitempty"` //Форма дохода облигации. CouponQuantityPerYear int32 `` //Количество выплат в год. /* 129-byte string literal not displayed */ IndexedNominalFlag bool `protobuf:"varint,9,opt,name=indexed_nominal_flag,json=indexedNominalFlag,proto3" json:"indexed_nominal_flag,omitempty"` //Признак облигации с индексируемым номиналом. SubordinatedFlag bool `protobuf:"varint,10,opt,name=subordinated_flag,json=subordinatedFlag,proto3" json:"subordinated_flag,omitempty"` //Признак субординированной облигации. CollateralFlag bool `protobuf:"varint,11,opt,name=collateral_flag,json=collateralFlag,proto3" json:"collateral_flag,omitempty"` //Признак обеспеченной облигации. TaxFreeFlag bool `protobuf:"varint,12,opt,name=tax_free_flag,json=taxFreeFlag,proto3" json:"tax_free_flag,omitempty"` //Признак показывает, что купоны облигации не облагаются налогом (для mass market). AmortizationFlag bool `protobuf:"varint,13,opt,name=amortization_flag,json=amortizationFlag,proto3" json:"amortization_flag,omitempty"` //Признак облигации с амортизацией долга. FloatingCouponFlag bool `protobuf:"varint,14,opt,name=floating_coupon_flag,json=floatingCouponFlag,proto3" json:"floating_coupon_flag,omitempty"` //Признак облигации с плавающим купоном. PerpetualFlag bool `protobuf:"varint,15,opt,name=perpetual_flag,json=perpetualFlag,proto3" json:"perpetual_flag,omitempty"` //Признак бессрочной облигации. MaturityDate *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"` //Дата погашения облигации. ReturnCondition string `protobuf:"bytes,17,opt,name=return_condition,json=returnCondition,proto3" json:"return_condition,omitempty"` //Описание и условия получения дополнительного дохода. StateRegDate *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=state_reg_date,json=stateRegDate,proto3" json:"state_reg_date,omitempty"` //Дата выпуска облигации. PlacementDate *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"` //Дата размещения облигации. PlacementPrice *Quotation `protobuf:"bytes,20,opt,name=placement_price,json=placementPrice,proto3" json:"placement_price,omitempty"` //Цена размещения облигации. IssueSizePlan *Quotation `protobuf:"bytes,21,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"` //Объявленное количество шт. // contains filtered or unexported fields }
Облигация.
func (*AssetBond) Descriptor
deprecated
func (*AssetBond) GetAmortizationFlag ¶
func (*AssetBond) GetBorrowName ¶
func (*AssetBond) GetCollateralFlag ¶
func (*AssetBond) GetCouponQuantityPerYear ¶
func (*AssetBond) GetCurrentNominal ¶
func (*AssetBond) GetFloatingCouponFlag ¶
func (*AssetBond) GetIndexedNominalFlag ¶
func (*AssetBond) GetInterestKind ¶
func (*AssetBond) GetIssueKind ¶
func (*AssetBond) GetIssueSize ¶
func (*AssetBond) GetIssueSizePlan ¶
func (*AssetBond) GetMaturityDate ¶
func (x *AssetBond) GetMaturityDate() *timestamppb.Timestamp
func (*AssetBond) GetNominal ¶
func (*AssetBond) GetNominalCurrency ¶
func (*AssetBond) GetPerpetualFlag ¶
func (*AssetBond) GetPlacementDate ¶
func (x *AssetBond) GetPlacementDate() *timestamppb.Timestamp
func (*AssetBond) GetPlacementPrice ¶
func (*AssetBond) GetReturnCondition ¶
func (*AssetBond) GetStateRegDate ¶
func (x *AssetBond) GetStateRegDate() *timestamppb.Timestamp
func (*AssetBond) GetSubordinatedFlag ¶
func (*AssetBond) GetTaxFreeFlag ¶
func (*AssetBond) ProtoMessage ¶
func (*AssetBond) ProtoMessage()
func (*AssetBond) ProtoReflect ¶
func (x *AssetBond) ProtoReflect() protoreflect.Message
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"` //Признак использования заемных активов (плечо). UcitsFlag bool `protobuf:"varint,16,opt,name=ucits_flag,json=ucitsFlag,proto3" json:"ucits_flag,omitempty"` //Признак обязательства по отчетности перед регулятором. ReleasedDate *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=released_date,json=releasedDate,proto3" json:"released_date,omitempty"` //Дата выпуска. Description string `protobuf:"bytes,18,opt,name=description,proto3" json:"description,omitempty"` //Описание фонда. PrimaryIndexDescription string `` //Описание индекса, за которым следует фонд. /* 133-byte string literal not displayed */ PrimaryIndexCompany string `protobuf:"bytes,20,opt,name=primary_index_company,json=primaryIndexCompany,proto3" json:"primary_index_company,omitempty"` //Основные компании, в которые вкладывается фонд. IndexRecoveryPeriod *Quotation `protobuf:"bytes,21,opt,name=index_recovery_period,json=indexRecoveryPeriod,proto3" json:"index_recovery_period,omitempty"` //Срок восстановления индекса (после просадки). DivYieldFlag bool `protobuf:"varint,23,opt,name=div_yield_flag,json=divYieldFlag,proto3" json:"div_yield_flag,omitempty"` //Признак наличия дивидендной доходности. ExpenseCommission *Quotation `protobuf:"bytes,24,opt,name=expense_commission,json=expenseCommission,proto3" json:"expense_commission,omitempty"` //Комиссия на покрытие расходов фонда (в процентах). PrimaryIndexTrackingError *Quotation `` //Ошибка следования за индексом (в процентах). /* 141-byte string literal not displayed */ RebalancingPlan string `protobuf:"bytes,26,opt,name=rebalancing_plan,json=rebalancingPlan,proto3" json:"rebalancing_plan,omitempty"` //Плановая ребалансировка портфеля. TaxRate string `protobuf:"bytes,27,opt,name=tax_rate,json=taxRate,proto3" json:"tax_rate,omitempty"` //Ставки налогообложения дивидендов и купонов. RebalancingDates []*timestamppb.Timestamp `protobuf:"bytes,28,rep,name=rebalancing_dates,json=rebalancingDates,proto3" json:"rebalancing_dates,omitempty"` //Даты ребалансировок. IssueKind string `protobuf:"bytes,29,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"` //Форма выпуска. Nominal *Quotation `protobuf:"bytes,30,opt,name=nominal,proto3" json:"nominal,omitempty"` //Номинал. NominalCurrency string `protobuf:"bytes,31,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"` //Валюта номинала. // contains filtered or unexported fields }
Фонд.
func (*AssetEtf) Descriptor
deprecated
func (*AssetEtf) GetBuyPremium ¶
func (*AssetEtf) GetDescription ¶
func (*AssetEtf) GetDivYieldFlag ¶
func (*AssetEtf) GetExpenseCommission ¶
func (*AssetEtf) GetFixedCommission ¶
func (*AssetEtf) GetFocusType ¶
func (*AssetEtf) GetHurdleRate ¶
func (*AssetEtf) GetInavCode ¶
func (*AssetEtf) GetIndexRecoveryPeriod ¶
func (*AssetEtf) GetIssueKind ¶
func (*AssetEtf) GetLeveragedFlag ¶
func (*AssetEtf) GetManagementType ¶
func (*AssetEtf) GetNominal ¶
func (*AssetEtf) GetNominalCurrency ¶
func (*AssetEtf) GetNumShare ¶
func (*AssetEtf) GetPaymentType ¶
func (*AssetEtf) GetPerformanceFee ¶
func (*AssetEtf) GetPrimaryIndex ¶
func (*AssetEtf) GetPrimaryIndexCompany ¶
func (*AssetEtf) GetPrimaryIndexDescription ¶
func (*AssetEtf) GetPrimaryIndexTrackingError ¶
func (*AssetEtf) GetRebalancingDates ¶
func (x *AssetEtf) GetRebalancingDates() []*timestamppb.Timestamp
func (*AssetEtf) GetRebalancingFlag ¶
func (*AssetEtf) GetRebalancingFreq ¶
func (*AssetEtf) GetRebalancingPlan ¶
func (*AssetEtf) GetReleasedDate ¶
func (x *AssetEtf) GetReleasedDate() *timestamppb.Timestamp
func (*AssetEtf) GetSellDiscount ¶
func (*AssetEtf) GetTaxRate ¶
func (*AssetEtf) GetTotalExpense ¶
func (*AssetEtf) GetUcitsFlag ¶
func (*AssetEtf) GetWatermarkFlag ¶
func (*AssetEtf) ProtoMessage ¶
func (*AssetEtf) ProtoMessage()
func (*AssetEtf) ProtoReflect ¶
func (x *AssetEtf) ProtoReflect() protoreflect.Message
type AssetFull ¶
type AssetFull struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор актива. Type AssetType `protobuf:"varint,2,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.AssetType" json:"type,omitempty"` //Тип актива. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` //Наименование актива. NameBrief string `protobuf:"bytes,4,opt,name=name_brief,json=nameBrief,proto3" json:"name_brief,omitempty"` //Короткое наименование актива. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` //Описание актива. DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` //Дата и время удаления актива. RequiredTests []string `protobuf:"bytes,7,rep,name=required_tests,json=requiredTests,proto3" json:"required_tests,omitempty"` //Тестирование клиентов. // Types that are assignable to Ext: // // *AssetFull_Currency // *AssetFull_Security Ext isAssetFull_Ext `protobuf_oneof:"ext"` GosRegCode string `protobuf:"bytes,10,opt,name=gos_reg_code,json=gosRegCode,proto3" json:"gos_reg_code,omitempty"` //Номер государственной регистрации. Cfi string `protobuf:"bytes,11,opt,name=cfi,proto3" json:"cfi,omitempty"` //Код CFI. CodeNsd string `protobuf:"bytes,12,opt,name=code_nsd,json=codeNsd,proto3" json:"code_nsd,omitempty"` //Код НРД инструмента. Status string `protobuf:"bytes,13,opt,name=status,proto3" json:"status,omitempty"` //Статус актива. Brand *Brand `protobuf:"bytes,14,opt,name=brand,proto3" json:"brand,omitempty"` //Бренд. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` //Дата и время последнего обновления записи. BrCode string `protobuf:"bytes,16,opt,name=br_code,json=brCode,proto3" json:"br_code,omitempty"` //Код типа ц.б. по классификации Банка России. BrCodeName string `protobuf:"bytes,17,opt,name=br_code_name,json=brCodeName,proto3" json:"br_code_name,omitempty"` //Наименование кода типа ц.б. по классификации Банка России. Instruments []*AssetInstrument `protobuf:"bytes,18,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив идентификаторов инструментов. // contains filtered or unexported fields }
func (*AssetFull) Descriptor
deprecated
func (*AssetFull) GetBrCodeName ¶
func (*AssetFull) GetCodeNsd ¶
func (*AssetFull) GetCurrency ¶
func (x *AssetFull) GetCurrency() *AssetCurrency
func (*AssetFull) GetDeletedAt ¶
func (x *AssetFull) GetDeletedAt() *timestamppb.Timestamp
func (*AssetFull) GetDescription ¶
func (*AssetFull) GetGosRegCode ¶
func (*AssetFull) GetInstruments ¶
func (x *AssetFull) GetInstruments() []*AssetInstrument
func (*AssetFull) GetNameBrief ¶
func (*AssetFull) GetRequiredTests ¶
func (*AssetFull) GetSecurity ¶
func (x *AssetFull) GetSecurity() *AssetSecurity
func (*AssetFull) GetUpdatedAt ¶
func (x *AssetFull) GetUpdatedAt() *timestamppb.Timestamp
func (*AssetFull) ProtoMessage ¶
func (*AssetFull) ProtoMessage()
func (*AssetFull) ProtoReflect ¶
func (x *AssetFull) ProtoReflect() protoreflect.Message
type AssetFull_Currency ¶
type AssetFull_Currency struct {
Currency *AssetCurrency `protobuf:"bytes,8,opt,name=currency,proto3,oneof"` //Валюта. Обязательно и заполняется только для type = "ASSET_TYPE_CURRENCY".
}
type AssetFull_Security ¶
type AssetFull_Security struct {
Security *AssetSecurity `protobuf:"bytes,9,opt,name=security,proto3,oneof"` //Ценная бумага. Обязательно и заполняется только для type = "ASSET_TYPE_SECURITY".
}
type AssetInstrument ¶
type AssetInstrument struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` //uid идентификатор инструмента. Figi string `protobuf:"bytes,2,opt,name=figi,proto3" json:"figi,omitempty"` //figi идентификатор инструмента. InstrumentType string `protobuf:"bytes,3,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента. Ticker string `protobuf:"bytes,4,opt,name=ticker,proto3" json:"ticker,omitempty"` //Тикер инструмента. ClassCode string `protobuf:"bytes,5,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов). Links []*InstrumentLink `protobuf:"bytes,6,rep,name=links,proto3" json:"links,omitempty"` //Массив связанных инструментов. InstrumentKind InstrumentType `` //Тип инструмента. /* 163-byte string literal not displayed */ PositionUid string `protobuf:"bytes,11,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //id позиции. // contains filtered or unexported fields }
Идентификаторы инструмента.
func (*AssetInstrument) Descriptor
deprecated
func (*AssetInstrument) Descriptor() ([]byte, []int)
Deprecated: Use AssetInstrument.ProtoReflect.Descriptor instead.
func (*AssetInstrument) GetClassCode ¶
func (x *AssetInstrument) GetClassCode() string
func (*AssetInstrument) GetFigi ¶
func (x *AssetInstrument) GetFigi() string
func (*AssetInstrument) GetInstrumentKind ¶
func (x *AssetInstrument) GetInstrumentKind() InstrumentType
func (*AssetInstrument) GetInstrumentType ¶
func (x *AssetInstrument) GetInstrumentType() string
func (*AssetInstrument) GetLinks ¶
func (x *AssetInstrument) GetLinks() []*InstrumentLink
func (*AssetInstrument) GetPositionUid ¶
func (x *AssetInstrument) GetPositionUid() string
func (*AssetInstrument) GetTicker ¶
func (x *AssetInstrument) GetTicker() string
func (*AssetInstrument) GetUid ¶
func (x *AssetInstrument) GetUid() string
func (*AssetInstrument) ProtoMessage ¶
func (*AssetInstrument) ProtoMessage()
func (*AssetInstrument) ProtoReflect ¶
func (x *AssetInstrument) ProtoReflect() protoreflect.Message
func (*AssetInstrument) Reset ¶
func (x *AssetInstrument) Reset()
func (*AssetInstrument) String ¶
func (x *AssetInstrument) String() string
type AssetRequest ¶
type AssetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //uid-идентификатор актива. // contains filtered or unexported fields }
Запрос актива по идентификатору.
func (*AssetRequest) Descriptor
deprecated
func (*AssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssetRequest.ProtoReflect.Descriptor instead.
func (*AssetRequest) GetId ¶
func (x *AssetRequest) GetId() string
func (*AssetRequest) ProtoMessage ¶
func (*AssetRequest) ProtoMessage()
func (*AssetRequest) ProtoReflect ¶
func (x *AssetRequest) ProtoReflect() protoreflect.Message
func (*AssetRequest) Reset ¶
func (x *AssetRequest) Reset()
func (*AssetRequest) String ¶
func (x *AssetRequest) String() string
type AssetResponse ¶
type AssetResponse struct { Asset *AssetFull `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` //Актив. // contains filtered or unexported fields }
Данные по активу.
func (*AssetResponse) Descriptor
deprecated
func (*AssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssetResponse.ProtoReflect.Descriptor instead.
func (*AssetResponse) GetAsset ¶
func (x *AssetResponse) GetAsset() *AssetFull
func (*AssetResponse) ProtoMessage ¶
func (*AssetResponse) ProtoMessage()
func (*AssetResponse) ProtoReflect ¶
func (x *AssetResponse) ProtoReflect() protoreflect.Message
func (*AssetResponse) Reset ¶
func (x *AssetResponse) Reset()
func (*AssetResponse) String ¶
func (x *AssetResponse) String() string
type AssetSecurity ¶
type AssetSecurity struct { Isin string `protobuf:"bytes,1,opt,name=isin,proto3" json:"isin,omitempty"` //ISIN-идентификатор ценной бумаги. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` //Тип ценной бумаги. InstrumentKind InstrumentType `` //Тип инструмента. /* 163-byte string literal not displayed */ // Types that are assignable to Ext: // // *AssetSecurity_Share // *AssetSecurity_Bond // *AssetSecurity_Sp // *AssetSecurity_Etf // *AssetSecurity_ClearingCertificate Ext isAssetSecurity_Ext `protobuf_oneof:"ext"` // contains filtered or unexported fields }
Ценная бумага.
func (*AssetSecurity) Descriptor
deprecated
func (*AssetSecurity) Descriptor() ([]byte, []int)
Deprecated: Use AssetSecurity.ProtoReflect.Descriptor instead.
func (*AssetSecurity) GetBond ¶
func (x *AssetSecurity) GetBond() *AssetBond
func (*AssetSecurity) GetClearingCertificate ¶
func (x *AssetSecurity) GetClearingCertificate() *AssetClearingCertificate
func (*AssetSecurity) GetEtf ¶
func (x *AssetSecurity) GetEtf() *AssetEtf
func (*AssetSecurity) GetExt ¶
func (m *AssetSecurity) GetExt() isAssetSecurity_Ext
func (*AssetSecurity) GetInstrumentKind ¶
func (x *AssetSecurity) GetInstrumentKind() InstrumentType
func (*AssetSecurity) GetIsin ¶
func (x *AssetSecurity) GetIsin() string
func (*AssetSecurity) GetShare ¶
func (x *AssetSecurity) GetShare() *AssetShare
func (*AssetSecurity) GetSp ¶
func (x *AssetSecurity) GetSp() *AssetStructuredProduct
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 {
}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 { // contains filtered or unexported fields }
Акция.
func (*AssetShare) Descriptor
deprecated
func (*AssetShare) Descriptor() ([]byte, []int)
Deprecated: Use AssetShare.ProtoReflect.Descriptor instead.
func (*AssetShare) GetDivYieldFlag ¶
func (x *AssetShare) GetDivYieldFlag() bool
func (*AssetShare) GetDividendRate ¶
func (x *AssetShare) GetDividendRate() *Quotation
func (*AssetShare) GetIpoDate ¶
func (x *AssetShare) GetIpoDate() *timestamppb.Timestamp
func (*AssetShare) GetIssueKind ¶
func (x *AssetShare) GetIssueKind() string
func (*AssetShare) GetIssueSize ¶
func (x *AssetShare) GetIssueSize() *Quotation
func (*AssetShare) GetIssueSizePlan ¶
func (x *AssetShare) GetIssueSizePlan() *Quotation
func (*AssetShare) GetNominal ¶
func (x *AssetShare) GetNominal() *Quotation
func (*AssetShare) GetNominalCurrency ¶
func (x *AssetShare) GetNominalCurrency() string
func (*AssetShare) GetPlacementDate ¶
func (x *AssetShare) GetPlacementDate() *timestamppb.Timestamp
func (*AssetShare) GetPreferredShareType ¶
func (x *AssetShare) GetPreferredShareType() string
func (*AssetShare) GetPrimaryIndex ¶
func (x *AssetShare) GetPrimaryIndex() string
func (*AssetShare) GetRegistryDate ¶
func (x *AssetShare) GetRegistryDate() *timestamppb.Timestamp
func (*AssetShare) GetRepresIsin ¶
func (x *AssetShare) GetRepresIsin() string
func (*AssetShare) GetTotalFloat ¶
func (x *AssetShare) GetTotalFloat() *Quotation
func (*AssetShare) GetType ¶
func (x *AssetShare) GetType() ShareType
func (*AssetShare) ProtoMessage ¶
func (*AssetShare) ProtoMessage()
func (*AssetShare) ProtoReflect ¶
func (x *AssetShare) ProtoReflect() protoreflect.Message
func (*AssetShare) Reset ¶
func (x *AssetShare) Reset()
func (*AssetShare) String ¶
func (x *AssetShare) String() string
type AssetStructuredProduct ¶
type AssetStructuredProduct struct { BorrowName string `protobuf:"bytes,1,opt,name=borrow_name,json=borrowName,proto3" json:"borrow_name,omitempty"` //Наименование заемщика. Nominal *Quotation `protobuf:"bytes,2,opt,name=nominal,proto3" json:"nominal,omitempty"` //Номинал. NominalCurrency string `protobuf:"bytes,3,opt,name=nominal_currency,json=nominalCurrency,proto3" json:"nominal_currency,omitempty"` //Валюта номинала. Type StructuredProductType `` //Тип структурной ноты. /* 127-byte string literal not displayed */ LogicPortfolio string `protobuf:"bytes,5,opt,name=logic_portfolio,json=logicPortfolio,proto3" json:"logic_portfolio,omitempty"` //Стратегия портфеля. AssetType AssetType `` //Тип базового актива. /* 142-byte string literal not displayed */ BasicAsset string `protobuf:"bytes,7,opt,name=basic_asset,json=basicAsset,proto3" json:"basic_asset,omitempty"` //Вид базового актива в зависимости от типа базового актива. SafetyBarrier *Quotation `protobuf:"bytes,8,opt,name=safety_barrier,json=safetyBarrier,proto3" json:"safety_barrier,omitempty"` //Барьер сохранности (в процентах). MaturityDate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"` //Дата погашения. IssueSizePlan *Quotation `protobuf:"bytes,10,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"` //Объявленное количество шт. IssueSize *Quotation `protobuf:"bytes,11,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"` //Объем размещения. PlacementDate *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"` //Дата размещения ноты. IssueKind string `protobuf:"bytes,13,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"` //Форма выпуска. // contains filtered or unexported fields }
Структурная нота.
func (*AssetStructuredProduct) Descriptor
deprecated
func (*AssetStructuredProduct) Descriptor() ([]byte, []int)
Deprecated: Use AssetStructuredProduct.ProtoReflect.Descriptor instead.
func (*AssetStructuredProduct) GetAssetType ¶
func (x *AssetStructuredProduct) GetAssetType() AssetType
func (*AssetStructuredProduct) GetBasicAsset ¶
func (x *AssetStructuredProduct) GetBasicAsset() string
func (*AssetStructuredProduct) GetBorrowName ¶
func (x *AssetStructuredProduct) GetBorrowName() string
func (*AssetStructuredProduct) GetIssueKind ¶
func (x *AssetStructuredProduct) GetIssueKind() string
func (*AssetStructuredProduct) GetIssueSize ¶
func (x *AssetStructuredProduct) GetIssueSize() *Quotation
func (*AssetStructuredProduct) GetIssueSizePlan ¶
func (x *AssetStructuredProduct) GetIssueSizePlan() *Quotation
func (*AssetStructuredProduct) GetLogicPortfolio ¶
func (x *AssetStructuredProduct) GetLogicPortfolio() string
func (*AssetStructuredProduct) GetMaturityDate ¶
func (x *AssetStructuredProduct) GetMaturityDate() *timestamppb.Timestamp
func (*AssetStructuredProduct) GetNominal ¶
func (x *AssetStructuredProduct) GetNominal() *Quotation
func (*AssetStructuredProduct) GetNominalCurrency ¶
func (x *AssetStructuredProduct) GetNominalCurrency() string
func (*AssetStructuredProduct) GetPlacementDate ¶
func (x *AssetStructuredProduct) GetPlacementDate() *timestamppb.Timestamp
func (*AssetStructuredProduct) GetSafetyBarrier ¶
func (x *AssetStructuredProduct) GetSafetyBarrier() *Quotation
func (*AssetStructuredProduct) GetType ¶
func (x *AssetStructuredProduct) GetType() StructuredProductType
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
Тип актива.
func (AssetType) Descriptor ¶
func (AssetType) Descriptor() protoreflect.EnumDescriptor
func (AssetType) EnumDescriptor
deprecated
func (AssetType) Number ¶
func (x AssetType) Number() protoreflect.EnumNumber
func (AssetType) Type ¶
func (AssetType) Type() protoreflect.EnumType
type AssetsRequest ¶
type AssetsRequest struct { InstrumentType InstrumentType `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Запрос списка активов.
func (*AssetsRequest) Descriptor
deprecated
func (*AssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssetsRequest.ProtoReflect.Descriptor instead.
func (*AssetsRequest) GetInstrumentType ¶
func (x *AssetsRequest) GetInstrumentType() InstrumentType
func (*AssetsRequest) ProtoMessage ¶
func (*AssetsRequest) ProtoMessage()
func (*AssetsRequest) ProtoReflect ¶
func (x *AssetsRequest) ProtoReflect() protoreflect.Message
func (*AssetsRequest) Reset ¶
func (x *AssetsRequest) Reset()
func (*AssetsRequest) String ¶
func (x *AssetsRequest) String() string
type AssetsResponse ¶
type AssetsResponse struct { Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` //Активы. // contains filtered or unexported fields }
Список активов.
func (*AssetsResponse) Descriptor
deprecated
func (*AssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssetsResponse.ProtoReflect.Descriptor instead.
func (*AssetsResponse) GetAssets ¶
func (x *AssetsResponse) GetAssets() []*Asset
func (*AssetsResponse) ProtoMessage ¶
func (*AssetsResponse) ProtoMessage()
func (*AssetsResponse) ProtoReflect ¶
func (x *AssetsResponse) ProtoReflect() protoreflect.Message
func (*AssetsResponse) Reset ¶
func (x *AssetsResponse) Reset()
func (*AssetsResponse) String ¶
func (x *AssetsResponse) String() string
type Bond ¶
type Bond struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"` //Тикер инструмента. ClassCode string `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов). Isin string `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"` //Isin-идентификатор инструмента. Lot int32 `protobuf:"varint,5,opt,name=lot,proto3" json:"lot,omitempty"` //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру *lot*. Подробнее: [лот](https://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 *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"` //Дата погашения облигации в часовом поясе UTC. Nominal *MoneyValue `protobuf:"bytes,19,opt,name=nominal,proto3" json:"nominal,omitempty"` //Номинал облигации. InitialNominal *MoneyValue `protobuf:"bytes,20,opt,name=initial_nominal,json=initialNominal,proto3" json:"initial_nominal,omitempty"` //Первоначальный номинал облигации. StateRegDate *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=state_reg_date,json=stateRegDate,proto3" json:"state_reg_date,omitempty"` //Дата выпуска облигации в часовом поясе UTC. PlacementDate *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=placement_date,json=placementDate,proto3" json:"placement_date,omitempty"` //Дата размещения в часовом поясе UTC. PlacementPrice *MoneyValue `protobuf:"bytes,23,opt,name=placement_price,json=placementPrice,proto3" json:"placement_price,omitempty"` //Цена размещения. AciValue *MoneyValue `protobuf:"bytes,24,opt,name=aci_value,json=aciValue,proto3" json:"aci_value,omitempty"` //Значение НКД (накопленного купонного дохода) на дату. CountryOfRisk string `protobuf:"bytes,25,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"` //Код страны риска, т.е. страны, в которой компания ведёт основной бизнес. CountryOfRiskName string `protobuf:"bytes,26,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска, т.е. страны, в которой компания ведёт основной бизнес. Sector string `protobuf:"bytes,27,opt,name=sector,proto3" json:"sector,omitempty"` //Сектор экономики. IssueKind string `protobuf:"bytes,28,opt,name=issue_kind,json=issueKind,proto3" json:"issue_kind,omitempty"` //Форма выпуска. Возможные значения: </br>**documentary** — документарная; </br>**non_documentary** — бездокументарная. IssueSize int64 `protobuf:"varint,29,opt,name=issue_size,json=issueSize,proto3" json:"issue_size,omitempty"` //Размер выпуска. IssueSizePlan int64 `protobuf:"varint,30,opt,name=issue_size_plan,json=issueSizePlan,proto3" json:"issue_size_plan,omitempty"` //Плановый размер выпуска. TradingStatus SecurityTradingStatus `` //Текущий режим торгов инструмента. /* 167-byte string literal not displayed */ OtcFlag bool `protobuf:"varint,32,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"` //Признак внебиржевой ценной бумаги. BuyAvailableFlag bool `protobuf:"varint,33,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"` //Признак доступности для покупки. SellAvailableFlag bool `protobuf:"varint,34,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи. FloatingCouponFlag bool `protobuf:"varint,35,opt,name=floating_coupon_flag,json=floatingCouponFlag,proto3" json:"floating_coupon_flag,omitempty"` //Признак облигации с плавающим купоном. PerpetualFlag bool `protobuf:"varint,36,opt,name=perpetual_flag,json=perpetualFlag,proto3" json:"perpetual_flag,omitempty"` //Признак бессрочной облигации. AmortizationFlag bool `protobuf:"varint,37,opt,name=amortization_flag,json=amortizationFlag,proto3" json:"amortization_flag,omitempty"` //Признак облигации с амортизацией долга. MinPriceIncrement *Quotation `protobuf:"bytes,38,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"` //Шаг цены. ApiTradeAvailableFlag bool `` //Параметр указывает на возможность торговать инструментом через API. /* 130-byte string literal not displayed */ Uid string `protobuf:"bytes,40,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента. RealExchange RealExchange `` //Реальная площадка исполнения расчётов. /* 155-byte string literal not displayed */ PositionUid string `protobuf:"bytes,42,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента. ForIisFlag bool `protobuf:"varint,51,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Признак доступности для ИИС. ForQualInvestorFlag bool `protobuf:"varint,52,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,53,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным BlockedTcaFlag bool `protobuf:"varint,54,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС SubordinatedFlag bool `protobuf:"varint,55,opt,name=subordinated_flag,json=subordinatedFlag,proto3" json:"subordinated_flag,omitempty"` //Признак субординированной облигации. LiquidityFlag bool `protobuf:"varint,56,opt,name=liquidity_flag,json=liquidityFlag,proto3" json:"liquidity_flag,omitempty"` //Флаг достаточной ликвидности First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,61,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,62,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи. RiskLevel RiskLevel `` //Уровень риска. /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Объект передачи информации об облигации.
func (*Bond) Descriptor
deprecated
func (*Bond) GetAciValue ¶
func (x *Bond) GetAciValue() *MoneyValue
func (*Bond) GetAmortizationFlag ¶
func (*Bond) GetApiTradeAvailableFlag ¶
func (*Bond) GetBlockedTcaFlag ¶
func (*Bond) GetBuyAvailableFlag ¶
func (*Bond) GetClassCode ¶
func (*Bond) GetCountryOfRisk ¶
func (*Bond) GetCountryOfRiskName ¶
func (*Bond) GetCouponQuantityPerYear ¶
func (*Bond) GetCurrency ¶
func (*Bond) GetDlongMin ¶
func (*Bond) GetDshortMin ¶
func (*Bond) GetExchange ¶
func (*Bond) GetFirst_1DayCandleDate ¶
func (x *Bond) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Bond) GetFirst_1MinCandleDate ¶
func (x *Bond) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Bond) GetFloatingCouponFlag ¶
func (*Bond) GetForIisFlag ¶
func (*Bond) GetForQualInvestorFlag ¶
func (*Bond) GetInitialNominal ¶
func (x *Bond) GetInitialNominal() *MoneyValue
func (*Bond) GetIssueKind ¶
func (*Bond) GetIssueSize ¶
func (*Bond) GetIssueSizePlan ¶
func (*Bond) GetLiquidityFlag ¶
func (*Bond) GetMaturityDate ¶
func (x *Bond) GetMaturityDate() *timestamppb.Timestamp
func (*Bond) GetMinPriceIncrement ¶
func (*Bond) GetNominal ¶
func (x *Bond) GetNominal() *MoneyValue
func (*Bond) GetOtcFlag ¶
func (*Bond) GetPerpetualFlag ¶
func (*Bond) GetPlacementDate ¶
func (x *Bond) GetPlacementDate() *timestamppb.Timestamp
func (*Bond) GetPlacementPrice ¶
func (x *Bond) GetPlacementPrice() *MoneyValue
func (*Bond) GetPositionUid ¶
func (*Bond) GetRealExchange ¶
func (x *Bond) GetRealExchange() RealExchange
func (*Bond) GetRiskLevel ¶
func (*Bond) GetSellAvailableFlag ¶
func (*Bond) GetShortEnabledFlag ¶
func (*Bond) GetStateRegDate ¶
func (x *Bond) GetStateRegDate() *timestamppb.Timestamp
func (*Bond) GetSubordinatedFlag ¶
func (*Bond) GetTradingStatus ¶
func (x *Bond) GetTradingStatus() SecurityTradingStatus
func (*Bond) GetWeekendFlag ¶
func (*Bond) ProtoMessage ¶
func (*Bond) ProtoMessage()
func (*Bond) ProtoReflect ¶
func (x *Bond) ProtoReflect() protoreflect.Message
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) GetCompany ¶
func (*Brand) GetCountryOfRisk ¶
func (*Brand) GetCountryOfRiskName ¶
func (*Brand) GetDescription ¶
func (*Brand) ProtoMessage ¶
func (*Brand) ProtoMessage()
func (*Brand) ProtoReflect ¶
func (x *Brand) ProtoReflect() protoreflect.Message
type BrokerReport ¶
type BrokerReport struct { TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` //Номер сделки. OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Номер поручения. Figi string `protobuf:"bytes,3,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. ExecuteSign string `protobuf:"bytes,4,opt,name=execute_sign,json=executeSign,proto3" json:"execute_sign,omitempty"` //Признак исполнения. TradeDatetime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=trade_datetime,json=tradeDatetime,proto3" json:"trade_datetime,omitempty"` //Дата и время заключения в часовом поясе UTC. Exchange string `protobuf:"bytes,6,opt,name=exchange,proto3" json:"exchange,omitempty"` //Торговая площадка. ClassCode string `protobuf:"bytes,7,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Режим торгов. Direction string `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"` //Вид сделки. Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` //Сокращённое наименование актива. Ticker string `protobuf:"bytes,10,opt,name=ticker,proto3" json:"ticker,omitempty"` //Код актива. Price *MoneyValue `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"` //Цена за единицу. Quantity int64 `protobuf:"varint,12,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество. OrderAmount *MoneyValue `protobuf:"bytes,13,opt,name=order_amount,json=orderAmount,proto3" json:"order_amount,omitempty"` //Сумма (без НКД). AciValue *Quotation `protobuf:"bytes,14,opt,name=aci_value,json=aciValue,proto3" json:"aci_value,omitempty"` //НКД. TotalOrderAmount *MoneyValue `protobuf:"bytes,15,opt,name=total_order_amount,json=totalOrderAmount,proto3" json:"total_order_amount,omitempty"` //Сумма сделки. BrokerCommission *MoneyValue `protobuf:"bytes,16,opt,name=broker_commission,json=brokerCommission,proto3" json:"broker_commission,omitempty"` //Комиссия брокера. ExchangeCommission *MoneyValue `protobuf:"bytes,17,opt,name=exchange_commission,json=exchangeCommission,proto3" json:"exchange_commission,omitempty"` //Комиссия биржи. ExchangeClearingCommission *MoneyValue `` //Комиссия клир. центра. /* 142-byte string literal not displayed */ RepoRate *Quotation `protobuf:"bytes,19,opt,name=repo_rate,json=repoRate,proto3" json:"repo_rate,omitempty"` //Ставка РЕПО (%). Party string `protobuf:"bytes,20,opt,name=party,proto3" json:"party,omitempty"` //Контрагент/Брокер. ClearValueDate *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=clear_value_date,json=clearValueDate,proto3" json:"clear_value_date,omitempty"` //Дата расчётов в часовом поясе UTC. SecValueDate *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=sec_value_date,json=secValueDate,proto3" json:"sec_value_date,omitempty"` //Дата поставки в часовом поясе UTC. BrokerStatus string `protobuf:"bytes,23,opt,name=broker_status,json=brokerStatus,proto3" json:"broker_status,omitempty"` //Статус брокера. SeparateAgreementType string `` //Тип дог. /* 127-byte string literal not displayed */ SeparateAgreementNumber string `` //Номер дог. /* 133-byte string literal not displayed */ SeparateAgreementDate string `` //Дата дог. /* 127-byte string literal not displayed */ DeliveryType string `protobuf:"bytes,27,opt,name=delivery_type,json=deliveryType,proto3" json:"delivery_type,omitempty"` //Тип расчёта по сделке. // contains filtered or unexported fields }
func (*BrokerReport) Descriptor
deprecated
func (*BrokerReport) Descriptor() ([]byte, []int)
Deprecated: Use BrokerReport.ProtoReflect.Descriptor instead.
func (*BrokerReport) GetAciValue ¶
func (x *BrokerReport) GetAciValue() *Quotation
func (*BrokerReport) GetBrokerCommission ¶
func (x *BrokerReport) GetBrokerCommission() *MoneyValue
func (*BrokerReport) GetBrokerStatus ¶
func (x *BrokerReport) GetBrokerStatus() string
func (*BrokerReport) GetClassCode ¶
func (x *BrokerReport) GetClassCode() string
func (*BrokerReport) GetClearValueDate ¶
func (x *BrokerReport) GetClearValueDate() *timestamppb.Timestamp
func (*BrokerReport) GetDeliveryType ¶
func (x *BrokerReport) GetDeliveryType() string
func (*BrokerReport) GetDirection ¶
func (x *BrokerReport) GetDirection() string
func (*BrokerReport) GetExchange ¶
func (x *BrokerReport) GetExchange() string
func (*BrokerReport) GetExchangeClearingCommission ¶
func (x *BrokerReport) GetExchangeClearingCommission() *MoneyValue
func (*BrokerReport) GetExchangeCommission ¶
func (x *BrokerReport) GetExchangeCommission() *MoneyValue
func (*BrokerReport) GetExecuteSign ¶
func (x *BrokerReport) GetExecuteSign() string
func (*BrokerReport) GetFigi ¶
func (x *BrokerReport) GetFigi() string
func (*BrokerReport) GetName ¶
func (x *BrokerReport) GetName() string
func (*BrokerReport) GetOrderAmount ¶
func (x *BrokerReport) GetOrderAmount() *MoneyValue
func (*BrokerReport) GetOrderId ¶
func (x *BrokerReport) GetOrderId() string
func (*BrokerReport) GetParty ¶
func (x *BrokerReport) GetParty() string
func (*BrokerReport) GetPrice ¶
func (x *BrokerReport) GetPrice() *MoneyValue
func (*BrokerReport) GetQuantity ¶
func (x *BrokerReport) GetQuantity() int64
func (*BrokerReport) GetRepoRate ¶
func (x *BrokerReport) GetRepoRate() *Quotation
func (*BrokerReport) GetSecValueDate ¶
func (x *BrokerReport) GetSecValueDate() *timestamppb.Timestamp
func (*BrokerReport) GetSeparateAgreementDate ¶
func (x *BrokerReport) GetSeparateAgreementDate() string
func (*BrokerReport) GetSeparateAgreementNumber ¶
func (x *BrokerReport) GetSeparateAgreementNumber() string
func (*BrokerReport) GetSeparateAgreementType ¶
func (x *BrokerReport) GetSeparateAgreementType() string
func (*BrokerReport) GetTicker ¶
func (x *BrokerReport) GetTicker() string
func (*BrokerReport) GetTotalOrderAmount ¶
func (x *BrokerReport) GetTotalOrderAmount() *MoneyValue
func (*BrokerReport) GetTradeDatetime ¶
func (x *BrokerReport) GetTradeDatetime() *timestamppb.Timestamp
func (*BrokerReport) GetTradeId ¶
func (x *BrokerReport) GetTradeId() string
func (*BrokerReport) ProtoMessage ¶
func (*BrokerReport) ProtoMessage()
func (*BrokerReport) ProtoReflect ¶
func (x *BrokerReport) ProtoReflect() protoreflect.Message
func (*BrokerReport) Reset ¶
func (x *BrokerReport) Reset()
func (*BrokerReport) String ¶
func (x *BrokerReport) String() string
type BrokerReportRequest ¶
type BrokerReportRequest struct { // Types that are assignable to Payload: // // *BrokerReportRequest_GenerateBrokerReportRequest // *BrokerReportRequest_GetBrokerReportRequest Payload isBrokerReportRequest_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*BrokerReportRequest) Descriptor
deprecated
func (*BrokerReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use BrokerReportRequest.ProtoReflect.Descriptor instead.
func (*BrokerReportRequest) GetGenerateBrokerReportRequest ¶
func (x *BrokerReportRequest) GetGenerateBrokerReportRequest() *GenerateBrokerReportRequest
func (*BrokerReportRequest) GetGetBrokerReportRequest ¶
func (x *BrokerReportRequest) GetGetBrokerReportRequest() *GetBrokerReportRequest
func (*BrokerReportRequest) GetPayload ¶
func (m *BrokerReportRequest) GetPayload() isBrokerReportRequest_Payload
func (*BrokerReportRequest) ProtoMessage ¶
func (*BrokerReportRequest) ProtoMessage()
func (*BrokerReportRequest) ProtoReflect ¶
func (x *BrokerReportRequest) ProtoReflect() protoreflect.Message
func (*BrokerReportRequest) Reset ¶
func (x *BrokerReportRequest) Reset()
func (*BrokerReportRequest) String ¶
func (x *BrokerReportRequest) String() string
type BrokerReportRequest_GenerateBrokerReportRequest ¶
type BrokerReportRequest_GenerateBrokerReportRequest struct {
GenerateBrokerReportRequest *GenerateBrokerReportRequest `protobuf:"bytes,1,opt,name=generate_broker_report_request,json=generateBrokerReportRequest,proto3,oneof"`
}
type BrokerReportRequest_GetBrokerReportRequest ¶
type BrokerReportRequest_GetBrokerReportRequest struct {
GetBrokerReportRequest *GetBrokerReportRequest `protobuf:"bytes,2,opt,name=get_broker_report_request,json=getBrokerReportRequest,proto3,oneof"`
}
type BrokerReportResponse ¶
type BrokerReportResponse struct { // Types that are assignable to Payload: // // *BrokerReportResponse_GenerateBrokerReportResponse // *BrokerReportResponse_GetBrokerReportResponse Payload isBrokerReportResponse_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*BrokerReportResponse) Descriptor
deprecated
func (*BrokerReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use BrokerReportResponse.ProtoReflect.Descriptor instead.
func (*BrokerReportResponse) GetGenerateBrokerReportResponse ¶
func (x *BrokerReportResponse) GetGenerateBrokerReportResponse() *GenerateBrokerReportResponse
func (*BrokerReportResponse) GetGetBrokerReportResponse ¶
func (x *BrokerReportResponse) GetGetBrokerReportResponse() *GetBrokerReportResponse
func (*BrokerReportResponse) GetPayload ¶
func (m *BrokerReportResponse) GetPayload() isBrokerReportResponse_Payload
func (*BrokerReportResponse) ProtoMessage ¶
func (*BrokerReportResponse) ProtoMessage()
func (*BrokerReportResponse) ProtoReflect ¶
func (x *BrokerReportResponse) ProtoReflect() protoreflect.Message
func (*BrokerReportResponse) Reset ¶
func (x *BrokerReportResponse) Reset()
func (*BrokerReportResponse) String ¶
func (x *BrokerReportResponse) String() string
type BrokerReportResponse_GenerateBrokerReportResponse ¶
type BrokerReportResponse_GenerateBrokerReportResponse struct {
GenerateBrokerReportResponse *GenerateBrokerReportResponse `protobuf:"bytes,1,opt,name=generate_broker_report_response,json=generateBrokerReportResponse,proto3,oneof"`
}
type BrokerReportResponse_GetBrokerReportResponse ¶
type BrokerReportResponse_GetBrokerReportResponse struct {
GetBrokerReportResponse *GetBrokerReportResponse `protobuf:"bytes,2,opt,name=get_broker_report_response,json=getBrokerReportResponse,proto3,oneof"`
}
type CancelOrderRequest ¶
type CancelOrderRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта. OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Идентификатор заявки. // 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 *timestamppb.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() *timestamppb.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 *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` //Время отмены заявки в часовом поясе UTC. // contains filtered or unexported fields }
Результат отмены выставленной стоп-заявки.
func (*CancelStopOrderResponse) Descriptor
deprecated
func (*CancelStopOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelStopOrderResponse.ProtoReflect.Descriptor instead.
func (*CancelStopOrderResponse) GetTime ¶
func (x *CancelStopOrderResponse) GetTime() *timestamppb.Timestamp
func (*CancelStopOrderResponse) ProtoMessage ¶
func (*CancelStopOrderResponse) ProtoMessage()
func (*CancelStopOrderResponse) ProtoReflect ¶
func (x *CancelStopOrderResponse) ProtoReflect() protoreflect.Message
func (*CancelStopOrderResponse) Reset ¶
func (x *CancelStopOrderResponse) Reset()
func (*CancelStopOrderResponse) String ¶
func (x *CancelStopOrderResponse) String() string
type Candle ¶
type Candle struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Interval SubscriptionInterval `` //Интервал свечи. /* 134-byte string literal not displayed */ Open *Quotation `protobuf:"bytes,3,opt,name=open,proto3" json:"open,omitempty"` //Цена открытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) High *Quotation `protobuf:"bytes,4,opt,name=high,proto3" json:"high,omitempty"` //Максимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Low *Quotation `protobuf:"bytes,5,opt,name=low,proto3" json:"low,omitempty"` //Минимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Close *Quotation `protobuf:"bytes,6,opt,name=close,proto3" json:"close,omitempty"` //Цена закрытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Volume int64 `protobuf:"varint,7,opt,name=volume,proto3" json:"volume,omitempty"` //Объём сделок в лотах. Time *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` //Время начала интервала свечи в часовом поясе UTC. LastTradeTs *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_trade_ts,json=lastTradeTs,proto3" json:"last_trade_ts,omitempty"` //Время последней сделки, вошедшей в свечу в часовом поясе UTC. InstrumentUid string `protobuf:"bytes,10,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Пакет свечей в рамках стрима.
func (*Candle) Descriptor
deprecated
func (*Candle) GetInstrumentUid ¶
func (*Candle) GetInterval ¶
func (x *Candle) GetInterval() SubscriptionInterval
func (*Candle) GetLastTradeTs ¶
func (x *Candle) GetLastTradeTs() *timestamppb.Timestamp
func (*Candle) GetTime ¶
func (x *Candle) GetTime() *timestamppb.Timestamp
func (*Candle) ProtoMessage ¶
func (*Candle) ProtoMessage()
func (*Candle) ProtoReflect ¶
func (x *Candle) ProtoReflect() protoreflect.Message
type CandleInstrument ¶
type CandleInstrument struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` // Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. Interval SubscriptionInterval `` //Интервал свечей. /* 134-byte string literal not displayed */ InstrumentId string `protobuf:"bytes,3,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid // contains filtered or unexported fields }
Запрос изменения статус подписки на свечи.
func (*CandleInstrument) Descriptor
deprecated
func (*CandleInstrument) Descriptor() ([]byte, []int)
Deprecated: Use CandleInstrument.ProtoReflect.Descriptor instead.
func (*CandleInstrument) GetFigi
deprecated
func (x *CandleInstrument) GetFigi() string
Deprecated: Do not use.
func (*CandleInstrument) GetInstrumentId ¶
func (x *CandleInstrument) GetInstrumentId() string
func (*CandleInstrument) GetInterval ¶
func (x *CandleInstrument) GetInterval() SubscriptionInterval
func (*CandleInstrument) ProtoMessage ¶
func (*CandleInstrument) ProtoMessage()
func (*CandleInstrument) ProtoReflect ¶
func (x *CandleInstrument) ProtoReflect() protoreflect.Message
func (*CandleInstrument) Reset ¶
func (x *CandleInstrument) Reset()
func (*CandleInstrument) String ¶
func (x *CandleInstrument) String() string
type CandleInterval ¶
type CandleInterval int32
Интервал свечей.
const ( CandleInterval_CANDLE_INTERVAL_UNSPECIFIED CandleInterval = 0 //Интервал не определён. CandleInterval_CANDLE_INTERVAL_1_MIN CandleInterval = 1 //1 минута. 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 день. CandleInterval_CANDLE_INTERVAL_2_MIN CandleInterval = 6 //2 минуты. CandleInterval_CANDLE_INTERVAL_3_MIN CandleInterval = 7 //3 минуты. CandleInterval_CANDLE_INTERVAL_10_MIN CandleInterval = 8 //10 минут. CandleInterval_CANDLE_INTERVAL_30_MIN CandleInterval = 9 //30 минут. CandleInterval_CANDLE_INTERVAL_2_HOUR CandleInterval = 10 //2 часа. CandleInterval_CANDLE_INTERVAL_4_HOUR CandleInterval = 11 //4 часа. CandleInterval_CANDLE_INTERVAL_WEEK CandleInterval = 12 //1 неделя. CandleInterval_CANDLE_INTERVAL_MONTH CandleInterval = 13 //1 месяц. )
func (CandleInterval) Descriptor ¶
func (CandleInterval) Descriptor() protoreflect.EnumDescriptor
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 (x CandleInterval) Number() protoreflect.EnumNumber
func (CandleInterval) String ¶
func (x CandleInterval) String() string
func (CandleInterval) Type ¶
func (CandleInterval) Type() protoreflect.EnumType
type CandleSubscription ¶
type CandleSubscription struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Interval SubscriptionInterval `` //Интервал свечей. /* 134-byte string literal not displayed */ SubscriptionStatus SubscriptionStatus `` //Статус подписки. /* 178-byte string literal not displayed */ InstrumentUid string `protobuf:"bytes,4,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // 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) GetInstrumentUid ¶
func (x *CandleSubscription) GetInstrumentUid() 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 (x *CloseSandboxAccountRequest) ProtoReflect() protoreflect.Message
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 (x *CloseSandboxAccountResponse) ProtoReflect() protoreflect.Message
func (*CloseSandboxAccountResponse) Reset ¶
func (x *CloseSandboxAccountResponse) Reset()
func (*CloseSandboxAccountResponse) String ¶
func (x *CloseSandboxAccountResponse) String() string
type CountryResponse ¶
type CountryResponse struct { AlfaTwo string `protobuf:"bytes,1,opt,name=alfa_two,json=alfaTwo,proto3" json:"alfa_two,omitempty"` //Двухбуквенный код страны. AlfaThree string `protobuf:"bytes,2,opt,name=alfa_three,json=alfaThree,proto3" json:"alfa_three,omitempty"` //Трёхбуквенный код страны. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` //Наименование страны. NameBrief string `protobuf:"bytes,4,opt,name=name_brief,json=nameBrief,proto3" json:"name_brief,omitempty"` //Краткое наименование страны. // contains filtered or unexported fields }
Данные о стране.
func (*CountryResponse) Descriptor
deprecated
func (*CountryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountryResponse.ProtoReflect.Descriptor instead.
func (*CountryResponse) GetAlfaThree ¶
func (x *CountryResponse) GetAlfaThree() string
func (*CountryResponse) GetAlfaTwo ¶
func (x *CountryResponse) GetAlfaTwo() string
func (*CountryResponse) GetName ¶
func (x *CountryResponse) GetName() string
func (*CountryResponse) GetNameBrief ¶
func (x *CountryResponse) GetNameBrief() string
func (*CountryResponse) ProtoMessage ¶
func (*CountryResponse) ProtoMessage()
func (*CountryResponse) ProtoReflect ¶
func (x *CountryResponse) ProtoReflect() protoreflect.Message
func (*CountryResponse) Reset ¶
func (x *CountryResponse) Reset()
func (*CountryResponse) String ¶
func (x *CountryResponse) String() string
type Coupon ¶
type Coupon struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. CouponDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=coupon_date,json=couponDate,proto3" json:"coupon_date,omitempty"` //Дата выплаты купона. CouponNumber int64 `protobuf:"varint,3,opt,name=coupon_number,json=couponNumber,proto3" json:"coupon_number,omitempty"` //Номер купона. FixDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=fix_date,json=fixDate,proto3" json:"fix_date,omitempty"` //(Опционально) Дата фиксации реестра для выплаты купона. PayOneBond *MoneyValue `protobuf:"bytes,5,opt,name=pay_one_bond,json=payOneBond,proto3" json:"pay_one_bond,omitempty"` //Выплата на одну облигацию. CouponType CouponType `` //Тип купона. /* 146-byte string literal not displayed */ CouponStartDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=coupon_start_date,json=couponStartDate,proto3" json:"coupon_start_date,omitempty"` //Начало купонного периода. CouponEndDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=coupon_end_date,json=couponEndDate,proto3" json:"coupon_end_date,omitempty"` //Окончание купонного периода. CouponPeriod int32 `protobuf:"varint,9,opt,name=coupon_period,json=couponPeriod,proto3" json:"coupon_period,omitempty"` //Купонный период в днях. // contains filtered or unexported fields }
Объект передачи информации о купоне облигации.
func (*Coupon) Descriptor
deprecated
func (*Coupon) GetCouponDate ¶
func (x *Coupon) GetCouponDate() *timestamppb.Timestamp
func (*Coupon) GetCouponEndDate ¶
func (x *Coupon) GetCouponEndDate() *timestamppb.Timestamp
func (*Coupon) GetCouponNumber ¶
func (*Coupon) GetCouponPeriod ¶
func (*Coupon) GetCouponStartDate ¶
func (x *Coupon) GetCouponStartDate() *timestamppb.Timestamp
func (*Coupon) GetCouponType ¶
func (x *Coupon) GetCouponType() CouponType
func (*Coupon) GetFixDate ¶
func (x *Coupon) GetFixDate() *timestamppb.Timestamp
func (*Coupon) GetPayOneBond ¶
func (x *Coupon) GetPayOneBond() *MoneyValue
func (*Coupon) ProtoMessage ¶
func (*Coupon) ProtoMessage()
func (*Coupon) ProtoReflect ¶
func (x *Coupon) ProtoReflect() protoreflect.Message
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 ¶
func (CouponType) Type() protoreflect.EnumType
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 */ PositionUid string `protobuf:"bytes,29,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента. ForIisFlag bool `protobuf:"varint,41,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Признак доступности для ИИС. ForQualInvestorFlag bool `protobuf:"varint,52,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,53,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным. BlockedTcaFlag bool `protobuf:"varint,54,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС. First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи. // contains filtered or unexported fields }
Объект передачи информации о валюте.
func (*Currency) Descriptor
deprecated
func (*Currency) GetApiTradeAvailableFlag ¶
func (*Currency) GetBlockedTcaFlag ¶
func (*Currency) GetBuyAvailableFlag ¶
func (*Currency) GetClassCode ¶
func (*Currency) GetCountryOfRisk ¶
func (*Currency) GetCountryOfRiskName ¶
func (*Currency) GetCurrency ¶
func (*Currency) GetDlongMin ¶
func (*Currency) GetDshortMin ¶
func (*Currency) GetExchange ¶
func (*Currency) GetFirst_1DayCandleDate ¶
func (x *Currency) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Currency) GetFirst_1MinCandleDate ¶
func (x *Currency) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Currency) GetForIisFlag ¶
func (*Currency) GetForQualInvestorFlag ¶
func (*Currency) GetIsoCurrencyName ¶
func (*Currency) GetMinPriceIncrement ¶
func (*Currency) GetNominal ¶
func (x *Currency) GetNominal() *MoneyValue
func (*Currency) GetOtcFlag ¶
func (*Currency) GetPositionUid ¶
func (*Currency) GetRealExchange ¶
func (x *Currency) GetRealExchange() RealExchange
func (*Currency) GetSellAvailableFlag ¶
func (*Currency) GetShortEnabledFlag ¶
func (*Currency) GetTradingStatus ¶
func (x *Currency) GetTradingStatus() SecurityTradingStatus
func (*Currency) GetWeekendFlag ¶
func (*Currency) ProtoMessage ¶
func (*Currency) ProtoMessage()
func (*Currency) ProtoReflect ¶
func (x *Currency) ProtoReflect() protoreflect.Message
type CurrencyResponse ¶
type CurrencyResponse struct { Instrument *Currency `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация о валюте. // contains filtered or unexported fields }
Данные по валюте.
func (*CurrencyResponse) Descriptor
deprecated
func (*CurrencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrencyResponse.ProtoReflect.Descriptor instead.
func (*CurrencyResponse) GetInstrument ¶
func (x *CurrencyResponse) GetInstrument() *Currency
func (*CurrencyResponse) ProtoMessage ¶
func (*CurrencyResponse) ProtoMessage()
func (*CurrencyResponse) ProtoReflect ¶
func (x *CurrencyResponse) ProtoReflect() protoreflect.Message
func (*CurrencyResponse) Reset ¶
func (x *CurrencyResponse) Reset()
func (*CurrencyResponse) String ¶
func (x *CurrencyResponse) String() string
type Dividend ¶
type Dividend struct { DividendNet *MoneyValue `protobuf:"bytes,1,opt,name=dividend_net,json=dividendNet,proto3" json:"dividend_net,omitempty"` //Величина дивиденда на 1 ценную бумагу (включая валюту). PaymentDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"` //Дата фактических выплат в часовом поясе UTC. DeclaredDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=declared_date,json=declaredDate,proto3" json:"declared_date,omitempty"` //Дата объявления дивидендов в часовом поясе UTC. LastBuyDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_buy_date,json=lastBuyDate,proto3" json:"last_buy_date,omitempty"` //Последний день (включительно) покупки для получения выплаты в часовом поясе UTC. DividendType string `protobuf:"bytes,5,opt,name=dividend_type,json=dividendType,proto3" json:"dividend_type,omitempty"` //Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат. RecordDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"` //Дата фиксации реестра в часовом поясе UTC. Regularity string `protobuf:"bytes,7,opt,name=regularity,proto3" json:"regularity,omitempty"` //Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат. ClosePrice *MoneyValue `protobuf:"bytes,8,opt,name=close_price,json=closePrice,proto3" json:"close_price,omitempty"` //Цена закрытия инструмента на момент ex_dividend_date. YieldValue *Quotation `protobuf:"bytes,9,opt,name=yield_value,json=yieldValue,proto3" json:"yield_value,omitempty"` //Величина доходности. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` //Дата и время создания записи в часовом поясе UTC. // contains filtered or unexported fields }
Информация о выплате.
func (*Dividend) Descriptor
deprecated
func (*Dividend) GetClosePrice ¶
func (x *Dividend) GetClosePrice() *MoneyValue
func (*Dividend) GetCreatedAt ¶
func (x *Dividend) GetCreatedAt() *timestamppb.Timestamp
func (*Dividend) GetDeclaredDate ¶
func (x *Dividend) GetDeclaredDate() *timestamppb.Timestamp
func (*Dividend) GetDividendNet ¶
func (x *Dividend) GetDividendNet() *MoneyValue
func (*Dividend) GetDividendType ¶
func (*Dividend) GetLastBuyDate ¶
func (x *Dividend) GetLastBuyDate() *timestamppb.Timestamp
func (*Dividend) GetPaymentDate ¶
func (x *Dividend) GetPaymentDate() *timestamppb.Timestamp
func (*Dividend) GetRecordDate ¶
func (x *Dividend) GetRecordDate() *timestamppb.Timestamp
func (*Dividend) GetRegularity ¶
func (*Dividend) GetYieldValue ¶
func (*Dividend) ProtoMessage ¶
func (*Dividend) ProtoMessage()
func (*Dividend) ProtoReflect ¶
func (x *Dividend) ProtoReflect() protoreflect.Message
type DividendsForeignIssuerReport ¶
type DividendsForeignIssuerReport struct { RecordDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"` //Дата фиксации реестра. PaymentDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"` //Дата выплаты. SecurityName string `protobuf:"bytes,3,opt,name=security_name,json=securityName,proto3" json:"security_name,omitempty"` //Наименование ценной бумаги. Isin string `protobuf:"bytes,4,opt,name=isin,proto3" json:"isin,omitempty"` //ISIN-идентификатор ценной бумаги. IssuerCountry string `protobuf:"bytes,5,opt,name=issuer_country,json=issuerCountry,proto3" json:"issuer_country,omitempty"` //Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива. Quantity int64 `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество ценных бумаг. Dividend *Quotation `protobuf:"bytes,7,opt,name=dividend,proto3" json:"dividend,omitempty"` //Выплаты на одну бумагу ExternalCommission *Quotation `protobuf:"bytes,8,opt,name=external_commission,json=externalCommission,proto3" json:"external_commission,omitempty"` //Комиссия внешних платёжных агентов. DividendGross *Quotation `protobuf:"bytes,9,opt,name=dividend_gross,json=dividendGross,proto3" json:"dividend_gross,omitempty"` //Сумма до удержания налога. Tax *Quotation `protobuf:"bytes,10,opt,name=tax,proto3" json:"tax,omitempty"` //Сумма налога, удержанного агентом. DividendAmount *Quotation `protobuf:"bytes,11,opt,name=dividend_amount,json=dividendAmount,proto3" json:"dividend_amount,omitempty"` //Итоговая сумма выплаты. Currency string `protobuf:"bytes,12,opt,name=currency,proto3" json:"currency,omitempty"` //Валюта. // contains filtered or unexported fields }
Отчёт "Справка о доходах за пределами РФ".
func (*DividendsForeignIssuerReport) Descriptor
deprecated
func (*DividendsForeignIssuerReport) Descriptor() ([]byte, []int)
Deprecated: Use DividendsForeignIssuerReport.ProtoReflect.Descriptor instead.
func (*DividendsForeignIssuerReport) GetCurrency ¶
func (x *DividendsForeignIssuerReport) GetCurrency() string
func (*DividendsForeignIssuerReport) GetDividend ¶
func (x *DividendsForeignIssuerReport) GetDividend() *Quotation
func (*DividendsForeignIssuerReport) GetDividendAmount ¶
func (x *DividendsForeignIssuerReport) GetDividendAmount() *Quotation
func (*DividendsForeignIssuerReport) GetDividendGross ¶
func (x *DividendsForeignIssuerReport) GetDividendGross() *Quotation
func (*DividendsForeignIssuerReport) GetExternalCommission ¶
func (x *DividendsForeignIssuerReport) GetExternalCommission() *Quotation
func (*DividendsForeignIssuerReport) GetIsin ¶
func (x *DividendsForeignIssuerReport) GetIsin() string
func (*DividendsForeignIssuerReport) GetIssuerCountry ¶
func (x *DividendsForeignIssuerReport) GetIssuerCountry() string
func (*DividendsForeignIssuerReport) GetPaymentDate ¶
func (x *DividendsForeignIssuerReport) GetPaymentDate() *timestamppb.Timestamp
func (*DividendsForeignIssuerReport) GetQuantity ¶
func (x *DividendsForeignIssuerReport) GetQuantity() int64
func (*DividendsForeignIssuerReport) GetRecordDate ¶
func (x *DividendsForeignIssuerReport) GetRecordDate() *timestamppb.Timestamp
func (*DividendsForeignIssuerReport) GetSecurityName ¶
func (x *DividendsForeignIssuerReport) GetSecurityName() string
func (*DividendsForeignIssuerReport) GetTax ¶
func (x *DividendsForeignIssuerReport) GetTax() *Quotation
func (*DividendsForeignIssuerReport) ProtoMessage ¶
func (*DividendsForeignIssuerReport) ProtoMessage()
func (*DividendsForeignIssuerReport) ProtoReflect ¶
func (x *DividendsForeignIssuerReport) ProtoReflect() protoreflect.Message
func (*DividendsForeignIssuerReport) Reset ¶
func (x *DividendsForeignIssuerReport) Reset()
func (*DividendsForeignIssuerReport) String ¶
func (x *DividendsForeignIssuerReport) String() 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) Descriptor() protoreflect.EnumDescriptor
func (EditFavoritesActionType) Enum ¶
func (x EditFavoritesActionType) Enum() *EditFavoritesActionType
func (EditFavoritesActionType) EnumDescriptor
deprecated
func (EditFavoritesActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EditFavoritesActionType.Descriptor instead.
func (EditFavoritesActionType) Number ¶
func (x EditFavoritesActionType) Number() protoreflect.EnumNumber
func (EditFavoritesActionType) String ¶
func (x EditFavoritesActionType) String() string
func (EditFavoritesActionType) Type ¶
func (EditFavoritesActionType) Type() protoreflect.EnumType
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 (x *EditFavoritesRequest) GetInstruments() []*EditFavoritesRequestInstrument
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 (x *EditFavoritesRequestInstrument) GetFigi() string
func (*EditFavoritesRequestInstrument) ProtoMessage ¶
func (*EditFavoritesRequestInstrument) ProtoMessage()
func (*EditFavoritesRequestInstrument) ProtoReflect ¶
func (x *EditFavoritesRequestInstrument) ProtoReflect() protoreflect.Message
func (*EditFavoritesRequestInstrument) Reset ¶
func (x *EditFavoritesRequestInstrument) Reset()
func (*EditFavoritesRequestInstrument) String ¶
func (x *EditFavoritesRequestInstrument) String() 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 *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=released_date,json=releasedDate,proto3" json:"released_date,omitempty"` //Дата выпуска в часовом поясе UTC. 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 */ PositionUid string `protobuf:"bytes,33,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента. ForIisFlag bool `protobuf:"varint,41,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Признак доступности для ИИС. ForQualInvestorFlag bool `protobuf:"varint,42,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,43,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным. BlockedTcaFlag bool `protobuf:"varint,44,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС. LiquidityFlag bool `protobuf:"varint,45,opt,name=liquidity_flag,json=liquidityFlag,proto3" json:"liquidity_flag,omitempty"` //Флаг достаточной ликвидности First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи. // contains filtered or unexported fields }
Объект передачи информации об инвестиционном фонде.
func (*Etf) Descriptor
deprecated
func (*Etf) GetApiTradeAvailableFlag ¶
func (*Etf) GetBlockedTcaFlag ¶
func (*Etf) GetBuyAvailableFlag ¶
func (*Etf) GetClassCode ¶
func (*Etf) GetCountryOfRisk ¶
func (*Etf) GetCountryOfRiskName ¶
func (*Etf) GetCurrency ¶
func (*Etf) GetDlongMin ¶
func (*Etf) GetDshortMin ¶
func (*Etf) GetExchange ¶
func (*Etf) GetFirst_1DayCandleDate ¶
func (x *Etf) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Etf) GetFirst_1MinCandleDate ¶
func (x *Etf) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Etf) GetFixedCommission ¶
func (*Etf) GetFocusType ¶
func (*Etf) GetForIisFlag ¶
func (*Etf) GetForQualInvestorFlag ¶
func (*Etf) GetLiquidityFlag ¶
func (*Etf) GetMinPriceIncrement ¶
func (*Etf) GetNumShares ¶
func (*Etf) GetOtcFlag ¶
func (*Etf) GetPositionUid ¶
func (*Etf) GetRealExchange ¶
func (x *Etf) GetRealExchange() RealExchange
func (*Etf) GetRebalancingFreq ¶
func (*Etf) GetReleasedDate ¶
func (x *Etf) GetReleasedDate() *timestamppb.Timestamp
func (*Etf) GetSellAvailableFlag ¶
func (*Etf) GetShortEnabledFlag ¶
func (*Etf) GetTradingStatus ¶
func (x *Etf) GetTradingStatus() SecurityTradingStatus
func (*Etf) GetWeekendFlag ¶
func (*Etf) ProtoMessage ¶
func (*Etf) ProtoMessage()
func (*Etf) ProtoReflect ¶
func (x *Etf) ProtoReflect() protoreflect.Message
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 */ InstrumentKind InstrumentType `` //Тип инструмента. /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
Массив избранных инструментов.
func (*FavoriteInstrument) Descriptor
deprecated
func (*FavoriteInstrument) Descriptor() ([]byte, []int)
Deprecated: Use FavoriteInstrument.ProtoReflect.Descriptor instead.
func (*FavoriteInstrument) GetApiTradeAvailableFlag ¶
func (x *FavoriteInstrument) GetApiTradeAvailableFlag() bool
func (*FavoriteInstrument) GetClassCode ¶
func (x *FavoriteInstrument) GetClassCode() string
func (*FavoriteInstrument) GetFigi ¶
func (x *FavoriteInstrument) GetFigi() string
func (*FavoriteInstrument) GetInstrumentKind ¶
func (x *FavoriteInstrument) GetInstrumentKind() InstrumentType
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 FilterOptionsRequest ¶
type FilterOptionsRequest struct { BasicAssetUid string `protobuf:"bytes,1,opt,name=basic_asset_uid,json=basicAssetUid,proto3" json:"basic_asset_uid,omitempty"` //Идентификатор базового актива опциона. Обязательный параметр. BasicAssetPositionUid string `` //Идентификатор позиции базового актива опциона /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Параметры фильтрации опционов
func (*FilterOptionsRequest) Descriptor
deprecated
func (*FilterOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterOptionsRequest.ProtoReflect.Descriptor instead.
func (*FilterOptionsRequest) GetBasicAssetPositionUid ¶
func (x *FilterOptionsRequest) GetBasicAssetPositionUid() string
func (*FilterOptionsRequest) GetBasicAssetUid ¶
func (x *FilterOptionsRequest) GetBasicAssetUid() string
func (*FilterOptionsRequest) ProtoMessage ¶
func (*FilterOptionsRequest) ProtoMessage()
func (*FilterOptionsRequest) ProtoReflect ¶
func (x *FilterOptionsRequest) ProtoReflect() protoreflect.Message
func (*FilterOptionsRequest) Reset ¶
func (x *FilterOptionsRequest) Reset()
func (*FilterOptionsRequest) String ¶
func (x *FilterOptionsRequest) String() string
type FindInstrumentRequest ¶
type FindInstrumentRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` //Строка поиска. InstrumentKind InstrumentType `` //Фильтр по типу инструмента. /* 162-byte string literal not displayed */ ApiTradeAvailableFlag bool `` //Фильтр для отображения только торговых инструментов. /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Запрос на поиск инструментов.
func (*FindInstrumentRequest) Descriptor
deprecated
func (*FindInstrumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindInstrumentRequest.ProtoReflect.Descriptor instead.
func (*FindInstrumentRequest) GetApiTradeAvailableFlag ¶
func (x *FindInstrumentRequest) GetApiTradeAvailableFlag() bool
func (*FindInstrumentRequest) GetInstrumentKind ¶
func (x *FindInstrumentRequest) GetInstrumentKind() InstrumentType
func (*FindInstrumentRequest) GetQuery ¶
func (x *FindInstrumentRequest) GetQuery() string
func (*FindInstrumentRequest) ProtoMessage ¶
func (*FindInstrumentRequest) ProtoMessage()
func (*FindInstrumentRequest) ProtoReflect ¶
func (x *FindInstrumentRequest) ProtoReflect() protoreflect.Message
func (*FindInstrumentRequest) Reset ¶
func (x *FindInstrumentRequest) Reset()
func (*FindInstrumentRequest) String ¶
func (x *FindInstrumentRequest) String() string
type FindInstrumentResponse ¶
type FindInstrumentResponse struct { Instruments []*InstrumentShort `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов, удовлетворяющих условиям поиска. // contains filtered or unexported fields }
Результат поиска инструментов.
func (*FindInstrumentResponse) Descriptor
deprecated
func (*FindInstrumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindInstrumentResponse.ProtoReflect.Descriptor instead.
func (*FindInstrumentResponse) GetInstruments ¶
func (x *FindInstrumentResponse) GetInstruments() []*InstrumentShort
func (*FindInstrumentResponse) ProtoMessage ¶
func (*FindInstrumentResponse) ProtoMessage()
func (*FindInstrumentResponse) ProtoReflect ¶
func (x *FindInstrumentResponse) ProtoReflect() protoreflect.Message
func (*FindInstrumentResponse) Reset ¶
func (x *FindInstrumentResponse) Reset()
func (*FindInstrumentResponse) String ¶
func (x *FindInstrumentResponse) String() string
type Future ¶
type Future struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"` //Тикер инструмента. ClassCode string `protobuf:"bytes,3,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код (секция торгов). Lot int32 `protobuf:"varint,4,opt,name=lot,proto3" json:"lot,omitempty"` //Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру *lot*. Подробнее: [лот](https://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 *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=first_trade_date,json=firstTradeDate,proto3" json:"first_trade_date,omitempty"` //Дата начала обращения контракта в часовом поясе UTC. LastTradeDate *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=last_trade_date,json=lastTradeDate,proto3" json:"last_trade_date,omitempty"` //Дата в часовом поясе UTC, до которой возможно проведение операций с фьючерсом. FuturesType string `protobuf:"bytes,17,opt,name=futures_type,json=futuresType,proto3" json:"futures_type,omitempty"` //Тип фьючерса. Возможные значения: </br>**physical_delivery** — физические поставки; </br>**cash_settlement** — денежный эквивалент. AssetType string `protobuf:"bytes,18,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` //Тип актива. Возможные значения: </br>**commodity** — товар; </br>**currency** — валюта; </br>**security** — ценная бумага; </br>**index** — индекс. BasicAsset string `protobuf:"bytes,19,opt,name=basic_asset,json=basicAsset,proto3" json:"basic_asset,omitempty"` //Основной актив. BasicAssetSize *Quotation `protobuf:"bytes,20,opt,name=basic_asset_size,json=basicAssetSize,proto3" json:"basic_asset_size,omitempty"` //Размер основного актива. CountryOfRisk string `protobuf:"bytes,21,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"` //Код страны риска, т.е. страны, в которой компания ведёт основной бизнес. CountryOfRiskName string `protobuf:"bytes,22,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны риска, т.е. страны, в которой компания ведёт основной бизнес. Sector string `protobuf:"bytes,23,opt,name=sector,proto3" json:"sector,omitempty"` //Сектор экономики. ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` //Дата истечения срока в часов поясе UTC. TradingStatus SecurityTradingStatus `` //Текущий режим торгов инструмента. /* 167-byte string literal not displayed */ OtcFlag bool `protobuf:"varint,26,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"` //Признак внебиржевой ценной бумаги. BuyAvailableFlag bool `protobuf:"varint,27,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"` //Признак доступности для покупки. SellAvailableFlag bool `protobuf:"varint,28,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи. MinPriceIncrement *Quotation `protobuf:"bytes,29,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"` //Шаг цены. ApiTradeAvailableFlag bool `` //Параметр указывает на возможность торговать инструментом через API. /* 130-byte string literal not displayed */ Uid string `protobuf:"bytes,31,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента. RealExchange RealExchange `` //Реальная площадка исполнения расчётов. /* 155-byte string literal not displayed */ PositionUid string `protobuf:"bytes,33,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента. BasicAssetPositionUid string `` //Уникальный идентификатор позиции основного инструмента. /* 129-byte string literal not displayed */ ForIisFlag bool `protobuf:"varint,41,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Признак доступности для ИИС. ForQualInvestorFlag bool `protobuf:"varint,42,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,43,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным. BlockedTcaFlag bool `protobuf:"varint,44,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС. First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи. // contains filtered or unexported fields }
Объект передачи информации о фьючерсе.
func (*Future) Descriptor
deprecated
func (*Future) GetApiTradeAvailableFlag ¶
func (*Future) GetAssetType ¶
func (*Future) GetBasicAsset ¶
func (*Future) GetBasicAssetPositionUid ¶
func (*Future) GetBasicAssetSize ¶
func (*Future) GetBlockedTcaFlag ¶
func (*Future) GetBuyAvailableFlag ¶
func (*Future) GetClassCode ¶
func (*Future) GetCountryOfRisk ¶
func (*Future) GetCountryOfRiskName ¶
func (*Future) GetCurrency ¶
func (*Future) GetDlongMin ¶
func (*Future) GetDshortMin ¶
func (*Future) GetExchange ¶
func (*Future) GetExpirationDate ¶
func (x *Future) GetExpirationDate() *timestamppb.Timestamp
func (*Future) GetFirstTradeDate ¶
func (x *Future) GetFirstTradeDate() *timestamppb.Timestamp
func (*Future) GetFirst_1DayCandleDate ¶
func (x *Future) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Future) GetFirst_1MinCandleDate ¶
func (x *Future) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Future) GetForIisFlag ¶
func (*Future) GetForQualInvestorFlag ¶
func (*Future) GetFuturesType ¶
func (*Future) GetLastTradeDate ¶
func (x *Future) GetLastTradeDate() *timestamppb.Timestamp
func (*Future) GetMinPriceIncrement ¶
func (*Future) GetOtcFlag ¶
func (*Future) GetPositionUid ¶
func (*Future) GetRealExchange ¶
func (x *Future) GetRealExchange() RealExchange
func (*Future) GetSellAvailableFlag ¶
func (*Future) GetShortEnabledFlag ¶
func (*Future) GetTradingStatus ¶
func (x *Future) GetTradingStatus() SecurityTradingStatus
func (*Future) GetWeekendFlag ¶
func (*Future) ProtoMessage ¶
func (*Future) ProtoMessage()
func (*Future) ProtoReflect ¶
func (x *Future) ProtoReflect() protoreflect.Message
type FutureResponse ¶
type FutureResponse struct { Instrument *Future `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация о фьючерсу. // contains filtered or unexported fields }
Данные по фьючерсу.
func (*FutureResponse) Descriptor
deprecated
func (*FutureResponse) Descriptor() ([]byte, []int)
Deprecated: Use FutureResponse.ProtoReflect.Descriptor instead.
func (*FutureResponse) GetInstrument ¶
func (x *FutureResponse) GetInstrument() *Future
func (*FutureResponse) ProtoMessage ¶
func (*FutureResponse) ProtoMessage()
func (*FutureResponse) ProtoReflect ¶
func (x *FutureResponse) ProtoReflect() protoreflect.Message
func (*FutureResponse) Reset ¶
func (x *FutureResponse) Reset()
func (*FutureResponse) String ¶
func (x *FutureResponse) String() string
type FuturesResponse ¶
type FuturesResponse struct { Instruments []*Future `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив фьючерсов. // contains filtered or unexported fields }
Данные по фьючерсам.
func (*FuturesResponse) Descriptor
deprecated
func (*FuturesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FuturesResponse.ProtoReflect.Descriptor instead.
func (*FuturesResponse) GetInstruments ¶
func (x *FuturesResponse) GetInstruments() []*Future
func (*FuturesResponse) ProtoMessage ¶
func (*FuturesResponse) ProtoMessage()
func (*FuturesResponse) ProtoReflect ¶
func (x *FuturesResponse) ProtoReflect() protoreflect.Message
func (*FuturesResponse) Reset ¶
func (x *FuturesResponse) Reset()
func (*FuturesResponse) String ¶
func (x *FuturesResponse) String() string
type GenerateBrokerReportRequest ¶
type GenerateBrokerReportRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента. From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало периода в часовом поясе UTC. To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Окончание периода в часовом поясе UTC. // contains filtered or unexported fields }
func (*GenerateBrokerReportRequest) Descriptor
deprecated
func (*GenerateBrokerReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateBrokerReportRequest.ProtoReflect.Descriptor instead.
func (*GenerateBrokerReportRequest) GetAccountId ¶
func (x *GenerateBrokerReportRequest) GetAccountId() string
func (*GenerateBrokerReportRequest) GetFrom ¶
func (x *GenerateBrokerReportRequest) GetFrom() *timestamppb.Timestamp
func (*GenerateBrokerReportRequest) GetTo ¶
func (x *GenerateBrokerReportRequest) GetTo() *timestamppb.Timestamp
func (*GenerateBrokerReportRequest) ProtoMessage ¶
func (*GenerateBrokerReportRequest) ProtoMessage()
func (*GenerateBrokerReportRequest) ProtoReflect ¶
func (x *GenerateBrokerReportRequest) ProtoReflect() protoreflect.Message
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 (x *GenerateBrokerReportResponse) ProtoReflect() protoreflect.Message
func (*GenerateBrokerReportResponse) Reset ¶
func (x *GenerateBrokerReportResponse) Reset()
func (*GenerateBrokerReportResponse) String ¶
func (x *GenerateBrokerReportResponse) String() string
type GenerateDividendsForeignIssuerReportRequest ¶
type GenerateDividendsForeignIssuerReportRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента. From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало периода (по UTC). To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Окончание периода (по UTC). // contains filtered or unexported fields }
Объект запроса формирования отчёта "Справка о доходах за пределами РФ".
func (*GenerateDividendsForeignIssuerReportRequest) Descriptor
deprecated
func (*GenerateDividendsForeignIssuerReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateDividendsForeignIssuerReportRequest.ProtoReflect.Descriptor instead.
func (*GenerateDividendsForeignIssuerReportRequest) GetAccountId ¶
func (x *GenerateDividendsForeignIssuerReportRequest) GetAccountId() string
func (*GenerateDividendsForeignIssuerReportRequest) GetFrom ¶
func (x *GenerateDividendsForeignIssuerReportRequest) GetFrom() *timestamppb.Timestamp
func (*GenerateDividendsForeignIssuerReportRequest) GetTo ¶
func (x *GenerateDividendsForeignIssuerReportRequest) GetTo() *timestamppb.Timestamp
func (*GenerateDividendsForeignIssuerReportRequest) ProtoMessage ¶
func (*GenerateDividendsForeignIssuerReportRequest) ProtoMessage()
func (*GenerateDividendsForeignIssuerReportRequest) ProtoReflect ¶
func (x *GenerateDividendsForeignIssuerReportRequest) ProtoReflect() protoreflect.Message
func (*GenerateDividendsForeignIssuerReportRequest) Reset ¶
func (x *GenerateDividendsForeignIssuerReportRequest) Reset()
func (*GenerateDividendsForeignIssuerReportRequest) String ¶
func (x *GenerateDividendsForeignIssuerReportRequest) String() 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
func (*GenerateDividendsForeignIssuerReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateDividendsForeignIssuerReportResponse.ProtoReflect.Descriptor instead.
func (*GenerateDividendsForeignIssuerReportResponse) GetTaskId ¶
func (x *GenerateDividendsForeignIssuerReportResponse) GetTaskId() string
func (*GenerateDividendsForeignIssuerReportResponse) ProtoMessage ¶
func (*GenerateDividendsForeignIssuerReportResponse) ProtoMessage()
func (*GenerateDividendsForeignIssuerReportResponse) ProtoReflect ¶
func (x *GenerateDividendsForeignIssuerReportResponse) ProtoReflect() protoreflect.Message
func (*GenerateDividendsForeignIssuerReportResponse) Reset ¶
func (x *GenerateDividendsForeignIssuerReportResponse) Reset()
func (*GenerateDividendsForeignIssuerReportResponse) String ¶
func (x *GenerateDividendsForeignIssuerReportResponse) String() 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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Окончание запрашиваемого периода в часовом поясе UTC. // contains filtered or unexported fields }
Запрос НКД по облигации
func (*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 (x *GetAccruedInterestsRequest) GetFrom() *timestamppb.Timestamp
func (*GetAccruedInterestsRequest) GetTo ¶
func (x *GetAccruedInterestsRequest) GetTo() *timestamppb.Timestamp
func (*GetAccruedInterestsRequest) ProtoMessage ¶
func (*GetAccruedInterestsRequest) ProtoMessage()
func (*GetAccruedInterestsRequest) ProtoReflect ¶
func (x *GetAccruedInterestsRequest) ProtoReflect() protoreflect.Message
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 (x *GetAccruedInterestsResponse) ProtoReflect() protoreflect.Message
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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. Фильтрация по coupon_date (дата выплаты купона) To *timestamppb.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 (x *GetBondCouponsRequest) GetFrom() *timestamppb.Timestamp
func (*GetBondCouponsRequest) GetTo ¶
func (x *GetBondCouponsRequest) GetTo() *timestamppb.Timestamp
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 GetBrandRequest ¶
type GetBrandRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //Uid-идентификатор бренда. // contains filtered or unexported fields }
Запрос бренда.
func (*GetBrandRequest) Descriptor
deprecated
func (*GetBrandRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBrandRequest.ProtoReflect.Descriptor instead.
func (*GetBrandRequest) GetId ¶
func (x *GetBrandRequest) GetId() string
func (*GetBrandRequest) ProtoMessage ¶
func (*GetBrandRequest) ProtoMessage()
func (*GetBrandRequest) ProtoReflect ¶
func (x *GetBrandRequest) ProtoReflect() protoreflect.Message
func (*GetBrandRequest) Reset ¶
func (x *GetBrandRequest) Reset()
func (*GetBrandRequest) String ¶
func (x *GetBrandRequest) String() string
type GetBrandsRequest ¶
type GetBrandsRequest struct {
// contains filtered or unexported fields
}
Запрос списка брендов.
func (*GetBrandsRequest) Descriptor
deprecated
func (*GetBrandsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBrandsRequest.ProtoReflect.Descriptor instead.
func (*GetBrandsRequest) ProtoMessage ¶
func (*GetBrandsRequest) ProtoMessage()
func (*GetBrandsRequest) ProtoReflect ¶
func (x *GetBrandsRequest) ProtoReflect() protoreflect.Message
func (*GetBrandsRequest) Reset ¶
func (x *GetBrandsRequest) Reset()
func (*GetBrandsRequest) String ¶
func (x *GetBrandsRequest) String() string
type GetBrandsResponse ¶
type GetBrandsResponse struct { Brands []*Brand `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"` //Массив брендов. // contains filtered or unexported fields }
Список брендов.
func (*GetBrandsResponse) Descriptor
deprecated
func (*GetBrandsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBrandsResponse.ProtoReflect.Descriptor instead.
func (*GetBrandsResponse) GetBrands ¶
func (x *GetBrandsResponse) GetBrands() []*Brand
func (*GetBrandsResponse) ProtoMessage ¶
func (*GetBrandsResponse) ProtoMessage()
func (*GetBrandsResponse) ProtoReflect ¶
func (x *GetBrandsResponse) ProtoReflect() protoreflect.Message
func (*GetBrandsResponse) Reset ¶
func (x *GetBrandsResponse) Reset()
func (*GetBrandsResponse) String ¶
func (x *GetBrandsResponse) String() string
type GetBrokerReportRequest ¶
type GetBrokerReportRequest struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` //Идентификатор задачи формирования брокерского отчёта. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` //Номер страницы отчета (начинается с 1), значение по умолчанию: 0. // contains filtered or unexported fields }
func (*GetBrokerReportRequest) Descriptor
deprecated
func (*GetBrokerReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBrokerReportRequest.ProtoReflect.Descriptor instead.
func (*GetBrokerReportRequest) GetPage ¶
func (x *GetBrokerReportRequest) GetPage() int32
func (*GetBrokerReportRequest) GetTaskId ¶
func (x *GetBrokerReportRequest) GetTaskId() string
func (*GetBrokerReportRequest) ProtoMessage ¶
func (*GetBrokerReportRequest) ProtoMessage()
func (*GetBrokerReportRequest) ProtoReflect ¶
func (x *GetBrokerReportRequest) ProtoReflect() protoreflect.Message
func (*GetBrokerReportRequest) Reset ¶
func (x *GetBrokerReportRequest) Reset()
func (*GetBrokerReportRequest) String ¶
func (x *GetBrokerReportRequest) String() string
type GetBrokerReportResponse ¶
type GetBrokerReportResponse struct { BrokerReport []*BrokerReport `protobuf:"bytes,1,rep,name=broker_report,json=brokerReport,proto3" json:"broker_report,omitempty"` ItemsCount int32 `protobuf:"varint,2,opt,name=itemsCount,proto3" json:"itemsCount,omitempty"` //Количество записей в отчете. PagesCount int32 `protobuf:"varint,3,opt,name=pagesCount,proto3" json:"pagesCount,omitempty"` //Количество страниц с данными отчета (начинается с 0). Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` //Текущая страница (начинается с 0). // contains filtered or unexported fields }
func (*GetBrokerReportResponse) Descriptor
deprecated
func (*GetBrokerReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBrokerReportResponse.ProtoReflect.Descriptor instead.
func (*GetBrokerReportResponse) GetBrokerReport ¶
func (x *GetBrokerReportResponse) GetBrokerReport() []*BrokerReport
func (*GetBrokerReportResponse) GetItemsCount ¶
func (x *GetBrokerReportResponse) GetItemsCount() int32
func (*GetBrokerReportResponse) GetPage ¶
func (x *GetBrokerReportResponse) GetPage() int32
func (*GetBrokerReportResponse) GetPagesCount ¶
func (x *GetBrokerReportResponse) GetPagesCount() int32
func (*GetBrokerReportResponse) ProtoMessage ¶
func (*GetBrokerReportResponse) ProtoMessage()
func (*GetBrokerReportResponse) ProtoReflect ¶
func (x *GetBrokerReportResponse) ProtoReflect() protoreflect.Message
func (*GetBrokerReportResponse) Reset ¶
func (x *GetBrokerReportResponse) Reset()
func (*GetBrokerReportResponse) String ¶
func (x *GetBrokerReportResponse) String() string
type GetCandlesRequest ¶
type GetCandlesRequest struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Окончание запрашиваемого периода в часовом поясе UTC. Interval CandleInterval `` //Интервал запрошенных свечей. /* 128-byte string literal not displayed */ InstrumentId string `protobuf:"bytes,5,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid. // contains filtered or unexported fields }
Запрос исторических свечей.
func (*GetCandlesRequest) Descriptor
deprecated
func (*GetCandlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCandlesRequest.ProtoReflect.Descriptor instead.
func (*GetCandlesRequest) GetFigi
deprecated
func (x *GetCandlesRequest) GetFigi() string
Deprecated: Do not use.
func (*GetCandlesRequest) GetFrom ¶
func (x *GetCandlesRequest) GetFrom() *timestamppb.Timestamp
func (*GetCandlesRequest) GetInstrumentId ¶
func (x *GetCandlesRequest) GetInstrumentId() string
func (*GetCandlesRequest) GetInterval ¶
func (x *GetCandlesRequest) GetInterval() CandleInterval
func (*GetCandlesRequest) GetTo ¶
func (x *GetCandlesRequest) GetTo() *timestamppb.Timestamp
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 GetClosePricesRequest ¶
type GetClosePricesRequest struct { Instruments []*InstrumentClosePriceRequest `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив по инструментам. // contains filtered or unexported fields }
Запрос цен закрытия торговой сессии по инструментам.
func (*GetClosePricesRequest) Descriptor
deprecated
func (*GetClosePricesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClosePricesRequest.ProtoReflect.Descriptor instead.
func (*GetClosePricesRequest) GetInstruments ¶
func (x *GetClosePricesRequest) GetInstruments() []*InstrumentClosePriceRequest
func (*GetClosePricesRequest) ProtoMessage ¶
func (*GetClosePricesRequest) ProtoMessage()
func (*GetClosePricesRequest) ProtoReflect ¶
func (x *GetClosePricesRequest) ProtoReflect() protoreflect.Message
func (*GetClosePricesRequest) Reset ¶
func (x *GetClosePricesRequest) Reset()
func (*GetClosePricesRequest) String ¶
func (x *GetClosePricesRequest) String() string
type GetClosePricesResponse ¶
type GetClosePricesResponse struct { ClosePrices []*InstrumentClosePriceResponse `protobuf:"bytes,1,rep,name=close_prices,json=closePrices,proto3" json:"close_prices,omitempty"` //Массив по инструментам. // contains filtered or unexported fields }
Цены закрытия торговой сессии по инструментам.
func (*GetClosePricesResponse) Descriptor
deprecated
func (*GetClosePricesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClosePricesResponse.ProtoReflect.Descriptor instead.
func (*GetClosePricesResponse) GetClosePrices ¶
func (x *GetClosePricesResponse) GetClosePrices() []*InstrumentClosePriceResponse
func (*GetClosePricesResponse) ProtoMessage ¶
func (*GetClosePricesResponse) ProtoMessage()
func (*GetClosePricesResponse) ProtoReflect ¶
func (x *GetClosePricesResponse) ProtoReflect() protoreflect.Message
func (*GetClosePricesResponse) Reset ¶
func (x *GetClosePricesResponse) Reset()
func (*GetClosePricesResponse) String ¶
func (x *GetClosePricesResponse) String() string
type GetCountriesRequest ¶
type GetCountriesRequest struct {
// contains filtered or unexported fields
}
Запрос справочника стран.
func (*GetCountriesRequest) Descriptor
deprecated
func (*GetCountriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCountriesRequest.ProtoReflect.Descriptor instead.
func (*GetCountriesRequest) ProtoMessage ¶
func (*GetCountriesRequest) ProtoMessage()
func (*GetCountriesRequest) ProtoReflect ¶
func (x *GetCountriesRequest) ProtoReflect() protoreflect.Message
func (*GetCountriesRequest) Reset ¶
func (x *GetCountriesRequest) Reset()
func (*GetCountriesRequest) String ¶
func (x *GetCountriesRequest) String() string
type GetCountriesResponse ¶
type GetCountriesResponse struct { Countries []*CountryResponse `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"` //Массив стран. // contains filtered or unexported fields }
Справочник стран.
func (*GetCountriesResponse) Descriptor
deprecated
func (*GetCountriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCountriesResponse.ProtoReflect.Descriptor instead.
func (*GetCountriesResponse) GetCountries ¶
func (x *GetCountriesResponse) GetCountries() []*CountryResponse
func (*GetCountriesResponse) ProtoMessage ¶
func (*GetCountriesResponse) ProtoMessage()
func (*GetCountriesResponse) ProtoReflect ¶
func (x *GetCountriesResponse) ProtoReflect() protoreflect.Message
func (*GetCountriesResponse) Reset ¶
func (x *GetCountriesResponse) Reset()
func (*GetCountriesResponse) String ¶
func (x *GetCountriesResponse) String() string
type GetDividendsForeignIssuerReportRequest ¶
type GetDividendsForeignIssuerReportRequest struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` //Идентификатор задачи формирования отчёта. Page int32 `protobuf:"varint,2,opt,name=page,proto3" 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 (x *GetDividendsForeignIssuerReportRequest) GetPage() int32
func (*GetDividendsForeignIssuerReportRequest) GetTaskId ¶
func (x *GetDividendsForeignIssuerReportRequest) GetTaskId() string
func (*GetDividendsForeignIssuerReportRequest) ProtoMessage ¶
func (*GetDividendsForeignIssuerReportRequest) ProtoMessage()
func (*GetDividendsForeignIssuerReportRequest) ProtoReflect ¶
func (x *GetDividendsForeignIssuerReportRequest) ProtoReflect() protoreflect.Message
func (*GetDividendsForeignIssuerReportRequest) Reset ¶
func (x *GetDividendsForeignIssuerReportRequest) Reset()
func (*GetDividendsForeignIssuerReportRequest) String ¶
func (x *GetDividendsForeignIssuerReportRequest) String() 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 (x *GetDividendsForeignIssuerReportResponse) GetItemsCount() int32
func (*GetDividendsForeignIssuerReportResponse) GetPage ¶
func (x *GetDividendsForeignIssuerReportResponse) GetPage() int32
func (*GetDividendsForeignIssuerReportResponse) GetPagesCount ¶
func (x *GetDividendsForeignIssuerReportResponse) GetPagesCount() int32
func (*GetDividendsForeignIssuerReportResponse) ProtoMessage ¶
func (*GetDividendsForeignIssuerReportResponse) ProtoMessage()
func (*GetDividendsForeignIssuerReportResponse) ProtoReflect ¶
func (x *GetDividendsForeignIssuerReportResponse) ProtoReflect() protoreflect.Message
func (*GetDividendsForeignIssuerReportResponse) Reset ¶
func (x *GetDividendsForeignIssuerReportResponse) Reset()
func (*GetDividendsForeignIssuerReportResponse) String ¶
func (x *GetDividendsForeignIssuerReportResponse) String() 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 (x *GetDividendsForeignIssuerRequest) GetGetDivForeignIssuerReport() *GetDividendsForeignIssuerReportRequest
func (*GetDividendsForeignIssuerRequest) GetPayload ¶
func (m *GetDividendsForeignIssuerRequest) GetPayload() isGetDividendsForeignIssuerRequest_Payload
func (*GetDividendsForeignIssuerRequest) ProtoMessage ¶
func (*GetDividendsForeignIssuerRequest) ProtoMessage()
func (*GetDividendsForeignIssuerRequest) ProtoReflect ¶
func (x *GetDividendsForeignIssuerRequest) ProtoReflect() protoreflect.Message
func (*GetDividendsForeignIssuerRequest) Reset ¶
func (x *GetDividendsForeignIssuerRequest) Reset()
func (*GetDividendsForeignIssuerRequest) String ¶
func (x *GetDividendsForeignIssuerRequest) String() 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 (x *GetDividendsForeignIssuerResponse) GetDivForeignIssuerReport() *GetDividendsForeignIssuerReportResponse
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 (x *GetDividendsForeignIssuerResponse) ProtoReflect() protoreflect.Message
func (*GetDividendsForeignIssuerResponse) Reset ¶
func (x *GetDividendsForeignIssuerResponse) Reset()
func (*GetDividendsForeignIssuerResponse) String ¶
func (x *GetDividendsForeignIssuerResponse) String() 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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. Фильтрация происходит по параметру *record_date* (дата фиксации реестра). To *timestamppb.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() *timestamppb.Timestamp
func (*GetDividendsRequest) GetTo ¶
func (x *GetDividendsRequest) GetTo() *timestamppb.Timestamp
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"` //Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/). Tariff string `protobuf:"bytes,4,opt,name=tariff,proto3" json:"tariff,omitempty"` //Наименование тарифа пользователя. // contains filtered or unexported fields }
Информация о пользователе.
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetPremStatus ¶
func (x *GetInfoResponse) GetPremStatus() bool
func (*GetInfoResponse) GetQualStatus ¶
func (x *GetInfoResponse) GetQualStatus() bool
func (*GetInfoResponse) GetQualifiedForWorkWith ¶
func (x *GetInfoResponse) GetQualifiedForWorkWith() []string
func (*GetInfoResponse) GetTariff ¶
func (x *GetInfoResponse) GetTariff() string
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (x *GetInfoResponse) String() string
type GetLastPricesRequest ¶
type GetLastPricesRequest struct { // Deprecated: Do not use. Figi []string `protobuf:"bytes,1,rep,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. InstrumentId []string `protobuf:"bytes,2,rep,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Массив идентификаторов инструмента, принимает значения figi или instrument_uid. // contains filtered or unexported fields }
Запрос получения цен последних сделок.
func (*GetLastPricesRequest) Descriptor
deprecated
func (*GetLastPricesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastPricesRequest.ProtoReflect.Descriptor instead.
func (*GetLastPricesRequest) GetFigi
deprecated
func (x *GetLastPricesRequest) GetFigi() []string
Deprecated: Do not use.
func (*GetLastPricesRequest) GetInstrumentId ¶
func (x *GetLastPricesRequest) GetInstrumentId() []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 { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало запрашиваемого периода в часовом поясе UTC. To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Окончание запрашиваемого периода в часовом поясе UTC. InstrumentId string `protobuf:"bytes,4,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid. // contains filtered or unexported fields }
Запрос обезличенных сделок за последний час.
func (*GetLastTradesRequest) Descriptor
deprecated
func (*GetLastTradesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastTradesRequest.ProtoReflect.Descriptor instead.
func (*GetLastTradesRequest) GetFigi
deprecated
func (x *GetLastTradesRequest) GetFigi() string
Deprecated: Do not use.
func (*GetLastTradesRequest) GetFrom ¶
func (x *GetLastTradesRequest) GetFrom() *timestamppb.Timestamp
func (*GetLastTradesRequest) GetInstrumentId ¶
func (x *GetLastTradesRequest) GetInstrumentId() string
func (*GetLastTradesRequest) GetTo ¶
func (x *GetLastTradesRequest) GetTo() *timestamppb.Timestamp
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 (x *GetMarginAttributesRequest) ProtoReflect() protoreflect.Message
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"` // Скорректированная маржа.Начальная маржа, в которой плановые позиции рассчитываются с учётом активных заявок на покупку позиций лонг или продажу позиций шорт. CorrectedMargin *MoneyValue `protobuf:"bytes,6,opt,name=corrected_margin,json=correctedMargin,proto3" json:"corrected_margin,omitempty"` // contains filtered or unexported fields }
Маржинальные показатели по счёту.
func (*GetMarginAttributesResponse) Descriptor
deprecated
func (*GetMarginAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMarginAttributesResponse.ProtoReflect.Descriptor instead.
func (*GetMarginAttributesResponse) GetAmountOfMissingFunds ¶
func (x *GetMarginAttributesResponse) GetAmountOfMissingFunds() *MoneyValue
func (*GetMarginAttributesResponse) GetCorrectedMargin ¶
func (x *GetMarginAttributesResponse) GetCorrectedMargin() *MoneyValue
func (*GetMarginAttributesResponse) GetFundsSufficiencyLevel ¶
func (x *GetMarginAttributesResponse) GetFundsSufficiencyLevel() *Quotation
func (*GetMarginAttributesResponse) GetLiquidPortfolio ¶
func (x *GetMarginAttributesResponse) GetLiquidPortfolio() *MoneyValue
func (*GetMarginAttributesResponse) GetMinimalMargin ¶
func (x *GetMarginAttributesResponse) GetMinimalMargin() *MoneyValue
func (*GetMarginAttributesResponse) GetStartingMargin ¶
func (x *GetMarginAttributesResponse) GetStartingMargin() *MoneyValue
func (*GetMarginAttributesResponse) ProtoMessage ¶
func (*GetMarginAttributesResponse) ProtoMessage()
func (*GetMarginAttributesResponse) ProtoReflect ¶
func (x *GetMarginAttributesResponse) ProtoReflect() protoreflect.Message
func (*GetMarginAttributesResponse) Reset ¶
func (x *GetMarginAttributesResponse) Reset()
func (*GetMarginAttributesResponse) String ¶
func (x *GetMarginAttributesResponse) String() string
type GetMySubscriptions ¶
type GetMySubscriptions struct {
// contains filtered or unexported fields
}
Запрос активных подписок.
func (*GetMySubscriptions) Descriptor
deprecated
func (*GetMySubscriptions) Descriptor() ([]byte, []int)
Deprecated: Use GetMySubscriptions.ProtoReflect.Descriptor instead.
func (*GetMySubscriptions) ProtoMessage ¶
func (*GetMySubscriptions) ProtoMessage()
func (*GetMySubscriptions) ProtoReflect ¶
func (x *GetMySubscriptions) ProtoReflect() protoreflect.Message
func (*GetMySubscriptions) Reset ¶
func (x *GetMySubscriptions) Reset()
func (*GetMySubscriptions) String ¶
func (x *GetMySubscriptions) String() string
type GetOperationsByCursorRequest ¶
type GetOperationsByCursorRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента. Обязательный параметр для данного метода, остальные параметры опциональны. InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента (Figi инструмента или uid инструмента) From *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"` //Начало периода (по UTC). To *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"` //Окончание периода (по UTC). Cursor string `protobuf:"bytes,11,opt,name=cursor,proto3" json:"cursor,omitempty"` //Идентификатор элемента, с которого начать формировать ответ. Limit int32 `protobuf:"varint,12,opt,name=limit,proto3" json:"limit,omitempty"` //Лимит количества операций. По умолчанию устанавливается значение **100**, максимальное значение 1000. OperationTypes []OperationType `` //Тип операции. Принимает значение из списка OperationType. /* 169-byte string literal not displayed */ State OperationState `protobuf:"varint,14,opt,name=state,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationState" json:"state,omitempty"` //Статус запрашиваемых операций, возможные значения указаны в OperationState. WithoutCommissions bool `protobuf:"varint,15,opt,name=without_commissions,json=withoutCommissions,proto3" json:"without_commissions,omitempty"` //Флаг возвращать ли комиссии, по умолчанию false WithoutTrades bool `protobuf:"varint,16,opt,name=without_trades,json=withoutTrades,proto3" json:"without_trades,omitempty"` //Флаг получения ответа без массива сделок. WithoutOvernights bool `protobuf:"varint,17,opt,name=without_overnights,json=withoutOvernights,proto3" json:"without_overnights,omitempty"` //Флаг не показывать overnight операций. // contains filtered or unexported fields }
Запрос списка операций по счёту с пагинацией.
func (*GetOperationsByCursorRequest) Descriptor
deprecated
func (*GetOperationsByCursorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperationsByCursorRequest.ProtoReflect.Descriptor instead.
func (*GetOperationsByCursorRequest) GetAccountId ¶
func (x *GetOperationsByCursorRequest) GetAccountId() string
func (*GetOperationsByCursorRequest) GetCursor ¶
func (x *GetOperationsByCursorRequest) GetCursor() string
func (*GetOperationsByCursorRequest) GetFrom ¶
func (x *GetOperationsByCursorRequest) GetFrom() *timestamppb.Timestamp
func (*GetOperationsByCursorRequest) GetInstrumentId ¶
func (x *GetOperationsByCursorRequest) GetInstrumentId() string
func (*GetOperationsByCursorRequest) GetLimit ¶
func (x *GetOperationsByCursorRequest) GetLimit() int32
func (*GetOperationsByCursorRequest) GetOperationTypes ¶
func (x *GetOperationsByCursorRequest) GetOperationTypes() []OperationType
func (*GetOperationsByCursorRequest) GetState ¶
func (x *GetOperationsByCursorRequest) GetState() OperationState
func (*GetOperationsByCursorRequest) GetTo ¶
func (x *GetOperationsByCursorRequest) GetTo() *timestamppb.Timestamp
func (*GetOperationsByCursorRequest) GetWithoutCommissions ¶
func (x *GetOperationsByCursorRequest) GetWithoutCommissions() bool
func (*GetOperationsByCursorRequest) GetWithoutOvernights ¶
func (x *GetOperationsByCursorRequest) GetWithoutOvernights() bool
func (*GetOperationsByCursorRequest) GetWithoutTrades ¶
func (x *GetOperationsByCursorRequest) GetWithoutTrades() bool
func (*GetOperationsByCursorRequest) ProtoMessage ¶
func (*GetOperationsByCursorRequest) ProtoMessage()
func (*GetOperationsByCursorRequest) ProtoReflect ¶
func (x *GetOperationsByCursorRequest) ProtoReflect() protoreflect.Message
func (*GetOperationsByCursorRequest) Reset ¶
func (x *GetOperationsByCursorRequest) Reset()
func (*GetOperationsByCursorRequest) String ¶
func (x *GetOperationsByCursorRequest) String() string
type GetOperationsByCursorResponse ¶
type GetOperationsByCursorResponse struct { HasNext bool `protobuf:"varint,1,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"` //Признак, есть ли следующий элемент. NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` //Следующий курсор. Items []*OperationItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` //Список операций. // contains filtered or unexported fields }
Список операций по счёту с пагинацией.
func (*GetOperationsByCursorResponse) Descriptor
deprecated
func (*GetOperationsByCursorResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOperationsByCursorResponse.ProtoReflect.Descriptor instead.
func (*GetOperationsByCursorResponse) GetHasNext ¶
func (x *GetOperationsByCursorResponse) GetHasNext() bool
func (*GetOperationsByCursorResponse) GetItems ¶
func (x *GetOperationsByCursorResponse) GetItems() []*OperationItem
func (*GetOperationsByCursorResponse) GetNextCursor ¶
func (x *GetOperationsByCursorResponse) GetNextCursor() string
func (*GetOperationsByCursorResponse) ProtoMessage ¶
func (*GetOperationsByCursorResponse) ProtoMessage()
func (*GetOperationsByCursorResponse) ProtoReflect ¶
func (x *GetOperationsByCursorResponse) ProtoReflect() protoreflect.Message
func (*GetOperationsByCursorResponse) Reset ¶
func (x *GetOperationsByCursorResponse) Reset()
func (*GetOperationsByCursorResponse) String ¶
func (x *GetOperationsByCursorResponse) String() string
type GetOrderBookRequest ¶
type GetOrderBookRequest struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` //Глубина стакана. InstrumentId string `protobuf:"bytes,3,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid. // contains filtered or unexported fields }
Запрос стакана.
func (*GetOrderBookRequest) Descriptor
deprecated
func (*GetOrderBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrderBookRequest.ProtoReflect.Descriptor instead.
func (*GetOrderBookRequest) GetDepth ¶
func (x *GetOrderBookRequest) GetDepth() int32
func (*GetOrderBookRequest) GetFigi
deprecated
func (x *GetOrderBookRequest) GetFigi() string
Deprecated: Do not use.
func (*GetOrderBookRequest) GetInstrumentId ¶
func (x *GetOrderBookRequest) GetInstrumentId() string
func (*GetOrderBookRequest) ProtoMessage ¶
func (*GetOrderBookRequest) ProtoMessage()
func (*GetOrderBookRequest) ProtoReflect ¶
func (x *GetOrderBookRequest) ProtoReflect() protoreflect.Message
func (*GetOrderBookRequest) Reset ¶
func (x *GetOrderBookRequest) Reset()
func (*GetOrderBookRequest) String ¶
func (x *GetOrderBookRequest) String() string
type GetOrderBookResponse ¶
type GetOrderBookResponse struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` //Глубина стакана. Bids []*Order `protobuf:"bytes,3,rep,name=bids,proto3" json:"bids,omitempty"` //Множество пар значений на покупку. Asks []*Order `protobuf:"bytes,4,rep,name=asks,proto3" json:"asks,omitempty"` //Множество пар значений на продажу. LastPrice *Quotation `protobuf:"bytes,5,opt,name=last_price,json=lastPrice,proto3" json:"last_price,omitempty"` //Цена последней сделки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) ClosePrice *Quotation `protobuf:"bytes,6,opt,name=close_price,json=closePrice,proto3" json:"close_price,omitempty"` //Цена закрытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) LimitUp *Quotation `protobuf:"bytes,7,opt,name=limit_up,json=limitUp,proto3" json:"limit_up,omitempty"` //Верхний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) LimitDown *Quotation `protobuf:"bytes,8,opt,name=limit_down,json=limitDown,proto3" json:"limit_down,omitempty"` //Нижний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) LastPriceTs *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=last_price_ts,json=lastPriceTs,proto3" json:"last_price_ts,omitempty"` //Время получения цены последней сделки. ClosePriceTs *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=close_price_ts,json=closePriceTs,proto3" json:"close_price_ts,omitempty"` //Время получения цены закрытия. OrderbookTs *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=orderbook_ts,json=orderbookTs,proto3" json:"orderbook_ts,omitempty"` //Время формирования стакана на бирже. InstrumentUid string `protobuf:"bytes,9,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента. // contains filtered or unexported fields }
Информация о стакане.
func (*GetOrderBookResponse) Descriptor
deprecated
func (*GetOrderBookResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrderBookResponse.ProtoReflect.Descriptor instead.
func (*GetOrderBookResponse) GetAsks ¶
func (x *GetOrderBookResponse) GetAsks() []*Order
func (*GetOrderBookResponse) GetBids ¶
func (x *GetOrderBookResponse) GetBids() []*Order
func (*GetOrderBookResponse) GetClosePrice ¶
func (x *GetOrderBookResponse) GetClosePrice() *Quotation
func (*GetOrderBookResponse) GetClosePriceTs ¶
func (x *GetOrderBookResponse) GetClosePriceTs() *timestamppb.Timestamp
func (*GetOrderBookResponse) GetDepth ¶
func (x *GetOrderBookResponse) GetDepth() int32
func (*GetOrderBookResponse) GetFigi ¶
func (x *GetOrderBookResponse) GetFigi() string
func (*GetOrderBookResponse) GetInstrumentUid ¶
func (x *GetOrderBookResponse) GetInstrumentUid() string
func (*GetOrderBookResponse) GetLastPrice ¶
func (x *GetOrderBookResponse) GetLastPrice() *Quotation
func (*GetOrderBookResponse) GetLastPriceTs ¶
func (x *GetOrderBookResponse) GetLastPriceTs() *timestamppb.Timestamp
func (*GetOrderBookResponse) GetLimitDown ¶
func (x *GetOrderBookResponse) GetLimitDown() *Quotation
func (*GetOrderBookResponse) GetLimitUp ¶
func (x *GetOrderBookResponse) GetLimitUp() *Quotation
func (*GetOrderBookResponse) GetOrderbookTs ¶
func (x *GetOrderBookResponse) GetOrderbookTs() *timestamppb.Timestamp
func (*GetOrderBookResponse) ProtoMessage ¶
func (*GetOrderBookResponse) ProtoMessage()
func (*GetOrderBookResponse) ProtoReflect ¶
func (x *GetOrderBookResponse) ProtoReflect() protoreflect.Message
func (*GetOrderBookResponse) Reset ¶
func (x *GetOrderBookResponse) Reset()
func (*GetOrderBookResponse) String ¶
func (x *GetOrderBookResponse) String() string
type 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 { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid. // contains filtered or unexported fields }
Запрос получения торгового статуса.
func (*GetTradingStatusRequest) Descriptor
deprecated
func (*GetTradingStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTradingStatusRequest.ProtoReflect.Descriptor instead.
func (*GetTradingStatusRequest) GetFigi
deprecated
func (x *GetTradingStatusRequest) GetFigi() string
Deprecated: Do not use.
func (*GetTradingStatusRequest) GetInstrumentId ¶
func (x *GetTradingStatusRequest) GetInstrumentId() string
func (*GetTradingStatusRequest) ProtoMessage ¶
func (*GetTradingStatusRequest) ProtoMessage()
func (*GetTradingStatusRequest) ProtoReflect ¶
func (x *GetTradingStatusRequest) ProtoReflect() protoreflect.Message
func (*GetTradingStatusRequest) Reset ¶
func (x *GetTradingStatusRequest) Reset()
func (*GetTradingStatusRequest) String ¶
func (x *GetTradingStatusRequest) String() string
type GetTradingStatusResponse ¶
type GetTradingStatusResponse struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. TradingStatus SecurityTradingStatus `` //Статус торговли инструментом. /* 166-byte string literal not displayed */ LimitOrderAvailableFlag bool `` //Признак доступности выставления лимитной заявки по инструменту. /* 135-byte string literal not displayed */ MarketOrderAvailableFlag bool `` //Признак доступности выставления рыночной заявки по инструменту. /* 138-byte string literal not displayed */ ApiTradeAvailableFlag bool `` //Признак доступности торгов через API. /* 129-byte string literal not displayed */ InstrumentUid string `protobuf:"bytes,6,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента. // 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) GetInstrumentUid ¶
func (x *GetTradingStatusResponse) GetInstrumentUid() 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 GetTradingStatusesRequest ¶
type GetTradingStatusesRequest struct { InstrumentId []string `protobuf:"bytes,1,rep,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid // contains filtered or unexported fields }
Запрос получения торгового статуса.
func (*GetTradingStatusesRequest) Descriptor
deprecated
func (*GetTradingStatusesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTradingStatusesRequest.ProtoReflect.Descriptor instead.
func (*GetTradingStatusesRequest) GetInstrumentId ¶
func (x *GetTradingStatusesRequest) GetInstrumentId() []string
func (*GetTradingStatusesRequest) ProtoMessage ¶
func (*GetTradingStatusesRequest) ProtoMessage()
func (*GetTradingStatusesRequest) ProtoReflect ¶
func (x *GetTradingStatusesRequest) ProtoReflect() protoreflect.Message
func (*GetTradingStatusesRequest) Reset ¶
func (x *GetTradingStatusesRequest) Reset()
func (*GetTradingStatusesRequest) String ¶
func (x *GetTradingStatusesRequest) String() string
type GetTradingStatusesResponse ¶
type GetTradingStatusesResponse struct { TradingStatuses []*GetTradingStatusResponse `protobuf:"bytes,1,rep,name=trading_statuses,json=tradingStatuses,proto3" json:"trading_statuses,omitempty"` //Массив информации о торговых статусах // contains filtered or unexported fields }
Информация о торговом статусе.
func (*GetTradingStatusesResponse) Descriptor
deprecated
func (*GetTradingStatusesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTradingStatusesResponse.ProtoReflect.Descriptor instead.
func (*GetTradingStatusesResponse) GetTradingStatuses ¶
func (x *GetTradingStatusesResponse) GetTradingStatuses() []*GetTradingStatusResponse
func (*GetTradingStatusesResponse) ProtoMessage ¶
func (*GetTradingStatusesResponse) ProtoMessage()
func (*GetTradingStatusesResponse) ProtoReflect ¶
func (x *GetTradingStatusesResponse) ProtoReflect() protoreflect.Message
func (*GetTradingStatusesResponse) Reset ¶
func (x *GetTradingStatusesResponse) Reset()
func (*GetTradingStatusesResponse) String ¶
func (x *GetTradingStatusesResponse) String() string
type GetUserTariffRequest ¶
type GetUserTariffRequest struct {
// contains filtered or unexported fields
}
Запрос текущих лимитов пользователя.
func (*GetUserTariffRequest) Descriptor
deprecated
func (*GetUserTariffRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserTariffRequest.ProtoReflect.Descriptor instead.
func (*GetUserTariffRequest) ProtoMessage ¶
func (*GetUserTariffRequest) ProtoMessage()
func (*GetUserTariffRequest) ProtoReflect ¶
func (x *GetUserTariffRequest) ProtoReflect() protoreflect.Message
func (*GetUserTariffRequest) Reset ¶
func (x *GetUserTariffRequest) Reset()
func (*GetUserTariffRequest) String ¶
func (x *GetUserTariffRequest) String() string
type GetUserTariffResponse ¶
type GetUserTariffResponse struct { UnaryLimits []*UnaryLimit `protobuf:"bytes,1,rep,name=unary_limits,json=unaryLimits,proto3" json:"unary_limits,omitempty"` //Массив лимитов пользователя по unary-запросам. StreamLimits []*StreamLimit `protobuf:"bytes,2,rep,name=stream_limits,json=streamLimits,proto3" json:"stream_limits,omitempty"` //Массив лимитов пользователей для stream-соединений. // contains filtered or unexported fields }
Текущие лимиты пользователя.
func (*GetUserTariffResponse) Descriptor
deprecated
func (*GetUserTariffResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserTariffResponse.ProtoReflect.Descriptor instead.
func (*GetUserTariffResponse) GetStreamLimits ¶
func (x *GetUserTariffResponse) GetStreamLimits() []*StreamLimit
func (*GetUserTariffResponse) GetUnaryLimits ¶
func (x *GetUserTariffResponse) GetUnaryLimits() []*UnaryLimit
func (*GetUserTariffResponse) ProtoMessage ¶
func (*GetUserTariffResponse) ProtoMessage()
func (*GetUserTariffResponse) ProtoReflect ¶
func (x *GetUserTariffResponse) ProtoReflect() protoreflect.Message
func (*GetUserTariffResponse) Reset ¶
func (x *GetUserTariffResponse) Reset()
func (*GetUserTariffResponse) String ¶
func (x *GetUserTariffResponse) String() string
type HistoricCandle ¶
type HistoricCandle struct { Open *Quotation `protobuf:"bytes,1,opt,name=open,proto3" json:"open,omitempty"` //Цена открытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) High *Quotation `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"` //Максимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Low *Quotation `protobuf:"bytes,3,opt,name=low,proto3" json:"low,omitempty"` //Минимальная цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Close *Quotation `protobuf:"bytes,4,opt,name=close,proto3" json:"close,omitempty"` //Цена закрытия за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Volume int64 `protobuf:"varint,5,opt,name=volume,proto3" json:"volume,omitempty"` //Объём торгов в лотах. Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` //Время свечи в часовом поясе UTC. IsComplete bool `protobuf:"varint,7,opt,name=is_complete,json=isComplete,proto3" json:"is_complete,omitempty"` //Признак завершённости свечи. **false** значит, свеча за текущие интервал ещё сформирована не полностью. // 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() *timestamppb.Timestamp
func (*HistoricCandle) GetVolume ¶
func (x *HistoricCandle) GetVolume() int64
func (*HistoricCandle) ProtoMessage ¶
func (*HistoricCandle) ProtoMessage()
func (*HistoricCandle) ProtoReflect ¶
func (x *HistoricCandle) ProtoReflect() protoreflect.Message
func (*HistoricCandle) Reset ¶
func (x *HistoricCandle) Reset()
func (*HistoricCandle) String ¶
func (x *HistoricCandle) String() string
func (*HistoricCandle) ToCSV ¶
func (hc *HistoricCandle) ToCSV() string
ToCSV - return historic candle in csv format (time in unix): time;open;close;high;low;volume
type InfoInstrument ¶
type InfoInstrument struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid // contains filtered or unexported fields }
Запрос подписки на торговый статус.
func (*InfoInstrument) Descriptor
deprecated
func (*InfoInstrument) Descriptor() ([]byte, []int)
Deprecated: Use InfoInstrument.ProtoReflect.Descriptor instead.
func (*InfoInstrument) GetFigi
deprecated
func (x *InfoInstrument) GetFigi() string
Deprecated: Do not use.
func (*InfoInstrument) GetInstrumentId ¶
func (x *InfoInstrument) GetInstrumentId() string
func (*InfoInstrument) ProtoMessage ¶
func (*InfoInstrument) ProtoMessage()
func (*InfoInstrument) ProtoReflect ¶
func (x *InfoInstrument) ProtoReflect() protoreflect.Message
func (*InfoInstrument) Reset ¶
func (x *InfoInstrument) Reset()
func (*InfoInstrument) String ¶
func (x *InfoInstrument) String() string
type InfoSubscription ¶
type InfoSubscription struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. SubscriptionStatus SubscriptionStatus `` //Статус подписки. /* 178-byte string literal not displayed */ InstrumentUid string `protobuf:"bytes,3,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Статус подписки.
func (*InfoSubscription) Descriptor
deprecated
func (*InfoSubscription) Descriptor() ([]byte, []int)
Deprecated: Use InfoSubscription.ProtoReflect.Descriptor instead.
func (*InfoSubscription) GetFigi ¶
func (x *InfoSubscription) GetFigi() string
func (*InfoSubscription) GetInstrumentUid ¶
func (x *InfoSubscription) GetInstrumentUid() 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 */ PositionUid string `protobuf:"bytes,27,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента. ForIisFlag bool `protobuf:"varint,36,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Признак доступности для ИИС. ForQualInvestorFlag bool `protobuf:"varint,37,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,38,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным BlockedTcaFlag bool `protobuf:"varint,39,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС InstrumentKind InstrumentType `` //Тип инструмента. /* 163-byte string literal not displayed */ First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи. // 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) GetBlockedTcaFlag ¶
func (x *Instrument) GetBlockedTcaFlag() 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) GetFirst_1DayCandleDate ¶
func (x *Instrument) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Instrument) GetFirst_1MinCandleDate ¶
func (x *Instrument) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Instrument) GetForIisFlag ¶
func (x *Instrument) GetForIisFlag() bool
func (*Instrument) GetForQualInvestorFlag ¶
func (x *Instrument) GetForQualInvestorFlag() bool
func (*Instrument) GetInstrumentKind ¶
func (x *Instrument) GetInstrumentKind() InstrumentType
func (*Instrument) GetInstrumentType ¶
func (x *Instrument) GetInstrumentType() string
func (*Instrument) GetIsin ¶
func (x *Instrument) GetIsin() string
func (*Instrument) GetKlong ¶
func (x *Instrument) GetKlong() *Quotation
func (*Instrument) GetKshort ¶
func (x *Instrument) GetKshort() *Quotation
func (*Instrument) GetLot ¶
func (x *Instrument) GetLot() int32
func (*Instrument) GetMinPriceIncrement ¶
func (x *Instrument) GetMinPriceIncrement() *Quotation
func (*Instrument) GetName ¶
func (x *Instrument) GetName() string
func (*Instrument) GetOtcFlag ¶
func (x *Instrument) GetOtcFlag() bool
func (*Instrument) GetPositionUid ¶
func (x *Instrument) GetPositionUid() string
func (*Instrument) GetRealExchange ¶
func (x *Instrument) GetRealExchange() RealExchange
func (*Instrument) GetSellAvailableFlag ¶
func (x *Instrument) GetSellAvailableFlag() bool
func (*Instrument) GetShortEnabledFlag ¶
func (x *Instrument) GetShortEnabledFlag() bool
func (*Instrument) GetTicker ¶
func (x *Instrument) GetTicker() string
func (*Instrument) GetTradingStatus ¶
func (x *Instrument) GetTradingStatus() SecurityTradingStatus
func (*Instrument) GetUid ¶
func (x *Instrument) GetUid() string
func (*Instrument) GetWeekendFlag ¶
func (x *Instrument) GetWeekendFlag() bool
func (*Instrument) ProtoMessage ¶
func (*Instrument) ProtoMessage()
func (*Instrument) ProtoReflect ¶
func (x *Instrument) ProtoReflect() protoreflect.Message
func (*Instrument) Reset ¶
func (x *Instrument) Reset()
func (*Instrument) String ¶
func (x *Instrument) String() string
type InstrumentClosePriceRequest ¶
type InstrumentClosePriceRequest struct { InstrumentId string `protobuf:"bytes,1,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid. // contains filtered or unexported fields }
Запрос цен закрытия торговой сессии по инструменту.
func (*InstrumentClosePriceRequest) Descriptor
deprecated
func (*InstrumentClosePriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstrumentClosePriceRequest.ProtoReflect.Descriptor instead.
func (*InstrumentClosePriceRequest) GetInstrumentId ¶
func (x *InstrumentClosePriceRequest) GetInstrumentId() string
func (*InstrumentClosePriceRequest) ProtoMessage ¶
func (*InstrumentClosePriceRequest) ProtoMessage()
func (*InstrumentClosePriceRequest) ProtoReflect ¶
func (x *InstrumentClosePriceRequest) ProtoReflect() protoreflect.Message
func (*InstrumentClosePriceRequest) Reset ¶
func (x *InstrumentClosePriceRequest) Reset()
func (*InstrumentClosePriceRequest) String ¶
func (x *InstrumentClosePriceRequest) String() string
type InstrumentClosePriceResponse ¶
type InstrumentClosePriceResponse struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi инструмента. InstrumentUid string `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента. Price *Quotation `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"` //Цена закрытия торговой сессии. Time *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=time,proto3" json:"time,omitempty"` //Дата совершения торгов. // contains filtered or unexported fields }
Цена закрытия торговой сессии по инструменту.
func (*InstrumentClosePriceResponse) Descriptor
deprecated
func (*InstrumentClosePriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstrumentClosePriceResponse.ProtoReflect.Descriptor instead.
func (*InstrumentClosePriceResponse) GetFigi ¶
func (x *InstrumentClosePriceResponse) GetFigi() string
func (*InstrumentClosePriceResponse) GetInstrumentUid ¶
func (x *InstrumentClosePriceResponse) GetInstrumentUid() string
func (*InstrumentClosePriceResponse) GetPrice ¶
func (x *InstrumentClosePriceResponse) GetPrice() *Quotation
func (*InstrumentClosePriceResponse) GetTime ¶
func (x *InstrumentClosePriceResponse) GetTime() *timestamppb.Timestamp
func (*InstrumentClosePriceResponse) ProtoMessage ¶
func (*InstrumentClosePriceResponse) ProtoMessage()
func (*InstrumentClosePriceResponse) ProtoReflect ¶
func (x *InstrumentClosePriceResponse) ProtoReflect() protoreflect.Message
func (*InstrumentClosePriceResponse) Reset ¶
func (x *InstrumentClosePriceResponse) Reset()
func (*InstrumentClosePriceResponse) String ¶
func (x *InstrumentClosePriceResponse) 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 //Уникальный идентификатор. InstrumentIdType_INSTRUMENT_ID_TYPE_POSITION_UID InstrumentIdType = 4 //Идентификатор позиции. )
func (InstrumentIdType) Descriptor ¶
func (InstrumentIdType) Descriptor() protoreflect.EnumDescriptor
func (InstrumentIdType) Enum ¶
func (x InstrumentIdType) Enum() *InstrumentIdType
func (InstrumentIdType) EnumDescriptor
deprecated
func (InstrumentIdType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstrumentIdType.Descriptor instead.
func (InstrumentIdType) Number ¶
func (x InstrumentIdType) Number() protoreflect.EnumNumber
func (InstrumentIdType) String ¶
func (x InstrumentIdType) String() string
func (InstrumentIdType) Type ¶
func (InstrumentIdType) Type() protoreflect.EnumType
type InstrumentLink ¶
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 InstrumentShort ¶
type InstrumentShort struct { Isin string `protobuf:"bytes,1,opt,name=isin,proto3" json:"isin,omitempty"` //Isin инструмента. Figi string `protobuf:"bytes,2,opt,name=figi,proto3" json:"figi,omitempty"` //Figi инструмента. Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"` //Ticker инструмента. ClassCode string `protobuf:"bytes,4,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //ClassCode инструмента. InstrumentType string `protobuf:"bytes,5,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` //Название инструмента. Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента. PositionUid string `protobuf:"bytes,8,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции инструмента. InstrumentKind InstrumentType `` //Тип инструмента. /* 163-byte string literal not displayed */ ApiTradeAvailableFlag bool `` //Параметр указывает на возможность торговать инструментом через API. /* 130-byte string literal not displayed */ ForIisFlag bool `protobuf:"varint,12,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Признак доступности для ИИС. First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи. ForQualInvestorFlag bool `protobuf:"varint,28,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,29,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным BlockedTcaFlag bool `protobuf:"varint,30,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС // contains filtered or unexported fields }
Краткая информация об инструменте.
func (*InstrumentShort) Descriptor
deprecated
func (*InstrumentShort) Descriptor() ([]byte, []int)
Deprecated: Use InstrumentShort.ProtoReflect.Descriptor instead.
func (*InstrumentShort) GetApiTradeAvailableFlag ¶
func (x *InstrumentShort) GetApiTradeAvailableFlag() bool
func (*InstrumentShort) GetBlockedTcaFlag ¶
func (x *InstrumentShort) GetBlockedTcaFlag() bool
func (*InstrumentShort) GetClassCode ¶
func (x *InstrumentShort) GetClassCode() string
func (*InstrumentShort) GetFigi ¶
func (x *InstrumentShort) GetFigi() string
func (*InstrumentShort) GetFirst_1DayCandleDate ¶
func (x *InstrumentShort) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*InstrumentShort) GetFirst_1MinCandleDate ¶
func (x *InstrumentShort) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*InstrumentShort) GetForIisFlag ¶
func (x *InstrumentShort) GetForIisFlag() bool
func (*InstrumentShort) GetForQualInvestorFlag ¶
func (x *InstrumentShort) GetForQualInvestorFlag() bool
func (*InstrumentShort) GetInstrumentKind ¶
func (x *InstrumentShort) GetInstrumentKind() InstrumentType
func (*InstrumentShort) GetInstrumentType ¶
func (x *InstrumentShort) GetInstrumentType() string
func (*InstrumentShort) GetIsin ¶
func (x *InstrumentShort) GetIsin() string
func (*InstrumentShort) GetName ¶
func (x *InstrumentShort) GetName() string
func (*InstrumentShort) GetPositionUid ¶
func (x *InstrumentShort) GetPositionUid() string
func (*InstrumentShort) GetTicker ¶
func (x *InstrumentShort) GetTicker() string
func (*InstrumentShort) GetUid ¶
func (x *InstrumentShort) GetUid() string
func (*InstrumentShort) GetWeekendFlag ¶
func (x *InstrumentShort) GetWeekendFlag() bool
func (*InstrumentShort) ProtoMessage ¶
func (*InstrumentShort) ProtoMessage()
func (*InstrumentShort) ProtoReflect ¶
func (x *InstrumentShort) ProtoReflect() protoreflect.Message
func (*InstrumentShort) Reset ¶
func (x *InstrumentShort) Reset()
func (*InstrumentShort) String ¶
func (x *InstrumentShort) 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) Descriptor() protoreflect.EnumDescriptor
func (InstrumentStatus) Enum ¶
func (x InstrumentStatus) Enum() *InstrumentStatus
func (InstrumentStatus) EnumDescriptor
deprecated
func (InstrumentStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstrumentStatus.Descriptor instead.
func (InstrumentStatus) Number ¶
func (x InstrumentStatus) Number() protoreflect.EnumNumber
func (InstrumentStatus) String ¶
func (x InstrumentStatus) String() string
func (InstrumentStatus) Type ¶
func (InstrumentStatus) Type() protoreflect.EnumType
type InstrumentType ¶
type InstrumentType int32
Тип инструмента.
const ( InstrumentType_INSTRUMENT_TYPE_UNSPECIFIED InstrumentType = 0 InstrumentType_INSTRUMENT_TYPE_BOND InstrumentType = 1 //Облигация. InstrumentType_INSTRUMENT_TYPE_SHARE InstrumentType = 2 //Акция. InstrumentType_INSTRUMENT_TYPE_CURRENCY InstrumentType = 3 //Валюта. InstrumentType_INSTRUMENT_TYPE_ETF InstrumentType = 4 //Exchange-traded fund. Фонд. InstrumentType_INSTRUMENT_TYPE_FUTURES InstrumentType = 5 //Фьючерс. InstrumentType_INSTRUMENT_TYPE_SP InstrumentType = 6 //Структурная нота. InstrumentType_INSTRUMENT_TYPE_OPTION InstrumentType = 7 //Опцион. InstrumentType_INSTRUMENT_TYPE_CLEARING_CERTIFICATE InstrumentType = 8 //Clearing certificate. )
func (InstrumentType) Descriptor ¶
func (InstrumentType) Descriptor() protoreflect.EnumDescriptor
func (InstrumentType) Enum ¶
func (x InstrumentType) Enum() *InstrumentType
func (InstrumentType) EnumDescriptor
deprecated
func (InstrumentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstrumentType.Descriptor instead.
func (InstrumentType) Number ¶
func (x InstrumentType) Number() protoreflect.EnumNumber
func (InstrumentType) String ¶
func (x InstrumentType) String() string
func (InstrumentType) Type ¶
func (InstrumentType) Type() protoreflect.EnumType
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) // Метод получения опциона по его идентификатору. OptionBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*OptionResponse, error) // Deprecated: Do not use. // Deprecated Метод получения списка опционов. Options(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*OptionsResponse, error) // Метод получения списка опционов. OptionsBy(ctx context.Context, in *FilterOptionsRequest, opts ...grpc.CallOption) (*OptionsResponse, error) ShareBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*ShareResponse, error) Shares(ctx context.Context, in *InstrumentsRequest, opts ...grpc.CallOption) (*SharesResponse, error) // Метод получения накопленного купонного дохода по облигации. GetAccruedInterests(ctx context.Context, in *GetAccruedInterestsRequest, opts ...grpc.CallOption) (*GetAccruedInterestsResponse, error) // Метод получения размера гарантийного обеспечения по фьючерсам. GetFuturesMargin(ctx context.Context, in *GetFuturesMarginRequest, opts ...grpc.CallOption) (*GetFuturesMarginResponse, error) // Метод получения основной информации об инструменте. GetInstrumentBy(ctx context.Context, in *InstrumentRequest, opts ...grpc.CallOption) (*InstrumentResponse, error) // Метод для получения событий выплаты дивидендов по инструменту. GetDividends(ctx context.Context, in *GetDividendsRequest, opts ...grpc.CallOption) (*GetDividendsResponse, error) // Метод получения актива по его идентификатору. GetAssetBy(ctx context.Context, in *AssetRequest, opts ...grpc.CallOption) (*AssetResponse, error) // Метод получения списка активов. GetAssets(ctx context.Context, in *AssetsRequest, opts ...grpc.CallOption) (*AssetsResponse, error) // Метод получения списка избранных инструментов. GetFavorites(ctx context.Context, in *GetFavoritesRequest, opts ...grpc.CallOption) (*GetFavoritesResponse, error) // Метод редактирования списка избранных инструментов. EditFavorites(ctx context.Context, in *EditFavoritesRequest, opts ...grpc.CallOption) (*EditFavoritesResponse, error) // Метод получения списка стран. GetCountries(ctx context.Context, in *GetCountriesRequest, opts ...grpc.CallOption) (*GetCountriesResponse, error) // Метод поиска инструмента. FindInstrument(ctx context.Context, in *FindInstrumentRequest, opts ...grpc.CallOption) (*FindInstrumentResponse, error) // Метод получения списка брендов. GetBrands(ctx context.Context, in *GetBrandsRequest, opts ...grpc.CallOption) (*GetBrandsResponse, error) // Метод получения бренда по его идентификатору. GetBrandBy(ctx context.Context, in *GetBrandRequest, opts ...grpc.CallOption) (*Brand, error) }
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.
func NewInstrumentsServiceClient ¶
func NewInstrumentsServiceClient(cc grpc.ClientConnInterface) InstrumentsServiceClient
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) // Метод получения опциона по его идентификатору. OptionBy(context.Context, *InstrumentRequest) (*OptionResponse, error) // Deprecated: Do not use. // Deprecated Метод получения списка опционов. Options(context.Context, *InstrumentsRequest) (*OptionsResponse, error) // Метод получения списка опционов. OptionsBy(context.Context, *FilterOptionsRequest) (*OptionsResponse, error) ShareBy(context.Context, *InstrumentRequest) (*ShareResponse, error) Shares(context.Context, *InstrumentsRequest) (*SharesResponse, error) // Метод получения накопленного купонного дохода по облигации. GetAccruedInterests(context.Context, *GetAccruedInterestsRequest) (*GetAccruedInterestsResponse, error) // Метод получения размера гарантийного обеспечения по фьючерсам. GetFuturesMargin(context.Context, *GetFuturesMarginRequest) (*GetFuturesMarginResponse, error) // Метод получения основной информации об инструменте. GetInstrumentBy(context.Context, *InstrumentRequest) (*InstrumentResponse, error) // Метод для получения событий выплаты дивидендов по инструменту. GetDividends(context.Context, *GetDividendsRequest) (*GetDividendsResponse, error) // Метод получения актива по его идентификатору. GetAssetBy(context.Context, *AssetRequest) (*AssetResponse, error) // Метод получения списка активов. GetAssets(context.Context, *AssetsRequest) (*AssetsResponse, error) // Метод получения списка избранных инструментов. GetFavorites(context.Context, *GetFavoritesRequest) (*GetFavoritesResponse, error) // Метод редактирования списка избранных инструментов. EditFavorites(context.Context, *EditFavoritesRequest) (*EditFavoritesResponse, error) // Метод получения списка стран. GetCountries(context.Context, *GetCountriesRequest) (*GetCountriesResponse, error) // Метод поиска инструмента. FindInstrument(context.Context, *FindInstrumentRequest) (*FindInstrumentResponse, error) // Метод получения списка брендов. GetBrands(context.Context, *GetBrandsRequest) (*GetBrandsResponse, error) // Метод получения бренда по его идентификатору. GetBrandBy(context.Context, *GetBrandRequest) (*Brand, error) // contains filtered or unexported methods }
InstrumentsServiceServer is the server API for InstrumentsService service. All implementations must embed UnimplementedInstrumentsServiceServer for forward compatibility
type LastPrice ¶
type LastPrice struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi инструмента. Price *Quotation `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` //Цена последней сделки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` //Время получения последней цены в часовом поясе UTC по времени биржи. InstrumentUid string `protobuf:"bytes,11,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Информация о цене последней сделки.
func (*LastPrice) Descriptor
deprecated
func (*LastPrice) GetInstrumentUid ¶
func (*LastPrice) GetTime ¶
func (x *LastPrice) GetTime() *timestamppb.Timestamp
func (*LastPrice) ProtoMessage ¶
func (*LastPrice) ProtoMessage()
func (*LastPrice) ProtoReflect ¶
func (x *LastPrice) ProtoReflect() protoreflect.Message
type LastPriceInstrument ¶
type LastPriceInstrument struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid // contains filtered or unexported fields }
Запрос подписки на последнюю цену.
func (*LastPriceInstrument) Descriptor
deprecated
func (*LastPriceInstrument) Descriptor() ([]byte, []int)
Deprecated: Use LastPriceInstrument.ProtoReflect.Descriptor instead.
func (*LastPriceInstrument) GetFigi
deprecated
func (x *LastPriceInstrument) GetFigi() string
Deprecated: Do not use.
func (*LastPriceInstrument) GetInstrumentId ¶
func (x *LastPriceInstrument) GetInstrumentId() string
func (*LastPriceInstrument) ProtoMessage ¶
func (*LastPriceInstrument) ProtoMessage()
func (*LastPriceInstrument) ProtoReflect ¶
func (x *LastPriceInstrument) ProtoReflect() protoreflect.Message
func (*LastPriceInstrument) Reset ¶
func (x *LastPriceInstrument) Reset()
func (*LastPriceInstrument) String ¶
func (x *LastPriceInstrument) String() string
type LastPriceSubscription ¶
type LastPriceSubscription struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. SubscriptionStatus SubscriptionStatus `` //Статус подписки. /* 178-byte string literal not displayed */ InstrumentUid string `protobuf:"bytes,3,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Статус подписки на цену последней сделки.
func (*LastPriceSubscription) Descriptor
deprecated
func (*LastPriceSubscription) Descriptor() ([]byte, []int)
Deprecated: Use LastPriceSubscription.ProtoReflect.Descriptor instead.
func (*LastPriceSubscription) GetFigi ¶
func (x *LastPriceSubscription) GetFigi() string
func (*LastPriceSubscription) GetInstrumentUid ¶
func (x *LastPriceSubscription) GetInstrumentUid() 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 // *MarketDataRequest_GetMySubscriptions Payload isMarketDataRequest_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Запрос подписки или отписки на определённые биржевые данные.
func (*MarketDataRequest) Descriptor
deprecated
func (*MarketDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarketDataRequest.ProtoReflect.Descriptor instead.
func (*MarketDataRequest) GetGetMySubscriptions ¶
func (x *MarketDataRequest) GetGetMySubscriptions() *GetMySubscriptions
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_GetMySubscriptions ¶
type MarketDataRequest_GetMySubscriptions struct {
GetMySubscriptions *GetMySubscriptions `protobuf:"bytes,6,opt,name=get_my_subscriptions,json=getMySubscriptions,proto3,oneof"` //Запрос своих подписок.
}
type MarketDataRequest_SubscribeCandlesRequest ¶
type MarketDataRequest_SubscribeCandlesRequest struct {
SubscribeCandlesRequest *SubscribeCandlesRequest `protobuf:"bytes,1,opt,name=subscribe_candles_request,json=subscribeCandlesRequest,proto3,oneof"` //Запрос подписки на свечи.
}
type MarketDataRequest_SubscribeInfoRequest ¶
type MarketDataRequest_SubscribeInfoRequest struct {
SubscribeInfoRequest *SubscribeInfoRequest `protobuf:"bytes,4,opt,name=subscribe_info_request,json=subscribeInfoRequest,proto3,oneof"` //Запрос подписки на торговые статусы инструментов.
}
type MarketDataRequest_SubscribeLastPriceRequest ¶
type MarketDataRequest_SubscribeLastPriceRequest struct {
SubscribeLastPriceRequest *SubscribeLastPriceRequest `protobuf:"bytes,5,opt,name=subscribe_last_price_request,json=subscribeLastPriceRequest,proto3,oneof"` //Запрос подписки на цены последних сделок.
}
type MarketDataRequest_SubscribeOrderBookRequest ¶
type MarketDataRequest_SubscribeOrderBookRequest struct {
SubscribeOrderBookRequest *SubscribeOrderBookRequest `protobuf:"bytes,2,opt,name=subscribe_order_book_request,json=subscribeOrderBookRequest,proto3,oneof"` //Запрос подписки на стаканы.
}
type MarketDataRequest_SubscribeTradesRequest ¶
type MarketDataRequest_SubscribeTradesRequest struct {
SubscribeTradesRequest *SubscribeTradesRequest `protobuf:"bytes,3,opt,name=subscribe_trades_request,json=subscribeTradesRequest,proto3,oneof"` //Запрос подписки на ленту обезличенных сделок.
}
type MarketDataResponse ¶
type MarketDataResponse struct { // Types that are assignable to Payload: // // *MarketDataResponse_SubscribeCandlesResponse // *MarketDataResponse_SubscribeOrderBookResponse // *MarketDataResponse_SubscribeTradesResponse // *MarketDataResponse_SubscribeInfoResponse // *MarketDataResponse_Candle // *MarketDataResponse_Trade // *MarketDataResponse_Orderbook // *MarketDataResponse_TradingStatus // *MarketDataResponse_Ping // *MarketDataResponse_SubscribeLastPriceResponse // *MarketDataResponse_LastPrice Payload isMarketDataResponse_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Пакет биржевой информации по подписке.
func (*MarketDataResponse) Descriptor
deprecated
func (*MarketDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarketDataResponse.ProtoReflect.Descriptor instead.
func (*MarketDataResponse) GetCandle ¶
func (x *MarketDataResponse) GetCandle() *Candle
func (*MarketDataResponse) GetLastPrice ¶
func (x *MarketDataResponse) GetLastPrice() *LastPrice
func (*MarketDataResponse) GetOrderbook ¶
func (x *MarketDataResponse) GetOrderbook() *OrderBook
func (*MarketDataResponse) GetPayload ¶
func (m *MarketDataResponse) GetPayload() isMarketDataResponse_Payload
func (*MarketDataResponse) GetPing ¶
func (x *MarketDataResponse) GetPing() *Ping
func (*MarketDataResponse) GetSubscribeCandlesResponse ¶
func (x *MarketDataResponse) GetSubscribeCandlesResponse() *SubscribeCandlesResponse
func (*MarketDataResponse) GetSubscribeInfoResponse ¶
func (x *MarketDataResponse) GetSubscribeInfoResponse() *SubscribeInfoResponse
func (*MarketDataResponse) GetSubscribeLastPriceResponse ¶
func (x *MarketDataResponse) GetSubscribeLastPriceResponse() *SubscribeLastPriceResponse
func (*MarketDataResponse) GetSubscribeOrderBookResponse ¶
func (x *MarketDataResponse) GetSubscribeOrderBookResponse() *SubscribeOrderBookResponse
func (*MarketDataResponse) GetSubscribeTradesResponse ¶
func (x *MarketDataResponse) GetSubscribeTradesResponse() *SubscribeTradesResponse
func (*MarketDataResponse) GetTrade ¶
func (x *MarketDataResponse) GetTrade() *Trade
func (*MarketDataResponse) GetTradingStatus ¶
func (x *MarketDataResponse) GetTradingStatus() *TradingStatus
func (*MarketDataResponse) ProtoMessage ¶
func (*MarketDataResponse) ProtoMessage()
func (*MarketDataResponse) ProtoReflect ¶
func (x *MarketDataResponse) ProtoReflect() protoreflect.Message
func (*MarketDataResponse) Reset ¶
func (x *MarketDataResponse) Reset()
func (*MarketDataResponse) String ¶
func (x *MarketDataResponse) String() string
type MarketDataResponse_Candle ¶
type MarketDataResponse_Candle struct {
Candle *Candle `protobuf:"bytes,5,opt,name=candle,proto3,oneof"` //Свеча.
}
type MarketDataResponse_LastPrice ¶
type MarketDataResponse_LastPrice struct {
LastPrice *LastPrice `protobuf:"bytes,11,opt,name=last_price,json=lastPrice,proto3,oneof"` //Цена последней сделки.
}
type MarketDataResponse_Orderbook ¶
type MarketDataResponse_Orderbook struct {
Orderbook *OrderBook `protobuf:"bytes,7,opt,name=orderbook,proto3,oneof"` //Стакан.
}
type MarketDataResponse_Ping ¶
type MarketDataResponse_Ping struct {
Ping *Ping `protobuf:"bytes,9,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}
type MarketDataResponse_SubscribeCandlesResponse ¶
type MarketDataResponse_SubscribeCandlesResponse struct {
SubscribeCandlesResponse *SubscribeCandlesResponse `protobuf:"bytes,1,opt,name=subscribe_candles_response,json=subscribeCandlesResponse,proto3,oneof"` //Результат подписки на свечи.
}
type MarketDataResponse_SubscribeInfoResponse ¶
type MarketDataResponse_SubscribeInfoResponse struct {
SubscribeInfoResponse *SubscribeInfoResponse `protobuf:"bytes,4,opt,name=subscribe_info_response,json=subscribeInfoResponse,proto3,oneof"` //Результат подписки на торговые статусы инструментов.
}
type MarketDataResponse_SubscribeLastPriceResponse ¶
type MarketDataResponse_SubscribeLastPriceResponse struct {
SubscribeLastPriceResponse *SubscribeLastPriceResponse `protobuf:"bytes,10,opt,name=subscribe_last_price_response,json=subscribeLastPriceResponse,proto3,oneof"` //Результат подписки на цены последние сделок по инструментам.
}
type MarketDataResponse_SubscribeOrderBookResponse ¶
type MarketDataResponse_SubscribeOrderBookResponse struct {
SubscribeOrderBookResponse *SubscribeOrderBookResponse `protobuf:"bytes,2,opt,name=subscribe_order_book_response,json=subscribeOrderBookResponse,proto3,oneof"` //Результат подписки на стаканы.
}
type MarketDataResponse_SubscribeTradesResponse ¶
type MarketDataResponse_SubscribeTradesResponse struct {
SubscribeTradesResponse *SubscribeTradesResponse `protobuf:"bytes,3,opt,name=subscribe_trades_response,json=subscribeTradesResponse,proto3,oneof"` //Результат подписки на поток обезличенных сделок.
}
type MarketDataResponse_Trade ¶
type MarketDataResponse_Trade struct {
Trade *Trade `protobuf:"bytes,6,opt,name=trade,proto3,oneof"` //Сделки.
}
type MarketDataResponse_TradingStatus ¶
type MarketDataResponse_TradingStatus struct {
TradingStatus *TradingStatus `protobuf:"bytes,8,opt,name=trading_status,json=tradingStatus,proto3,oneof"` //Торговый статус.
}
type MarketDataServerSideStreamRequest ¶
type MarketDataServerSideStreamRequest struct { SubscribeCandlesRequest *SubscribeCandlesRequest `` //Запрос подписки на свечи. /* 132-byte string literal not displayed */ SubscribeOrderBookRequest *SubscribeOrderBookRequest `` //Запрос подписки на стаканы. /* 140-byte string literal not displayed */ SubscribeTradesRequest *SubscribeTradesRequest `` //Запрос подписки на ленту обезличенных сделок. /* 129-byte string literal not displayed */ SubscribeInfoRequest *SubscribeInfoRequest `protobuf:"bytes,4,opt,name=subscribe_info_request,json=subscribeInfoRequest,proto3" json:"subscribe_info_request,omitempty"` //Запрос подписки на торговые статусы инструментов. SubscribeLastPriceRequest *SubscribeLastPriceRequest `` //Запрос подписки на цены последних сделок. /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MarketDataServerSideStreamRequest) Descriptor
deprecated
func (*MarketDataServerSideStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarketDataServerSideStreamRequest.ProtoReflect.Descriptor instead.
func (*MarketDataServerSideStreamRequest) GetSubscribeCandlesRequest ¶
func (x *MarketDataServerSideStreamRequest) GetSubscribeCandlesRequest() *SubscribeCandlesRequest
func (*MarketDataServerSideStreamRequest) GetSubscribeInfoRequest ¶
func (x *MarketDataServerSideStreamRequest) GetSubscribeInfoRequest() *SubscribeInfoRequest
func (*MarketDataServerSideStreamRequest) GetSubscribeLastPriceRequest ¶
func (x *MarketDataServerSideStreamRequest) GetSubscribeLastPriceRequest() *SubscribeLastPriceRequest
func (*MarketDataServerSideStreamRequest) GetSubscribeOrderBookRequest ¶
func (x *MarketDataServerSideStreamRequest) GetSubscribeOrderBookRequest() *SubscribeOrderBookRequest
func (*MarketDataServerSideStreamRequest) GetSubscribeTradesRequest ¶
func (x *MarketDataServerSideStreamRequest) GetSubscribeTradesRequest() *SubscribeTradesRequest
func (*MarketDataServerSideStreamRequest) ProtoMessage ¶
func (*MarketDataServerSideStreamRequest) ProtoMessage()
func (*MarketDataServerSideStreamRequest) ProtoReflect ¶
func (x *MarketDataServerSideStreamRequest) ProtoReflect() protoreflect.Message
func (*MarketDataServerSideStreamRequest) Reset ¶
func (x *MarketDataServerSideStreamRequest) Reset()
func (*MarketDataServerSideStreamRequest) String ¶
func (x *MarketDataServerSideStreamRequest) String() string
type MarketDataServiceClient ¶
type MarketDataServiceClient interface { // Метод запроса исторических свечей по инструменту. GetCandles(ctx context.Context, in *GetCandlesRequest, opts ...grpc.CallOption) (*GetCandlesResponse, error) // Метод запроса цен последних сделок по инструментам. GetLastPrices(ctx context.Context, in *GetLastPricesRequest, opts ...grpc.CallOption) (*GetLastPricesResponse, error) // Метод получения стакана по инструменту. GetOrderBook(ctx context.Context, in *GetOrderBookRequest, opts ...grpc.CallOption) (*GetOrderBookResponse, error) // Метод запроса статуса торгов по инструментам. GetTradingStatus(ctx context.Context, in *GetTradingStatusRequest, opts ...grpc.CallOption) (*GetTradingStatusResponse, error) // Метод запроса статуса торгов по инструментам. GetTradingStatuses(ctx context.Context, in *GetTradingStatusesRequest, opts ...grpc.CallOption) (*GetTradingStatusesResponse, error) // Метод запроса обезличенных сделок за последний час. GetLastTrades(ctx context.Context, in *GetLastTradesRequest, opts ...grpc.CallOption) (*GetLastTradesResponse, error) // Метод запроса цен закрытия торговой сессии по инструментам. GetClosePrices(ctx context.Context, in *GetClosePricesRequest, opts ...grpc.CallOption) (*GetClosePricesResponse, error) }
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.
func NewMarketDataServiceClient ¶
func NewMarketDataServiceClient(cc grpc.ClientConnInterface) MarketDataServiceClient
type MarketDataServiceServer ¶
type MarketDataServiceServer interface { // Метод запроса исторических свечей по инструменту. GetCandles(context.Context, *GetCandlesRequest) (*GetCandlesResponse, error) // Метод запроса цен последних сделок по инструментам. GetLastPrices(context.Context, *GetLastPricesRequest) (*GetLastPricesResponse, error) // Метод получения стакана по инструменту. GetOrderBook(context.Context, *GetOrderBookRequest) (*GetOrderBookResponse, error) // Метод запроса статуса торгов по инструментам. GetTradingStatus(context.Context, *GetTradingStatusRequest) (*GetTradingStatusResponse, error) // Метод запроса статуса торгов по инструментам. GetTradingStatuses(context.Context, *GetTradingStatusesRequest) (*GetTradingStatusesResponse, error) // Метод запроса обезличенных сделок за последний час. GetLastTrades(context.Context, *GetLastTradesRequest) (*GetLastTradesResponse, error) // Метод запроса цен закрытия торговой сессии по инструментам. GetClosePrices(context.Context, *GetClosePricesRequest) (*GetClosePricesResponse, error) // 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) // Server-side стрим предоставления биржевой информации. MarketDataServerSideStream(ctx context.Context, in *MarketDataServerSideStreamRequest, opts ...grpc.CallOption) (MarketDataStreamService_MarketDataServerSideStreamClient, 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.
func NewMarketDataStreamServiceClient ¶
func NewMarketDataStreamServiceClient(cc grpc.ClientConnInterface) MarketDataStreamServiceClient
type MarketDataStreamServiceServer ¶
type MarketDataStreamServiceServer interface { // Bi-directional стрим предоставления биржевой информации. MarketDataStream(MarketDataStreamService_MarketDataStreamServer) error // Server-side стрим предоставления биржевой информации. MarketDataServerSideStream(*MarketDataServerSideStreamRequest, MarketDataStreamService_MarketDataServerSideStreamServer) error // contains filtered or unexported methods }
MarketDataStreamServiceServer is the server API for MarketDataStreamService service. All implementations must embed UnimplementedMarketDataStreamServiceServer for forward compatibility
type MarketDataStreamService_MarketDataServerSideStreamClient ¶
type MarketDataStreamService_MarketDataServerSideStreamClient interface { Recv() (*MarketDataResponse, error) grpc.ClientStream }
type MarketDataStreamService_MarketDataServerSideStreamServer ¶
type MarketDataStreamService_MarketDataServerSideStreamServer interface { Send(*MarketDataResponse) error grpc.ServerStream }
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
func (*MoneyValue) ToFloat ¶
func (mv *MoneyValue) ToFloat() float64
ToFloat - get value as float64 number
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 (x *OpenSandboxAccountRequest) ProtoReflect() protoreflect.Message
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 (x *OpenSandboxAccountResponse) ProtoReflect() protoreflect.Message
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 *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=date,proto3" json:"date,omitempty"` //Дата и время операции в формате часовом поясе UTC. Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"` //Текстовое описание типа операции. OperationType OperationType `` //Тип операции. /* 159-byte string literal not displayed */ Trades []*OperationTrade `protobuf:"bytes,14,rep,name=trades,proto3" json:"trades,omitempty"` //Массив сделок. AssetUid string `protobuf:"bytes,16,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"` //Идентификатор актива PositionUid string `protobuf:"bytes,17,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //position_uid-идентификатора инструмента. InstrumentUid string `protobuf:"bytes,18,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор инструмента. // contains filtered or unexported fields }
Данные по операции.
func (*Operation) Descriptor
deprecated
func (*Operation) GetAssetUid ¶
func (*Operation) GetCurrency ¶
func (*Operation) GetDate ¶
func (x *Operation) GetDate() *timestamppb.Timestamp
func (*Operation) GetInstrumentType ¶
func (*Operation) GetInstrumentUid ¶
func (*Operation) GetOperationType ¶
func (x *Operation) GetOperationType() OperationType
func (*Operation) GetParentOperationId ¶
func (*Operation) GetPayment ¶
func (x *Operation) GetPayment() *MoneyValue
func (*Operation) GetPositionUid ¶
func (*Operation) GetPrice ¶
func (x *Operation) GetPrice() *MoneyValue
func (*Operation) GetQuantity ¶
func (*Operation) GetQuantityRest ¶
func (*Operation) GetState ¶
func (x *Operation) GetState() OperationState
func (*Operation) GetTrades ¶
func (x *Operation) GetTrades() []*OperationTrade
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type OperationItem ¶
type OperationItem struct { Cursor string `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"` //Курсор. BrokerAccountId string `protobuf:"bytes,6,opt,name=broker_account_id,json=brokerAccountId,proto3" json:"broker_account_id,omitempty"` //Номер счета клиента. Id string `protobuf:"bytes,16,opt,name=id,proto3" json:"id,omitempty"` //Идентификатор операции, может меняться с течением времени. ParentOperationId string `protobuf:"bytes,17,opt,name=parent_operation_id,json=parentOperationId,proto3" json:"parent_operation_id,omitempty"` //Идентификатор родительской операции, может измениться, если изменился id родительской операции. Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` //Название операции. Date *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=date,proto3" json:"date,omitempty"` //Дата поручения. Type OperationType `protobuf:"varint,22,opt,name=type,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationType" json:"type,omitempty"` //Тип операции. Description string `protobuf:"bytes,23,opt,name=description,proto3" json:"description,omitempty"` //Описание операции. State OperationState `protobuf:"varint,24,opt,name=state,proto3,enum=tinkoff.public.invest.api.contract.v1.OperationState" json:"state,omitempty"` //Статус поручения. InstrumentUid string `protobuf:"bytes,31,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор инструмента. Figi string `protobuf:"bytes,32,opt,name=figi,proto3" json:"figi,omitempty"` //Figi. InstrumentType string `protobuf:"bytes,33,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента. InstrumentKind InstrumentType `` //Тип инструмента. /* 163-byte string literal not displayed */ PositionUid string `protobuf:"bytes,35,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //position_uid-идентификатора инструмента. Payment *MoneyValue `protobuf:"bytes,41,opt,name=payment,proto3" json:"payment,omitempty"` //Сумма операции. Price *MoneyValue `protobuf:"bytes,42,opt,name=price,proto3" json:"price,omitempty"` //Цена операции за 1 инструмент. Commission *MoneyValue `protobuf:"bytes,43,opt,name=commission,proto3" json:"commission,omitempty"` //Комиссия. Yield *MoneyValue `protobuf:"bytes,44,opt,name=yield,proto3" json:"yield,omitempty"` //Доходность. YieldRelative *Quotation `protobuf:"bytes,45,opt,name=yield_relative,json=yieldRelative,proto3" json:"yield_relative,omitempty"` //Относительная доходность. AccruedInt *MoneyValue `protobuf:"bytes,46,opt,name=accrued_int,json=accruedInt,proto3" json:"accrued_int,omitempty"` //Накопленный купонный доход. Quantity int64 `protobuf:"varint,51,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество единиц инструмента. QuantityRest int64 `protobuf:"varint,52,opt,name=quantity_rest,json=quantityRest,proto3" json:"quantity_rest,omitempty"` //Неисполненный остаток по сделке. QuantityDone int64 `protobuf:"varint,53,opt,name=quantity_done,json=quantityDone,proto3" json:"quantity_done,omitempty"` //Исполненный остаток. CancelDateTime *timestamppb.Timestamp `protobuf:"bytes,56,opt,name=cancel_date_time,json=cancelDateTime,proto3" json:"cancel_date_time,omitempty"` //Дата и время снятия заявки. CancelReason string `protobuf:"bytes,57,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"` //Причина отмены операции. TradesInfo *OperationItemTrades `protobuf:"bytes,61,opt,name=trades_info,json=tradesInfo,proto3" json:"trades_info,omitempty"` //Массив сделок. AssetUid string `protobuf:"bytes,64,opt,name=asset_uid,json=assetUid,proto3" json:"asset_uid,omitempty"` //Идентификатор актива // contains filtered or unexported fields }
Данные об операции.
func (*OperationItem) Descriptor
deprecated
func (*OperationItem) Descriptor() ([]byte, []int)
Deprecated: Use OperationItem.ProtoReflect.Descriptor instead.
func (*OperationItem) GetAccruedInt ¶
func (x *OperationItem) GetAccruedInt() *MoneyValue
func (*OperationItem) GetAssetUid ¶
func (x *OperationItem) GetAssetUid() string
func (*OperationItem) GetBrokerAccountId ¶
func (x *OperationItem) GetBrokerAccountId() string
func (*OperationItem) GetCancelDateTime ¶
func (x *OperationItem) GetCancelDateTime() *timestamppb.Timestamp
func (*OperationItem) GetCancelReason ¶
func (x *OperationItem) GetCancelReason() string
func (*OperationItem) GetCommission ¶
func (x *OperationItem) GetCommission() *MoneyValue
func (*OperationItem) GetCursor ¶
func (x *OperationItem) GetCursor() string
func (*OperationItem) GetDate ¶
func (x *OperationItem) GetDate() *timestamppb.Timestamp
func (*OperationItem) GetDescription ¶
func (x *OperationItem) GetDescription() string
func (*OperationItem) GetFigi ¶
func (x *OperationItem) GetFigi() string
func (*OperationItem) GetId ¶
func (x *OperationItem) GetId() string
func (*OperationItem) GetInstrumentKind ¶
func (x *OperationItem) GetInstrumentKind() InstrumentType
func (*OperationItem) GetInstrumentType ¶
func (x *OperationItem) GetInstrumentType() string
func (*OperationItem) GetInstrumentUid ¶
func (x *OperationItem) GetInstrumentUid() string
func (*OperationItem) GetName ¶
func (x *OperationItem) GetName() string
func (*OperationItem) GetParentOperationId ¶
func (x *OperationItem) GetParentOperationId() string
func (*OperationItem) GetPayment ¶
func (x *OperationItem) GetPayment() *MoneyValue
func (*OperationItem) GetPositionUid ¶
func (x *OperationItem) GetPositionUid() string
func (*OperationItem) GetPrice ¶
func (x *OperationItem) GetPrice() *MoneyValue
func (*OperationItem) GetQuantity ¶
func (x *OperationItem) GetQuantity() int64
func (*OperationItem) GetQuantityDone ¶
func (x *OperationItem) GetQuantityDone() int64
func (*OperationItem) GetQuantityRest ¶
func (x *OperationItem) GetQuantityRest() int64
func (*OperationItem) GetState ¶
func (x *OperationItem) GetState() OperationState
func (*OperationItem) GetTradesInfo ¶
func (x *OperationItem) GetTradesInfo() *OperationItemTrades
func (*OperationItem) GetType ¶
func (x *OperationItem) GetType() OperationType
func (*OperationItem) GetYield ¶
func (x *OperationItem) GetYield() *MoneyValue
func (*OperationItem) GetYieldRelative ¶
func (x *OperationItem) GetYieldRelative() *Quotation
func (*OperationItem) ProtoMessage ¶
func (*OperationItem) ProtoMessage()
func (*OperationItem) ProtoReflect ¶
func (x *OperationItem) ProtoReflect() protoreflect.Message
func (*OperationItem) Reset ¶
func (x *OperationItem) Reset()
func (*OperationItem) String ¶
func (x *OperationItem) String() string
type OperationItemTrade ¶
type OperationItemTrade struct { Num string `protobuf:"bytes,1,opt,name=num,proto3" json:"num,omitempty"` //Номер сделки Date *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` //Дата сделки Quantity int64 `protobuf:"varint,11,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество в единицах. Price *MoneyValue `protobuf:"bytes,16,opt,name=price,proto3" json:"price,omitempty"` //Цена. Yield *MoneyValue `protobuf:"bytes,21,opt,name=yield,proto3" json:"yield,omitempty"` //Доходность. YieldRelative *Quotation `protobuf:"bytes,22,opt,name=yield_relative,json=yieldRelative,proto3" json:"yield_relative,omitempty"` //Относительная доходность. // contains filtered or unexported fields }
Сделка по операции.
func (*OperationItemTrade) Descriptor
deprecated
func (*OperationItemTrade) Descriptor() ([]byte, []int)
Deprecated: Use OperationItemTrade.ProtoReflect.Descriptor instead.
func (*OperationItemTrade) GetDate ¶
func (x *OperationItemTrade) GetDate() *timestamppb.Timestamp
func (*OperationItemTrade) GetNum ¶
func (x *OperationItemTrade) GetNum() string
func (*OperationItemTrade) GetPrice ¶
func (x *OperationItemTrade) GetPrice() *MoneyValue
func (*OperationItemTrade) GetQuantity ¶
func (x *OperationItemTrade) GetQuantity() int64
func (*OperationItemTrade) GetYield ¶
func (x *OperationItemTrade) GetYield() *MoneyValue
func (*OperationItemTrade) GetYieldRelative ¶
func (x *OperationItemTrade) GetYieldRelative() *Quotation
func (*OperationItemTrade) ProtoMessage ¶
func (*OperationItemTrade) ProtoMessage()
func (*OperationItemTrade) ProtoReflect ¶
func (x *OperationItemTrade) ProtoReflect() protoreflect.Message
func (*OperationItemTrade) Reset ¶
func (x *OperationItemTrade) Reset()
func (*OperationItemTrade) String ¶
func (x *OperationItemTrade) String() string
type OperationItemTrades ¶
type OperationItemTrades struct { Trades []*OperationItemTrade `protobuf:"bytes,6,rep,name=trades,proto3" json:"trades,omitempty"` // contains filtered or unexported fields }
Массив с информацией о сделках.
func (*OperationItemTrades) Descriptor
deprecated
func (*OperationItemTrades) Descriptor() ([]byte, []int)
Deprecated: Use OperationItemTrades.ProtoReflect.Descriptor instead.
func (*OperationItemTrades) GetTrades ¶
func (x *OperationItemTrades) GetTrades() []*OperationItemTrade
func (*OperationItemTrades) ProtoMessage ¶
func (*OperationItemTrades) ProtoMessage()
func (*OperationItemTrades) ProtoReflect ¶
func (x *OperationItemTrades) ProtoReflect() protoreflect.Message
func (*OperationItemTrades) Reset ¶
func (x *OperationItemTrades) Reset()
func (*OperationItemTrades) String ¶
func (x *OperationItemTrades) String() string
type OperationState ¶
type OperationState int32
Статус запрашиваемых операций.
const ( OperationState_OPERATION_STATE_UNSPECIFIED OperationState = 0 //Статус операции не определён OperationState_OPERATION_STATE_EXECUTED OperationState = 1 //Исполнена. OperationState_OPERATION_STATE_CANCELED OperationState = 2 //Отменена. OperationState_OPERATION_STATE_PROGRESS OperationState = 3 //Исполняется. )
func (OperationState) Descriptor ¶
func (OperationState) Descriptor() protoreflect.EnumDescriptor
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 (x OperationState) Number() protoreflect.EnumNumber
func (OperationState) String ¶
func (x OperationState) String() string
func (OperationState) Type ¶
func (OperationState) Type() protoreflect.EnumType
type OperationTrade ¶
type OperationTrade struct { TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` //Идентификатор сделки. DateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3" json:"date_time,omitempty"` //Дата и время сделки в часовом поясе UTC. Quantity int64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество инструментов. Price *MoneyValue `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"` //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. // contains filtered or unexported fields }
Сделка по операции.
func (*OperationTrade) Descriptor
deprecated
func (*OperationTrade) Descriptor() ([]byte, []int)
Deprecated: Use OperationTrade.ProtoReflect.Descriptor instead.
func (*OperationTrade) GetDateTime ¶
func (x *OperationTrade) GetDateTime() *timestamppb.Timestamp
func (*OperationTrade) GetPrice ¶
func (x *OperationTrade) GetPrice() *MoneyValue
func (*OperationTrade) GetQuantity ¶
func (x *OperationTrade) GetQuantity() int64
func (*OperationTrade) GetTradeId ¶
func (x *OperationTrade) GetTradeId() string
func (*OperationTrade) ProtoMessage ¶
func (*OperationTrade) ProtoMessage()
func (*OperationTrade) ProtoReflect ¶
func (x *OperationTrade) ProtoReflect() protoreflect.Message
func (*OperationTrade) Reset ¶
func (x *OperationTrade) Reset()
func (*OperationTrade) String ¶
func (x *OperationTrade) String() string
type OperationType ¶
type OperationType int32
Тип операции.
const ( OperationType_OPERATION_TYPE_UNSPECIFIED OperationType = 0 //Тип операции не определён. OperationType_OPERATION_TYPE_INPUT OperationType = 1 //Пополнение брокерского счёта. OperationType_OPERATION_TYPE_BOND_TAX OperationType = 2 //Удержание НДФЛ по купонам. OperationType_OPERATION_TYPE_OUTPUT_SECURITIES OperationType = 3 //Вывод ЦБ. OperationType_OPERATION_TYPE_OVERNIGHT OperationType = 4 //Доход по сделке РЕПО овернайт. OperationType_OPERATION_TYPE_TAX OperationType = 5 //Удержание налога. OperationType_OPERATION_TYPE_BOND_REPAYMENT_FULL OperationType = 6 //Полное погашение облигаций. OperationType_OPERATION_TYPE_SELL_CARD OperationType = 7 //Продажа ЦБ с карты. OperationType_OPERATION_TYPE_DIVIDEND_TAX OperationType = 8 //Удержание налога по дивидендам. OperationType_OPERATION_TYPE_OUTPUT OperationType = 9 //Вывод денежных средств. OperationType_OPERATION_TYPE_BOND_REPAYMENT OperationType = 10 //Частичное погашение облигаций. OperationType_OPERATION_TYPE_TAX_CORRECTION OperationType = 11 //Корректировка налога. OperationType_OPERATION_TYPE_SERVICE_FEE OperationType = 12 //Удержание комиссии за обслуживание брокерского счёта. OperationType_OPERATION_TYPE_BENEFIT_TAX OperationType = 13 //Удержание налога за материальную выгоду. OperationType_OPERATION_TYPE_MARGIN_FEE OperationType = 14 //Удержание комиссии за непокрытую позицию. OperationType_OPERATION_TYPE_BUY OperationType = 15 //Покупка ЦБ. OperationType_OPERATION_TYPE_BUY_CARD OperationType = 16 //Покупка ЦБ с карты. OperationType_OPERATION_TYPE_INPUT_SECURITIES OperationType = 17 //Перевод ценных бумаг из другого депозитария. OperationType_OPERATION_TYPE_SELL_MARGIN OperationType = 18 //Продажа в результате Margin-call. OperationType_OPERATION_TYPE_BROKER_FEE OperationType = 19 //Удержание комиссии за операцию. OperationType_OPERATION_TYPE_BUY_MARGIN OperationType = 20 //Покупка в результате Margin-call. OperationType_OPERATION_TYPE_DIVIDEND OperationType = 21 //Выплата дивидендов. OperationType_OPERATION_TYPE_SELL OperationType = 22 //Продажа ЦБ. OperationType_OPERATION_TYPE_COUPON OperationType = 23 //Выплата купонов. OperationType_OPERATION_TYPE_SUCCESS_FEE OperationType = 24 //Удержание комиссии SuccessFee. OperationType_OPERATION_TYPE_DIVIDEND_TRANSFER OperationType = 25 //Передача дивидендного дохода. OperationType_OPERATION_TYPE_ACCRUING_VARMARGIN OperationType = 26 //Зачисление вариационной маржи. OperationType_OPERATION_TYPE_WRITING_OFF_VARMARGIN OperationType = 27 //Списание вариационной маржи. OperationType_OPERATION_TYPE_DELIVERY_BUY OperationType = 28 //Покупка в рамках экспирации фьючерсного контракта. OperationType_OPERATION_TYPE_DELIVERY_SELL OperationType = 29 //Продажа в рамках экспирации фьючерсного контракта. OperationType_OPERATION_TYPE_TRACK_MFEE OperationType = 30 //Комиссия за управление по счёту автоследования. OperationType_OPERATION_TYPE_TRACK_PFEE OperationType = 31 //Комиссия за результат по счёту автоследования. OperationType_OPERATION_TYPE_TAX_PROGRESSIVE OperationType = 32 //Удержание налога по ставке 15%. OperationType_OPERATION_TYPE_BOND_TAX_PROGRESSIVE OperationType = 33 //Удержание налога по купонам по ставке 15%. OperationType_OPERATION_TYPE_DIVIDEND_TAX_PROGRESSIVE OperationType = 34 //Удержание налога по дивидендам по ставке 15%. OperationType_OPERATION_TYPE_BENEFIT_TAX_PROGRESSIVE OperationType = 35 //Удержание налога за материальную выгоду по ставке 15%. OperationType_OPERATION_TYPE_TAX_CORRECTION_PROGRESSIVE OperationType = 36 //Корректировка налога по ставке 15%. OperationType_OPERATION_TYPE_TAX_REPO_PROGRESSIVE OperationType = 37 //Удержание налога за возмещение по сделкам РЕПО по ставке 15%. OperationType_OPERATION_TYPE_TAX_REPO OperationType = 38 //Удержание налога за возмещение по сделкам РЕПО. OperationType_OPERATION_TYPE_TAX_REPO_HOLD OperationType = 39 //Удержание налога по сделкам РЕПО. OperationType_OPERATION_TYPE_TAX_REPO_REFUND OperationType = 40 //Возврат налога по сделкам РЕПО. OperationType_OPERATION_TYPE_TAX_REPO_HOLD_PROGRESSIVE OperationType = 41 //Удержание налога по сделкам РЕПО по ставке 15%. OperationType_OPERATION_TYPE_TAX_REPO_REFUND_PROGRESSIVE OperationType = 42 //Возврат налога по сделкам РЕПО по ставке 15%. OperationType_OPERATION_TYPE_DIV_EXT OperationType = 43 //Выплата дивидендов на карту. OperationType_OPERATION_TYPE_TAX_CORRECTION_COUPON OperationType = 44 //Корректировка налога по купонам. OperationType_OPERATION_TYPE_CASH_FEE OperationType = 45 //Комиссия за валютный остаток. OperationType_OPERATION_TYPE_OUT_FEE OperationType = 46 //Комиссия за вывод валюты с брокерского счета. OperationType_OPERATION_TYPE_OUT_STAMP_DUTY OperationType = 47 //Гербовый сбор. OperationType_OPERATION_TYPE_OUTPUT_SWIFT OperationType = 50 // SWIFT-перевод OperationType_OPERATION_TYPE_INPUT_SWIFT OperationType = 51 // SWIFT-перевод OperationType_OPERATION_TYPE_OUTPUT_ACQUIRING OperationType = 53 // Перевод на карту OperationType_OPERATION_TYPE_INPUT_ACQUIRING OperationType = 54 // Перевод с карты OperationType_OPERATION_TYPE_OUTPUT_PENALTY OperationType = 55 // Комиссия за вывод средств OperationType_OPERATION_TYPE_ADVICE_FEE OperationType = 56 // Списание оплаты за сервис Советов OperationType_OPERATION_TYPE_TRANS_IIS_BS OperationType = 57 // Перевод ценных бумаг с ИИС на Брокерский счет OperationType_OPERATION_TYPE_TRANS_BS_BS OperationType = 58 // Перевод ценных бумаг с одного брокерского счета на другой OperationType_OPERATION_TYPE_OUT_MULTI OperationType = 59 // Вывод денежных средств со счета OperationType_OPERATION_TYPE_INP_MULTI OperationType = 60 // Пополнение денежных средств со счета OperationType_OPERATION_TYPE_OVER_PLACEMENT OperationType = 61 // Размещение биржевого овернайта OperationType_OPERATION_TYPE_OVER_COM OperationType = 62 // Списание комиссии OperationType_OPERATION_TYPE_OVER_INCOME OperationType = 63 // Доход от оверанайта OperationType_OPERATION_TYPE_OPTION_EXPIRATION OperationType = 64 // Экспирация )
func (OperationType) Descriptor ¶
func (OperationType) Descriptor() protoreflect.EnumDescriptor
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 (x OperationType) Number() protoreflect.EnumNumber
func (OperationType) String ¶
func (x OperationType) String() string
func (OperationType) Type ¶
func (OperationType) Type() protoreflect.EnumType
type OperationsRequest ¶
type OperationsRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта клиента. From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало периода (по UTC). To *timestamppb.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() *timestamppb.Timestamp
func (*OperationsRequest) GetState ¶
func (x *OperationsRequest) GetState() OperationState
func (*OperationsRequest) GetTo ¶
func (x *OperationsRequest) GetTo() *timestamppb.Timestamp
func (*OperationsRequest) ProtoMessage ¶
func (*OperationsRequest) ProtoMessage()
func (*OperationsRequest) ProtoReflect ¶
func (x *OperationsRequest) ProtoReflect() protoreflect.Message
func (*OperationsRequest) Reset ¶
func (x *OperationsRequest) Reset()
func (*OperationsRequest) String ¶
func (x *OperationsRequest) String() string
type OperationsResponse ¶
type OperationsResponse struct { Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` //Массив операций. // contains filtered or unexported fields }
Список операций.
func (*OperationsResponse) Descriptor
deprecated
func (*OperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use OperationsResponse.ProtoReflect.Descriptor instead.
func (*OperationsResponse) GetOperations ¶
func (x *OperationsResponse) GetOperations() []*Operation
func (*OperationsResponse) ProtoMessage ¶
func (*OperationsResponse) ProtoMessage()
func (*OperationsResponse) ProtoReflect ¶
func (x *OperationsResponse) ProtoReflect() protoreflect.Message
func (*OperationsResponse) Reset ¶
func (x *OperationsResponse) Reset()
func (*OperationsResponse) String ¶
func (x *OperationsResponse) String() string
type OperationsServiceClient ¶
type OperationsServiceClient interface { // Метод получения списка операций по счёту.При работе с данным методом необходимо учитывать // [особенности взаимодействия](/investAPI/operations_problems) с данным методом. GetOperations(ctx context.Context, in *OperationsRequest, opts ...grpc.CallOption) (*OperationsResponse, error) // Метод получения портфеля по счёту. GetPortfolio(ctx context.Context, in *PortfolioRequest, opts ...grpc.CallOption) (*PortfolioResponse, error) // Метод получения списка позиций по счёту. GetPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error) // Метод получения доступного остатка для вывода средств. GetWithdrawLimits(ctx context.Context, in *WithdrawLimitsRequest, opts ...grpc.CallOption) (*WithdrawLimitsResponse, error) // Метод получения брокерского отчёта. GetBrokerReport(ctx context.Context, in *BrokerReportRequest, opts ...grpc.CallOption) (*BrokerReportResponse, error) // Метод получения отчёта "Справка о доходах за пределами РФ". GetDividendsForeignIssuer(ctx context.Context, in *GetDividendsForeignIssuerRequest, opts ...grpc.CallOption) (*GetDividendsForeignIssuerResponse, error) // Метод получения списка операций по счёту с пагинацией. При работе с данным методом необходимо учитывать // [особенности взаимодействия](/investAPI/operations_problems) с данным методом. GetOperationsByCursor(ctx context.Context, in *GetOperationsByCursorRequest, opts ...grpc.CallOption) (*GetOperationsByCursorResponse, error) }
OperationsServiceClient is the client API for OperationsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOperationsServiceClient ¶
func NewOperationsServiceClient(cc grpc.ClientConnInterface) OperationsServiceClient
type OperationsServiceServer ¶
type OperationsServiceServer interface { // Метод получения списка операций по счёту.При работе с данным методом необходимо учитывать // [особенности взаимодействия](/investAPI/operations_problems) с данным методом. GetOperations(context.Context, *OperationsRequest) (*OperationsResponse, error) // Метод получения портфеля по счёту. GetPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error) // Метод получения списка позиций по счёту. GetPositions(context.Context, *PositionsRequest) (*PositionsResponse, error) // Метод получения доступного остатка для вывода средств. GetWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error) // Метод получения брокерского отчёта. GetBrokerReport(context.Context, *BrokerReportRequest) (*BrokerReportResponse, error) // Метод получения отчёта "Справка о доходах за пределами РФ". GetDividendsForeignIssuer(context.Context, *GetDividendsForeignIssuerRequest) (*GetDividendsForeignIssuerResponse, error) // Метод получения списка операций по счёту с пагинацией. При работе с данным методом необходимо учитывать // [особенности взаимодействия](/investAPI/operations_problems) с данным методом. GetOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error) // contains filtered or unexported methods }
OperationsServiceServer is the server API for OperationsService service. All implementations must embed UnimplementedOperationsServiceServer for forward compatibility
type OperationsStreamServiceClient ¶
type OperationsStreamServiceClient interface { // Server-side stream обновлений портфеля PortfolioStream(ctx context.Context, in *PortfolioStreamRequest, opts ...grpc.CallOption) (OperationsStreamService_PortfolioStreamClient, error) // Server-side stream обновлений информации по изменению позиций портфеля PositionsStream(ctx context.Context, in *PositionsStreamRequest, opts ...grpc.CallOption) (OperationsStreamService_PositionsStreamClient, error) }
OperationsStreamServiceClient is the client API for OperationsStreamService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOperationsStreamServiceClient ¶
func NewOperationsStreamServiceClient(cc grpc.ClientConnInterface) OperationsStreamServiceClient
type OperationsStreamServiceServer ¶
type OperationsStreamServiceServer interface { // Server-side stream обновлений портфеля PortfolioStream(*PortfolioStreamRequest, OperationsStreamService_PortfolioStreamServer) error // Server-side stream обновлений информации по изменению позиций портфеля PositionsStream(*PositionsStreamRequest, OperationsStreamService_PositionsStreamServer) error // contains filtered or unexported methods }
OperationsStreamServiceServer is the server API for OperationsStreamService service. All implementations must embed UnimplementedOperationsStreamServiceServer for forward compatibility
type OperationsStreamService_PortfolioStreamClient ¶
type OperationsStreamService_PortfolioStreamClient interface { Recv() (*PortfolioStreamResponse, error) grpc.ClientStream }
type OperationsStreamService_PortfolioStreamServer ¶
type OperationsStreamService_PortfolioStreamServer interface { Send(*PortfolioStreamResponse) error grpc.ServerStream }
type OperationsStreamService_PositionsStreamClient ¶
type OperationsStreamService_PositionsStreamClient interface { Recv() (*PositionsStreamResponse, error) grpc.ClientStream }
type OperationsStreamService_PositionsStreamServer ¶
type OperationsStreamService_PositionsStreamServer interface { Send(*PositionsStreamResponse) error grpc.ServerStream }
type Option ¶
type Option struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` //Уникальный идентификатор инструмента. PositionUid string `protobuf:"bytes,2,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции. Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"` //Тикер инструмента. ClassCode string `protobuf:"bytes,4,opt,name=class_code,json=classCode,proto3" json:"class_code,omitempty"` //Класс-код. BasicAssetPositionUid string `` //Уникальный идентификатор позиции основного инструмента. /* 128-byte string literal not displayed */ TradingStatus SecurityTradingStatus `` //Текущий режим торгов инструмента. /* 167-byte string literal not displayed */ RealExchange RealExchange `` //Реальная площадка исполнения расчётов. Допустимые значения: [REAL_EXCHANGE_MOEX, REAL_EXCHANGE_RTS] /* 155-byte string literal not displayed */ Direction OptionDirection `` //Направление опциона. /* 132-byte string literal not displayed */ PaymentType OptionPaymentType `` //Тип расчетов по опциону. /* 157-byte string literal not displayed */ Style OptionStyle `protobuf:"varint,43,opt,name=style,proto3,enum=tinkoff.public.invest.api.contract.v1.OptionStyle" json:"style,omitempty"` //Стиль опциона. SettlementType OptionSettlementType `` //Способ исполнения опциона. /* 169-byte string literal not displayed */ Name string `protobuf:"bytes,101,opt,name=name,proto3" json:"name,omitempty"` //Название инструмента. Currency string `protobuf:"bytes,111,opt,name=currency,proto3" json:"currency,omitempty"` //Валюта. SettlementCurrency string `protobuf:"bytes,112,opt,name=settlement_currency,json=settlementCurrency,proto3" json:"settlement_currency,omitempty"` //Валюта, в которой оценивается контракт. AssetType string `protobuf:"bytes,131,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` //Тип актива. BasicAsset string `protobuf:"bytes,132,opt,name=basic_asset,json=basicAsset,proto3" json:"basic_asset,omitempty"` //Основной актив. Exchange string `protobuf:"bytes,141,opt,name=exchange,proto3" json:"exchange,omitempty"` //Биржа. CountryOfRisk string `protobuf:"bytes,151,opt,name=country_of_risk,json=countryOfRisk,proto3" json:"country_of_risk,omitempty"` //Код страны рисков. CountryOfRiskName string `protobuf:"bytes,152,opt,name=country_of_risk_name,json=countryOfRiskName,proto3" json:"country_of_risk_name,omitempty"` //Наименование страны рисков. Sector string `protobuf:"bytes,161,opt,name=sector,proto3" json:"sector,omitempty"` //Сектор экономики. Lot int32 `protobuf:"varint,201,opt,name=lot,proto3" json:"lot,omitempty"` //Количество бумаг в лоте. BasicAssetSize *Quotation `protobuf:"bytes,211,opt,name=basic_asset_size,json=basicAssetSize,proto3" json:"basic_asset_size,omitempty"` //Размер основного актива. Klong *Quotation `protobuf:"bytes,221,opt,name=klong,proto3" json:"klong,omitempty"` //Коэффициент ставки риска длинной позиции по клиенту. Kshort *Quotation `protobuf:"bytes,222,opt,name=kshort,proto3" json:"kshort,omitempty"` //Коэффициент ставки риска короткой позиции по клиенту. Dlong *Quotation `protobuf:"bytes,223,opt,name=dlong,proto3" json:"dlong,omitempty"` //Ставка риска минимальной маржи лонг. Dshort *Quotation `protobuf:"bytes,224,opt,name=dshort,proto3" json:"dshort,omitempty"` //Ставка риска минимальной маржи шорт. DlongMin *Quotation `protobuf:"bytes,225,opt,name=dlong_min,json=dlongMin,proto3" json:"dlong_min,omitempty"` //Ставка риска начальной маржи лонг. DshortMin *Quotation `protobuf:"bytes,226,opt,name=dshort_min,json=dshortMin,proto3" json:"dshort_min,omitempty"` //Ставка риска начальной маржи шорт. MinPriceIncrement *Quotation `protobuf:"bytes,231,opt,name=min_price_increment,json=minPriceIncrement,proto3" json:"min_price_increment,omitempty"` //Минимальный шаг цены. StrikePrice *MoneyValue `protobuf:"bytes,241,opt,name=strike_price,json=strikePrice,proto3" json:"strike_price,omitempty"` //Цена страйка. ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,301,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` //Дата истечения срока в формате UTC. FirstTradeDate *timestamppb.Timestamp `protobuf:"bytes,311,opt,name=first_trade_date,json=firstTradeDate,proto3" json:"first_trade_date,omitempty"` //Дата начала обращения контракта в формате UTC. LastTradeDate *timestamppb.Timestamp `protobuf:"bytes,312,opt,name=last_trade_date,json=lastTradeDate,proto3" json:"last_trade_date,omitempty"` //Дата исполнения в формате UTC. First_1MinCandleDate *timestamppb.Timestamp `protobuf:"bytes,321,opt,name=first_1min_candle_date,json=first1minCandleDate,proto3" json:"first_1min_candle_date,omitempty"` //Дата первой минутной свечи в формате UTC. First_1DayCandleDate *timestamppb.Timestamp `protobuf:"bytes,322,opt,name=first_1day_candle_date,json=first1dayCandleDate,proto3" json:"first_1day_candle_date,omitempty"` //Дата первой дневной свечи в формате UTC. ShortEnabledFlag bool `protobuf:"varint,401,opt,name=short_enabled_flag,json=shortEnabledFlag,proto3" json:"short_enabled_flag,omitempty"` //Признак доступности для операций шорт. ForIisFlag bool `protobuf:"varint,402,opt,name=for_iis_flag,json=forIisFlag,proto3" json:"for_iis_flag,omitempty"` //Возможность покупки/продажи на ИИС. OtcFlag bool `protobuf:"varint,403,opt,name=otc_flag,json=otcFlag,proto3" json:"otc_flag,omitempty"` //Признак внебиржевой ценной бумаги. BuyAvailableFlag bool `protobuf:"varint,404,opt,name=buy_available_flag,json=buyAvailableFlag,proto3" json:"buy_available_flag,omitempty"` //Признак доступности для покупки. SellAvailableFlag bool `protobuf:"varint,405,opt,name=sell_available_flag,json=sellAvailableFlag,proto3" json:"sell_available_flag,omitempty"` //Признак доступности для продажи. ForQualInvestorFlag bool `protobuf:"varint,406,opt,name=for_qual_investor_flag,json=forQualInvestorFlag,proto3" json:"for_qual_investor_flag,omitempty"` //Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов. WeekendFlag bool `protobuf:"varint,407,opt,name=weekend_flag,json=weekendFlag,proto3" json:"weekend_flag,omitempty"` //Флаг отображающий доступность торговли инструментом по выходным. BlockedTcaFlag bool `protobuf:"varint,408,opt,name=blocked_tca_flag,json=blockedTcaFlag,proto3" json:"blocked_tca_flag,omitempty"` //Флаг заблокированного ТКС. ApiTradeAvailableFlag bool `` //Параметр указывает на возможность торговать инструментом через API. /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
Опцион.
func (*Option) Descriptor
deprecated
func (*Option) GetApiTradeAvailableFlag ¶
func (*Option) GetAssetType ¶
func (*Option) GetBasicAsset ¶
func (*Option) GetBasicAssetPositionUid ¶
func (*Option) GetBasicAssetSize ¶
func (*Option) GetBlockedTcaFlag ¶
func (*Option) GetBuyAvailableFlag ¶
func (*Option) GetClassCode ¶
func (*Option) GetCountryOfRisk ¶
func (*Option) GetCountryOfRiskName ¶
func (*Option) GetCurrency ¶
func (*Option) GetDirection ¶
func (x *Option) GetDirection() OptionDirection
func (*Option) GetDlongMin ¶
func (*Option) GetDshortMin ¶
func (*Option) GetExchange ¶
func (*Option) GetExpirationDate ¶
func (x *Option) GetExpirationDate() *timestamppb.Timestamp
func (*Option) GetFirstTradeDate ¶
func (x *Option) GetFirstTradeDate() *timestamppb.Timestamp
func (*Option) GetFirst_1DayCandleDate ¶
func (x *Option) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Option) GetFirst_1MinCandleDate ¶
func (x *Option) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Option) GetForIisFlag ¶
func (*Option) GetForQualInvestorFlag ¶
func (*Option) GetLastTradeDate ¶
func (x *Option) GetLastTradeDate() *timestamppb.Timestamp
func (*Option) GetMinPriceIncrement ¶
func (*Option) GetOtcFlag ¶
func (*Option) GetPaymentType ¶
func (x *Option) GetPaymentType() OptionPaymentType
func (*Option) GetPositionUid ¶
func (*Option) GetRealExchange ¶
func (x *Option) GetRealExchange() RealExchange
func (*Option) GetSellAvailableFlag ¶
func (*Option) GetSettlementCurrency ¶
func (*Option) GetSettlementType ¶
func (x *Option) GetSettlementType() OptionSettlementType
func (*Option) GetShortEnabledFlag ¶
func (*Option) GetStrikePrice ¶
func (x *Option) GetStrikePrice() *MoneyValue
func (*Option) GetStyle ¶
func (x *Option) GetStyle() OptionStyle
func (*Option) GetTradingStatus ¶
func (x *Option) GetTradingStatus() SecurityTradingStatus
func (*Option) GetWeekendFlag ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
type OptionDirection ¶
type OptionDirection int32
Тип опциона по направлению сделки.
const ( OptionDirection_OPTION_DIRECTION_UNSPECIFIED OptionDirection = 0 //Тип не определен. OptionDirection_OPTION_DIRECTION_PUT OptionDirection = 1 //Опцион на продажу. OptionDirection_OPTION_DIRECTION_CALL OptionDirection = 2 //Опцион на покупку. )
func (OptionDirection) Descriptor ¶
func (OptionDirection) Descriptor() protoreflect.EnumDescriptor
func (OptionDirection) Enum ¶
func (x OptionDirection) Enum() *OptionDirection
func (OptionDirection) EnumDescriptor
deprecated
func (OptionDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use OptionDirection.Descriptor instead.
func (OptionDirection) Number ¶
func (x OptionDirection) Number() protoreflect.EnumNumber
func (OptionDirection) String ¶
func (x OptionDirection) String() string
func (OptionDirection) Type ¶
func (OptionDirection) Type() protoreflect.EnumType
type OptionPaymentType ¶
type OptionPaymentType int32
Тип расчетов по опциону.
const ( OptionPaymentType_OPTION_PAYMENT_TYPE_UNSPECIFIED OptionPaymentType = 0 //Тип не определен. OptionPaymentType_OPTION_PAYMENT_TYPE_PREMIUM OptionPaymentType = 1 //Опционы с использованием премии в расчетах. OptionPaymentType_OPTION_PAYMENT_TYPE_MARGINAL OptionPaymentType = 2 //Маржируемые опционы. )
func (OptionPaymentType) Descriptor ¶
func (OptionPaymentType) Descriptor() protoreflect.EnumDescriptor
func (OptionPaymentType) Enum ¶
func (x OptionPaymentType) Enum() *OptionPaymentType
func (OptionPaymentType) EnumDescriptor
deprecated
func (OptionPaymentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OptionPaymentType.Descriptor instead.
func (OptionPaymentType) Number ¶
func (x OptionPaymentType) Number() protoreflect.EnumNumber
func (OptionPaymentType) String ¶
func (x OptionPaymentType) String() string
func (OptionPaymentType) Type ¶
func (OptionPaymentType) Type() protoreflect.EnumType
type OptionResponse ¶
type OptionResponse struct { Instrument *Option `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Информация по опциону. // contains filtered or unexported fields }
Данные по опциону.
func (*OptionResponse) Descriptor
deprecated
func (*OptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use OptionResponse.ProtoReflect.Descriptor instead.
func (*OptionResponse) GetInstrument ¶
func (x *OptionResponse) GetInstrument() *Option
func (*OptionResponse) ProtoMessage ¶
func (*OptionResponse) ProtoMessage()
func (*OptionResponse) ProtoReflect ¶
func (x *OptionResponse) ProtoReflect() protoreflect.Message
func (*OptionResponse) Reset ¶
func (x *OptionResponse) Reset()
func (*OptionResponse) String ¶
func (x *OptionResponse) String() string
type OptionSettlementType ¶
type OptionSettlementType int32
Тип опциона по способу исполнения.
const ( OptionSettlementType_OPTION_EXECUTION_TYPE_UNSPECIFIED OptionSettlementType = 0 //Тип не определен. OptionSettlementType_OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY OptionSettlementType = 1 // Поставочный тип опциона. OptionSettlementType_OPTION_EXECUTION_TYPE_CASH_SETTLEMENT OptionSettlementType = 2 //Расчетный тип опциона. )
func (OptionSettlementType) Descriptor ¶
func (OptionSettlementType) Descriptor() protoreflect.EnumDescriptor
func (OptionSettlementType) Enum ¶
func (x OptionSettlementType) Enum() *OptionSettlementType
func (OptionSettlementType) EnumDescriptor
deprecated
func (OptionSettlementType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OptionSettlementType.Descriptor instead.
func (OptionSettlementType) Number ¶
func (x OptionSettlementType) Number() protoreflect.EnumNumber
func (OptionSettlementType) String ¶
func (x OptionSettlementType) String() string
func (OptionSettlementType) Type ¶
func (OptionSettlementType) Type() protoreflect.EnumType
type OptionStyle ¶
type OptionStyle int32
Тип опциона по стилю.
const ( OptionStyle_OPTION_STYLE_UNSPECIFIED OptionStyle = 0 //Тип не определен. OptionStyle_OPTION_STYLE_AMERICAN OptionStyle = 1 //Американский опцион. OptionStyle_OPTION_STYLE_EUROPEAN OptionStyle = 2 //Европейский опцион. )
func (OptionStyle) Descriptor ¶
func (OptionStyle) Descriptor() protoreflect.EnumDescriptor
func (OptionStyle) Enum ¶
func (x OptionStyle) Enum() *OptionStyle
func (OptionStyle) EnumDescriptor
deprecated
func (OptionStyle) EnumDescriptor() ([]byte, []int)
Deprecated: Use OptionStyle.Descriptor instead.
func (OptionStyle) Number ¶
func (x OptionStyle) Number() protoreflect.EnumNumber
func (OptionStyle) String ¶
func (x OptionStyle) String() string
func (OptionStyle) Type ¶
func (OptionStyle) Type() protoreflect.EnumType
type OptionsResponse ¶
type OptionsResponse struct { Instruments []*Option `protobuf:"bytes,1,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив данных по опциону. // contains filtered or unexported fields }
Данные по опционам.
func (*OptionsResponse) Descriptor
deprecated
func (*OptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use OptionsResponse.ProtoReflect.Descriptor instead.
func (*OptionsResponse) GetInstruments ¶
func (x *OptionsResponse) GetInstruments() []*Option
func (*OptionsResponse) ProtoMessage ¶
func (*OptionsResponse) ProtoMessage()
func (*OptionsResponse) ProtoReflect ¶
func (x *OptionsResponse) ProtoReflect() protoreflect.Message
func (*OptionsResponse) Reset ¶
func (x *OptionsResponse) Reset()
func (*OptionsResponse) String ¶
func (x *OptionsResponse) String() string
type Order ¶
type Order struct { Price *Quotation `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Quantity int64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество в лотах. // contains filtered or unexported fields }
Массив предложений/спроса.
func (*Order) Descriptor
deprecated
func (*Order) GetQuantity ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type OrderBook ¶
type OrderBook struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` //Глубина стакана. IsConsistent bool `protobuf:"varint,3,opt,name=is_consistent,json=isConsistent,proto3" json:"is_consistent,omitempty"` //Флаг консистентности стакана. **false** значит не все заявки попали в стакан по причинам сетевых задержек или нарушения порядка доставки. Bids []*Order `protobuf:"bytes,4,rep,name=bids,proto3" json:"bids,omitempty"` //Массив предложений. Asks []*Order `protobuf:"bytes,5,rep,name=asks,proto3" json:"asks,omitempty"` //Массив спроса. Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` //Время формирования стакана в часовом поясе UTC по времени биржи. LimitUp *Quotation `protobuf:"bytes,7,opt,name=limit_up,json=limitUp,proto3" json:"limit_up,omitempty"` //Верхний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) LimitDown *Quotation `protobuf:"bytes,8,opt,name=limit_down,json=limitDown,proto3" json:"limit_down,omitempty"` //Нижний лимит цены за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) InstrumentUid string `protobuf:"bytes,9,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Пакет стаканов в рамках стрима.
func (*OrderBook) Descriptor
deprecated
func (*OrderBook) GetInstrumentUid ¶
func (*OrderBook) GetIsConsistent ¶
func (*OrderBook) GetLimitDown ¶
func (*OrderBook) GetLimitUp ¶
func (*OrderBook) GetTime ¶
func (x *OrderBook) GetTime() *timestamppb.Timestamp
func (*OrderBook) ProtoMessage ¶
func (*OrderBook) ProtoMessage()
func (*OrderBook) ProtoReflect ¶
func (x *OrderBook) ProtoReflect() protoreflect.Message
type OrderBookInstrument ¶
type OrderBookInstrument struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` //Глубина стакана. InstrumentId string `protobuf:"bytes,3,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid // contains filtered or unexported fields }
Запрос подписки на стаканы.
func (*OrderBookInstrument) Descriptor
deprecated
func (*OrderBookInstrument) Descriptor() ([]byte, []int)
Deprecated: Use OrderBookInstrument.ProtoReflect.Descriptor instead.
func (*OrderBookInstrument) GetDepth ¶
func (x *OrderBookInstrument) GetDepth() int32
func (*OrderBookInstrument) GetFigi
deprecated
func (x *OrderBookInstrument) GetFigi() string
Deprecated: Do not use.
func (*OrderBookInstrument) GetInstrumentId ¶
func (x *OrderBookInstrument) GetInstrumentId() 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 */ InstrumentUid string `protobuf:"bytes,4,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Статус подписки.
func (*OrderBookSubscription) Descriptor
deprecated
func (*OrderBookSubscription) Descriptor() ([]byte, []int)
Deprecated: Use OrderBookSubscription.ProtoReflect.Descriptor instead.
func (*OrderBookSubscription) GetDepth ¶
func (x *OrderBookSubscription) GetDepth() int32
func (*OrderBookSubscription) GetFigi ¶
func (x *OrderBookSubscription) GetFigi() string
func (*OrderBookSubscription) GetInstrumentUid ¶
func (x *OrderBookSubscription) GetInstrumentUid() 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) Descriptor() protoreflect.EnumDescriptor
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 (x OrderDirection) Number() protoreflect.EnumNumber
func (OrderDirection) String ¶
func (x OrderDirection) String() string
func (OrderDirection) Type ¶
func (OrderDirection) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (OrderExecutionReportStatus) Enum ¶
func (x OrderExecutionReportStatus) Enum() *OrderExecutionReportStatus
func (OrderExecutionReportStatus) EnumDescriptor
deprecated
func (OrderExecutionReportStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderExecutionReportStatus.Descriptor instead.
func (OrderExecutionReportStatus) Number ¶
func (x OrderExecutionReportStatus) Number() protoreflect.EnumNumber
func (OrderExecutionReportStatus) String ¶
func (x OrderExecutionReportStatus) String() string
func (OrderExecutionReportStatus) Type ¶
func (OrderExecutionReportStatus) Type() protoreflect.EnumType
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 *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=order_date,json=orderDate,proto3" json:"order_date,omitempty"` //Дата и время выставления заявки в часовом поясе UTC. InstrumentUid string `protobuf:"bytes,19,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID идентификатор инструмента. OrderRequestId string `protobuf:"bytes,20,opt,name=order_request_id,json=orderRequestId,proto3" json:"order_request_id,omitempty"` //Идентификатор ключа идемпотентности, переданный клиентом. // contains filtered or unexported fields }
Информация о торговом поручении.
func (*OrderState) Descriptor
deprecated
func (*OrderState) Descriptor() ([]byte, []int)
Deprecated: Use OrderState.ProtoReflect.Descriptor instead.
func (*OrderState) GetAveragePositionPrice ¶
func (x *OrderState) GetAveragePositionPrice() *MoneyValue
func (*OrderState) GetCurrency ¶
func (x *OrderState) GetCurrency() string
func (*OrderState) GetDirection ¶
func (x *OrderState) GetDirection() OrderDirection
func (*OrderState) GetExecutedCommission ¶
func (x *OrderState) GetExecutedCommission() *MoneyValue
func (*OrderState) GetExecutedOrderPrice ¶
func (x *OrderState) GetExecutedOrderPrice() *MoneyValue
func (*OrderState) GetExecutionReportStatus ¶
func (x *OrderState) GetExecutionReportStatus() OrderExecutionReportStatus
func (*OrderState) GetFigi ¶
func (x *OrderState) GetFigi() string
func (*OrderState) GetInitialCommission ¶
func (x *OrderState) GetInitialCommission() *MoneyValue
func (*OrderState) GetInitialOrderPrice ¶
func (x *OrderState) GetInitialOrderPrice() *MoneyValue
func (*OrderState) GetInitialSecurityPrice ¶
func (x *OrderState) GetInitialSecurityPrice() *MoneyValue
func (*OrderState) GetInstrumentUid ¶
func (x *OrderState) GetInstrumentUid() string
func (*OrderState) GetLotsExecuted ¶
func (x *OrderState) GetLotsExecuted() int64
func (*OrderState) GetLotsRequested ¶
func (x *OrderState) GetLotsRequested() int64
func (*OrderState) GetOrderDate ¶
func (x *OrderState) GetOrderDate() *timestamppb.Timestamp
func (*OrderState) GetOrderId ¶
func (x *OrderState) GetOrderId() string
func (*OrderState) GetOrderRequestId ¶
func (x *OrderState) GetOrderRequestId() string
func (*OrderState) GetOrderType ¶
func (x *OrderState) GetOrderType() OrderType
func (*OrderState) GetServiceCommission ¶
func (x *OrderState) GetServiceCommission() *MoneyValue
func (*OrderState) GetStages ¶
func (x *OrderState) GetStages() []*OrderStage
func (*OrderState) GetTotalOrderAmount ¶
func (x *OrderState) GetTotalOrderAmount() *MoneyValue
func (*OrderState) ProtoMessage ¶
func (*OrderState) ProtoMessage()
func (*OrderState) ProtoReflect ¶
func (x *OrderState) ProtoReflect() protoreflect.Message
func (*OrderState) Reset ¶
func (x *OrderState) Reset()
func (*OrderState) String ¶
func (x *OrderState) String() string
type OrderTrade ¶
type OrderTrade struct { DateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date_time,json=dateTime,proto3" json:"date_time,omitempty"` //Дата и время совершения сделки в часовом поясе UTC. Price *Quotation `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` //Цена за 1 инструмент, по которой совершена сделка. Quantity int64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество штук в сделке. TradeId string `protobuf:"bytes,4,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` //Идентификатор сделки. // contains filtered or unexported fields }
Информация о сделке.
func (*OrderTrade) Descriptor
deprecated
func (*OrderTrade) Descriptor() ([]byte, []int)
Deprecated: Use OrderTrade.ProtoReflect.Descriptor instead.
func (*OrderTrade) GetDateTime ¶
func (x *OrderTrade) GetDateTime() *timestamppb.Timestamp
func (*OrderTrade) GetPrice ¶
func (x *OrderTrade) GetPrice() *Quotation
func (*OrderTrade) GetQuantity ¶
func (x *OrderTrade) GetQuantity() int64
func (*OrderTrade) GetTradeId ¶
func (x *OrderTrade) GetTradeId() string
func (*OrderTrade) ProtoMessage ¶
func (*OrderTrade) ProtoMessage()
func (*OrderTrade) ProtoReflect ¶
func (x *OrderTrade) ProtoReflect() protoreflect.Message
func (*OrderTrade) Reset ¶
func (x *OrderTrade) Reset()
func (*OrderTrade) String ¶
func (x *OrderTrade) String() string
type OrderTrades ¶
type OrderTrades struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Идентификатор торгового поручения. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` //Дата и время создания сообщения в часовом поясе UTC. Direction OrderDirection `` //Направление сделки. /* 130-byte string literal not displayed */ Figi string `protobuf:"bytes,4,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Trades []*OrderTrade `protobuf:"bytes,5,rep,name=trades,proto3" json:"trades,omitempty"` //Массив сделок. AccountId string `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта. InstrumentUid string `protobuf:"bytes,7,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID идентификатор инструмента. // contains filtered or unexported fields }
Информация об исполнении торгового поручения.
func (*OrderTrades) Descriptor
deprecated
func (*OrderTrades) Descriptor() ([]byte, []int)
Deprecated: Use OrderTrades.ProtoReflect.Descriptor instead.
func (*OrderTrades) GetAccountId ¶
func (x *OrderTrades) GetAccountId() string
func (*OrderTrades) GetCreatedAt ¶
func (x *OrderTrades) GetCreatedAt() *timestamppb.Timestamp
func (*OrderTrades) GetDirection ¶
func (x *OrderTrades) GetDirection() OrderDirection
func (*OrderTrades) GetFigi ¶
func (x *OrderTrades) GetFigi() string
func (*OrderTrades) GetInstrumentUid ¶
func (x *OrderTrades) GetInstrumentUid() string
func (*OrderTrades) GetOrderId ¶
func (x *OrderTrades) GetOrderId() string
func (*OrderTrades) GetTrades ¶
func (x *OrderTrades) GetTrades() []*OrderTrade
func (*OrderTrades) ProtoMessage ¶
func (*OrderTrades) ProtoMessage()
func (*OrderTrades) ProtoReflect ¶
func (x *OrderTrades) ProtoReflect() protoreflect.Message
func (*OrderTrades) Reset ¶
func (x *OrderTrades) Reset()
func (*OrderTrades) String ¶
func (x *OrderTrades) String() string
type OrderType ¶
type OrderType int32
Тип заявки.
func (OrderType) Descriptor ¶
func (OrderType) Descriptor() protoreflect.EnumDescriptor
func (OrderType) EnumDescriptor
deprecated
func (OrderType) Number ¶
func (x OrderType) Number() protoreflect.EnumNumber
func (OrderType) Type ¶
func (OrderType) Type() protoreflect.EnumType
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) // Метод изменения выставленной заявки. ReplaceOrder(ctx context.Context, in *ReplaceOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, 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.
func NewOrdersServiceClient ¶
func NewOrdersServiceClient(cc grpc.ClientConnInterface) OrdersServiceClient
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) // Метод изменения выставленной заявки. ReplaceOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, 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.
func NewOrdersStreamServiceClient ¶
func NewOrdersStreamServiceClient(cc grpc.ClientConnInterface) OrdersStreamServiceClient
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 *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
Проверка активности стрима.
func (*Ping) Descriptor
deprecated
func (*Ping) GetTime ¶
func (x *Ping) GetTime() *timestamppb.Timestamp
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type PortfolioPosition ¶
type PortfolioPosition struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатора инструмента. InstrumentType string `protobuf:"bytes,2,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента. Quantity *Quotation `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество инструмента в портфеле в штуках. AveragePositionPrice *MoneyValue `protobuf:"bytes,4,opt,name=average_position_price,json=averagePositionPrice,proto3" json:"average_position_price,omitempty"` //Средневзвешенная цена позиции. **Возможна задержка до секунды для пересчёта**. ExpectedYield *Quotation `protobuf:"bytes,5,opt,name=expected_yield,json=expectedYield,proto3" json:"expected_yield,omitempty"` //Текущая рассчитанная доходность позиции. CurrentNkd *MoneyValue `protobuf:"bytes,6,opt,name=current_nkd,json=currentNkd,proto3" json:"current_nkd,omitempty"` // Текущий НКД. // Deprecated: Do not use. AveragePositionPricePt *Quotation `` // Deprecated Средняя цена позиции в пунктах (для фьючерсов). **Возможна задержка до секунды для пересчёта**. /* 131-byte string literal not displayed */ CurrentPrice *MoneyValue `protobuf:"bytes,8,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"` //Текущая цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. AveragePositionPriceFifo *MoneyValue `` //Средняя цена позиции по методу FIFO. **Возможна задержка до секунды для пересчёта**. /* 137-byte string literal not displayed */ // Deprecated: Do not use. QuantityLots *Quotation `protobuf:"bytes,10,opt,name=quantity_lots,json=quantityLots,proto3" json:"quantity_lots,omitempty"` //Deprecated Количество лотов в портфеле. Blocked bool `protobuf:"varint,21,opt,name=blocked,proto3" json:"blocked,omitempty"` //Заблокировано на бирже. BlockedLots *Quotation `protobuf:"bytes,22,opt,name=blocked_lots,json=blockedLots,proto3" json:"blocked_lots,omitempty"` //Количество бумаг, заблокированных выставленными заявками. PositionUid string `protobuf:"bytes,24,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //position_uid-идентификатора инструмента InstrumentUid string `protobuf:"bytes,25,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //instrument_uid-идентификатора инструмента VarMargin *MoneyValue `protobuf:"bytes,26,opt,name=var_margin,json=varMargin,proto3" json:"var_margin,omitempty"` //Вариационная маржа ExpectedYieldFifo *Quotation `protobuf:"bytes,27,opt,name=expected_yield_fifo,json=expectedYieldFifo,proto3" json:"expected_yield_fifo,omitempty"` //Текущая рассчитанная доходность позиции. // contains filtered or unexported fields }
Позиции портфеля.
func (*PortfolioPosition) Descriptor
deprecated
func (*PortfolioPosition) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioPosition.ProtoReflect.Descriptor instead.
func (*PortfolioPosition) GetAveragePositionPrice ¶
func (x *PortfolioPosition) GetAveragePositionPrice() *MoneyValue
func (*PortfolioPosition) GetAveragePositionPriceFifo ¶
func (x *PortfolioPosition) GetAveragePositionPriceFifo() *MoneyValue
func (*PortfolioPosition) GetAveragePositionPricePt
deprecated
func (x *PortfolioPosition) GetAveragePositionPricePt() *Quotation
Deprecated: Do not use.
func (*PortfolioPosition) GetBlocked ¶
func (x *PortfolioPosition) GetBlocked() bool
func (*PortfolioPosition) GetBlockedLots ¶
func (x *PortfolioPosition) GetBlockedLots() *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) GetExpectedYieldFifo ¶
func (x *PortfolioPosition) GetExpectedYieldFifo() *Quotation
func (*PortfolioPosition) GetFigi ¶
func (x *PortfolioPosition) GetFigi() string
func (*PortfolioPosition) GetInstrumentType ¶
func (x *PortfolioPosition) GetInstrumentType() string
func (*PortfolioPosition) GetInstrumentUid ¶
func (x *PortfolioPosition) GetInstrumentUid() string
func (*PortfolioPosition) GetPositionUid ¶
func (x *PortfolioPosition) GetPositionUid() string
func (*PortfolioPosition) GetQuantity ¶
func (x *PortfolioPosition) GetQuantity() *Quotation
func (*PortfolioPosition) GetQuantityLots
deprecated
func (x *PortfolioPosition) GetQuantityLots() *Quotation
Deprecated: Do not use.
func (*PortfolioPosition) GetVarMargin ¶
func (x *PortfolioPosition) GetVarMargin() *MoneyValue
func (*PortfolioPosition) ProtoMessage ¶
func (*PortfolioPosition) ProtoMessage()
func (*PortfolioPosition) ProtoReflect ¶
func (x *PortfolioPosition) ProtoReflect() protoreflect.Message
func (*PortfolioPosition) Reset ¶
func (x *PortfolioPosition) Reset()
func (*PortfolioPosition) String ¶
func (x *PortfolioPosition) String() string
type PortfolioRequest ¶
type PortfolioRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя. Currency PortfolioRequest_CurrencyRequest `` //Валюта, в которой требуется рассчитать портфель /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
Запрос получения текущего портфеля по счёту.
func (*PortfolioRequest) Descriptor
deprecated
func (*PortfolioRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioRequest.ProtoReflect.Descriptor instead.
func (*PortfolioRequest) GetAccountId ¶
func (x *PortfolioRequest) GetAccountId() string
func (*PortfolioRequest) GetCurrency ¶
func (x *PortfolioRequest) GetCurrency() PortfolioRequest_CurrencyRequest
func (*PortfolioRequest) ProtoMessage ¶
func (*PortfolioRequest) ProtoMessage()
func (*PortfolioRequest) ProtoReflect ¶
func (x *PortfolioRequest) ProtoReflect() protoreflect.Message
func (*PortfolioRequest) Reset ¶
func (x *PortfolioRequest) Reset()
func (*PortfolioRequest) String ¶
func (x *PortfolioRequest) String() string
type PortfolioRequest_CurrencyRequest ¶
type PortfolioRequest_CurrencyRequest int32
const ( PortfolioRequest_RUB PortfolioRequest_CurrencyRequest = 0 //Рубли PortfolioRequest_USD PortfolioRequest_CurrencyRequest = 1 //Доллары PortfolioRequest_EUR PortfolioRequest_CurrencyRequest = 2 //Евро )
func (PortfolioRequest_CurrencyRequest) Descriptor ¶
func (PortfolioRequest_CurrencyRequest) Descriptor() protoreflect.EnumDescriptor
func (PortfolioRequest_CurrencyRequest) Enum ¶
func (x PortfolioRequest_CurrencyRequest) Enum() *PortfolioRequest_CurrencyRequest
func (PortfolioRequest_CurrencyRequest) EnumDescriptor
deprecated
func (PortfolioRequest_CurrencyRequest) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortfolioRequest_CurrencyRequest.Descriptor instead.
func (PortfolioRequest_CurrencyRequest) Number ¶
func (x PortfolioRequest_CurrencyRequest) Number() protoreflect.EnumNumber
func (PortfolioRequest_CurrencyRequest) String ¶
func (x PortfolioRequest_CurrencyRequest) String() string
func (PortfolioRequest_CurrencyRequest) Type ¶
func (PortfolioRequest_CurrencyRequest) Type() protoreflect.EnumType
type PortfolioResponse ¶
type PortfolioResponse struct { TotalAmountBonds *MoneyValue `protobuf:"bytes,2,opt,name=total_amount_bonds,json=totalAmountBonds,proto3" json:"total_amount_bonds,omitempty"` //Общая стоимость облигаций в портфеле. TotalAmountEtf *MoneyValue `protobuf:"bytes,3,opt,name=total_amount_etf,json=totalAmountEtf,proto3" json:"total_amount_etf,omitempty"` //Общая стоимость фондов в портфеле. TotalAmountCurrencies *MoneyValue `` //Общая стоимость валют в портфеле. /* 126-byte string literal not displayed */ TotalAmountFutures *MoneyValue `protobuf:"bytes,5,opt,name=total_amount_futures,json=totalAmountFutures,proto3" json:"total_amount_futures,omitempty"` //Общая стоимость фьючерсов в портфеле. ExpectedYield *Quotation `protobuf:"bytes,6,opt,name=expected_yield,json=expectedYield,proto3" json:"expected_yield,omitempty"` //Текущая относительная доходность портфеля, в %. Positions []*PortfolioPosition `protobuf:"bytes,7,rep,name=positions,proto3" json:"positions,omitempty"` //Список позиций портфеля. AccountId string `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя. TotalAmountOptions *MoneyValue `protobuf:"bytes,9,opt,name=total_amount_options,json=totalAmountOptions,proto3" json:"total_amount_options,omitempty"` //Общая стоимость опционов в портфеле. TotalAmountSp *MoneyValue `protobuf:"bytes,10,opt,name=total_amount_sp,json=totalAmountSp,proto3" json:"total_amount_sp,omitempty"` //Общая стоимость структурных нот в портфеле. TotalAmountPortfolio *MoneyValue `protobuf:"bytes,11,opt,name=total_amount_portfolio,json=totalAmountPortfolio,proto3" json:"total_amount_portfolio,omitempty"` //Общая стоимость портфеля. VirtualPositions []*VirtualPortfolioPosition `protobuf:"bytes,12,rep,name=virtual_positions,json=virtualPositions,proto3" json:"virtual_positions,omitempty"` //Массив виртуальных позиций портфеля. // contains filtered or unexported fields }
Текущий портфель по счёту.
func (*PortfolioResponse) Descriptor
deprecated
func (*PortfolioResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioResponse.ProtoReflect.Descriptor instead.
func (*PortfolioResponse) GetAccountId ¶
func (x *PortfolioResponse) GetAccountId() string
func (*PortfolioResponse) GetExpectedYield ¶
func (x *PortfolioResponse) GetExpectedYield() *Quotation
func (*PortfolioResponse) GetPositions ¶
func (x *PortfolioResponse) GetPositions() []*PortfolioPosition
func (*PortfolioResponse) GetTotalAmountBonds ¶
func (x *PortfolioResponse) GetTotalAmountBonds() *MoneyValue
func (*PortfolioResponse) GetTotalAmountCurrencies ¶
func (x *PortfolioResponse) GetTotalAmountCurrencies() *MoneyValue
func (*PortfolioResponse) GetTotalAmountEtf ¶
func (x *PortfolioResponse) GetTotalAmountEtf() *MoneyValue
func (*PortfolioResponse) GetTotalAmountFutures ¶
func (x *PortfolioResponse) GetTotalAmountFutures() *MoneyValue
func (*PortfolioResponse) GetTotalAmountOptions ¶
func (x *PortfolioResponse) GetTotalAmountOptions() *MoneyValue
func (*PortfolioResponse) GetTotalAmountPortfolio ¶
func (x *PortfolioResponse) GetTotalAmountPortfolio() *MoneyValue
func (*PortfolioResponse) GetTotalAmountShares ¶
func (x *PortfolioResponse) GetTotalAmountShares() *MoneyValue
func (*PortfolioResponse) GetTotalAmountSp ¶
func (x *PortfolioResponse) GetTotalAmountSp() *MoneyValue
func (*PortfolioResponse) GetVirtualPositions ¶
func (x *PortfolioResponse) GetVirtualPositions() []*VirtualPortfolioPosition
func (*PortfolioResponse) ProtoMessage ¶
func (*PortfolioResponse) ProtoMessage()
func (*PortfolioResponse) ProtoReflect ¶
func (x *PortfolioResponse) ProtoReflect() protoreflect.Message
func (*PortfolioResponse) Reset ¶
func (x *PortfolioResponse) Reset()
func (*PortfolioResponse) String ¶
func (x *PortfolioResponse) String() string
type PortfolioStreamRequest ¶
type PortfolioStreamRequest struct { Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` //Массив идентификаторов счётов пользователя // contains filtered or unexported fields }
Запрос установки stream-соединения.
func (*PortfolioStreamRequest) Descriptor
deprecated
func (*PortfolioStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioStreamRequest.ProtoReflect.Descriptor instead.
func (*PortfolioStreamRequest) GetAccounts ¶
func (x *PortfolioStreamRequest) GetAccounts() []string
func (*PortfolioStreamRequest) ProtoMessage ¶
func (*PortfolioStreamRequest) ProtoMessage()
func (*PortfolioStreamRequest) ProtoReflect ¶
func (x *PortfolioStreamRequest) ProtoReflect() protoreflect.Message
func (*PortfolioStreamRequest) Reset ¶
func (x *PortfolioStreamRequest) Reset()
func (*PortfolioStreamRequest) String ¶
func (x *PortfolioStreamRequest) String() string
type PortfolioStreamResponse ¶
type PortfolioStreamResponse struct { // Types that are assignable to Payload: // // *PortfolioStreamResponse_Subscriptions // *PortfolioStreamResponse_Portfolio // *PortfolioStreamResponse_Ping Payload isPortfolioStreamResponse_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Информация по позициям и доходностям портфелей.
func (*PortfolioStreamResponse) Descriptor
deprecated
func (*PortfolioStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioStreamResponse.ProtoReflect.Descriptor instead.
func (*PortfolioStreamResponse) GetPayload ¶
func (m *PortfolioStreamResponse) GetPayload() isPortfolioStreamResponse_Payload
func (*PortfolioStreamResponse) GetPing ¶
func (x *PortfolioStreamResponse) GetPing() *Ping
func (*PortfolioStreamResponse) GetPortfolio ¶
func (x *PortfolioStreamResponse) GetPortfolio() *PortfolioResponse
func (*PortfolioStreamResponse) GetSubscriptions ¶
func (x *PortfolioStreamResponse) GetSubscriptions() *PortfolioSubscriptionResult
func (*PortfolioStreamResponse) ProtoMessage ¶
func (*PortfolioStreamResponse) ProtoMessage()
func (*PortfolioStreamResponse) ProtoReflect ¶
func (x *PortfolioStreamResponse) ProtoReflect() protoreflect.Message
func (*PortfolioStreamResponse) Reset ¶
func (x *PortfolioStreamResponse) Reset()
func (*PortfolioStreamResponse) String ¶
func (x *PortfolioStreamResponse) String() string
type PortfolioStreamResponse_Ping ¶
type PortfolioStreamResponse_Ping struct {
Ping *Ping `protobuf:"bytes,3,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}
type PortfolioStreamResponse_Portfolio ¶
type PortfolioStreamResponse_Portfolio struct {
Portfolio *PortfolioResponse `protobuf:"bytes,2,opt,name=portfolio,proto3,oneof"` //Объект стриминга портфеля.
}
type PortfolioStreamResponse_Subscriptions ¶
type PortfolioStreamResponse_Subscriptions struct {
Subscriptions *PortfolioSubscriptionResult `protobuf:"bytes,1,opt,name=subscriptions,proto3,oneof"` //Объект результата подписки.
}
type PortfolioSubscriptionResult ¶
type PortfolioSubscriptionResult struct { Accounts []*AccountSubscriptionStatus `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` //Массив счетов клиента. // contains filtered or unexported fields }
Объект результата подписки.
func (*PortfolioSubscriptionResult) Descriptor
deprecated
func (*PortfolioSubscriptionResult) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioSubscriptionResult.ProtoReflect.Descriptor instead.
func (*PortfolioSubscriptionResult) GetAccounts ¶
func (x *PortfolioSubscriptionResult) GetAccounts() []*AccountSubscriptionStatus
func (*PortfolioSubscriptionResult) ProtoMessage ¶
func (*PortfolioSubscriptionResult) ProtoMessage()
func (*PortfolioSubscriptionResult) ProtoReflect ¶
func (x *PortfolioSubscriptionResult) ProtoReflect() protoreflect.Message
func (*PortfolioSubscriptionResult) Reset ¶
func (x *PortfolioSubscriptionResult) Reset()
func (*PortfolioSubscriptionResult) String ¶
func (x *PortfolioSubscriptionResult) String() string
type PortfolioSubscriptionStatus ¶
type PortfolioSubscriptionStatus int32
Результат подписки.
const ( PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_UNSPECIFIED PortfolioSubscriptionStatus = 0 //Тип не определён. PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS PortfolioSubscriptionStatus = 1 //Успешно. PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND PortfolioSubscriptionStatus = 2 //Счёт не найден или недостаточно прав. PortfolioSubscriptionStatus_PORTFOLIO_SUBSCRIPTION_STATUS_INTERNAL_ERROR PortfolioSubscriptionStatus = 3 //Произошла ошибка. )
func (PortfolioSubscriptionStatus) Descriptor ¶
func (PortfolioSubscriptionStatus) Descriptor() protoreflect.EnumDescriptor
func (PortfolioSubscriptionStatus) Enum ¶
func (x PortfolioSubscriptionStatus) Enum() *PortfolioSubscriptionStatus
func (PortfolioSubscriptionStatus) EnumDescriptor
deprecated
func (PortfolioSubscriptionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortfolioSubscriptionStatus.Descriptor instead.
func (PortfolioSubscriptionStatus) Number ¶
func (x PortfolioSubscriptionStatus) Number() protoreflect.EnumNumber
func (PortfolioSubscriptionStatus) String ¶
func (x PortfolioSubscriptionStatus) String() string
func (PortfolioSubscriptionStatus) Type ¶
func (PortfolioSubscriptionStatus) Type() protoreflect.EnumType
type PositionData ¶
type PositionData struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта. Money []*PositionsMoney `protobuf:"bytes,2,rep,name=money,proto3" json:"money,omitempty"` //Массив валютных позиций портфеля. Securities []*PositionsSecurities `protobuf:"bytes,3,rep,name=securities,proto3" json:"securities,omitempty"` //Список ценно-бумажных позиций портфеля. Futures []*PositionsFutures `protobuf:"bytes,4,rep,name=futures,proto3" json:"futures,omitempty"` //Список фьючерсов портфеля. Options []*PositionsOptions `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"` //Список опционов портфеля. Date *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` //Дата и время операции в формате UTC. // contains filtered or unexported fields }
Данные о позиции портфеля.
func (*PositionData) Descriptor
deprecated
func (*PositionData) Descriptor() ([]byte, []int)
Deprecated: Use PositionData.ProtoReflect.Descriptor instead.
func (*PositionData) GetAccountId ¶
func (x *PositionData) GetAccountId() string
func (*PositionData) GetDate ¶
func (x *PositionData) GetDate() *timestamppb.Timestamp
func (*PositionData) GetFutures ¶
func (x *PositionData) GetFutures() []*PositionsFutures
func (*PositionData) GetMoney ¶
func (x *PositionData) GetMoney() []*PositionsMoney
func (*PositionData) GetOptions ¶
func (x *PositionData) GetOptions() []*PositionsOptions
func (*PositionData) GetSecurities ¶
func (x *PositionData) GetSecurities() []*PositionsSecurities
func (*PositionData) ProtoMessage ¶
func (*PositionData) ProtoMessage()
func (*PositionData) ProtoReflect ¶
func (x *PositionData) ProtoReflect() protoreflect.Message
func (*PositionData) Reset ¶
func (x *PositionData) Reset()
func (*PositionData) String ¶
func (x *PositionData) String() string
type PositionsAccountSubscriptionStatus ¶
type PositionsAccountSubscriptionStatus int32
Результат подписки.
const ( PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_UNSPECIFIED PositionsAccountSubscriptionStatus = 0 //Тип не определён. PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_SUCCESS PositionsAccountSubscriptionStatus = 1 //Успешно. PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_ACCOUNT_NOT_FOUND PositionsAccountSubscriptionStatus = 2 //Счёт не найден или недостаточно прав. PositionsAccountSubscriptionStatus_POSITIONS_SUBSCRIPTION_STATUS_INTERNAL_ERROR PositionsAccountSubscriptionStatus = 3 //Произошла ошибка. )
func (PositionsAccountSubscriptionStatus) Descriptor ¶
func (PositionsAccountSubscriptionStatus) Descriptor() protoreflect.EnumDescriptor
func (PositionsAccountSubscriptionStatus) Enum ¶
func (x PositionsAccountSubscriptionStatus) Enum() *PositionsAccountSubscriptionStatus
func (PositionsAccountSubscriptionStatus) EnumDescriptor
deprecated
func (PositionsAccountSubscriptionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PositionsAccountSubscriptionStatus.Descriptor instead.
func (PositionsAccountSubscriptionStatus) Number ¶
func (x PositionsAccountSubscriptionStatus) Number() protoreflect.EnumNumber
func (PositionsAccountSubscriptionStatus) String ¶
func (x PositionsAccountSubscriptionStatus) String() string
func (PositionsAccountSubscriptionStatus) Type ¶
func (PositionsAccountSubscriptionStatus) Type() protoreflect.EnumType
type PositionsFutures ¶
type PositionsFutures struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор фьючерса. Blocked int64 `protobuf:"varint,2,opt,name=blocked,proto3" json:"blocked,omitempty"` //Количество бумаг заблокированных выставленными заявками. Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` //Текущий незаблокированный баланс. PositionUid string `protobuf:"bytes,4,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции. InstrumentUid string `protobuf:"bytes,5,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор инструмента. // contains filtered or unexported fields }
Баланс фьючерса.
func (*PositionsFutures) Descriptor
deprecated
func (*PositionsFutures) Descriptor() ([]byte, []int)
Deprecated: Use PositionsFutures.ProtoReflect.Descriptor instead.
func (*PositionsFutures) GetBalance ¶
func (x *PositionsFutures) GetBalance() int64
func (*PositionsFutures) GetBlocked ¶
func (x *PositionsFutures) GetBlocked() int64
func (*PositionsFutures) GetFigi ¶
func (x *PositionsFutures) GetFigi() string
func (*PositionsFutures) GetInstrumentUid ¶
func (x *PositionsFutures) GetInstrumentUid() string
func (*PositionsFutures) GetPositionUid ¶
func (x *PositionsFutures) GetPositionUid() string
func (*PositionsFutures) ProtoMessage ¶
func (*PositionsFutures) ProtoMessage()
func (*PositionsFutures) ProtoReflect ¶
func (x *PositionsFutures) ProtoReflect() protoreflect.Message
func (*PositionsFutures) Reset ¶
func (x *PositionsFutures) Reset()
func (*PositionsFutures) String ¶
func (x *PositionsFutures) String() string
type PositionsMoney ¶
type PositionsMoney struct { AvailableValue *MoneyValue `protobuf:"bytes,1,opt,name=available_value,json=availableValue,proto3" json:"available_value,omitempty"` //Доступное количество валютный позиций. BlockedValue *MoneyValue `protobuf:"bytes,2,opt,name=blocked_value,json=blockedValue,proto3" json:"blocked_value,omitempty"` //Заблокированное количество валютный позиций. // contains filtered or unexported fields }
Валютная позиция портфеля.
func (*PositionsMoney) Descriptor
deprecated
func (*PositionsMoney) Descriptor() ([]byte, []int)
Deprecated: Use PositionsMoney.ProtoReflect.Descriptor instead.
func (*PositionsMoney) GetAvailableValue ¶
func (x *PositionsMoney) GetAvailableValue() *MoneyValue
func (*PositionsMoney) GetBlockedValue ¶
func (x *PositionsMoney) GetBlockedValue() *MoneyValue
func (*PositionsMoney) ProtoMessage ¶
func (*PositionsMoney) ProtoMessage()
func (*PositionsMoney) ProtoReflect ¶
func (x *PositionsMoney) ProtoReflect() protoreflect.Message
func (*PositionsMoney) Reset ¶
func (x *PositionsMoney) Reset()
func (*PositionsMoney) String ¶
func (x *PositionsMoney) String() string
type PositionsOptions ¶
type PositionsOptions struct { PositionUid string `protobuf:"bytes,1,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции опциона. InstrumentUid string `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор инструмента. Blocked int64 `protobuf:"varint,11,opt,name=blocked,proto3" json:"blocked,omitempty"` //Количество бумаг заблокированных выставленными заявками. Balance int64 `protobuf:"varint,21,opt,name=balance,proto3" json:"balance,omitempty"` //Текущий незаблокированный баланс. // contains filtered or unexported fields }
Баланс опциона.
func (*PositionsOptions) Descriptor
deprecated
func (*PositionsOptions) Descriptor() ([]byte, []int)
Deprecated: Use PositionsOptions.ProtoReflect.Descriptor instead.
func (*PositionsOptions) GetBalance ¶
func (x *PositionsOptions) GetBalance() int64
func (*PositionsOptions) GetBlocked ¶
func (x *PositionsOptions) GetBlocked() int64
func (*PositionsOptions) GetInstrumentUid ¶
func (x *PositionsOptions) GetInstrumentUid() string
func (*PositionsOptions) GetPositionUid ¶
func (x *PositionsOptions) GetPositionUid() string
func (*PositionsOptions) ProtoMessage ¶
func (*PositionsOptions) ProtoMessage()
func (*PositionsOptions) ProtoReflect ¶
func (x *PositionsOptions) ProtoReflect() protoreflect.Message
func (*PositionsOptions) Reset ¶
func (x *PositionsOptions) Reset()
func (*PositionsOptions) String ¶
func (x *PositionsOptions) String() string
type PositionsRequest ¶
type PositionsRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя. // contains filtered or unexported fields }
Запрос позиций портфеля по счёту.
func (*PositionsRequest) Descriptor
deprecated
func (*PositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PositionsRequest.ProtoReflect.Descriptor instead.
func (*PositionsRequest) GetAccountId ¶
func (x *PositionsRequest) GetAccountId() string
func (*PositionsRequest) ProtoMessage ¶
func (*PositionsRequest) ProtoMessage()
func (*PositionsRequest) ProtoReflect ¶
func (x *PositionsRequest) ProtoReflect() protoreflect.Message
func (*PositionsRequest) Reset ¶
func (x *PositionsRequest) Reset()
func (*PositionsRequest) String ¶
func (x *PositionsRequest) String() string
type PositionsResponse ¶
type PositionsResponse struct { Money []*MoneyValue `protobuf:"bytes,1,rep,name=money,proto3" json:"money,omitempty"` //Массив валютных позиций портфеля. Blocked []*MoneyValue `protobuf:"bytes,2,rep,name=blocked,proto3" json:"blocked,omitempty"` //Массив заблокированных валютных позиций портфеля. Securities []*PositionsSecurities `protobuf:"bytes,3,rep,name=securities,proto3" json:"securities,omitempty"` //Список ценно-бумажных позиций портфеля. LimitsLoadingInProgress bool `` //Признак идущей в данный момент выгрузки лимитов. /* 135-byte string literal not displayed */ Futures []*PositionsFutures `protobuf:"bytes,5,rep,name=futures,proto3" json:"futures,omitempty"` //Список фьючерсов портфеля. Options []*PositionsOptions `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"` //Список опционов портфеля. // 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) GetOptions ¶
func (x *PositionsResponse) GetOptions() []*PositionsOptions
func (*PositionsResponse) GetSecurities ¶
func (x *PositionsResponse) GetSecurities() []*PositionsSecurities
func (*PositionsResponse) ProtoMessage ¶
func (*PositionsResponse) ProtoMessage()
func (*PositionsResponse) ProtoReflect ¶
func (x *PositionsResponse) ProtoReflect() protoreflect.Message
func (*PositionsResponse) Reset ¶
func (x *PositionsResponse) Reset()
func (*PositionsResponse) String ¶
func (x *PositionsResponse) String() string
type PositionsSecurities ¶
type PositionsSecurities struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор бумаги. Blocked int64 `protobuf:"varint,2,opt,name=blocked,proto3" json:"blocked,omitempty"` //Количество бумаг заблокированных выставленными заявками. Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` //Текущий незаблокированный баланс. PositionUid string `protobuf:"bytes,4,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //Уникальный идентификатор позиции. InstrumentUid string `protobuf:"bytes,5,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Уникальный идентификатор инструмента. ExchangeBlocked bool `protobuf:"varint,11,opt,name=exchange_blocked,json=exchangeBlocked,proto3" json:"exchange_blocked,omitempty"` //Заблокировано на бирже. InstrumentType string `protobuf:"bytes,16,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента. // contains filtered or unexported fields }
Баланс позиции ценной бумаги.
func (*PositionsSecurities) Descriptor
deprecated
func (*PositionsSecurities) Descriptor() ([]byte, []int)
Deprecated: Use PositionsSecurities.ProtoReflect.Descriptor instead.
func (*PositionsSecurities) GetBalance ¶
func (x *PositionsSecurities) GetBalance() int64
func (*PositionsSecurities) GetBlocked ¶
func (x *PositionsSecurities) GetBlocked() int64
func (*PositionsSecurities) GetExchangeBlocked ¶
func (x *PositionsSecurities) GetExchangeBlocked() bool
func (*PositionsSecurities) GetFigi ¶
func (x *PositionsSecurities) GetFigi() string
func (*PositionsSecurities) GetInstrumentType ¶
func (x *PositionsSecurities) GetInstrumentType() string
func (*PositionsSecurities) GetInstrumentUid ¶
func (x *PositionsSecurities) GetInstrumentUid() string
func (*PositionsSecurities) GetPositionUid ¶
func (x *PositionsSecurities) GetPositionUid() string
func (*PositionsSecurities) ProtoMessage ¶
func (*PositionsSecurities) ProtoMessage()
func (*PositionsSecurities) ProtoReflect ¶
func (x *PositionsSecurities) ProtoReflect() protoreflect.Message
func (*PositionsSecurities) Reset ¶
func (x *PositionsSecurities) Reset()
func (*PositionsSecurities) String ¶
func (x *PositionsSecurities) String() string
type PositionsStreamRequest ¶
type PositionsStreamRequest struct { Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` //Массив идентификаторов счётов пользователя // contains filtered or unexported fields }
Запрос установки stream-соединения позиций.
func (*PositionsStreamRequest) Descriptor
deprecated
func (*PositionsStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use PositionsStreamRequest.ProtoReflect.Descriptor instead.
func (*PositionsStreamRequest) GetAccounts ¶
func (x *PositionsStreamRequest) GetAccounts() []string
func (*PositionsStreamRequest) ProtoMessage ¶
func (*PositionsStreamRequest) ProtoMessage()
func (*PositionsStreamRequest) ProtoReflect ¶
func (x *PositionsStreamRequest) ProtoReflect() protoreflect.Message
func (*PositionsStreamRequest) Reset ¶
func (x *PositionsStreamRequest) Reset()
func (*PositionsStreamRequest) String ¶
func (x *PositionsStreamRequest) String() string
type PositionsStreamResponse ¶
type PositionsStreamResponse struct { // Types that are assignable to Payload: // // *PositionsStreamResponse_Subscriptions // *PositionsStreamResponse_Position // *PositionsStreamResponse_Ping Payload isPositionsStreamResponse_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Информация по изменению позиций портфеля.
func (*PositionsStreamResponse) Descriptor
deprecated
func (*PositionsStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use PositionsStreamResponse.ProtoReflect.Descriptor instead.
func (*PositionsStreamResponse) GetPayload ¶
func (m *PositionsStreamResponse) GetPayload() isPositionsStreamResponse_Payload
func (*PositionsStreamResponse) GetPing ¶
func (x *PositionsStreamResponse) GetPing() *Ping
func (*PositionsStreamResponse) GetPosition ¶
func (x *PositionsStreamResponse) GetPosition() *PositionData
func (*PositionsStreamResponse) GetSubscriptions ¶
func (x *PositionsStreamResponse) GetSubscriptions() *PositionsSubscriptionResult
func (*PositionsStreamResponse) ProtoMessage ¶
func (*PositionsStreamResponse) ProtoMessage()
func (*PositionsStreamResponse) ProtoReflect ¶
func (x *PositionsStreamResponse) ProtoReflect() protoreflect.Message
func (*PositionsStreamResponse) Reset ¶
func (x *PositionsStreamResponse) Reset()
func (*PositionsStreamResponse) String ¶
func (x *PositionsStreamResponse) String() string
type PositionsStreamResponse_Ping ¶
type PositionsStreamResponse_Ping struct {
Ping *Ping `protobuf:"bytes,3,opt,name=ping,proto3,oneof"` //Проверка активности стрима.
}
type PositionsStreamResponse_Position ¶
type PositionsStreamResponse_Position struct {
Position *PositionData `protobuf:"bytes,2,opt,name=position,proto3,oneof"` //Объект стриминга позиций.
}
type PositionsStreamResponse_Subscriptions ¶
type PositionsStreamResponse_Subscriptions struct {
Subscriptions *PositionsSubscriptionResult `protobuf:"bytes,1,opt,name=subscriptions,proto3,oneof"` //Объект результата подписки.
}
type PositionsSubscriptionResult ¶
type PositionsSubscriptionResult struct { Accounts []*PositionsSubscriptionStatus `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` //Массив счетов клиента. // contains filtered or unexported fields }
Объект результата подписки.
func (*PositionsSubscriptionResult) Descriptor
deprecated
func (*PositionsSubscriptionResult) Descriptor() ([]byte, []int)
Deprecated: Use PositionsSubscriptionResult.ProtoReflect.Descriptor instead.
func (*PositionsSubscriptionResult) GetAccounts ¶
func (x *PositionsSubscriptionResult) GetAccounts() []*PositionsSubscriptionStatus
func (*PositionsSubscriptionResult) ProtoMessage ¶
func (*PositionsSubscriptionResult) ProtoMessage()
func (*PositionsSubscriptionResult) ProtoReflect ¶
func (x *PositionsSubscriptionResult) ProtoReflect() protoreflect.Message
func (*PositionsSubscriptionResult) Reset ¶
func (x *PositionsSubscriptionResult) Reset()
func (*PositionsSubscriptionResult) String ¶
func (x *PositionsSubscriptionResult) String() string
type PositionsSubscriptionStatus ¶
type PositionsSubscriptionStatus struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта SubscriptionStatus PositionsAccountSubscriptionStatus `` //Результат подписки. /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
Счет клиента.
func (*PositionsSubscriptionStatus) Descriptor
deprecated
func (*PositionsSubscriptionStatus) Descriptor() ([]byte, []int)
Deprecated: Use PositionsSubscriptionStatus.ProtoReflect.Descriptor instead.
func (*PositionsSubscriptionStatus) GetAccountId ¶
func (x *PositionsSubscriptionStatus) GetAccountId() string
func (*PositionsSubscriptionStatus) GetSubscriptionStatus ¶
func (x *PositionsSubscriptionStatus) GetSubscriptionStatus() PositionsAccountSubscriptionStatus
func (*PositionsSubscriptionStatus) ProtoMessage ¶
func (*PositionsSubscriptionStatus) ProtoMessage()
func (*PositionsSubscriptionStatus) ProtoReflect ¶
func (x *PositionsSubscriptionStatus) ProtoReflect() protoreflect.Message
func (*PositionsSubscriptionStatus) Reset ¶
func (x *PositionsSubscriptionStatus) Reset()
func (*PositionsSubscriptionStatus) String ¶
func (x *PositionsSubscriptionStatus) String() string
type PostOrderRequest ¶
type PostOrderRequest struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. Quantity int64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов. Price *Quotation `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Игнорируется для рыночных поручений. Direction OrderDirection `` //Направление операции. /* 130-byte string literal not displayed */ AccountId string `protobuf:"bytes,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта. OrderType OrderType `` //Тип заявки. /* 142-byte string literal not displayed */ OrderId string `protobuf:"bytes,7,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Идентификатор запроса выставления поручения для целей идемпотентности. Максимальная длина 36 символов. InstrumentId string `protobuf:"bytes,8,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значения Figi или Instrument_uid. // contains filtered or unexported fields }
Запрос выставления торгового поручения.
func (*PostOrderRequest) Descriptor
deprecated
func (*PostOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostOrderRequest.ProtoReflect.Descriptor instead.
func (*PostOrderRequest) GetAccountId ¶
func (x *PostOrderRequest) GetAccountId() string
func (*PostOrderRequest) GetDirection ¶
func (x *PostOrderRequest) GetDirection() OrderDirection
func (*PostOrderRequest) GetFigi
deprecated
func (x *PostOrderRequest) GetFigi() string
Deprecated: Do not use.
func (*PostOrderRequest) GetInstrumentId ¶
func (x *PostOrderRequest) GetInstrumentId() string
func (*PostOrderRequest) GetOrderId ¶
func (x *PostOrderRequest) GetOrderId() string
func (*PostOrderRequest) GetOrderType ¶
func (x *PostOrderRequest) GetOrderType() OrderType
func (*PostOrderRequest) GetPrice ¶
func (x *PostOrderRequest) GetPrice() *Quotation
func (*PostOrderRequest) 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"` //Исполненная средняя цена 1 одного инструмента в заявки. 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"` //Начальная цена заявки в пунктах (для фьючерсов). InstrumentUid string `protobuf:"bytes,17,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //UID идентификатор инструмента. // contains filtered or unexported fields }
Информация о выставлении поручения.
func (*PostOrderResponse) Descriptor
deprecated
func (*PostOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostOrderResponse.ProtoReflect.Descriptor instead.
func (*PostOrderResponse) GetAciValue ¶
func (x *PostOrderResponse) GetAciValue() *MoneyValue
func (*PostOrderResponse) GetDirection ¶
func (x *PostOrderResponse) GetDirection() OrderDirection
func (*PostOrderResponse) GetExecutedCommission ¶
func (x *PostOrderResponse) GetExecutedCommission() *MoneyValue
func (*PostOrderResponse) GetExecutedOrderPrice ¶
func (x *PostOrderResponse) GetExecutedOrderPrice() *MoneyValue
func (*PostOrderResponse) GetExecutionReportStatus ¶
func (x *PostOrderResponse) GetExecutionReportStatus() OrderExecutionReportStatus
func (*PostOrderResponse) GetFigi ¶
func (x *PostOrderResponse) GetFigi() string
func (*PostOrderResponse) GetInitialCommission ¶
func (x *PostOrderResponse) GetInitialCommission() *MoneyValue
func (*PostOrderResponse) GetInitialOrderPrice ¶
func (x *PostOrderResponse) GetInitialOrderPrice() *MoneyValue
func (*PostOrderResponse) GetInitialOrderPricePt ¶
func (x *PostOrderResponse) GetInitialOrderPricePt() *Quotation
func (*PostOrderResponse) GetInitialSecurityPrice ¶
func (x *PostOrderResponse) GetInitialSecurityPrice() *MoneyValue
func (*PostOrderResponse) GetInstrumentUid ¶
func (x *PostOrderResponse) GetInstrumentUid() string
func (*PostOrderResponse) GetLotsExecuted ¶
func (x *PostOrderResponse) GetLotsExecuted() int64
func (*PostOrderResponse) GetLotsRequested ¶
func (x *PostOrderResponse) GetLotsRequested() int64
func (*PostOrderResponse) GetMessage ¶
func (x *PostOrderResponse) GetMessage() string
func (*PostOrderResponse) GetOrderId ¶
func (x *PostOrderResponse) GetOrderId() string
func (*PostOrderResponse) 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 { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. Quantity int64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов. Price *Quotation `protobuf:"bytes,3,opt,name=price,proto3" 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 *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` //Дата и время окончания действия стоп-заявки в часовом поясе UTC. **Для ExpirationType = GoodTillDate заполнение обязательно**. InstrumentId string `protobuf:"bytes,10,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значения Figi или instrument_uid. // 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() *timestamppb.Timestamp
func (*PostStopOrderRequest) GetFigi
deprecated
func (x *PostStopOrderRequest) GetFigi() string
Deprecated: Do not use.
func (*PostStopOrderRequest) GetInstrumentId ¶
func (x *PostStopOrderRequest) GetInstrumentId() 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 PriceType ¶
type PriceType int32
Тип цены.
func (PriceType) Descriptor ¶
func (PriceType) Descriptor() protoreflect.EnumDescriptor
func (PriceType) EnumDescriptor
deprecated
func (PriceType) Number ¶
func (x PriceType) Number() protoreflect.EnumNumber
func (PriceType) Type ¶
func (PriceType) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*Quotation) ProtoMessage()
func (*Quotation) ProtoReflect ¶
func (x *Quotation) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x RealExchange) Number() protoreflect.EnumNumber
func (RealExchange) String ¶
func (x RealExchange) String() string
func (RealExchange) Type ¶
func (RealExchange) Type() protoreflect.EnumType
type ReplaceOrderRequest ¶
type ReplaceOrderRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счета. OrderId string `protobuf:"bytes,6,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` //Идентификатор заявки на бирже. IdempotencyKey string `protobuf:"bytes,7,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` //Новый идентификатор запроса выставления поручения для целей идемпотентности. Максимальная длина 36 символов. Перезатирает старый ключ. Quantity int64 `protobuf:"varint,11,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов. Price *Quotation `protobuf:"bytes,12,opt,name=price,proto3" json:"price,omitempty"` //Цена за 1 инструмент. PriceType PriceType `` //Тип цены. /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Запрос изменения выставленной заявки.
func (*ReplaceOrderRequest) Descriptor
deprecated
func (*ReplaceOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceOrderRequest.ProtoReflect.Descriptor instead.
func (*ReplaceOrderRequest) GetAccountId ¶
func (x *ReplaceOrderRequest) GetAccountId() string
func (*ReplaceOrderRequest) GetIdempotencyKey ¶
func (x *ReplaceOrderRequest) GetIdempotencyKey() string
func (*ReplaceOrderRequest) GetOrderId ¶
func (x *ReplaceOrderRequest) GetOrderId() string
func (*ReplaceOrderRequest) GetPrice ¶
func (x *ReplaceOrderRequest) GetPrice() *Quotation
func (*ReplaceOrderRequest) GetPriceType ¶
func (x *ReplaceOrderRequest) GetPriceType() PriceType
func (*ReplaceOrderRequest) GetQuantity ¶
func (x *ReplaceOrderRequest) GetQuantity() int64
func (*ReplaceOrderRequest) ProtoMessage ¶
func (*ReplaceOrderRequest) ProtoMessage()
func (*ReplaceOrderRequest) ProtoReflect ¶
func (x *ReplaceOrderRequest) ProtoReflect() protoreflect.Message
func (*ReplaceOrderRequest) Reset ¶
func (x *ReplaceOrderRequest) Reset()
func (*ReplaceOrderRequest) String ¶
func (x *ReplaceOrderRequest) String() string
type RiskLevel ¶
type RiskLevel int32
Уровень риска облигации.
func (RiskLevel) Descriptor ¶
func (RiskLevel) Descriptor() protoreflect.EnumDescriptor
func (RiskLevel) EnumDescriptor
deprecated
func (RiskLevel) Number ¶
func (x RiskLevel) Number() protoreflect.EnumNumber
func (RiskLevel) Type ¶
func (RiskLevel) Type() protoreflect.EnumType
type SandboxPayInRequest ¶
type SandboxPayInRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Номер счёта Amount *MoneyValue `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` //Сумма пополнения счёта в рублях // contains filtered or unexported fields }
Запрос пополнения счёта в песочнице.
func (*SandboxPayInRequest) Descriptor
deprecated
func (*SandboxPayInRequest) Descriptor() ([]byte, []int)
Deprecated: Use SandboxPayInRequest.ProtoReflect.Descriptor instead.
func (*SandboxPayInRequest) GetAccountId ¶
func (x *SandboxPayInRequest) GetAccountId() string
func (*SandboxPayInRequest) GetAmount ¶
func (x *SandboxPayInRequest) GetAmount() *MoneyValue
func (*SandboxPayInRequest) ProtoMessage ¶
func (*SandboxPayInRequest) ProtoMessage()
func (*SandboxPayInRequest) ProtoReflect ¶
func (x *SandboxPayInRequest) ProtoReflect() protoreflect.Message
func (*SandboxPayInRequest) Reset ¶
func (x *SandboxPayInRequest) Reset()
func (*SandboxPayInRequest) String ¶
func (x *SandboxPayInRequest) String() string
type SandboxPayInResponse ¶
type SandboxPayInResponse struct { Balance *MoneyValue `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` //Текущий баланс счёта // contains filtered or unexported fields }
Результат пополнения счёта, текущий баланс.
func (*SandboxPayInResponse) Descriptor
deprecated
func (*SandboxPayInResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxPayInResponse.ProtoReflect.Descriptor instead.
func (*SandboxPayInResponse) GetBalance ¶
func (x *SandboxPayInResponse) GetBalance() *MoneyValue
func (*SandboxPayInResponse) ProtoMessage ¶
func (*SandboxPayInResponse) ProtoMessage()
func (*SandboxPayInResponse) ProtoReflect ¶
func (x *SandboxPayInResponse) ProtoReflect() protoreflect.Message
func (*SandboxPayInResponse) Reset ¶
func (x *SandboxPayInResponse) Reset()
func (*SandboxPayInResponse) String ¶
func (x *SandboxPayInResponse) String() string
type SandboxServiceClient ¶
type SandboxServiceClient interface { // Метод регистрации счёта в песочнице. OpenSandboxAccount(ctx context.Context, in *OpenSandboxAccountRequest, opts ...grpc.CallOption) (*OpenSandboxAccountResponse, error) // Метод получения счетов в песочнице. GetSandboxAccounts(ctx context.Context, in *GetAccountsRequest, opts ...grpc.CallOption) (*GetAccountsResponse, error) // Метод закрытия счёта в песочнице. CloseSandboxAccount(ctx context.Context, in *CloseSandboxAccountRequest, opts ...grpc.CallOption) (*CloseSandboxAccountResponse, error) // Метод выставления торгового поручения в песочнице. PostSandboxOrder(ctx context.Context, in *PostOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, error) // Метод изменения выставленной заявки. ReplaceSandboxOrder(ctx context.Context, in *ReplaceOrderRequest, opts ...grpc.CallOption) (*PostOrderResponse, error) // Метод получения списка активных заявок по счёту в песочнице. GetSandboxOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error) // Метод отмены торгового поручения в песочнице. CancelSandboxOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error) // Метод получения статуса заявки в песочнице. GetSandboxOrderState(ctx context.Context, in *GetOrderStateRequest, opts ...grpc.CallOption) (*OrderState, error) // Метод получения позиций по виртуальному счёту песочницы. GetSandboxPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error) // Метод получения операций в песочнице по номеру счёта. GetSandboxOperations(ctx context.Context, in *OperationsRequest, opts ...grpc.CallOption) (*OperationsResponse, error) // Метод получения операций в песочнице по номеру счета с пагинацией. GetSandboxOperationsByCursor(ctx context.Context, in *GetOperationsByCursorRequest, opts ...grpc.CallOption) (*GetOperationsByCursorResponse, error) // Метод получения портфолио в песочнице. GetSandboxPortfolio(ctx context.Context, in *PortfolioRequest, opts ...grpc.CallOption) (*PortfolioResponse, error) // Метод пополнения счёта в песочнице. SandboxPayIn(ctx context.Context, in *SandboxPayInRequest, opts ...grpc.CallOption) (*SandboxPayInResponse, error) // Метод получения доступного остатка для вывода средств в песочнице. GetSandboxWithdrawLimits(ctx context.Context, in *WithdrawLimitsRequest, opts ...grpc.CallOption) (*WithdrawLimitsResponse, error) }
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.
func NewSandboxServiceClient ¶
func NewSandboxServiceClient(cc grpc.ClientConnInterface) SandboxServiceClient
type SandboxServiceServer ¶
type SandboxServiceServer interface { // Метод регистрации счёта в песочнице. OpenSandboxAccount(context.Context, *OpenSandboxAccountRequest) (*OpenSandboxAccountResponse, error) // Метод получения счетов в песочнице. GetSandboxAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error) // Метод закрытия счёта в песочнице. CloseSandboxAccount(context.Context, *CloseSandboxAccountRequest) (*CloseSandboxAccountResponse, error) // Метод выставления торгового поручения в песочнице. PostSandboxOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error) // Метод изменения выставленной заявки. ReplaceSandboxOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error) // Метод получения списка активных заявок по счёту в песочнице. GetSandboxOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error) // Метод отмены торгового поручения в песочнице. CancelSandboxOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error) // Метод получения статуса заявки в песочнице. GetSandboxOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error) // Метод получения позиций по виртуальному счёту песочницы. GetSandboxPositions(context.Context, *PositionsRequest) (*PositionsResponse, error) // Метод получения операций в песочнице по номеру счёта. GetSandboxOperations(context.Context, *OperationsRequest) (*OperationsResponse, error) // Метод получения операций в песочнице по номеру счета с пагинацией. GetSandboxOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error) // Метод получения портфолио в песочнице. GetSandboxPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error) // Метод пополнения счёта в песочнице. SandboxPayIn(context.Context, *SandboxPayInRequest) (*SandboxPayInResponse, error) // Метод получения доступного остатка для вывода средств в песочнице. GetSandboxWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error) // 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) Descriptor() protoreflect.EnumDescriptor
func (SecurityTradingStatus) Enum ¶
func (x SecurityTradingStatus) Enum() *SecurityTradingStatus
func (SecurityTradingStatus) EnumDescriptor
deprecated
func (SecurityTradingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityTradingStatus.Descriptor instead.
func (SecurityTradingStatus) Number ¶
func (x SecurityTradingStatus) Number() protoreflect.EnumNumber
func (SecurityTradingStatus) String ¶
func (x SecurityTradingStatus) String() string
func (SecurityTradingStatus) Type ¶
func (SecurityTradingStatus) Type() protoreflect.EnumType
type Share ¶
type Share struct { /* 167-byte string literal not displayed */ /* 143-byte string literal not displayed */ /* 130-byte string literal not displayed */ /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Объект передачи информации об акции.
func (*Share) Descriptor
deprecated
func (*Share) GetApiTradeAvailableFlag ¶
func (*Share) GetBlockedTcaFlag ¶
func (*Share) GetBuyAvailableFlag ¶
func (*Share) GetClassCode ¶
func (*Share) GetCountryOfRisk ¶
func (*Share) GetCountryOfRiskName ¶
func (*Share) GetCurrency ¶
func (*Share) GetDivYieldFlag ¶
func (*Share) GetDlongMin ¶
func (*Share) GetDshortMin ¶
func (*Share) GetExchange ¶
func (*Share) GetFirst_1DayCandleDate ¶
func (x *Share) GetFirst_1DayCandleDate() *timestamppb.Timestamp
func (*Share) GetFirst_1MinCandleDate ¶
func (x *Share) GetFirst_1MinCandleDate() *timestamppb.Timestamp
func (*Share) GetForIisFlag ¶
func (*Share) GetForQualInvestorFlag ¶
func (*Share) GetIpoDate ¶
func (x *Share) GetIpoDate() *timestamppb.Timestamp
func (*Share) GetIssueSize ¶
func (*Share) GetIssueSizePlan ¶
func (*Share) GetLiquidityFlag ¶
func (*Share) GetMinPriceIncrement ¶
func (*Share) GetNominal ¶
func (x *Share) GetNominal() *MoneyValue
func (*Share) GetOtcFlag ¶
func (*Share) GetPositionUid ¶
func (*Share) GetRealExchange ¶
func (x *Share) GetRealExchange() RealExchange
func (*Share) GetSellAvailableFlag ¶
func (*Share) GetShareType ¶
func (*Share) GetShortEnabledFlag ¶
func (*Share) GetTradingStatus ¶
func (x *Share) GetTradingStatus() SecurityTradingStatus
func (*Share) GetWeekendFlag ¶
func (*Share) ProtoMessage ¶
func (*Share) ProtoMessage()
func (*Share) ProtoReflect ¶
func (x *Share) ProtoReflect() protoreflect.Message
type ShareResponse ¶
type ShareResponse struct { // 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 ()
func (ShareType) Descriptor ¶
func (ShareType) Descriptor() protoreflect.EnumDescriptor
func (ShareType) EnumDescriptor
deprecated
func (ShareType) Number ¶
func (x ShareType) Number() protoreflect.EnumNumber
func (ShareType) Type ¶
func (ShareType) Type() protoreflect.EnumType
type SharesResponse ¶
type SharesResponse struct { // 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 *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_date,json=createDate,proto3" json:"create_date,omitempty"` //Дата и время выставления заявки в часовом поясе UTC. ActivationDateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=activation_date_time,json=activationDateTime,proto3" json:"activation_date_time,omitempty"` //Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC. ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` //Дата и время снятия заявки в часовом поясе UTC. Price *MoneyValue `protobuf:"bytes,10,opt,name=price,proto3" json:"price,omitempty"` //Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. StopPrice *MoneyValue `protobuf:"bytes,11,opt,name=stop_price,json=stopPrice,proto3" json:"stop_price,omitempty"` //Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. InstrumentUid string `protobuf:"bytes,12,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //instrument_uid идентификатор инструмента. // contains filtered or unexported fields }
Информация о стоп-заявке.
func (*StopOrder) Descriptor
deprecated
func (*StopOrder) GetActivationDateTime ¶
func (x *StopOrder) GetActivationDateTime() *timestamppb.Timestamp
func (*StopOrder) GetCreateDate ¶
func (x *StopOrder) GetCreateDate() *timestamppb.Timestamp
func (*StopOrder) GetCurrency ¶
func (*StopOrder) GetDirection ¶
func (x *StopOrder) GetDirection() StopOrderDirection
func (*StopOrder) GetExpirationTime ¶
func (x *StopOrder) GetExpirationTime() *timestamppb.Timestamp
func (*StopOrder) GetInstrumentUid ¶
func (*StopOrder) GetLotsRequested ¶
func (*StopOrder) GetOrderType ¶
func (x *StopOrder) GetOrderType() StopOrderType
func (*StopOrder) GetPrice ¶
func (x *StopOrder) GetPrice() *MoneyValue
func (*StopOrder) GetStopOrderId ¶
func (*StopOrder) GetStopPrice ¶
func (x *StopOrder) GetStopPrice() *MoneyValue
func (*StopOrder) ProtoMessage ¶
func (*StopOrder) ProtoMessage()
func (*StopOrder) ProtoReflect ¶
func (x *StopOrder) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (StopOrderDirection) Enum ¶
func (x StopOrderDirection) Enum() *StopOrderDirection
func (StopOrderDirection) EnumDescriptor
deprecated
func (StopOrderDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use StopOrderDirection.Descriptor instead.
func (StopOrderDirection) Number ¶
func (x StopOrderDirection) Number() protoreflect.EnumNumber
func (StopOrderDirection) String ¶
func (x StopOrderDirection) String() string
func (StopOrderDirection) Type ¶
func (StopOrderDirection) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (StopOrderExpirationType) Enum ¶
func (x StopOrderExpirationType) Enum() *StopOrderExpirationType
func (StopOrderExpirationType) EnumDescriptor
deprecated
func (StopOrderExpirationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StopOrderExpirationType.Descriptor instead.
func (StopOrderExpirationType) Number ¶
func (x StopOrderExpirationType) Number() protoreflect.EnumNumber
func (StopOrderExpirationType) String ¶
func (x StopOrderExpirationType) String() string
func (StopOrderExpirationType) Type ¶
func (StopOrderExpirationType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x StopOrderType) Number() protoreflect.EnumNumber
func (StopOrderType) String ¶
func (x StopOrderType) String() string
func (StopOrderType) Type ¶
func (StopOrderType) Type() protoreflect.EnumType
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.
func NewStopOrdersServiceClient ¶
func NewStopOrdersServiceClient(cc grpc.ClientConnInterface) StopOrdersServiceClient
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-методов. Open int32 `protobuf:"varint,3,opt,name=open,proto3" json:"open,omitempty"` //Текущее количество открытых stream-соединений. // contains filtered or unexported fields }
Лимит stream-соединений.
func (*StreamLimit) Descriptor
deprecated
func (*StreamLimit) Descriptor() ([]byte, []int)
Deprecated: Use StreamLimit.ProtoReflect.Descriptor instead.
func (*StreamLimit) GetLimit ¶
func (x *StreamLimit) GetLimit() int32
func (*StreamLimit) GetOpen ¶
func (x *StreamLimit) GetOpen() int32
func (*StreamLimit) GetStreams ¶
func (x *StreamLimit) GetStreams() []string
func (*StreamLimit) ProtoMessage ¶
func (*StreamLimit) ProtoMessage()
func (*StreamLimit) ProtoReflect ¶
func (x *StreamLimit) ProtoReflect() protoreflect.Message
func (*StreamLimit) Reset ¶
func (x *StreamLimit) Reset()
func (*StreamLimit) String ¶
func (x *StreamLimit) String() string
type StructuredProductType ¶
type StructuredProductType int32
Тип структурной ноты.
const ( StructuredProductType_SP_TYPE_UNSPECIFIED StructuredProductType = 0 //Тип не определён. StructuredProductType_SP_TYPE_DELIVERABLE StructuredProductType = 1 //Поставочный. StructuredProductType_SP_TYPE_NON_DELIVERABLE StructuredProductType = 2 //Беспоставочный. )
func (StructuredProductType) Descriptor ¶
func (StructuredProductType) Descriptor() protoreflect.EnumDescriptor
func (StructuredProductType) Enum ¶
func (x StructuredProductType) Enum() *StructuredProductType
func (StructuredProductType) EnumDescriptor
deprecated
func (StructuredProductType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StructuredProductType.Descriptor instead.
func (StructuredProductType) Number ¶
func (x StructuredProductType) Number() protoreflect.EnumNumber
func (StructuredProductType) String ¶
func (x StructuredProductType) String() string
func (StructuredProductType) Type ¶
func (StructuredProductType) Type() protoreflect.EnumType
type SubscribeCandlesRequest ¶
type SubscribeCandlesRequest struct { SubscriptionAction SubscriptionAction `` //Изменение статуса подписки. /* 178-byte string literal not displayed */ Instruments []*CandleInstrument `protobuf:"bytes,2,rep,name=instruments,proto3" json:"instruments,omitempty"` //Массив инструментов для подписки на свечи. WaitingClose bool `protobuf:"varint,3,opt,name=waiting_close,json=waitingClose,proto3" json:"waiting_close,omitempty"` //Флаг ожидания закрытия временного интервала для отправки свечи, применяется только для минутных свечей. // 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) GetWaitingClose ¶
func (x *SubscribeCandlesRequest) GetWaitingClose() bool
func (*SubscribeCandlesRequest) ProtoMessage ¶
func (*SubscribeCandlesRequest) ProtoMessage()
func (*SubscribeCandlesRequest) ProtoReflect ¶
func (x *SubscribeCandlesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeCandlesRequest) Reset ¶
func (x *SubscribeCandlesRequest) Reset()
func (*SubscribeCandlesRequest) String ¶
func (x *SubscribeCandlesRequest) String() string
type SubscribeCandlesResponse ¶
type SubscribeCandlesResponse struct { TrackingId string `protobuf:"bytes,1,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` //Уникальный идентификатор запроса, подробнее: [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 (x *SubscribeLastPriceRequest) ProtoReflect() protoreflect.Message
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 (x *SubscribeLastPriceResponse) ProtoReflect() protoreflect.Message
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 (x *SubscribeOrderBookRequest) ProtoReflect() protoreflect.Message
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 (x *SubscribeOrderBookResponse) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (SubscriptionAction) Enum ¶
func (x SubscriptionAction) Enum() *SubscriptionAction
func (SubscriptionAction) EnumDescriptor
deprecated
func (SubscriptionAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubscriptionAction.Descriptor instead.
func (SubscriptionAction) Number ¶
func (x SubscriptionAction) Number() protoreflect.EnumNumber
func (SubscriptionAction) String ¶
func (x SubscriptionAction) String() string
func (SubscriptionAction) Type ¶
func (SubscriptionAction) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SubscriptionInterval) Enum ¶
func (x SubscriptionInterval) Enum() *SubscriptionInterval
func (SubscriptionInterval) EnumDescriptor
deprecated
func (SubscriptionInterval) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubscriptionInterval.Descriptor instead.
func (SubscriptionInterval) Number ¶
func (x SubscriptionInterval) Number() protoreflect.EnumNumber
func (SubscriptionInterval) String ¶
func (x SubscriptionInterval) String() string
func (SubscriptionInterval) Type ¶
func (SubscriptionInterval) Type() protoreflect.EnumType
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 //Внутренняя ошибка сервиса. SubscriptionStatus_SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS SubscriptionStatus = 8 //Превышен лимит на количество запросов на подписки в течение установленного отрезка времени )
func (SubscriptionStatus) Descriptor ¶
func (SubscriptionStatus) Descriptor() protoreflect.EnumDescriptor
func (SubscriptionStatus) Enum ¶
func (x SubscriptionStatus) Enum() *SubscriptionStatus
func (SubscriptionStatus) EnumDescriptor
deprecated
func (SubscriptionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubscriptionStatus.Descriptor instead.
func (SubscriptionStatus) Number ¶
func (x SubscriptionStatus) Number() protoreflect.EnumNumber
func (SubscriptionStatus) String ¶
func (x SubscriptionStatus) String() string
func (SubscriptionStatus) Type ¶
func (SubscriptionStatus) Type() protoreflect.EnumType
type Trade ¶
type Trade struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. Direction TradeDirection `` //Направление сделки. /* 130-byte string literal not displayed */ Price *Quotation `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` //Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/) Quantity int64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество лотов. Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` //Время сделки в часовом поясе UTC по времени биржи. InstrumentUid string `protobuf:"bytes,6,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Информация о сделке.
func (*Trade) Descriptor
deprecated
func (*Trade) GetDirection ¶
func (x *Trade) GetDirection() TradeDirection
func (*Trade) GetInstrumentUid ¶
func (*Trade) GetQuantity ¶
func (*Trade) GetTime ¶
func (x *Trade) GetTime() *timestamppb.Timestamp
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) ProtoReflect ¶
func (x *Trade) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x TradeDirection) Number() protoreflect.EnumNumber
func (TradeDirection) String ¶
func (x TradeDirection) String() string
func (TradeDirection) Type ¶
func (TradeDirection) Type() protoreflect.EnumType
type TradeInstrument ¶
type TradeInstrument struct { // Deprecated: Do not use. Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Deprecated Figi-идентификатор инструмента. Необходимо использовать instrument_id. InstrumentId string `protobuf:"bytes,2,opt,name=instrument_id,json=instrumentId,proto3" json:"instrument_id,omitempty"` //Идентификатор инструмента, принимает значение figi или instrument_uid // contains filtered or unexported fields }
Запрос подписки на поток обезличенных сделок.
func (*TradeInstrument) Descriptor
deprecated
func (*TradeInstrument) Descriptor() ([]byte, []int)
Deprecated: Use TradeInstrument.ProtoReflect.Descriptor instead.
func (*TradeInstrument) GetFigi
deprecated
func (x *TradeInstrument) GetFigi() string
Deprecated: Do not use.
func (*TradeInstrument) GetInstrumentId ¶
func (x *TradeInstrument) GetInstrumentId() string
func (*TradeInstrument) ProtoMessage ¶
func (*TradeInstrument) ProtoMessage()
func (*TradeInstrument) ProtoReflect ¶
func (x *TradeInstrument) ProtoReflect() protoreflect.Message
func (*TradeInstrument) Reset ¶
func (x *TradeInstrument) Reset()
func (*TradeInstrument) String ¶
func (x *TradeInstrument) String() string
type TradeSubscription ¶
type TradeSubscription struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. SubscriptionStatus SubscriptionStatus `` //Статус подписки. /* 178-byte string literal not displayed */ InstrumentUid string `protobuf:"bytes,3,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Статус подписки.
func (*TradeSubscription) Descriptor
deprecated
func (*TradeSubscription) Descriptor() ([]byte, []int)
Deprecated: Use TradeSubscription.ProtoReflect.Descriptor instead.
func (*TradeSubscription) GetFigi ¶
func (x *TradeSubscription) GetFigi() string
func (*TradeSubscription) GetInstrumentUid ¶
func (x *TradeSubscription) GetInstrumentUid() 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 *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // Дата. IsTradingDay bool `protobuf:"varint,2,opt,name=is_trading_day,json=isTradingDay,proto3" json:"is_trading_day,omitempty"` // Признак торгового дня на бирже. StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Время начала торгов по часовому поясу UTC. EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Время окончания торгов по часовому поясу UTC. OpeningAuctionStartTime *timestamppb.Timestamp `` // Время начала аукциона открытия в часовом поясе UTC. /* 134-byte string literal not displayed */ ClosingAuctionEndTime *timestamppb.Timestamp `` // Время окончания аукциона закрытия в часовом поясе UTC. /* 128-byte string literal not displayed */ EveningOpeningAuctionStartTime *timestamppb.Timestamp `` // Время начала аукциона открытия вечерней сессии в часовом поясе UTC. /* 157-byte string literal not displayed */ EveningStartTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=evening_start_time,json=eveningStartTime,proto3" json:"evening_start_time,omitempty"` // Время начала вечерней сессии в часовом поясе UTC. EveningEndTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=evening_end_time,json=eveningEndTime,proto3" json:"evening_end_time,omitempty"` // Время окончания вечерней сессии в часовом поясе UTC. ClearingStartTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=clearing_start_time,json=clearingStartTime,proto3" json:"clearing_start_time,omitempty"` // Время начала основного клиринга в часовом поясе UTC. ClearingEndTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=clearing_end_time,json=clearingEndTime,proto3" json:"clearing_end_time,omitempty"` // Время окончания основного клиринга в часовом поясе UTC. PremarketStartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=premarket_start_time,json=premarketStartTime,proto3" json:"premarket_start_time,omitempty"` // Время начала премаркета в часовом поясе UTC. PremarketEndTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=premarket_end_time,json=premarketEndTime,proto3" json:"premarket_end_time,omitempty"` // Время окончания премаркета в часовом поясе UTC. ClosingAuctionStartTime *timestamppb.Timestamp `` // Время начала аукциона закрытия в часовом поясе UTC. /* 135-byte string literal not displayed */ OpeningAuctionEndTime *timestamppb.Timestamp `` // Время окончания аукциона открытия в часовом поясе UTC. /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Информация о времени торгов.
func (*TradingDay) Descriptor
deprecated
func (*TradingDay) Descriptor() ([]byte, []int)
Deprecated: Use TradingDay.ProtoReflect.Descriptor instead.
func (*TradingDay) GetClearingEndTime ¶
func (x *TradingDay) GetClearingEndTime() *timestamppb.Timestamp
func (*TradingDay) GetClearingStartTime ¶
func (x *TradingDay) GetClearingStartTime() *timestamppb.Timestamp
func (*TradingDay) GetClosingAuctionEndTime ¶
func (x *TradingDay) GetClosingAuctionEndTime() *timestamppb.Timestamp
func (*TradingDay) GetClosingAuctionStartTime ¶
func (x *TradingDay) GetClosingAuctionStartTime() *timestamppb.Timestamp
func (*TradingDay) GetDate ¶
func (x *TradingDay) GetDate() *timestamppb.Timestamp
func (*TradingDay) GetEndTime ¶
func (x *TradingDay) GetEndTime() *timestamppb.Timestamp
func (*TradingDay) GetEveningEndTime ¶
func (x *TradingDay) GetEveningEndTime() *timestamppb.Timestamp
func (*TradingDay) GetEveningOpeningAuctionStartTime ¶
func (x *TradingDay) GetEveningOpeningAuctionStartTime() *timestamppb.Timestamp
func (*TradingDay) GetEveningStartTime ¶
func (x *TradingDay) GetEveningStartTime() *timestamppb.Timestamp
func (*TradingDay) GetIsTradingDay ¶
func (x *TradingDay) GetIsTradingDay() bool
func (*TradingDay) GetOpeningAuctionEndTime ¶
func (x *TradingDay) GetOpeningAuctionEndTime() *timestamppb.Timestamp
func (*TradingDay) GetOpeningAuctionStartTime ¶
func (x *TradingDay) GetOpeningAuctionStartTime() *timestamppb.Timestamp
func (*TradingDay) GetPremarketEndTime ¶
func (x *TradingDay) GetPremarketEndTime() *timestamppb.Timestamp
func (*TradingDay) GetPremarketStartTime ¶
func (x *TradingDay) GetPremarketStartTime() *timestamppb.Timestamp
func (*TradingDay) GetStartTime ¶
func (x *TradingDay) GetStartTime() *timestamppb.Timestamp
func (*TradingDay) ProtoMessage ¶
func (*TradingDay) ProtoMessage()
func (*TradingDay) ProtoReflect ¶
func (x *TradingDay) ProtoReflect() protoreflect.Message
func (*TradingDay) Reset ¶
func (x *TradingDay) Reset()
func (*TradingDay) String ¶
func (x *TradingDay) String() string
type 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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Начало периода по часовому поясу UTC. To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Окончание периода по часовому поясу UTC. // contains filtered or unexported fields }
Запрос расписания торгов.
func (*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 (x *TradingSchedulesRequest) GetFrom() *timestamppb.Timestamp
func (*TradingSchedulesRequest) GetTo ¶
func (x *TradingSchedulesRequest) GetTo() *timestamppb.Timestamp
func (*TradingSchedulesRequest) ProtoMessage ¶
func (*TradingSchedulesRequest) ProtoMessage()
func (*TradingSchedulesRequest) ProtoReflect ¶
func (x *TradingSchedulesRequest) ProtoReflect() protoreflect.Message
func (*TradingSchedulesRequest) Reset ¶
func (x *TradingSchedulesRequest) Reset()
func (*TradingSchedulesRequest) String ¶
func (x *TradingSchedulesRequest) String() string
type TradingSchedulesResponse ¶
type TradingSchedulesResponse struct { Exchanges []*TradingSchedule `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` // Список торговых площадок и режимов торгов. // contains filtered or unexported fields }
Список торговых площадок.
func (*TradingSchedulesResponse) Descriptor
deprecated
func (*TradingSchedulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TradingSchedulesResponse.ProtoReflect.Descriptor instead.
func (*TradingSchedulesResponse) GetExchanges ¶
func (x *TradingSchedulesResponse) GetExchanges() []*TradingSchedule
func (*TradingSchedulesResponse) ProtoMessage ¶
func (*TradingSchedulesResponse) ProtoMessage()
func (*TradingSchedulesResponse) ProtoReflect ¶
func (x *TradingSchedulesResponse) ProtoReflect() protoreflect.Message
func (*TradingSchedulesResponse) Reset ¶
func (x *TradingSchedulesResponse) Reset()
func (*TradingSchedulesResponse) String ¶
func (x *TradingSchedulesResponse) String() string
type TradingStatus ¶
type TradingStatus struct { Figi string `protobuf:"bytes,1,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатор инструмента. TradingStatus SecurityTradingStatus `` //Статус торговли инструментом. /* 166-byte string literal not displayed */ Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` //Время изменения торгового статуса в часовом поясе UTC. LimitOrderAvailableFlag bool `` //Признак доступности выставления лимитной заявки по инструменту. /* 135-byte string literal not displayed */ MarketOrderAvailableFlag bool `` //Признак доступности выставления рыночной заявки по инструменту. /* 138-byte string literal not displayed */ InstrumentUid string `protobuf:"bytes,6,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //Uid инструмента // contains filtered or unexported fields }
Пакет изменения торгового статуса.
func (*TradingStatus) Descriptor
deprecated
func (*TradingStatus) Descriptor() ([]byte, []int)
Deprecated: Use TradingStatus.ProtoReflect.Descriptor instead.
func (*TradingStatus) GetFigi ¶
func (x *TradingStatus) GetFigi() string
func (*TradingStatus) GetInstrumentUid ¶
func (x *TradingStatus) GetInstrumentUid() string
func (*TradingStatus) GetLimitOrderAvailableFlag ¶
func (x *TradingStatus) GetLimitOrderAvailableFlag() bool
func (*TradingStatus) GetMarketOrderAvailableFlag ¶
func (x *TradingStatus) GetMarketOrderAvailableFlag() bool
func (*TradingStatus) GetTime ¶
func (x *TradingStatus) GetTime() *timestamppb.Timestamp
func (*TradingStatus) GetTradingStatus ¶
func (x *TradingStatus) GetTradingStatus() SecurityTradingStatus
func (*TradingStatus) ProtoMessage ¶
func (*TradingStatus) ProtoMessage()
func (*TradingStatus) ProtoReflect ¶
func (x *TradingStatus) ProtoReflect() protoreflect.Message
func (*TradingStatus) Reset ¶
func (x *TradingStatus) Reset()
func (*TradingStatus) String ¶
func (x *TradingStatus) String() string
type 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) BondBy(context.Context, *InstrumentRequest) (*BondResponse, error)
func (UnimplementedInstrumentsServiceServer) Bonds ¶
func (UnimplementedInstrumentsServiceServer) Bonds(context.Context, *InstrumentsRequest) (*BondsResponse, error)
func (UnimplementedInstrumentsServiceServer) Currencies ¶
func (UnimplementedInstrumentsServiceServer) Currencies(context.Context, *InstrumentsRequest) (*CurrenciesResponse, error)
func (UnimplementedInstrumentsServiceServer) CurrencyBy ¶
func (UnimplementedInstrumentsServiceServer) CurrencyBy(context.Context, *InstrumentRequest) (*CurrencyResponse, error)
func (UnimplementedInstrumentsServiceServer) EditFavorites ¶
func (UnimplementedInstrumentsServiceServer) EditFavorites(context.Context, *EditFavoritesRequest) (*EditFavoritesResponse, error)
func (UnimplementedInstrumentsServiceServer) EtfBy ¶
func (UnimplementedInstrumentsServiceServer) EtfBy(context.Context, *InstrumentRequest) (*EtfResponse, error)
func (UnimplementedInstrumentsServiceServer) Etfs ¶
func (UnimplementedInstrumentsServiceServer) Etfs(context.Context, *InstrumentsRequest) (*EtfsResponse, error)
func (UnimplementedInstrumentsServiceServer) FindInstrument ¶
func (UnimplementedInstrumentsServiceServer) FindInstrument(context.Context, *FindInstrumentRequest) (*FindInstrumentResponse, error)
func (UnimplementedInstrumentsServiceServer) FutureBy ¶
func (UnimplementedInstrumentsServiceServer) FutureBy(context.Context, *InstrumentRequest) (*FutureResponse, error)
func (UnimplementedInstrumentsServiceServer) Futures ¶
func (UnimplementedInstrumentsServiceServer) Futures(context.Context, *InstrumentsRequest) (*FuturesResponse, error)
func (UnimplementedInstrumentsServiceServer) GetAccruedInterests ¶
func (UnimplementedInstrumentsServiceServer) GetAccruedInterests(context.Context, *GetAccruedInterestsRequest) (*GetAccruedInterestsResponse, error)
func (UnimplementedInstrumentsServiceServer) GetAssetBy ¶
func (UnimplementedInstrumentsServiceServer) GetAssetBy(context.Context, *AssetRequest) (*AssetResponse, error)
func (UnimplementedInstrumentsServiceServer) GetAssets ¶
func (UnimplementedInstrumentsServiceServer) GetAssets(context.Context, *AssetsRequest) (*AssetsResponse, error)
func (UnimplementedInstrumentsServiceServer) GetBondCoupons ¶
func (UnimplementedInstrumentsServiceServer) GetBondCoupons(context.Context, *GetBondCouponsRequest) (*GetBondCouponsResponse, error)
func (UnimplementedInstrumentsServiceServer) GetBrandBy ¶
func (UnimplementedInstrumentsServiceServer) GetBrandBy(context.Context, *GetBrandRequest) (*Brand, error)
func (UnimplementedInstrumentsServiceServer) GetBrands ¶
func (UnimplementedInstrumentsServiceServer) GetBrands(context.Context, *GetBrandsRequest) (*GetBrandsResponse, error)
func (UnimplementedInstrumentsServiceServer) GetCountries ¶
func (UnimplementedInstrumentsServiceServer) GetCountries(context.Context, *GetCountriesRequest) (*GetCountriesResponse, error)
func (UnimplementedInstrumentsServiceServer) GetDividends ¶
func (UnimplementedInstrumentsServiceServer) GetDividends(context.Context, *GetDividendsRequest) (*GetDividendsResponse, error)
func (UnimplementedInstrumentsServiceServer) GetFavorites ¶
func (UnimplementedInstrumentsServiceServer) GetFavorites(context.Context, *GetFavoritesRequest) (*GetFavoritesResponse, error)
func (UnimplementedInstrumentsServiceServer) GetFuturesMargin ¶
func (UnimplementedInstrumentsServiceServer) GetFuturesMargin(context.Context, *GetFuturesMarginRequest) (*GetFuturesMarginResponse, error)
func (UnimplementedInstrumentsServiceServer) GetInstrumentBy ¶
func (UnimplementedInstrumentsServiceServer) GetInstrumentBy(context.Context, *InstrumentRequest) (*InstrumentResponse, error)
func (UnimplementedInstrumentsServiceServer) OptionBy ¶
func (UnimplementedInstrumentsServiceServer) OptionBy(context.Context, *InstrumentRequest) (*OptionResponse, error)
func (UnimplementedInstrumentsServiceServer) Options ¶
func (UnimplementedInstrumentsServiceServer) Options(context.Context, *InstrumentsRequest) (*OptionsResponse, error)
func (UnimplementedInstrumentsServiceServer) OptionsBy ¶
func (UnimplementedInstrumentsServiceServer) OptionsBy(context.Context, *FilterOptionsRequest) (*OptionsResponse, error)
func (UnimplementedInstrumentsServiceServer) ShareBy ¶
func (UnimplementedInstrumentsServiceServer) ShareBy(context.Context, *InstrumentRequest) (*ShareResponse, error)
func (UnimplementedInstrumentsServiceServer) Shares ¶
func (UnimplementedInstrumentsServiceServer) Shares(context.Context, *InstrumentsRequest) (*SharesResponse, error)
func (UnimplementedInstrumentsServiceServer) TradingSchedules ¶
func (UnimplementedInstrumentsServiceServer) TradingSchedules(context.Context, *TradingSchedulesRequest) (*TradingSchedulesResponse, error)
type UnimplementedMarketDataServiceServer ¶
type UnimplementedMarketDataServiceServer struct { }
UnimplementedMarketDataServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMarketDataServiceServer) GetCandles ¶
func (UnimplementedMarketDataServiceServer) GetCandles(context.Context, *GetCandlesRequest) (*GetCandlesResponse, error)
func (UnimplementedMarketDataServiceServer) GetClosePrices ¶
func (UnimplementedMarketDataServiceServer) GetClosePrices(context.Context, *GetClosePricesRequest) (*GetClosePricesResponse, error)
func (UnimplementedMarketDataServiceServer) GetLastPrices ¶
func (UnimplementedMarketDataServiceServer) GetLastPrices(context.Context, *GetLastPricesRequest) (*GetLastPricesResponse, error)
func (UnimplementedMarketDataServiceServer) GetLastTrades ¶
func (UnimplementedMarketDataServiceServer) GetLastTrades(context.Context, *GetLastTradesRequest) (*GetLastTradesResponse, error)
func (UnimplementedMarketDataServiceServer) GetOrderBook ¶
func (UnimplementedMarketDataServiceServer) GetOrderBook(context.Context, *GetOrderBookRequest) (*GetOrderBookResponse, error)
func (UnimplementedMarketDataServiceServer) GetTradingStatus ¶
func (UnimplementedMarketDataServiceServer) GetTradingStatus(context.Context, *GetTradingStatusRequest) (*GetTradingStatusResponse, error)
func (UnimplementedMarketDataServiceServer) GetTradingStatuses ¶
func (UnimplementedMarketDataServiceServer) GetTradingStatuses(context.Context, *GetTradingStatusesRequest) (*GetTradingStatusesResponse, error)
type UnimplementedMarketDataStreamServiceServer ¶
type UnimplementedMarketDataStreamServiceServer struct { }
UnimplementedMarketDataStreamServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMarketDataStreamServiceServer) MarketDataServerSideStream ¶
func (UnimplementedMarketDataStreamServiceServer) MarketDataServerSideStream(*MarketDataServerSideStreamRequest, MarketDataStreamService_MarketDataServerSideStreamServer) error
func (UnimplementedMarketDataStreamServiceServer) MarketDataStream ¶
func (UnimplementedMarketDataStreamServiceServer) MarketDataStream(MarketDataStreamService_MarketDataStreamServer) error
type UnimplementedOperationsServiceServer ¶
type UnimplementedOperationsServiceServer struct { }
UnimplementedOperationsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOperationsServiceServer) GetBrokerReport ¶
func (UnimplementedOperationsServiceServer) GetBrokerReport(context.Context, *BrokerReportRequest) (*BrokerReportResponse, error)
func (UnimplementedOperationsServiceServer) GetDividendsForeignIssuer ¶
func (UnimplementedOperationsServiceServer) GetDividendsForeignIssuer(context.Context, *GetDividendsForeignIssuerRequest) (*GetDividendsForeignIssuerResponse, error)
func (UnimplementedOperationsServiceServer) GetOperations ¶
func (UnimplementedOperationsServiceServer) GetOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
func (UnimplementedOperationsServiceServer) GetOperationsByCursor ¶
func (UnimplementedOperationsServiceServer) GetOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error)
func (UnimplementedOperationsServiceServer) GetPortfolio ¶
func (UnimplementedOperationsServiceServer) GetPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
func (UnimplementedOperationsServiceServer) GetPositions ¶
func (UnimplementedOperationsServiceServer) GetPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
func (UnimplementedOperationsServiceServer) GetWithdrawLimits ¶
func (UnimplementedOperationsServiceServer) GetWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error)
type UnimplementedOperationsStreamServiceServer ¶
type UnimplementedOperationsStreamServiceServer struct { }
UnimplementedOperationsStreamServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOperationsStreamServiceServer) PortfolioStream ¶
func (UnimplementedOperationsStreamServiceServer) PortfolioStream(*PortfolioStreamRequest, OperationsStreamService_PortfolioStreamServer) error
func (UnimplementedOperationsStreamServiceServer) PositionsStream ¶
func (UnimplementedOperationsStreamServiceServer) PositionsStream(*PositionsStreamRequest, OperationsStreamService_PositionsStreamServer) error
type UnimplementedOrdersServiceServer ¶
type UnimplementedOrdersServiceServer struct { }
UnimplementedOrdersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrdersServiceServer) CancelOrder ¶
func (UnimplementedOrdersServiceServer) CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
func (UnimplementedOrdersServiceServer) GetOrderState ¶
func (UnimplementedOrdersServiceServer) GetOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
func (UnimplementedOrdersServiceServer) GetOrders ¶
func (UnimplementedOrdersServiceServer) GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
func (UnimplementedOrdersServiceServer) PostOrder ¶
func (UnimplementedOrdersServiceServer) PostOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error)
func (UnimplementedOrdersServiceServer) ReplaceOrder ¶
func (UnimplementedOrdersServiceServer) ReplaceOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error)
type UnimplementedOrdersStreamServiceServer ¶
type UnimplementedOrdersStreamServiceServer struct { }
UnimplementedOrdersStreamServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrdersStreamServiceServer) TradesStream ¶
func (UnimplementedOrdersStreamServiceServer) TradesStream(*TradesStreamRequest, OrdersStreamService_TradesStreamServer) error
type UnimplementedSandboxServiceServer ¶
type UnimplementedSandboxServiceServer struct { }
UnimplementedSandboxServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSandboxServiceServer) CancelSandboxOrder ¶
func (UnimplementedSandboxServiceServer) CancelSandboxOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
func (UnimplementedSandboxServiceServer) CloseSandboxAccount ¶
func (UnimplementedSandboxServiceServer) CloseSandboxAccount(context.Context, *CloseSandboxAccountRequest) (*CloseSandboxAccountResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxAccounts ¶
func (UnimplementedSandboxServiceServer) GetSandboxAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxOperations ¶
func (UnimplementedSandboxServiceServer) GetSandboxOperations(context.Context, *OperationsRequest) (*OperationsResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxOperationsByCursor ¶
func (UnimplementedSandboxServiceServer) GetSandboxOperationsByCursor(context.Context, *GetOperationsByCursorRequest) (*GetOperationsByCursorResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxOrderState ¶
func (UnimplementedSandboxServiceServer) GetSandboxOrderState(context.Context, *GetOrderStateRequest) (*OrderState, error)
func (UnimplementedSandboxServiceServer) GetSandboxOrders ¶
func (UnimplementedSandboxServiceServer) GetSandboxOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxPortfolio ¶
func (UnimplementedSandboxServiceServer) GetSandboxPortfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxPositions ¶
func (UnimplementedSandboxServiceServer) GetSandboxPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
func (UnimplementedSandboxServiceServer) GetSandboxWithdrawLimits ¶
func (UnimplementedSandboxServiceServer) GetSandboxWithdrawLimits(context.Context, *WithdrawLimitsRequest) (*WithdrawLimitsResponse, error)
func (UnimplementedSandboxServiceServer) OpenSandboxAccount ¶
func (UnimplementedSandboxServiceServer) OpenSandboxAccount(context.Context, *OpenSandboxAccountRequest) (*OpenSandboxAccountResponse, error)
func (UnimplementedSandboxServiceServer) PostSandboxOrder ¶
func (UnimplementedSandboxServiceServer) PostSandboxOrder(context.Context, *PostOrderRequest) (*PostOrderResponse, error)
func (UnimplementedSandboxServiceServer) ReplaceSandboxOrder ¶
func (UnimplementedSandboxServiceServer) ReplaceSandboxOrder(context.Context, *ReplaceOrderRequest) (*PostOrderResponse, error)
func (UnimplementedSandboxServiceServer) SandboxPayIn ¶
func (UnimplementedSandboxServiceServer) SandboxPayIn(context.Context, *SandboxPayInRequest) (*SandboxPayInResponse, error)
type UnimplementedStopOrdersServiceServer ¶
type UnimplementedStopOrdersServiceServer struct { }
UnimplementedStopOrdersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedStopOrdersServiceServer) CancelStopOrder ¶
func (UnimplementedStopOrdersServiceServer) CancelStopOrder(context.Context, *CancelStopOrderRequest) (*CancelStopOrderResponse, error)
func (UnimplementedStopOrdersServiceServer) GetStopOrders ¶
func (UnimplementedStopOrdersServiceServer) GetStopOrders(context.Context, *GetStopOrdersRequest) (*GetStopOrdersResponse, error)
func (UnimplementedStopOrdersServiceServer) PostStopOrder ¶
func (UnimplementedStopOrdersServiceServer) PostStopOrder(context.Context, *PostStopOrderRequest) (*PostStopOrderResponse, error)
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct { }
UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUsersServiceServer) GetAccounts ¶
func (UnimplementedUsersServiceServer) GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
func (UnimplementedUsersServiceServer) GetInfo ¶
func (UnimplementedUsersServiceServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedUsersServiceServer) GetMarginAttributes ¶
func (UnimplementedUsersServiceServer) GetMarginAttributes(context.Context, *GetMarginAttributesRequest) (*GetMarginAttributesResponse, error)
func (UnimplementedUsersServiceServer) GetUserTariff ¶
func (UnimplementedUsersServiceServer) GetUserTariff(context.Context, *GetUserTariffRequest) (*GetUserTariffResponse, error)
type UnsafeInstrumentsServiceServer ¶
type UnsafeInstrumentsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInstrumentsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstrumentsServiceServer will result in compilation errors.
type UnsafeMarketDataServiceServer ¶
type UnsafeMarketDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMarketDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MarketDataServiceServer will result in compilation errors.
type UnsafeMarketDataStreamServiceServer ¶
type UnsafeMarketDataStreamServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMarketDataStreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MarketDataStreamServiceServer will result in compilation errors.
type UnsafeOperationsServiceServer ¶
type UnsafeOperationsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOperationsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationsServiceServer will result in compilation errors.
type UnsafeOperationsStreamServiceServer ¶
type UnsafeOperationsStreamServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOperationsStreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationsStreamServiceServer will result in compilation errors.
type UnsafeOrdersServiceServer ¶
type UnsafeOrdersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrdersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrdersServiceServer will result in compilation errors.
type UnsafeOrdersStreamServiceServer ¶
type UnsafeOrdersStreamServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrdersStreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrdersStreamServiceServer will result in compilation errors.
type UnsafeSandboxServiceServer ¶
type UnsafeSandboxServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSandboxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SandboxServiceServer will result in compilation errors.
type 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.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc grpc.ClientConnInterface) UsersServiceClient
type UsersServiceServer ¶
type UsersServiceServer interface { // Метод получения счетов пользователя. GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error) // Расчёт маржинальных показателей по счёту. GetMarginAttributes(context.Context, *GetMarginAttributesRequest) (*GetMarginAttributesResponse, error) // Запрос тарифа пользователя. GetUserTariff(context.Context, *GetUserTariffRequest) (*GetUserTariffResponse, error) // Метод получения информации о пользователе. GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) // contains filtered or unexported methods }
UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility
type VirtualPortfolioPosition ¶
type VirtualPortfolioPosition struct { PositionUid string `protobuf:"bytes,1,opt,name=position_uid,json=positionUid,proto3" json:"position_uid,omitempty"` //position_uid-идентификатора инструмента InstrumentUid string `protobuf:"bytes,2,opt,name=instrument_uid,json=instrumentUid,proto3" json:"instrument_uid,omitempty"` //instrument_uid-идентификатора инструмента Figi string `protobuf:"bytes,3,opt,name=figi,proto3" json:"figi,omitempty"` //Figi-идентификатора инструмента. InstrumentType string `protobuf:"bytes,4,opt,name=instrument_type,json=instrumentType,proto3" json:"instrument_type,omitempty"` //Тип инструмента. Quantity *Quotation `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"` //Количество инструмента в портфеле в штуках. AveragePositionPrice *MoneyValue `protobuf:"bytes,6,opt,name=average_position_price,json=averagePositionPrice,proto3" json:"average_position_price,omitempty"` //Средневзвешенная цена позиции. **Возможна задержка до секунды для пересчёта**. ExpectedYield *Quotation `protobuf:"bytes,7,opt,name=expected_yield,json=expectedYield,proto3" json:"expected_yield,omitempty"` //Текущая рассчитанная доходность позиции. ExpectedYieldFifo *Quotation `protobuf:"bytes,8,opt,name=expected_yield_fifo,json=expectedYieldFifo,proto3" json:"expected_yield_fifo,omitempty"` //Текущая рассчитанная доходность позиции. ExpireDate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` //Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит" CurrentPrice *MoneyValue `protobuf:"bytes,10,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"` //Текущая цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. AveragePositionPriceFifo *MoneyValue `` //Средняя цена позиции по методу FIFO. **Возможна задержка до секунды для пересчёта**. /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VirtualPortfolioPosition) Descriptor
deprecated
func (*VirtualPortfolioPosition) Descriptor() ([]byte, []int)
Deprecated: Use VirtualPortfolioPosition.ProtoReflect.Descriptor instead.
func (*VirtualPortfolioPosition) GetAveragePositionPrice ¶
func (x *VirtualPortfolioPosition) GetAveragePositionPrice() *MoneyValue
func (*VirtualPortfolioPosition) GetAveragePositionPriceFifo ¶
func (x *VirtualPortfolioPosition) GetAveragePositionPriceFifo() *MoneyValue
func (*VirtualPortfolioPosition) GetCurrentPrice ¶
func (x *VirtualPortfolioPosition) GetCurrentPrice() *MoneyValue
func (*VirtualPortfolioPosition) GetExpectedYield ¶
func (x *VirtualPortfolioPosition) GetExpectedYield() *Quotation
func (*VirtualPortfolioPosition) GetExpectedYieldFifo ¶
func (x *VirtualPortfolioPosition) GetExpectedYieldFifo() *Quotation
func (*VirtualPortfolioPosition) GetExpireDate ¶
func (x *VirtualPortfolioPosition) GetExpireDate() *timestamppb.Timestamp
func (*VirtualPortfolioPosition) GetFigi ¶
func (x *VirtualPortfolioPosition) GetFigi() string
func (*VirtualPortfolioPosition) GetInstrumentType ¶
func (x *VirtualPortfolioPosition) GetInstrumentType() string
func (*VirtualPortfolioPosition) GetInstrumentUid ¶
func (x *VirtualPortfolioPosition) GetInstrumentUid() string
func (*VirtualPortfolioPosition) GetPositionUid ¶
func (x *VirtualPortfolioPosition) GetPositionUid() string
func (*VirtualPortfolioPosition) GetQuantity ¶
func (x *VirtualPortfolioPosition) GetQuantity() *Quotation
func (*VirtualPortfolioPosition) ProtoMessage ¶
func (*VirtualPortfolioPosition) ProtoMessage()
func (*VirtualPortfolioPosition) ProtoReflect ¶
func (x *VirtualPortfolioPosition) ProtoReflect() protoreflect.Message
func (*VirtualPortfolioPosition) Reset ¶
func (x *VirtualPortfolioPosition) Reset()
func (*VirtualPortfolioPosition) String ¶
func (x *VirtualPortfolioPosition) String() string
type WithdrawLimitsRequest ¶
type WithdrawLimitsRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //Идентификатор счёта пользователя. // contains filtered or unexported fields }
Запрос доступного для вывода остатка.
func (*WithdrawLimitsRequest) Descriptor
deprecated
func (*WithdrawLimitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawLimitsRequest.ProtoReflect.Descriptor instead.
func (*WithdrawLimitsRequest) GetAccountId ¶
func (x *WithdrawLimitsRequest) GetAccountId() string
func (*WithdrawLimitsRequest) ProtoMessage ¶
func (*WithdrawLimitsRequest) ProtoMessage()
func (*WithdrawLimitsRequest) ProtoReflect ¶
func (x *WithdrawLimitsRequest) ProtoReflect() protoreflect.Message
func (*WithdrawLimitsRequest) Reset ¶
func (x *WithdrawLimitsRequest) Reset()
func (*WithdrawLimitsRequest) String ¶
func (x *WithdrawLimitsRequest) String() string
type WithdrawLimitsResponse ¶
type WithdrawLimitsResponse struct { Money []*MoneyValue `protobuf:"bytes,1,rep,name=money,proto3" json:"money,omitempty"` //Массив валютных позиций портфеля. Blocked []*MoneyValue `protobuf:"bytes,2,rep,name=blocked,proto3" json:"blocked,omitempty"` //Массив заблокированных валютных позиций портфеля. BlockedGuarantee []*MoneyValue `protobuf:"bytes,3,rep,name=blocked_guarantee,json=blockedGuarantee,proto3" json:"blocked_guarantee,omitempty"` //Заблокировано под гарантийное обеспечение фьючерсов. // contains filtered or unexported fields }
Доступный для вывода остаток.
func (*WithdrawLimitsResponse) Descriptor
deprecated
func (*WithdrawLimitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawLimitsResponse.ProtoReflect.Descriptor instead.
func (*WithdrawLimitsResponse) GetBlocked ¶
func (x *WithdrawLimitsResponse) GetBlocked() []*MoneyValue
func (*WithdrawLimitsResponse) GetBlockedGuarantee ¶
func (x *WithdrawLimitsResponse) GetBlockedGuarantee() []*MoneyValue
func (*WithdrawLimitsResponse) GetMoney ¶
func (x *WithdrawLimitsResponse) GetMoney() []*MoneyValue
func (*WithdrawLimitsResponse) ProtoMessage ¶
func (*WithdrawLimitsResponse) ProtoMessage()
func (*WithdrawLimitsResponse) ProtoReflect ¶
func (x *WithdrawLimitsResponse) ProtoReflect() protoreflect.Message
func (*WithdrawLimitsResponse) Reset ¶
func (x *WithdrawLimitsResponse) Reset()
func (*WithdrawLimitsResponse) String ¶
func (x *WithdrawLimitsResponse) String() string