# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: t_tech/invest/grpc/signals.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/signals.proto\x12%tinkoff.public.invest.api.contract.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x32t_tech/invest/grpc/google/api/field_behavior.proto\x1a\x1ft_tech/invest/grpc/common.proto\"@\n\x14GetStrategiesRequest\x12\x18\n\x0bstrategy_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_strategy_id\"\\\n\x15GetStrategiesResponse\x12\x43\n\nstrategies\x18\x01 \x03(\x0b\x32/.tinkoff.public.invest.api.contract.v1.Strategy\"\x9b\x05\n\x08Strategy\x12\x19\n\x0bstrategy_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rstrategy_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12!\n\x14strategy_description\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cstrategy_url\x18\x04 \x01(\tH\x01\x88\x01\x01\x12P\n\rstrategy_type\x18\x05 \x01(\x0e\x32\x33.tinkoff.public.invest.api.contract.v1.StrategyTypeB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x61\x63tive_signals\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12\x1b\n\rtotal_signals\x18\x07 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12\x1e\n\x10time_in_position\x18\x08 \x01(\x03\x42\x04\xe2\x41\x01\x02\x12T\n\x14\x61verage_signal_yield\x18\t \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationB\x04\xe2\x41\x01\x02\x12Y\n\x19\x61verage_signal_yield_year\x18\n \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationB\x04\xe2\x41\x01\x02\x12\x45\n\x05yield\x18\x0b \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationB\x04\xe2\x41\x01\x02\x12J\n\nyield_year\x18\x0c \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationB\x04\xe2\x41\x01\x02\x42\x17\n\x15_strategy_descriptionB\x0f\n\r_strategy_url\"\xe1\x04\n\x11GetSignalsRequest\x12\x16\n\tsignal_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bstrategy_id\x18\x02 \x01(\tH\x01\x88\x01\x01\x12O\n\rstrategy_type\x18\x03 \x01(\x0e\x32\x33.tinkoff.public.invest.api.contract.v1.StrategyTypeH\x02\x88\x01\x01\x12\x1b\n\x0einstrument_uid\x18\x04 \x01(\tH\x03\x88\x01\x01\x12-\n\x04\x66rom\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x12+\n\x02to\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12N\n\tdirection\x18\x07 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.SignalDirectionH\x06\x88\x01\x01\x12G\n\x06\x61\x63tive\x18\x08 \x01(\x0e\x32\x32.tinkoff.public.invest.api.contract.v1.SignalStateH\x07\x88\x01\x01\x12@\n\x06paging\x18\t \x01(\x0b\x32+.tinkoff.public.invest.api.contract.v1.PageH\x08\x88\x01\x01\x42\x0c\n\n_signal_idB\x0e\n\x0c_strategy_idB\x10\n\x0e_strategy_typeB\x11\n\x0f_instrument_uidB\x07\n\x05_fromB\x05\n\x03_toB\x0c\n\n_directionB\t\n\x07_activeB\t\n\x07_paging\"\x99\x01\n\x12GetSignalsResponse\x12>\n\x07signals\x18\x01 \x03(\x0b\x32-.tinkoff.public.invest.api.contract.v1.Signal\x12\x43\n\x06paging\x18\x02 \x01(\x0b\x32\x33.tinkoff.public.invest.api.contract.v1.PageResponse\"\x98\x06\n\x06Signal\x12\x17\n\tsignal_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0bstrategy_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rstrategy_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0einstrument_uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x33\n\tcreate_dt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12O\n\tdirection\x18\x06 \x01(\x0e\x32\x36.tinkoff.public.invest.api.contract.v1.SignalDirectionB\x04\xe2\x41\x01\x02\x12M\n\rinitial_price\x18\x07 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationB\x04\xe2\x41\x01\x02\x12\x11\n\x04info\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x04name\x18\t \x01(\tB\x04\xe2\x41\x01\x02\x12L\n\x0ctarget_price\x18\n \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationB\x04\xe2\x41\x01\x02\x12\x30\n\x06\x65nd_dt\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12\x18\n\x0bprobability\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12G\n\x08stoploss\x18\r \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x02\x88\x01\x01\x12J\n\x0b\x63lose_price\x18\x0e \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.QuotationH\x03\x88\x01\x01\x12\x31\n\x08\x63lose_dt\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x42\x07\n\x05_infoB\x0e\n\x0c_probabilityB\x0b\n\t_stoplossB\x0e\n\x0c_close_priceB\x0b\n\t_close_dt*i\n\x0cStrategyType\x12\x1d\n\x19STRATEGY_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17STRATEGY_TYPE_TECHNICAL\x10\x01\x12\x1d\n\x19STRATEGY_TYPE_FUNDAMENTAL\x10\x02*h\n\x0fSignalDirection\x12 \n\x1cSIGNAL_DIRECTION_UNSPECIFIED\x10\x00\x12\x18\n\x14SIGNAL_DIRECTION_BUY\x10\x01\x12\x19\n\x15SIGNAL_DIRECTION_SELL\x10\x02*s\n\x0bSignalState\x12\x1c\n\x18SIGNAL_STATE_UNSPECIFIED\x10\x00\x12\x17\n\x13SIGNAL_STATE_ACTIVE\x10\x01\x12\x17\n\x13SIGNAL_STATE_CLOSED\x10\x02\x12\x14\n\x10SIGNAL_STATE_ALL\x10\x03\x32\xa0\x02\n\rSignalService\x12\x8a\x01\n\rGetStrategies\x12;.tinkoff.public.invest.api.contract.v1.GetStrategiesRequest\x1a<.tinkoff.public.invest.api.contract.v1.GetStrategiesResponse\x12\x81\x01\n\nGetSignals\x12\x38.tinkoff.public.invest.api.contract.v1.GetSignalsRequest\x1a\x39.tinkoff.public.invest.api.contract.v1.GetSignalsResponseBa\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.signals_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['_STRATEGY'].fields_by_name['strategy_id']._options = None
  _globals['_STRATEGY'].fields_by_name['strategy_id']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['strategy_name']._options = None
  _globals['_STRATEGY'].fields_by_name['strategy_name']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['strategy_type']._options = None
  _globals['_STRATEGY'].fields_by_name['strategy_type']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['active_signals']._options = None
  _globals['_STRATEGY'].fields_by_name['active_signals']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['total_signals']._options = None
  _globals['_STRATEGY'].fields_by_name['total_signals']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['time_in_position']._options = None
  _globals['_STRATEGY'].fields_by_name['time_in_position']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['average_signal_yield']._options = None
  _globals['_STRATEGY'].fields_by_name['average_signal_yield']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['average_signal_yield_year']._options = None
  _globals['_STRATEGY'].fields_by_name['average_signal_yield_year']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['yield']._options = None
  _globals['_STRATEGY'].fields_by_name['yield']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGY'].fields_by_name['yield_year']._options = None
  _globals['_STRATEGY'].fields_by_name['yield_year']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['signal_id']._options = None
  _globals['_SIGNAL'].fields_by_name['signal_id']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['strategy_id']._options = None
  _globals['_SIGNAL'].fields_by_name['strategy_id']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['strategy_name']._options = None
  _globals['_SIGNAL'].fields_by_name['strategy_name']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['instrument_uid']._options = None
  _globals['_SIGNAL'].fields_by_name['instrument_uid']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['create_dt']._options = None
  _globals['_SIGNAL'].fields_by_name['create_dt']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['direction']._options = None
  _globals['_SIGNAL'].fields_by_name['direction']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['initial_price']._options = None
  _globals['_SIGNAL'].fields_by_name['initial_price']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['name']._options = None
  _globals['_SIGNAL'].fields_by_name['name']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['target_price']._options = None
  _globals['_SIGNAL'].fields_by_name['target_price']._serialized_options = b'\342A\001\002'
  _globals['_SIGNAL'].fields_by_name['end_dt']._options = None
  _globals['_SIGNAL'].fields_by_name['end_dt']._serialized_options = b'\342A\001\002'
  _globals['_STRATEGYTYPE']._serialized_start=2586
  _globals['_STRATEGYTYPE']._serialized_end=2691
  _globals['_SIGNALDIRECTION']._serialized_start=2693
  _globals['_SIGNALDIRECTION']._serialized_end=2797
  _globals['_SIGNALSTATE']._serialized_start=2799
  _globals['_SIGNALSTATE']._serialized_end=2914
  _globals['_GETSTRATEGIESREQUEST']._serialized_start=193
  _globals['_GETSTRATEGIESREQUEST']._serialized_end=257
  _globals['_GETSTRATEGIESRESPONSE']._serialized_start=259
  _globals['_GETSTRATEGIESRESPONSE']._serialized_end=351
  _globals['_STRATEGY']._serialized_start=354
  _globals['_STRATEGY']._serialized_end=1021
  _globals['_GETSIGNALSREQUEST']._serialized_start=1024
  _globals['_GETSIGNALSREQUEST']._serialized_end=1633
  _globals['_GETSIGNALSRESPONSE']._serialized_start=1636
  _globals['_GETSIGNALSRESPONSE']._serialized_end=1789
  _globals['_SIGNAL']._serialized_start=1792
  _globals['_SIGNAL']._serialized_end=2584
  _globals['_SIGNALSERVICE']._serialized_start=2917
  _globals['_SIGNALSERVICE']._serialized_end=3205
# @@protoc_insertion_point(module_scope)
