# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: protos/rome/services/broker_gateway.proto
# Protobuf Python Version: 5.26.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import 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


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)protos/rome/services/broker_gateway.proto\x12\x14rome.services.broker\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfc\x01\n\x12\x43onditionalTrading\x12H\n\x0btake_profit\x18\x01 \x01(\x0b\x32\x33.rome.services.broker.ConditionalTrading.TakeProfit\x12\x44\n\tstop_loss\x18\x02 \x01(\x0b\x32\x31.rome.services.broker.ConditionalTrading.StopLoss\x1a!\n\nTakeProfit\x12\x13\n\x0blimit_price\x18\x01 \x01(\x01\x1a\x33\n\x08StopLoss\x12\x12\n\nstop_price\x18\x01 \x01(\x01\x12\x13\n\x0blimit_price\x18\x02 \x01(\x01\"F\n\x05\x41sset\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.rome.services.broker.AssetType\x12\x0e\n\x06symbol\x18\x02 \x01(\t\"\r\n\x0bMarketOrder\"\x1b\n\nLimitOrder\x12\r\n\x05price\x18\x01 \x01(\x01\"4\n\x10PortfolioDetails\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xa6\x03\n\x05Order\x12*\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1b.rome.services.broker.Asset\x12\x10\n\x08quantity\x18\x02 \x01(\x01\x12-\n\x04side\x18\x03 \x01(\x0e\x32\x1f.rome.services.broker.OrderSide\x12\x39\n\tportfolio\x18\x04 \x01(\x0b\x32&.rome.services.broker.PortfolioDetails\x12\x38\n\rtime_in_force\x18\n \x01(\x0e\x32!.rome.services.broker.TimeInForce\x12\x33\n\x06market\x18\x32 \x01(\x0b\x32!.rome.services.broker.MarketOrderH\x00\x12\x31\n\x05limit\x18\x33 \x01(\x0b\x32 .rome.services.broker.LimitOrderH\x00\x12\x45\n\x13\x63onditional_trading\x18\x64 \x01(\x0b\x32(.rome.services.broker.ConditionalTradingB\x0c\n\norder_type\"\x14\n\x12HealthCheckRequest\"!\n\x13HealthCheckResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\"\x10\n\x0eGetTimeRequest\"@\n\x0fGetTimeResponse\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"@\n\x12SubmitOrderRequest\x12*\n\x05order\x18\x01 \x01(\x0b\x32\x1b.rome.services.broker.Order\"M\n\x13SubmitOrderResponse\x12*\n\x05order\x18\x01 \x01(\x0b\x32\x1b.rome.services.broker.Order\x12\n\n\x02id\x18\x02 \x01(\t\" \n\x12OrderStatusRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x80\x01\n\x13OrderStatusResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12*\n\x05order\x18\x02 \x01(\x0b\x32\x1b.rome.services.broker.Order\x12\x31\n\x06status\x18\x03 \x01(\x0e\x32!.rome.services.broker.OrderStatus*#\n\tAssetType\x12\n\n\x06\x45QUITY\x10\x00\x12\n\n\x06\x43RYPTO\x10\x01*\x1e\n\tOrderSide\x12\x07\n\x03\x42UY\x10\x00\x12\x08\n\x04SELL\x10\x01*(\n\x0bTimeInForce\x12\x07\n\x03IOC\x10\x00\x12\x07\n\x03\x46OK\x10\x01\x12\x07\n\x03GTC\x10\x02*P\n\x0bOrderStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46ILLED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0c\n\x08REJECTED\x10\x04\x32\x9b\x03\n\rBrokerGateway\x12\x64\n\x0bHealthCheck\x12(.rome.services.broker.HealthCheckRequest\x1a).rome.services.broker.HealthCheckResponse\"\x00\x12X\n\x07GetTime\x12$.rome.services.broker.GetTimeRequest\x1a%.rome.services.broker.GetTimeResponse\"\x00\x12\x64\n\x0bSubmitOrder\x12(.rome.services.broker.SubmitOrderRequest\x1a).rome.services.broker.SubmitOrderResponse\"\x00\x12\x64\n\x0bOrderStatus\x12(.rome.services.broker.OrderStatusRequest\x1a).rome.services.broker.OrderStatusResponse\"\x00\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.rome.services.broker_gateway_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_ASSETTYPE']._serialized_start=1401
  _globals['_ASSETTYPE']._serialized_end=1436
  _globals['_ORDERSIDE']._serialized_start=1438
  _globals['_ORDERSIDE']._serialized_end=1468
  _globals['_TIMEINFORCE']._serialized_start=1470
  _globals['_TIMEINFORCE']._serialized_end=1510
  _globals['_ORDERSTATUS']._serialized_start=1512
  _globals['_ORDERSTATUS']._serialized_end=1592
  _globals['_CONDITIONALTRADING']._serialized_start=101
  _globals['_CONDITIONALTRADING']._serialized_end=353
  _globals['_CONDITIONALTRADING_TAKEPROFIT']._serialized_start=267
  _globals['_CONDITIONALTRADING_TAKEPROFIT']._serialized_end=300
  _globals['_CONDITIONALTRADING_STOPLOSS']._serialized_start=302
  _globals['_CONDITIONALTRADING_STOPLOSS']._serialized_end=353
  _globals['_ASSET']._serialized_start=355
  _globals['_ASSET']._serialized_end=425
  _globals['_MARKETORDER']._serialized_start=427
  _globals['_MARKETORDER']._serialized_end=440
  _globals['_LIMITORDER']._serialized_start=442
  _globals['_LIMITORDER']._serialized_end=469
  _globals['_PORTFOLIODETAILS']._serialized_start=471
  _globals['_PORTFOLIODETAILS']._serialized_end=523
  _globals['_ORDER']._serialized_start=526
  _globals['_ORDER']._serialized_end=948
  _globals['_HEALTHCHECKREQUEST']._serialized_start=950
  _globals['_HEALTHCHECKREQUEST']._serialized_end=970
  _globals['_HEALTHCHECKRESPONSE']._serialized_start=972
  _globals['_HEALTHCHECKRESPONSE']._serialized_end=1005
  _globals['_GETTIMEREQUEST']._serialized_start=1007
  _globals['_GETTIMEREQUEST']._serialized_end=1023
  _globals['_GETTIMERESPONSE']._serialized_start=1025
  _globals['_GETTIMERESPONSE']._serialized_end=1089
  _globals['_SUBMITORDERREQUEST']._serialized_start=1091
  _globals['_SUBMITORDERREQUEST']._serialized_end=1155
  _globals['_SUBMITORDERRESPONSE']._serialized_start=1157
  _globals['_SUBMITORDERRESPONSE']._serialized_end=1234
  _globals['_ORDERSTATUSREQUEST']._serialized_start=1236
  _globals['_ORDERSTATUSREQUEST']._serialized_end=1268
  _globals['_ORDERSTATUSRESPONSE']._serialized_start=1271
  _globals['_ORDERSTATUSRESPONSE']._serialized_end=1399
  _globals['_BROKERGATEWAY']._serialized_start=1595
  _globals['_BROKERGATEWAY']._serialized_end=2006
# @@protoc_insertion_point(module_scope)
