# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: t_tech/invest/grpc/marketdata.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import (
    descriptor as _descriptor,
    descriptor_pool as _descriptor_pool,
    symbol_database as _symbol_database,
)
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2

from t_tech.invest.grpc import common_pb2 as t__tech_dot_invest_dot_grpc_dot_common__pb2
from t_tech.invest.grpc.google.api import (
    field_behavior_pb2 as t__tech_dot_invest_dot_grpc_dot_google_dot_api_dot_field__behavior__pb2,
)

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#t_tech/invest/grpc/marketdata.proto\x12%tinkoff.public.invest.api.contract.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ft_tech/invest/grpc/common.proto\x1a\x32t_tech/invest/grpc/google/api/field_behavior.proto\"\x8b\x06\n\x11MarketDataRequest\x12\x63\n\x19subscribe_candles_request\x18\x01 \x01(\x0b\x32>.tinkoff.public.invest.api.contract.v1.SubscribeCandlesRequestH\x00\x12h\n\x1csubscribe_order_book_request\x18\x02 \x01(\x0b\x32@.tinkoff.public.invest.api.contract.v1.SubscribeOrderBookRequestH\x00\x12\x61\n\x18subscribe_trades_request\x18\x03 \x01(\x0b\x32=.tinkoff.public.invest.api.contract.v1.SubscribeTradesRequestH\x00\x12]\n\x16subscribe_info_request\x18\x04 \x01(\x0b\x32;.tinkoff.public.invest.api.contract.v1.SubscribeInfoRequestH\x00\x12h\n\x1csubscribe_last_price_request\x18\x05 \x01(\x0b\x32@.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceRequestH\x00\x12Y\n\x14get_my_subscriptions\x18\x06 \x01(\x0b\x32\x39.tinkoff.public.invest.api.contract.v1.GetMySubscriptionsH\x00\x12\x42\n\x04ping\x18\x07 \x01(\x0b\x32\x32.tinkoff.public.invest.api.contract.v1.PingRequestH\x00\x12Q\n\rping_settings\x18\x0f \x01(\x0b\x32\x38.tinkoff.public.invest.api.contract.v1.PingDelaySettingsH\x00\x42\t\n\x07payload\"\xe5\x04\n!MarketDataServerSideStreamRequest\x12\x61\n\x19subscribe_candles_request\x18\x01 \x01(\x0b\x32>.tinkoff.public.invest.api.contract.v1.SubscribeCandlesRequest\x12\x66\n\x1csubscribe_order_book_request\x18\x02 \x01(\x0b\x32@.tinkoff.public.invest.api.contract.v1.SubscribeOrderBookRequest\x12_\n\x18subscribe_trades_request\x18\x03 \x01(\x0b\x32=.tinkoff.public.invest.api.contract.v1.SubscribeTradesRequest\x12[\n\x16subscribe_info_request\x18\x04 \x01(\x0b\x32;.tinkoff.public.invest.api.contract.v1.SubscribeInfoRequest\x12\x66\n\x1csubscribe_last_price_request\x18\x05 \x01(\x0b\x32@.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceRequest\x12O\n\rping_settings\x18\x0f \x01(\x0b\x32\x38.tinkoff.public.invest.api.contract.v1.PingDelaySettings\"\x8e\x08\n\x12MarketDataResponse\x12\x65\n\x1asubscribe_candles_response\x18\x01 \x01(\x0b\x32?.tinkoff.public.invest.api.contract.v1.SubscribeCandlesResponseH\x00\x12j\n\x1dsubscribe_order_book_response\x18\x02 \x01(\x0b\x32\x41.tinkoff.public.invest.api.contract.v1.SubscribeOrderBookResponseH\x00\x12\x63\n\x19subscribe_trades_response\x18\x03 \x01(\x0b\x32>.tinkoff.public.invest.api.contract.v1.SubscribeTradesResponseH\x00\x12_\n\x17subscribe_info_response\x18\x04 \x01(\x0b\x32<.tinkoff.public.invest.api.contract.v1.SubscribeInfoResponseH\x00\x12?\n\x06\x63\x61ndle\x18\x05 \x01(\x0b\x32-.tinkoff.public.invest.api.contract.v1.CandleH\x00\x12=\n\x05trade\x18\x06 \x01(\x0b\x32,.tinkoff.public.invest.api.contract.v1.TradeH\x00\x12\x45\n\torderbook\x18\x07 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.OrderBookH\x00\x12N\n\x0etrading_status\x18\x08 \x01(\x0b\x32\x34.tinkoff.public.invest.api.contract.v1.TradingStatusH\x00\x12;\n\x04ping\x18\t \x01(\x0b\x32+.tinkoff.public.invest.api.contract.v1.PingH\x00\x12j\n\x1dsubscribe_last_price_response\x18\n \x01(\x0b\x32\x41.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceResponseH\x00\x12\x46\n\nlast_price\x18\x0b \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.LastPriceH\x00\x12L\n\ropen_interest\x18\x0c \x01(\x0b\x32\x33.tinkoff.public.invest.api.contract.v1.OpenInterestH\x00\x42\t\n\x07payload\"\xd5\x02\n\x17SubscribeCandlesRequest\x12V\n\x13subscription_action\x18\x01 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12L\n\x0binstruments\x18\x02 \x03(\x0b\x32\x37.tinkoff.public.invest.api.contract.v1.CandleInstrument\x12\x15\n\rwaiting_close\x18\x03 \x01(\x08\x12\x66\n\x12\x63\x61ndle_source_type\x18\t \x01(\x0e\x32\x45.tinkoff.public.invest.api.contract.v1.GetCandlesRequest.CandleSourceH\x00\x88\x01\x01\x42\x15\n\x13_candle_source_type\"\x8a\x01\n\x10\x43\x61ndleInstrument\x12\x10\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01\x12M\n\x08interval\x18\x02 \x01(\x0e\x32;.tinkoff.public.invest.api.contract.v1.SubscriptionInterval\x12\x15\n\rinstrument_id\x18\x03 \x01(\t\"\x89\x01\n\x18SubscribeCandlesResponse\x12\x13\n\x0btracking_id\x18\x01 \x01(\t\x12X\n\x15\x63\x61ndles_subscriptions\x18\x02 \x03(\x0b\x32\x39.tinkoff.public.invest.api.contract.v1.CandleSubscription\"\x9f\x04\n\x12\x43\x61ndleSubscription\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12M\n\x08interval\x18\x02 \x01(\x0e\x32;.tinkoff.public.invest.api.contract.v1.SubscriptionInterval\x12V\n\x13subscription_status\x18\x03 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionStatus\x12\x16\n\x0einstrument_uid\x18\x04 \x01(\t\x12\x15\n\rwaiting_close\x18\x05 \x01(\x08\x12\x11\n\tstream_id\x18\x06 \x01(\t\x12\x17\n\x0fsubscription_id\x18\x07 \x01(\t\x12V\n\x13subscription_action\x18\x08 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12\x66\n\x12\x63\x61ndle_source_type\x18\t \x01(\x0e\x32\x45.tinkoff.public.invest.api.contract.v1.GetCandlesRequest.CandleSourceH\x00\x88\x01\x01\x12\x0e\n\x06ticker\x18\n \x01(\t\x12\x12\n\nclass_code\x18\x0b \x01(\tB\x15\n\x13_candle_source_type\"\xc4\x01\n\x19SubscribeOrderBookRequest\x12V\n\x13subscription_action\x18\x01 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12O\n\x0binstruments\x18\x02 \x03(\x0b\x32:.tinkoff.public.invest.api.contract.v1.OrderBookInstrument\"\x9c\x01\n\x13OrderBookInstrument\x12\x10\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\x05\x12\x15\n\rinstrument_id\x18\x03 \x01(\t\x12M\n\x0forder_book_type\x18\x04 \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.OrderBookType\"\x91\x01\n\x1aSubscribeOrderBookResponse\x12\x13\n\x0btracking_id\x18\x01 \x01(\t\x12^\n\x18order_book_subscriptions\x18\x02 \x03(\x0b\x32<.tinkoff.public.invest.api.contract.v1.OrderBookSubscription\"\x9b\x03\n\x15OrderBookSubscription\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\x05\x12V\n\x13subscription_status\x18\x03 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionStatus\x12\x16\n\x0einstrument_uid\x18\x04 \x01(\t\x12\x11\n\tstream_id\x18\x05 \x01(\t\x12\x17\n\x0fsubscription_id\x18\x06 \x01(\t\x12M\n\x0forder_book_type\x18\x07 \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.OrderBookType\x12V\n\x13subscription_action\x18\x08 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12\x0e\n\x06ticker\x18\t \x01(\t\x12\x12\n\nclass_code\x18\n \x01(\t\"\xa7\x02\n\x16SubscribeTradesRequest\x12V\n\x13subscription_action\x18\x01 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12K\n\x0binstruments\x18\x02 \x03(\x0b\x32\x36.tinkoff.public.invest.api.contract.v1.TradeInstrument\x12L\n\x0ctrade_source\x18\x03 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.TradeSourceType\x12\x1a\n\x12with_open_interest\x18\x04 \x01(\x08\":\n\x0fTradeInstrument\x12\x10\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01\x12\x15\n\rinstrument_id\x18\x02 \x01(\t\"\xd3\x01\n\x17SubscribeTradesResponse\x12\x13\n\x0btracking_id\x18\x01 \x01(\t\x12U\n\x13trade_subscriptions\x18\x02 \x03(\x0b\x32\x38.tinkoff.public.invest.api.contract.v1.TradeSubscription\x12L\n\x0ctrade_source\x18\x03 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.TradeSourceType\"\xd5\x02\n\x11TradeSubscription\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12V\n\x13subscription_status\x18\x02 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionStatus\x12\x16\n\x0einstrument_uid\x18\x03 \x01(\t\x12\x11\n\tstream_id\x18\x04 \x01(\t\x12\x17\n\x0fsubscription_id\x18\x05 \x01(\t\x12\x1a\n\x12with_open_interest\x18\x06 \x01(\x08\x12V\n\x13subscription_action\x18\x07 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12\x0e\n\x06ticker\x18\x08 \x01(\t\x12\x12\n\nclass_code\x18\t \x01(\t\"\xba\x01\n\x14SubscribeInfoRequest\x12V\n\x13subscription_action\x18\x01 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12J\n\x0binstruments\x18\x02 \x03(\x0b\x32\x35.tinkoff.public.invest.api.contract.v1.InfoInstrument\"9\n\x0eInfoInstrument\x12\x10\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01\x12\x15\n\rinstrument_id\x18\x02 \x01(\t\"\x81\x01\n\x15SubscribeInfoResponse\x12\x13\n\x0btracking_id\x18\x01 \x01(\t\x12S\n\x12info_subscriptions\x18\x02 \x03(\x0b\x32\x37.tinkoff.public.invest.api.contract.v1.InfoSubscription\"\xb8\x02\n\x10InfoSubscription\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12V\n\x13subscription_status\x18\x02 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionStatus\x12\x16\n\x0einstrument_uid\x18\x03 \x01(\t\x12\x11\n\tstream_id\x18\x04 \x01(\t\x12\x17\n\x0fsubscription_id\x18\x05 \x01(\t\x12V\n\x13subscription_action\x18\x06 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12\x0e\n\x06ticker\x18\x07 \x01(\t\x12\x12\n\nclass_code\x18\x08 \x01(\t\"\xc4\x01\n\x19SubscribeLastPriceRequest\x12V\n\x13subscription_action\x18\x01 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12O\n\x0binstruments\x18\x02 \x03(\x0b\x32:.tinkoff.public.invest.api.contract.v1.LastPriceInstrument\">\n\x13LastPriceInstrument\x12\x10\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01\x12\x15\n\rinstrument_id\x18\x02 \x01(\t\"\x91\x01\n\x1aSubscribeLastPriceResponse\x12\x13\n\x0btracking_id\x18\x01 \x01(\t\x12^\n\x18last_price_subscriptions\x18\x02 \x03(\x0b\x32<.tinkoff.public.invest.api.contract.v1.LastPriceSubscription\"\xbd\x02\n\x15LastPriceSubscription\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12V\n\x13subscription_status\x18\x02 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionStatus\x12\x16\n\x0einstrument_uid\x18\x03 \x01(\t\x12\x11\n\tstream_id\x18\x04 \x01(\t\x12\x17\n\x0fsubscription_id\x18\x05 \x01(\t\x12V\n\x13subscription_action\x18\x06 \x01(\x0e\x32\x39.tinkoff.public.invest.api.contract.v1.SubscriptionAction\x12\x0e\n\x06ticker\x18\x07 \x01(\t\x12\x12\n\nclass_code\x18\x08 \x01(\t\"\x88\x05\n\x06\x43\x61ndle\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12M\n\x08interval\x18\x02 \x01(\x0e\x32;.tinkoff.public.invest.api.contract.v1.SubscriptionInterval\x12>\n\x04open\x18\x03 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12>\n\x04high\x18\x04 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12=\n\x03low\x18\x05 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12?\n\x05\x63lose\x18\x06 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x0e\n\x06volume\x18\x07 \x01(\x03\x12(\n\x04time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rlast_trade_ts\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0einstrument_uid\x18\n \x01(\t\x12\x0e\n\x06ticker\x18\x0b \x01(\t\x12\x12\n\nclass_code\x18\x0c \x01(\t\x12\x12\n\nvolume_buy\x18\r \x01(\x03\x12\x13\n\x0bvolume_sell\x18\x0e \x01(\x03\x12O\n\x12\x63\x61ndle_source_type\x18\x13 \x01(\x0e\x32\x33.tinkoff.public.invest.api.contract.v1.CandleSource\"\xf6\x03\n\tOrderBook\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\x05\x12\x15\n\ris_consistent\x18\x03 \x01(\x08\x12:\n\x04\x62ids\x18\x04 \x03(\x0b\x32,.tinkoff.public.invest.api.contract.v1.Order\x12:\n\x04\x61sks\x18\x05 \x03(\x0b\x32,.tinkoff.public.invest.api.contract.v1.Order\x12(\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x08limit_up\x18\x07 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x44\n\nlimit_down\x18\x08 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x16\n\x0einstrument_uid\x18\t \x01(\t\x12M\n\x0forder_book_type\x18\n \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.OrderBookType\x12\x0e\n\x06ticker\x18\x0b \x01(\t\x12\x12\n\nclass_code\x18\x0c \x01(\t\"Z\n\x05Order\x12?\n\x05price\x18\x01 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x10\n\x08quantity\x18\x02 \x01(\x03\"\xe6\x02\n\x05Trade\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12H\n\tdirection\x18\x02 \x01(\x0e\x32\x35.tinkoff.public.invest.api.contract.v1.TradeDirection\x12?\n\x05price\x18\x03 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x10\n\x08quantity\x18\x04 \x01(\x03\x12(\n\x04time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0einstrument_uid\x18\x06 \x01(\t\x12L\n\x0ctrade_source\x18\x07 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.TradeSourceType\x12\x0e\n\x06ticker\x18\x08 \x01(\t\x12\x12\n\nclass_code\x18\t \x01(\t\"\xa2\x02\n\rTradingStatus\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12T\n\x0etrading_status\x18\x02 \x01(\x0e\x32<.tinkoff.public.invest.api.contract.v1.SecurityTradingStatus\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x1alimit_order_available_flag\x18\x04 \x01(\x08\x12#\n\x1bmarket_order_available_flag\x18\x05 \x01(\x08\x12\x16\n\x0einstrument_uid\x18\x06 \x01(\t\x12\x0e\n\x06ticker\x18\x07 \x01(\t\x12\x12\n\nclass_code\x18\x08 \x01(\t\"\x99\x04\n\x11GetCandlesRequest\x12\x15\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01H\x00\x88\x01\x01\x12.\n\x04\x66rom\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12,\n\x02to\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12M\n\x08interval\x18\x04 \x01(\x0e\x32\x35.tinkoff.public.invest.api.contract.v1.CandleIntervalB\x04\xe2\x41\x01\x02\x12\x1a\n\rinstrument_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x66\n\x12\x63\x61ndle_source_type\x18\x07 \x01(\x0e\x32\x45.tinkoff.public.invest.api.contract.v1.GetCandlesRequest.CandleSourceH\x02\x88\x01\x01\x12\x12\n\x05limit\x18\n \x01(\x05H\x03\x88\x01\x01\"l\n\x0c\x43\x61ndleSource\x12\x1d\n\x19\x43\x41NDLE_SOURCE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41NDLE_SOURCE_EXCHANGE\x10\x01\x12!\n\x1d\x43\x41NDLE_SOURCE_INCLUDE_WEEKEND\x10\x03\x42\x07\n\x05_figiB\x10\n\x0e_instrument_idB\x15\n\x13_candle_source_typeB\x08\n\x06_limit\"\\\n\x12GetCandlesResponse\x12\x46\n\x07\x63\x61ndles\x18\x01 \x03(\x0b\x32\x35.tinkoff.public.invest.api.contract.v1.HistoricCandle\"\xd4\x03\n\x0eHistoricCandle\x12>\n\x04open\x18\x01 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12>\n\x04high\x18\x02 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12=\n\x03low\x18\x03 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12?\n\x05\x63lose\x18\x04 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x0e\n\x06volume\x18\x05 \x01(\x03\x12(\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bis_complete\x18\x07 \x01(\x08\x12J\n\rcandle_source\x18\t \x01(\x0e\x32\x33.tinkoff.public.invest.api.contract.v1.CandleSource\x12\x12\n\nvolume_buy\x18\n \x01(\x03\x12\x13\n\x0bvolume_sell\x18\x0b \x01(\x03\"\xfd\x01\n\x14GetLastPricesRequest\x12\x10\n\x04\x66igi\x18\x01 \x03(\tB\x02\x18\x01\x12\x15\n\rinstrument_id\x18\x02 \x03(\t\x12M\n\x0flast_price_type\x18\x03 \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.LastPriceType\x12W\n\x11instrument_status\x18\t \x01(\x0e\x32\x37.tinkoff.public.invest.api.contract.v1.InstrumentStatusH\x00\x88\x01\x01\x42\x14\n\x12_instrument_status\"^\n\x15GetLastPricesResponse\x12\x45\n\x0blast_prices\x18\x01 \x03(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.LastPrice\"\x8f\x02\n\tLastPrice\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12?\n\x05price\x18\x02 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06ticker\x18\t \x01(\t\x12\x12\n\nclass_code\x18\n \x01(\t\x12\x16\n\x0einstrument_uid\x18\x0b \x01(\t\x12M\n\x0flast_price_type\x18\x0c \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.LastPriceType\"\x8b\x01\n\x0cOpenInterest\x12\x16\n\x0einstrument_uid\x18\x01 \x01(\t\x12(\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\ropen_interest\x18\x03 \x01(\x03\x12\x0e\n\x06ticker\x18\x04 \x01(\t\x12\x12\n\nclass_code\x18\x05 \x01(\t\"x\n\x13GetOrderBookRequest\x12\x15\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01H\x00\x88\x01\x01\x12\x13\n\x05\x64\x65pth\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12\x1a\n\rinstrument_id\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_figiB\x10\n\x0e_instrument_id\"\x97\x05\n\x14GetOrderBookResponse\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\x05\x12:\n\x04\x62ids\x18\x03 \x03(\x0b\x32,.tinkoff.public.invest.api.contract.v1.Order\x12:\n\x04\x61sks\x18\x04 \x03(\x0b\x32,.tinkoff.public.invest.api.contract.v1.Order\x12\x44\n\nlast_price\x18\x05 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x45\n\x0b\x63lose_price\x18\x06 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x42\n\x08limit_up\x18\x07 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x44\n\nlimit_down\x18\x08 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12\x16\n\x0einstrument_uid\x18\t \x01(\t\x12\x0e\n\x06ticker\x18\n \x01(\t\x12\x12\n\nclass_code\x18\x0b \x01(\t\x12\x31\n\rlast_price_ts\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0e\x63lose_price_ts\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0corderbook_ts\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"g\n\x17GetTradingStatusRequest\x12\x15\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01H\x00\x88\x01\x01\x12\x1a\n\rinstrument_id\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_figiB\x10\n\x0e_instrument_id\"2\n\x19GetTradingStatusesRequest\x12\x15\n\rinstrument_id\x18\x01 \x03(\t\"w\n\x1aGetTradingStatusesResponse\x12Y\n\x10trading_statuses\x18\x01 \x03(\x0b\x32?.tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse\"\xe6\x02\n\x18GetTradingStatusResponse\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12T\n\x0etrading_status\x18\x02 \x01(\x0e\x32<.tinkoff.public.invest.api.contract.v1.SecurityTradingStatus\x12\"\n\x1alimit_order_available_flag\x18\x03 \x01(\x08\x12#\n\x1bmarket_order_available_flag\x18\x04 \x01(\x08\x12 \n\x18\x61pi_trade_available_flag\x18\x05 \x01(\x08\x12\x16\n\x0einstrument_uid\x18\x06 \x01(\t\x12&\n\x1e\x62\x65stprice_order_available_flag\x18\x08 \x01(\x08\x12\x17\n\x0fonly_best_price\x18\t \x01(\x08\x12\x0e\n\x06ticker\x18\n \x01(\t\x12\x12\n\nclass_code\x18\x0b \x01(\t\"\x90\x02\n\x14GetLastTradesRequest\x12\x15\n\x04\x66igi\x18\x01 \x01(\tB\x02\x18\x01H\x00\x88\x01\x01\x12.\n\x04\x66rom\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12,\n\x02to\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12\x1a\n\rinstrument_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x12L\n\x0ctrade_source\x18\x05 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.TradeSourceTypeB\x07\n\x05_figiB\x10\n\x0e_instrument_id\"U\n\x15GetLastTradesResponse\x12<\n\x06trades\x18\x01 \x03(\x0b\x32,.tinkoff.public.invest.api.contract.v1.Trade\"\x14\n\x12GetMySubscriptions\"\xe5\x01\n\x15GetClosePricesRequest\x12]\n\x0binstruments\x18\x01 \x03(\x0b\x32\x42.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceRequestB\x04\xe2\x41\x01\x02\x12W\n\x11instrument_status\x18\t \x01(\x0e\x32\x37.tinkoff.public.invest.api.contract.v1.InstrumentStatusH\x00\x88\x01\x01\x42\x14\n\x12_instrument_status\"4\n\x1bInstrumentClosePriceRequest\x12\x15\n\rinstrument_id\x18\x01 \x01(\t\"s\n\x16GetClosePricesResponse\x12Y\n\x0c\x63lose_prices\x18\x01 \x03(\x0b\x32\x43.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse\"\xe4\x02\n\x1cInstrumentClosePriceResponse\x12\x0c\n\x04\x66igi\x18\x01 \x01(\t\x12\x16\n\x0einstrument_uid\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nclass_code\x18\x04 \x01(\t\x12?\n\x05price\x18\x0b \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12O\n\x15\x65vening_session_price\x18\x0c \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12(\n\x04time\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1a\x65vening_session_price_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xf4\x0c\n\x16GetTechAnalysisRequest\x12i\n\x0eindicator_type\x18\x01 \x01(\x0e\x32K.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.IndicatorTypeB\x04\xe2\x41\x01\x02\x12\x1c\n\x0einstrument_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12.\n\x04\x66rom\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12,\n\x02to\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12g\n\x08interval\x18\x05 \x01(\x0e\x32O.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.IndicatorIntervalB\x04\xe2\x41\x01\x02\x12\x66\n\rtype_of_price\x18\x06 \x01(\x0e\x32I.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.TypeOfPriceB\x04\xe2\x41\x01\x02\x12\x0e\n\x06length\x18\x07 \x01(\x05\x12Z\n\tdeviation\x18\x08 \x01(\x0b\x32G.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation\x12Z\n\tsmoothing\x18\t \x01(\x0b\x32G.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Smoothing\x1aO\n\tSmoothing\x12\x13\n\x0b\x66\x61st_length\x18\x01 \x01(\x05\x12\x13\n\x0bslow_length\x18\x02 \x01(\x05\x12\x18\n\x10signal_smoothing\x18\x03 \x01(\x05\x1a[\n\tDeviation\x12N\n\x14\x64\x65viation_multiplier\x18\x01 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\"\xdb\x03\n\x11IndicatorInterval\x12\"\n\x1eINDICATOR_INTERVAL_UNSPECIFIED\x10\x00\x12!\n\x1dINDICATOR_INTERVAL_ONE_MINUTE\x10\x01\x12#\n\x1fINDICATOR_INTERVAL_FIVE_MINUTES\x10\x02\x12&\n\"INDICATOR_INTERVAL_FIFTEEN_MINUTES\x10\x03\x12\x1f\n\x1bINDICATOR_INTERVAL_ONE_HOUR\x10\x04\x12\x1e\n\x1aINDICATOR_INTERVAL_ONE_DAY\x10\x05\x12\x1c\n\x18INDICATOR_INTERVAL_2_MIN\x10\x06\x12\x1c\n\x18INDICATOR_INTERVAL_3_MIN\x10\x07\x12\x1d\n\x19INDICATOR_INTERVAL_10_MIN\x10\x08\x12\x1d\n\x19INDICATOR_INTERVAL_30_MIN\x10\t\x12\x1d\n\x19INDICATOR_INTERVAL_2_HOUR\x10\n\x12\x1d\n\x19INDICATOR_INTERVAL_4_HOUR\x10\x0b\x12\x1b\n\x17INDICATOR_INTERVAL_WEEK\x10\x0c\x12\x1c\n\x18INDICATOR_INTERVAL_MONTH\x10\r\"\xa3\x01\n\x0bTypeOfPrice\x12\x1d\n\x19TYPE_OF_PRICE_UNSPECIFIED\x10\x00\x12\x17\n\x13TYPE_OF_PRICE_CLOSE\x10\x01\x12\x16\n\x12TYPE_OF_PRICE_OPEN\x10\x02\x12\x16\n\x12TYPE_OF_PRICE_HIGH\x10\x03\x12\x15\n\x11TYPE_OF_PRICE_LOW\x10\x04\x12\x15\n\x11TYPE_OF_PRICE_AVG\x10\x05\"\xa7\x01\n\rIndicatorType\x12\x1e\n\x1aINDICATOR_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11INDICATOR_TYPE_BB\x10\x01\x12\x16\n\x12INDICATOR_TYPE_EMA\x10\x02\x12\x16\n\x12INDICATOR_TYPE_RSI\x10\x03\x12\x17\n\x13INDICATOR_TYPE_MACD\x10\x04\x12\x16\n\x12INDICATOR_TYPE_SMA\x10\x05\"\xfc\x04\n\x17GetTechAnalysisResponse\x12m\n\x14technical_indicators\x18\x01 \x03(\x0b\x32O.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem\x1a\xf1\x03\n\x10TechAnalysisItem\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x0bmiddle_band\x18\x02 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x00\x88\x01\x01\x12I\n\nupper_band\x18\x03 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x01\x88\x01\x01\x12I\n\nlower_band\x18\x04 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x02\x88\x01\x01\x12\x45\n\x06signal\x18\x05 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x03\x88\x01\x01\x12\x43\n\x04macd\x18\x06 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x04\x88\x01\x01\x42\x0e\n\x0c_middle_bandB\r\n\x0b_upper_bandB\r\n\x0b_lower_bandB\t\n\x07_signalB\x07\n\x05_macd\"w\n\x16GetMarketValuesRequest\x12\x15\n\rinstrument_id\x18\x01 \x03(\t\x12\x46\n\x06values\x18\x02 \x03(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.MarketValueType\"l\n\x17GetMarketValuesResponse\x12Q\n\x0binstruments\x18\x01 \x03(\x0b\x32<.tinkoff.public.invest.api.contract.v1.MarketValueInstrument\"\x97\x01\n\x15MarketValueInstrument\x12\x16\n\x0einstrument_uid\x18\x01 \x01(\t\x12\x42\n\x06values\x18\x02 \x03(\x0b\x32\x32.tinkoff.public.invest.api.contract.v1.MarketValue\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nclass_code\x18\x04 \x01(\t\"\xe9\x01\n\x0bMarketValue\x12I\n\x04type\x18\x01 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.MarketValueTypeH\x00\x88\x01\x01\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x01\x88\x01\x01\x12-\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x42\x07\n\x05_typeB\x08\n\x06_valueB\x07\n\x05_time*\x81\x01\n\x12SubscriptionAction\x12#\n\x1fSUBSCRIPTION_ACTION_UNSPECIFIED\x10\x00\x12!\n\x1dSUBSCRIPTION_ACTION_SUBSCRIBE\x10\x01\x12#\n\x1fSUBSCRIPTION_ACTION_UNSUBSCRIBE\x10\x02*\x88\x04\n\x14SubscriptionInterval\x12%\n!SUBSCRIPTION_INTERVAL_UNSPECIFIED\x10\x00\x12$\n SUBSCRIPTION_INTERVAL_ONE_MINUTE\x10\x01\x12&\n\"SUBSCRIPTION_INTERVAL_FIVE_MINUTES\x10\x02\x12)\n%SUBSCRIPTION_INTERVAL_FIFTEEN_MINUTES\x10\x03\x12\"\n\x1eSUBSCRIPTION_INTERVAL_ONE_HOUR\x10\x04\x12!\n\x1dSUBSCRIPTION_INTERVAL_ONE_DAY\x10\x05\x12\x1f\n\x1bSUBSCRIPTION_INTERVAL_2_MIN\x10\x06\x12\x1f\n\x1bSUBSCRIPTION_INTERVAL_3_MIN\x10\x07\x12 \n\x1cSUBSCRIPTION_INTERVAL_10_MIN\x10\x08\x12 \n\x1cSUBSCRIPTION_INTERVAL_30_MIN\x10\t\x12 \n\x1cSUBSCRIPTION_INTERVAL_2_HOUR\x10\n\x12 \n\x1cSUBSCRIPTION_INTERVAL_4_HOUR\x10\x0b\x12\x1e\n\x1aSUBSCRIPTION_INTERVAL_WEEK\x10\x0c\x12\x1f\n\x1bSUBSCRIPTION_INTERVAL_MONTH\x10\r*\xf0\x03\n\x12SubscriptionStatus\x12#\n\x1fSUBSCRIPTION_STATUS_UNSPECIFIED\x10\x00\x12\x1f\n\x1bSUBSCRIPTION_STATUS_SUCCESS\x10\x01\x12,\n(SUBSCRIPTION_STATUS_INSTRUMENT_NOT_FOUND\x10\x02\x12\x36\n2SUBSCRIPTION_STATUS_SUBSCRIPTION_ACTION_IS_INVALID\x10\x03\x12(\n$SUBSCRIPTION_STATUS_DEPTH_IS_INVALID\x10\x04\x12+\n\'SUBSCRIPTION_STATUS_INTERVAL_IS_INVALID\x10\x05\x12)\n%SUBSCRIPTION_STATUS_LIMIT_IS_EXCEEDED\x10\x06\x12&\n\"SUBSCRIPTION_STATUS_INTERNAL_ERROR\x10\x07\x12)\n%SUBSCRIPTION_STATUS_TOO_MANY_REQUESTS\x10\x08\x12.\n*SUBSCRIPTION_STATUS_SUBSCRIPTION_NOT_FOUND\x10\t\x12)\n%SUBSCRIPTION_STATUS_SOURCE_IS_INVALID\x10\n*y\n\x0fTradeSourceType\x12\x1c\n\x18TRADE_SOURCE_UNSPECIFIED\x10\x00\x12\x19\n\x15TRADE_SOURCE_EXCHANGE\x10\x01\x12\x17\n\x13TRADE_SOURCE_DEALER\x10\x02\x12\x14\n\x10TRADE_SOURCE_ALL\x10\x03*d\n\x0eTradeDirection\x12\x1f\n\x1bTRADE_DIRECTION_UNSPECIFIED\x10\x00\x12\x17\n\x13TRADE_DIRECTION_BUY\x10\x01\x12\x18\n\x14TRADE_DIRECTION_SELL\x10\x02*\xe4\x03\n\x0e\x43\x61ndleInterval\x12\x1f\n\x1b\x43\x41NDLE_INTERVAL_UNSPECIFIED\x10\x00\x12\x19\n\x15\x43\x41NDLE_INTERVAL_1_MIN\x10\x01\x12\x19\n\x15\x43\x41NDLE_INTERVAL_5_MIN\x10\x02\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_15_MIN\x10\x03\x12\x18\n\x14\x43\x41NDLE_INTERVAL_HOUR\x10\x04\x12\x17\n\x13\x43\x41NDLE_INTERVAL_DAY\x10\x05\x12\x19\n\x15\x43\x41NDLE_INTERVAL_2_MIN\x10\x06\x12\x19\n\x15\x43\x41NDLE_INTERVAL_3_MIN\x10\x07\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_10_MIN\x10\x08\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_30_MIN\x10\t\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_2_HOUR\x10\n\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_4_HOUR\x10\x0b\x12\x18\n\x14\x43\x41NDLE_INTERVAL_WEEK\x10\x0c\x12\x19\n\x15\x43\x41NDLE_INTERVAL_MONTH\x10\r\x12\x19\n\x15\x43\x41NDLE_INTERVAL_5_SEC\x10\x0e\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_10_SEC\x10\x0f\x12\x1a\n\x16\x43\x41NDLE_INTERVAL_30_SEC\x10\x10*k\n\x0c\x43\x61ndleSource\x12\x1d\n\x19\x43\x41NDLE_SOURCE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41NDLE_SOURCE_EXCHANGE\x10\x01\x12 \n\x1c\x43\x41NDLE_SOURCE_DEALER_WEEKEND\x10\x02*\xac\x02\n\x0fMarketValueType\x12 \n\x1cINSTRUMENT_VALUE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bINSTRUMENT_VALUE_LAST_PRICE\x10\x01\x12&\n\"INSTRUMENT_VALUE_LAST_PRICE_DEALER\x10\x02\x12 \n\x1cINSTRUMENT_VALUE_CLOSE_PRICE\x10\x03\x12*\n&INSTRUMENT_VALUE_EVENING_SESSION_PRICE\x10\x04\x12\"\n\x1eINSTRUMENT_VALUE_OPEN_INTEREST\x10\x05\x12 \n\x1cINSTRUMENT_VALUE_THEOR_PRICE\x10\x06\x12\x1a\n\x16INSTRUMENT_VALUE_YIELD\x10\x07*\x7f\n\rOrderBookType\x12\x1e\n\x1aORDERBOOK_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17ORDERBOOK_TYPE_EXCHANGE\x10\x01\x12\x19\n\x15ORDERBOOK_TYPE_DEALER\x10\x02\x12\x16\n\x12ORDERBOOK_TYPE_ALL\x10\x03*[\n\rLastPriceType\x12\x1a\n\x16LAST_PRICE_UNSPECIFIED\x10\x00\x12\x17\n\x13LAST_PRICE_EXCHANGE\x10\x01\x12\x15\n\x11LAST_PRICE_DEALER\x10\x02\x32\xa3\n\n\x11MarketDataService\x12\x81\x01\n\nGetCandles\x12\x38.tinkoff.public.invest.api.contract.v1.GetCandlesRequest\x1a\x39.tinkoff.public.invest.api.contract.v1.GetCandlesResponse\x12\x8a\x01\n\rGetLastPrices\x12;.tinkoff.public.invest.api.contract.v1.GetLastPricesRequest\x1a<.tinkoff.public.invest.api.contract.v1.GetLastPricesResponse\x12\x87\x01\n\x0cGetOrderBook\x12:.tinkoff.public.invest.api.contract.v1.GetOrderBookRequest\x1a;.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse\x12\x93\x01\n\x10GetTradingStatus\x12>.tinkoff.public.invest.api.contract.v1.GetTradingStatusRequest\x1a?.tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse\x12\x99\x01\n\x12GetTradingStatuses\x12@.tinkoff.public.invest.api.contract.v1.GetTradingStatusesRequest\x1a\x41.tinkoff.public.invest.api.contract.v1.GetTradingStatusesResponse\x12\x8a\x01\n\rGetLastTrades\x12;.tinkoff.public.invest.api.contract.v1.GetLastTradesRequest\x1a<.tinkoff.public.invest.api.contract.v1.GetLastTradesResponse\x12\x8d\x01\n\x0eGetClosePrices\x12<.tinkoff.public.invest.api.contract.v1.GetClosePricesRequest\x1a=.tinkoff.public.invest.api.contract.v1.GetClosePricesResponse\x12\x90\x01\n\x0fGetTechAnalysis\x12=.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest\x1a>.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse\x12\x90\x01\n\x0fGetMarketValues\x12=.tinkoff.public.invest.api.contract.v1.GetMarketValuesRequest\x1a>.tinkoff.public.invest.api.contract.v1.GetMarketValuesResponse2\xcd\x02\n\x17MarketDataStreamService\x12\x8b\x01\n\x10MarketDataStream\x12\x38.tinkoff.public.invest.api.contract.v1.MarketDataRequest\x1a\x39.tinkoff.public.invest.api.contract.v1.MarketDataResponse(\x01\x30\x01\x12\xa3\x01\n\x1aMarketDataServerSideStream\x12H.tinkoff.public.invest.api.contract.v1.MarketDataServerSideStreamRequest\x1a\x39.tinkoff.public.invest.api.contract.v1.MarketDataResponse0\x01\x42\x61\n\x1cru.tinkoff.piapi.contract.v1P\x01Z\x0c./;investapi\xa2\x02\x05TIAPI\xaa\x02\x14Tinkoff.InvestApi.V1\xca\x02\x11Tinkoff\\Invest\\V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't_tech.invest.grpc.marketdata_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\034ru.tinkoff.piapi.contract.v1P\001Z\014./;investapi\242\002\005TIAPI\252\002\024Tinkoff.InvestApi.V1\312\002\021Tinkoff\\Invest\\V1'
  _globals['_CANDLEINSTRUMENT'].fields_by_name['figi']._options = None
  _globals['_CANDLEINSTRUMENT'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_ORDERBOOKINSTRUMENT'].fields_by_name['figi']._options = None
  _globals['_ORDERBOOKINSTRUMENT'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_TRADEINSTRUMENT'].fields_by_name['figi']._options = None
  _globals['_TRADEINSTRUMENT'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_INFOINSTRUMENT'].fields_by_name['figi']._options = None
  _globals['_INFOINSTRUMENT'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_LASTPRICEINSTRUMENT'].fields_by_name['figi']._options = None
  _globals['_LASTPRICEINSTRUMENT'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_GETCANDLESREQUEST'].fields_by_name['figi']._options = None
  _globals['_GETCANDLESREQUEST'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_GETCANDLESREQUEST'].fields_by_name['from']._options = None
  _globals['_GETCANDLESREQUEST'].fields_by_name['from']._serialized_options = b'\342A\001\002'
  _globals['_GETCANDLESREQUEST'].fields_by_name['to']._options = None
  _globals['_GETCANDLESREQUEST'].fields_by_name['to']._serialized_options = b'\342A\001\002'
  _globals['_GETCANDLESREQUEST'].fields_by_name['interval']._options = None
  _globals['_GETCANDLESREQUEST'].fields_by_name['interval']._serialized_options = b'\342A\001\002'
  _globals['_GETLASTPRICESREQUEST'].fields_by_name['figi']._options = None
  _globals['_GETLASTPRICESREQUEST'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_GETORDERBOOKREQUEST'].fields_by_name['figi']._options = None
  _globals['_GETORDERBOOKREQUEST'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_GETORDERBOOKREQUEST'].fields_by_name['depth']._options = None
  _globals['_GETORDERBOOKREQUEST'].fields_by_name['depth']._serialized_options = b'\342A\001\002'
  _globals['_GETTRADINGSTATUSREQUEST'].fields_by_name['figi']._options = None
  _globals['_GETTRADINGSTATUSREQUEST'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_GETLASTTRADESREQUEST'].fields_by_name['figi']._options = None
  _globals['_GETLASTTRADESREQUEST'].fields_by_name['figi']._serialized_options = b'\030\001'
  _globals['_GETLASTTRADESREQUEST'].fields_by_name['from']._options = None
  _globals['_GETLASTTRADESREQUEST'].fields_by_name['from']._serialized_options = b'\342A\001\002'
  _globals['_GETLASTTRADESREQUEST'].fields_by_name['to']._options = None
  _globals['_GETLASTTRADESREQUEST'].fields_by_name['to']._serialized_options = b'\342A\001\002'
  _globals['_GETCLOSEPRICESREQUEST'].fields_by_name['instruments']._options = None
  _globals['_GETCLOSEPRICESREQUEST'].fields_by_name['instruments']._serialized_options = b'\342A\001\002'
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['indicator_type']._options = None
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['indicator_type']._serialized_options = b'\342A\001\002'
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['instrument_uid']._options = None
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['instrument_uid']._serialized_options = b'\342A\001\002'
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['from']._options = None
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['from']._serialized_options = b'\342A\001\002'
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['to']._options = None
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['to']._serialized_options = b'\342A\001\002'
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['interval']._options = None
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['interval']._serialized_options = b'\342A\001\002'
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['type_of_price']._options = None
  _globals['_GETTECHANALYSISREQUEST'].fields_by_name['type_of_price']._serialized_options = b'\342A\001\002'
  _globals['_SUBSCRIPTIONACTION']._serialized_start=16332
  _globals['_SUBSCRIPTIONACTION']._serialized_end=16461
  _globals['_SUBSCRIPTIONINTERVAL']._serialized_start=16464
  _globals['_SUBSCRIPTIONINTERVAL']._serialized_end=16984
  _globals['_SUBSCRIPTIONSTATUS']._serialized_start=16987
  _globals['_SUBSCRIPTIONSTATUS']._serialized_end=17483
  _globals['_TRADESOURCETYPE']._serialized_start=17485
  _globals['_TRADESOURCETYPE']._serialized_end=17606
  _globals['_TRADEDIRECTION']._serialized_start=17608
  _globals['_TRADEDIRECTION']._serialized_end=17708
  _globals['_CANDLEINTERVAL']._serialized_start=17711
  _globals['_CANDLEINTERVAL']._serialized_end=18195
  _globals['_CANDLESOURCE']._serialized_start=18197
  _globals['_CANDLESOURCE']._serialized_end=18304
  _globals['_MARKETVALUETYPE']._serialized_start=18307
  _globals['_MARKETVALUETYPE']._serialized_end=18607
  _globals['_ORDERBOOKTYPE']._serialized_start=18609
  _globals['_ORDERBOOKTYPE']._serialized_end=18736
  _globals['_LASTPRICETYPE']._serialized_start=18738
  _globals['_LASTPRICETYPE']._serialized_end=18829
  _globals['_MARKETDATAREQUEST']._serialized_start=197
  _globals['_MARKETDATAREQUEST']._serialized_end=976
  _globals['_MARKETDATASERVERSIDESTREAMREQUEST']._serialized_start=979
  _globals['_MARKETDATASERVERSIDESTREAMREQUEST']._serialized_end=1592
  _globals['_MARKETDATARESPONSE']._serialized_start=1595
  _globals['_MARKETDATARESPONSE']._serialized_end=2633
  _globals['_SUBSCRIBECANDLESREQUEST']._serialized_start=2636
  _globals['_SUBSCRIBECANDLESREQUEST']._serialized_end=2977
  _globals['_CANDLEINSTRUMENT']._serialized_start=2980
  _globals['_CANDLEINSTRUMENT']._serialized_end=3118
  _globals['_SUBSCRIBECANDLESRESPONSE']._serialized_start=3121
  _globals['_SUBSCRIBECANDLESRESPONSE']._serialized_end=3258
  _globals['_CANDLESUBSCRIPTION']._serialized_start=3261
  _globals['_CANDLESUBSCRIPTION']._serialized_end=3804
  _globals['_SUBSCRIBEORDERBOOKREQUEST']._serialized_start=3807
  _globals['_SUBSCRIBEORDERBOOKREQUEST']._serialized_end=4003
  _globals['_ORDERBOOKINSTRUMENT']._serialized_start=4006
  _globals['_ORDERBOOKINSTRUMENT']._serialized_end=4162
  _globals['_SUBSCRIBEORDERBOOKRESPONSE']._serialized_start=4165
  _globals['_SUBSCRIBEORDERBOOKRESPONSE']._serialized_end=4310
  _globals['_ORDERBOOKSUBSCRIPTION']._serialized_start=4313
  _globals['_ORDERBOOKSUBSCRIPTION']._serialized_end=4724
  _globals['_SUBSCRIBETRADESREQUEST']._serialized_start=4727
  _globals['_SUBSCRIBETRADESREQUEST']._serialized_end=5022
  _globals['_TRADEINSTRUMENT']._serialized_start=5024
  _globals['_TRADEINSTRUMENT']._serialized_end=5082
  _globals['_SUBSCRIBETRADESRESPONSE']._serialized_start=5085
  _globals['_SUBSCRIBETRADESRESPONSE']._serialized_end=5296
  _globals['_TRADESUBSCRIPTION']._serialized_start=5299
  _globals['_TRADESUBSCRIPTION']._serialized_end=5640
  _globals['_SUBSCRIBEINFOREQUEST']._serialized_start=5643
  _globals['_SUBSCRIBEINFOREQUEST']._serialized_end=5829
  _globals['_INFOINSTRUMENT']._serialized_start=5831
  _globals['_INFOINSTRUMENT']._serialized_end=5888
  _globals['_SUBSCRIBEINFORESPONSE']._serialized_start=5891
  _globals['_SUBSCRIBEINFORESPONSE']._serialized_end=6020
  _globals['_INFOSUBSCRIPTION']._serialized_start=6023
  _globals['_INFOSUBSCRIPTION']._serialized_end=6335
  _globals['_SUBSCRIBELASTPRICEREQUEST']._serialized_start=6338
  _globals['_SUBSCRIBELASTPRICEREQUEST']._serialized_end=6534
  _globals['_LASTPRICEINSTRUMENT']._serialized_start=6536
  _globals['_LASTPRICEINSTRUMENT']._serialized_end=6598
  _globals['_SUBSCRIBELASTPRICERESPONSE']._serialized_start=6601
  _globals['_SUBSCRIBELASTPRICERESPONSE']._serialized_end=6746
  _globals['_LASTPRICESUBSCRIPTION']._serialized_start=6749
  _globals['_LASTPRICESUBSCRIPTION']._serialized_end=7066
  _globals['_CANDLE']._serialized_start=7069
  _globals['_CANDLE']._serialized_end=7717
  _globals['_ORDERBOOK']._serialized_start=7720
  _globals['_ORDERBOOK']._serialized_end=8222
  _globals['_ORDER']._serialized_start=8224
  _globals['_ORDER']._serialized_end=8314
  _globals['_TRADE']._serialized_start=8317
  _globals['_TRADE']._serialized_end=8675
  _globals['_TRADINGSTATUS']._serialized_start=8678
  _globals['_TRADINGSTATUS']._serialized_end=8968
  _globals['_GETCANDLESREQUEST']._serialized_start=8971
  _globals['_GETCANDLESREQUEST']._serialized_end=9508
  _globals['_GETCANDLESREQUEST_CANDLESOURCE']._serialized_start=9340
  _globals['_GETCANDLESREQUEST_CANDLESOURCE']._serialized_end=9448
  _globals['_GETCANDLESRESPONSE']._serialized_start=9510
  _globals['_GETCANDLESRESPONSE']._serialized_end=9602
  _globals['_HISTORICCANDLE']._serialized_start=9605
  _globals['_HISTORICCANDLE']._serialized_end=10073
  _globals['_GETLASTPRICESREQUEST']._serialized_start=10076
  _globals['_GETLASTPRICESREQUEST']._serialized_end=10329
  _globals['_GETLASTPRICESRESPONSE']._serialized_start=10331
  _globals['_GETLASTPRICESRESPONSE']._serialized_end=10425
  _globals['_LASTPRICE']._serialized_start=10428
  _globals['_LASTPRICE']._serialized_end=10699
  _globals['_OPENINTEREST']._serialized_start=10702
  _globals['_OPENINTEREST']._serialized_end=10841
  _globals['_GETORDERBOOKREQUEST']._serialized_start=10843
  _globals['_GETORDERBOOKREQUEST']._serialized_end=10963
  _globals['_GETORDERBOOKRESPONSE']._serialized_start=10966
  _globals['_GETORDERBOOKRESPONSE']._serialized_end=11629
  _globals['_GETTRADINGSTATUSREQUEST']._serialized_start=11631
  _globals['_GETTRADINGSTATUSREQUEST']._serialized_end=11734
  _globals['_GETTRADINGSTATUSESREQUEST']._serialized_start=11736
  _globals['_GETTRADINGSTATUSESREQUEST']._serialized_end=11786
  _globals['_GETTRADINGSTATUSESRESPONSE']._serialized_start=11788
  _globals['_GETTRADINGSTATUSESRESPONSE']._serialized_end=11907
  _globals['_GETTRADINGSTATUSRESPONSE']._serialized_start=11910
  _globals['_GETTRADINGSTATUSRESPONSE']._serialized_end=12268
  _globals['_GETLASTTRADESREQUEST']._serialized_start=12271
  _globals['_GETLASTTRADESREQUEST']._serialized_end=12543
  _globals['_GETLASTTRADESRESPONSE']._serialized_start=12545
  _globals['_GETLASTTRADESRESPONSE']._serialized_end=12630
  _globals['_GETMYSUBSCRIPTIONS']._serialized_start=12632
  _globals['_GETMYSUBSCRIPTIONS']._serialized_end=12652
  _globals['_GETCLOSEPRICESREQUEST']._serialized_start=12655
  _globals['_GETCLOSEPRICESREQUEST']._serialized_end=12884
  _globals['_INSTRUMENTCLOSEPRICEREQUEST']._serialized_start=12886
  _globals['_INSTRUMENTCLOSEPRICEREQUEST']._serialized_end=12938
  _globals['_GETCLOSEPRICESRESPONSE']._serialized_start=12940
  _globals['_GETCLOSEPRICESRESPONSE']._serialized_end=13055
  _globals['_INSTRUMENTCLOSEPRICERESPONSE']._serialized_start=13058
  _globals['_INSTRUMENTCLOSEPRICERESPONSE']._serialized_end=13414
  _globals['_GETTECHANALYSISREQUEST']._serialized_start=13417
  _globals['_GETTECHANALYSISREQUEST']._serialized_end=15069
  _globals['_GETTECHANALYSISREQUEST_SMOOTHING']._serialized_start=14083
  _globals['_GETTECHANALYSISREQUEST_SMOOTHING']._serialized_end=14162
  _globals['_GETTECHANALYSISREQUEST_DEVIATION']._serialized_start=14164
  _globals['_GETTECHANALYSISREQUEST_DEVIATION']._serialized_end=14255
  _globals['_GETTECHANALYSISREQUEST_INDICATORINTERVAL']._serialized_start=14258
  _globals['_GETTECHANALYSISREQUEST_INDICATORINTERVAL']._serialized_end=14733
  _globals['_GETTECHANALYSISREQUEST_TYPEOFPRICE']._serialized_start=14736
  _globals['_GETTECHANALYSISREQUEST_TYPEOFPRICE']._serialized_end=14899
  _globals['_GETTECHANALYSISREQUEST_INDICATORTYPE']._serialized_start=14902
  _globals['_GETTECHANALYSISREQUEST_INDICATORTYPE']._serialized_end=15069
  _globals['_GETTECHANALYSISRESPONSE']._serialized_start=15072
  _globals['_GETTECHANALYSISRESPONSE']._serialized_end=15708
  _globals['_GETTECHANALYSISRESPONSE_TECHANALYSISITEM']._serialized_start=15211
  _globals['_GETTECHANALYSISRESPONSE_TECHANALYSISITEM']._serialized_end=15708
  _globals['_GETMARKETVALUESREQUEST']._serialized_start=15710
  _globals['_GETMARKETVALUESREQUEST']._serialized_end=15829
  _globals['_GETMARKETVALUESRESPONSE']._serialized_start=15831
  _globals['_GETMARKETVALUESRESPONSE']._serialized_end=15939
  _globals['_MARKETVALUEINSTRUMENT']._serialized_start=15942
  _globals['_MARKETVALUEINSTRUMENT']._serialized_end=16093
  _globals['_MARKETVALUE']._serialized_start=16096
  _globals['_MARKETVALUE']._serialized_end=16329
  _globals['_MARKETDATASERVICE']._serialized_start=18832
  _globals['_MARKETDATASERVICE']._serialized_end=20147
  _globals['_MARKETDATASTREAMSERVICE']._serialized_start=20150
  _globals['_MARKETDATASTREAMSERVICE']._serialized_end=20483
# @@protoc_insertion_point(module_scope)
