alis.open.in.v1 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alis_open_in_v1-1.2.0/PKG-INFO +8 -0
- alis_open_in_v1-1.2.0/alis/__init__.py +1 -0
- alis_open_in_v1-1.2.0/alis/__init__.pyi +1 -0
- alis_open_in_v1-1.2.0/alis/open/__init__.py +1 -0
- alis_open_in_v1-1.2.0/alis/open/__init__.pyi +1 -0
- alis_open_in_v1-1.2.0/alis/open/in_/__init__.py +1 -0
- alis_open_in_v1-1.2.0/alis/open/in_/__init__.pyi +1 -0
- alis_open_in_v1-1.2.0/alis/open/in_/v1/__init__.py +1 -0
- alis_open_in_v1-1.2.0/alis/open/in_/v1/__init__.pyi +1 -0
- alis_open_in_v1-1.2.0/alis/open/in_/v1/in_pb2.py +66 -0
- alis_open_in_v1-1.2.0/alis/open/in_/v1/in_pb2.pyi +456 -0
- alis_open_in_v1-1.2.0/alis/open/in_/v1/in_pb2_grpc.py +24 -0
- alis_open_in_v1-1.2.0/alis/open/in_/v1/in_pb2_grpc.pyi +20 -0
- alis_open_in_v1-1.2.0/alis.open.in.v1.egg-info/PKG-INFO +8 -0
- alis_open_in_v1-1.2.0/alis.open.in.v1.egg-info/SOURCES.txt +18 -0
- alis_open_in_v1-1.2.0/alis.open.in.v1.egg-info/dependency_links.txt +1 -0
- alis_open_in_v1-1.2.0/alis.open.in.v1.egg-info/requires.txt +2 -0
- alis_open_in_v1-1.2.0/alis.open.in.v1.egg-info/top_level.txt +1 -0
- alis_open_in_v1-1.2.0/setup.cfg +4 -0
- alis_open_in_v1-1.2.0/setup.py +38 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: alis/open/in/v1/in.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'alis/open/in/v1/in.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from alis.open.cx.v1 import cx_pb2 as alis_dot_open_dot_cx_dot_v1_dot_cx__pb2
|
|
26
|
+
from alis.open.px.v1 import px_pb2 as alis_dot_open_dot_px_dot_v1_dot_px__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x61lis/open/in/v1/in.proto\x12\x0f\x61lis.open.in_.v1\x1a\x18\x61lis/open/cx/v1/cx.proto\x1a\x18\x61lis/open/px/v1/px.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe8\x19\n\nInstrument\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x36\n\tfigi_type\x18\x02 \x01(\x0e\x32\x19.alis.open.in_.v1.FigiTypeR\x08\x66igiType\x12!\n\x0c\x64isplay_name\x18\x03 \x01(\tR\x0b\x64isplayName\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12M\n\rmarket_sector\x18\x05 \x01(\x0e\x32(.alis.open.in_.v1.Instrument.MarketSectorR\x0cmarketSector\x12#\n\rsecurity_type\x18\x06 \x01(\tR\x0csecurityType\x12U\n\x0f\x63lassifications\x18\x07 \x01(\x0b\x32+.alis.open.in_.v1.Instrument.ClassificationsR\x0f\x63lassifications\x12J\n\x0c\x65xternal_ids\x18\x08 \x01(\x0b\x32\'.alis.open.in_.v1.Instrument.ExternalIDsR\x0b\x65xternalIds\x12\x1b\n\texch_code\x18\t \x01(\tR\x08\x65xchCode\x12#\n\rcurrency_code\x18\n \x01(\tR\x0c\x63urrencyCode\x12!\n\x0c\x63ountry_code\x18\x0b \x01(\tR\x0b\x63ountryCode\x12\x16\n\x06issuer\x18\x0c \x01(\tR\x06issuer\x12\x16\n\x06ticker\x18\x0f \x01(\tR\x06ticker\x12\x1f\n\x0bwebsite_uri\x18\x11 \x01(\tR\nwebsiteUri\x12*\n\x11is_composite_figi\x18\x12 \x01(\x08R\x0fisCompositeFigi\x12-\n\x13is_share_class_figi\x18\x13 \x01(\x08R\x10isShareClassFigi\x12;\n\x0bupdate_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12\x62\n\x14\x65xchange_identifiers\x18\x16 \x01(\x0b\x32/.alis.open.in_.v1.Instrument.ExchangeIdentifiersR\x13\x65xchangeIdentifiers\x12=\n\x07\x65ngines\x18\x17 \x01(\x0b\x32#.alis.open.in_.v1.Instrument.EnginesR\x07\x65ngines\x12^\n\x11\x63ustom_attributes\x18\x18 \x03(\x0b\x32\x31.alis.open.in_.v1.Instrument.CustomAttributesEntryR\x10\x63ustomAttributes\x12L\n\x0bsource_meta\x18\x63 \x03(\x0b\x32+.alis.open.in_.v1.Instrument.SourceMetaEntryR\nsourceMeta\x1a\xc5\x04\n\x0f\x43lassifications\x12:\n\x19\x62loomberg_industry_sector\x18\x01 \x01(\tR\x17\x62loombergIndustrySector\x12\x38\n\x18\x62loomberg_industry_group\x18\x02 \x01(\tR\x16\x62loombergIndustryGroup\x12>\n\x1b\x62loomberg_industry_subgroup\x18\x03 \x01(\tR\x19\x62loombergIndustrySubgroup\x12\x1f\n\x0bgics_sector\x18\x04 \x01(\tR\ngicsSector\x12#\n\rgics_industry\x18\x05 \x01(\tR\x0cgicsIndustry\x12)\n\x10gics_subindustry\x18\x06 \x01(\tR\x0fgicsSubindustry\x12\x14\n\x05theme\x18\x07 \x01(\tR\x05theme\x12\x16\n\x06sector\x18\x08 \x01(\tR\x06sector\x12\x1a\n\x08industry\x18\t \x01(\tR\x08industry\x12-\n\x12morningstar_sector\x18\n \x01(\tR\x11morningstarSector\x12<\n\x1amorningstar_industry_group\x18\x0b \x01(\tR\x18morningstarIndustryGroup\x12\x31\n\x14morningstar_industry\x18\x0c \x01(\tR\x13morningstarIndustry\x12!\n\x0cicb_industry\x18\r \x01(\tR\x0bicbIndustry\x1a\xa8\x06\n\x0b\x45xternalIDs\x12\x12\n\x04\x66igi\x18\x01 \x01(\tR\x04\x66igi\x12%\n\x0e\x63omposite_figi\x18\x02 \x01(\tR\rcompositeFigi\x12(\n\x10share_class_figi\x18\x03 \x01(\tR\x0eshareClassFigi\x12\x12\n\x04isin\x18\x04 \x01(\tR\x04isin\x12\x14\n\x05sedol\x18\x05 \x01(\tR\x05sedol\x12\x14\n\x05\x63usip\x18\x06 \x01(\tR\x05\x63usip\x12\x10\n\x03ric\x18\x07 \x01(\tR\x03ric\x12\x1f\n\x0bprimary_ric\x18\x08 \x01(\tR\nprimaryRic\x12)\n\x10\x62loomberg_ticker\x18\t \x01(\tR\x0f\x62loombergTicker\x12\"\n\rmsci_sec_code\x18\n \x01(\tR\x0bmsciSecCode\x12\x10\n\x03\x63ik\x18\x0b \x01(\tR\x03\x63ik\x12\x1d\n\ninvest_one\x18\x0c \x01(\tR\tinvestOne\x12,\n\x12morningstar_sec_id\x18\r \x01(\tR\x10morningstarSecId\x12\x34\n\x16morningstar_company_id\x18\x0e \x01(\tR\x14morningstarCompanyId\x12\x10\n\x03mch\x18\x0f \x01(\tR\x03mch\x12\x1e\n\nmultifonds\x18\x10 \x01(\tR\nmultifonds\x12 \n\x0b\x66undamental\x18\x11 \x01(\tR\x0b\x66undamental\x12%\n\x0emorgan_stanley\x18\x12 \x01(\tR\rmorganStanley\x12$\n\x0ejse_alpha_code\x18\x13 \x01(\tR\x0cjseAlphaCode\x12\x17\n\x07perm_id\x18\x14 \x01(\tR\x06permId\x12+\n\x11\x64\x61tastream_symbol\x18\x15 \x01(\tR\x10\x64\x61tastreamSymbol\x12\x15\n\x06iex_id\x18\x16 \x01(\tR\x05iexId\x12:\n\x19portfolio_exchange_branch\x18\x17 \x01(\tR\x17portfolioExchangeBranch\x12#\n\rresearch_figi\x18\x18 \x01(\tR\x0cresearchFigi\x1a\xc0\x01\n\x13\x45xchangeIdentifiers\x12\x10\n\x03mic\x18\x01 \x01(\tR\x03mic\x12#\n\roperating_mic\x18\x0c \x01(\tR\x0coperatingMic\x12\x36\n\x17\x62loomberg_exchange_code\x18\x02 \x01(\tR\x15\x62loombergExchangeCode\x12:\n\x19morningstar_exchange_code\x18\x03 \x01(\tR\x17morningstarExchangeCode\x1a\x63\n\x07\x45ngines\x12+\n\x02px\x18\x01 \x01(\x0b\x32\x1b.alis.open.px.v1.InstrumentR\x02px\x12+\n\x02\x63x\x18\x02 \x01(\x0b\x32\x1b.alis.open.cx.v1.InstrumentR\x02\x63x\x1a\x43\n\x15\x43ustomAttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1ai\n\x0fSourceMetaEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12@\n\x05value\x18\x02 \x01(\x0b\x32*.alis.open.in_.v1.Instrument.SourceMetaDataR\x05value:\x02\x38\x01\x1a~\n\x0eSourceMetaData\x12/\n\x06source\x18\x01 \x01(\x0e\x32\x17.alis.open.in_.v1.SourceR\x06source\x12;\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"\xaf\x01\n\x0cMarketSector\x12\x1d\n\x19MARKET_SECTOR_UNSPECIFIED\x10\x00\x12\r\n\tCOMMODITY\x10\x01\x12\r\n\tCORPORATE\x10\x02\x12\x0c\n\x08\x43URRENCY\x10\x03\x12\n\n\x06\x45QUITY\x10\x04\x12\t\n\x05INDEX\x10\x05\x12\x10\n\x0cMONEY_MARKET\x10\x06\x12\x0e\n\nGOVERNMENT\x10\x07\x12\x08\n\x04MTGE\x10\x08\x12\x08\n\x04MUNI\x10\t\x12\x07\n\x03PFD\x10\nJ\x04\x08\r\x10\x0eJ\x04\x08\x0e\x10\x0fJ\x04\x08\x10\x10\x11J\x04\x08\x15\x10\x16*=\n\x08\x46igiType\x12\x19\n\x15\x46IGI_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GLOBAL\x10\x01\x12\n\n\x06\x43USTOM\x10\x02*\x95\x01\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x08\n\x04USER\x10\x01\x12\x0c\n\x08OPENFIGI\x10\x02\x12\n\n\x06PERMID\x10\x03\x12\x0e\n\nDATASTREAM\x10\x04\x12\r\n\tBLOOMBERG\x10\x05\x12\x0e\n\nORIGINATOR\x10\x06\x12\x07\n\x03IEX\x10\x07\x12\x0f\n\x0bMORNINGSTAR\x10\x08\x12\x06\n\x02\x41I\x10\t*C\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x41RCHIVED\x10\x02\x12\t\n\x05STALE\x10\x03\x42#Z!go.alis.build/common/alis/open/inb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.open.in_.v1.in_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z!go.alis.build/common/alis/open/in'
|
|
38
|
+
_globals['_INSTRUMENT_CUSTOMATTRIBUTESENTRY']._loaded_options = None
|
|
39
|
+
_globals['_INSTRUMENT_CUSTOMATTRIBUTESENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_INSTRUMENT_SOURCEMETAENTRY']._loaded_options = None
|
|
41
|
+
_globals['_INSTRUMENT_SOURCEMETAENTRY']._serialized_options = b'8\001'
|
|
42
|
+
_globals['_FIGITYPE']._serialized_start=3437
|
|
43
|
+
_globals['_FIGITYPE']._serialized_end=3498
|
|
44
|
+
_globals['_SOURCE']._serialized_start=3501
|
|
45
|
+
_globals['_SOURCE']._serialized_end=3650
|
|
46
|
+
_globals['_STATE']._serialized_start=3652
|
|
47
|
+
_globals['_STATE']._serialized_end=3719
|
|
48
|
+
_globals['_INSTRUMENT']._serialized_start=131
|
|
49
|
+
_globals['_INSTRUMENT']._serialized_end=3435
|
|
50
|
+
_globals['_INSTRUMENT_CLASSIFICATIONS']._serialized_start=1241
|
|
51
|
+
_globals['_INSTRUMENT_CLASSIFICATIONS']._serialized_end=1822
|
|
52
|
+
_globals['_INSTRUMENT_EXTERNALIDS']._serialized_start=1825
|
|
53
|
+
_globals['_INSTRUMENT_EXTERNALIDS']._serialized_end=2633
|
|
54
|
+
_globals['_INSTRUMENT_EXCHANGEIDENTIFIERS']._serialized_start=2636
|
|
55
|
+
_globals['_INSTRUMENT_EXCHANGEIDENTIFIERS']._serialized_end=2828
|
|
56
|
+
_globals['_INSTRUMENT_ENGINES']._serialized_start=2830
|
|
57
|
+
_globals['_INSTRUMENT_ENGINES']._serialized_end=2929
|
|
58
|
+
_globals['_INSTRUMENT_CUSTOMATTRIBUTESENTRY']._serialized_start=2931
|
|
59
|
+
_globals['_INSTRUMENT_CUSTOMATTRIBUTESENTRY']._serialized_end=2998
|
|
60
|
+
_globals['_INSTRUMENT_SOURCEMETAENTRY']._serialized_start=3000
|
|
61
|
+
_globals['_INSTRUMENT_SOURCEMETAENTRY']._serialized_end=3105
|
|
62
|
+
_globals['_INSTRUMENT_SOURCEMETADATA']._serialized_start=3107
|
|
63
|
+
_globals['_INSTRUMENT_SOURCEMETADATA']._serialized_end=3233
|
|
64
|
+
_globals['_INSTRUMENT_MARKETSECTOR']._serialized_start=3236
|
|
65
|
+
_globals['_INSTRUMENT_MARKETSECTOR']._serialized_end=3411
|
|
66
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from alis.open.cx.v1 import cx_pb2 as _cx_pb2
|
|
7
|
+
from alis.open.px.v1 import px_pb2 as _px_pb2
|
|
8
|
+
from collections import abc as _abc
|
|
9
|
+
from google.protobuf import descriptor as _descriptor
|
|
10
|
+
from google.protobuf import message as _message
|
|
11
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
12
|
+
from google.protobuf.internal import containers as _containers
|
|
13
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
14
|
+
import builtins as _builtins
|
|
15
|
+
import sys
|
|
16
|
+
import typing as _typing
|
|
17
|
+
|
|
18
|
+
if sys.version_info >= (3, 11):
|
|
19
|
+
from typing import TypeAlias as _TypeAlias, Never as _Never
|
|
20
|
+
else:
|
|
21
|
+
from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
24
|
+
|
|
25
|
+
class _FigiType:
|
|
26
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
27
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
28
|
+
|
|
29
|
+
class _FigiTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_FigiType.ValueType], _builtins.type):
|
|
30
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
31
|
+
FIGI_TYPE_UNSPECIFIED: _FigiType.ValueType # 0
|
|
32
|
+
GLOBAL: _FigiType.ValueType # 1
|
|
33
|
+
CUSTOM: _FigiType.ValueType # 2
|
|
34
|
+
|
|
35
|
+
class FigiType(_FigiType, metaclass=_FigiTypeEnumTypeWrapper): ...
|
|
36
|
+
|
|
37
|
+
FIGI_TYPE_UNSPECIFIED: FigiType.ValueType # 0
|
|
38
|
+
GLOBAL: FigiType.ValueType # 1
|
|
39
|
+
CUSTOM: FigiType.ValueType # 2
|
|
40
|
+
Global___FigiType: _TypeAlias = FigiType # noqa: Y015
|
|
41
|
+
|
|
42
|
+
class _Source:
|
|
43
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
44
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
45
|
+
|
|
46
|
+
class _SourceEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_Source.ValueType], _builtins.type):
|
|
47
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
48
|
+
SOURCE_UNSPECIFIED: _Source.ValueType # 0
|
|
49
|
+
USER: _Source.ValueType # 1
|
|
50
|
+
OPENFIGI: _Source.ValueType # 2
|
|
51
|
+
PERMID: _Source.ValueType # 3
|
|
52
|
+
DATASTREAM: _Source.ValueType # 4
|
|
53
|
+
BLOOMBERG: _Source.ValueType # 5
|
|
54
|
+
ORIGINATOR: _Source.ValueType # 6
|
|
55
|
+
IEX: _Source.ValueType # 7
|
|
56
|
+
MORNINGSTAR: _Source.ValueType # 8
|
|
57
|
+
AI: _Source.ValueType # 9
|
|
58
|
+
|
|
59
|
+
class Source(_Source, metaclass=_SourceEnumTypeWrapper): ...
|
|
60
|
+
|
|
61
|
+
SOURCE_UNSPECIFIED: Source.ValueType # 0
|
|
62
|
+
USER: Source.ValueType # 1
|
|
63
|
+
OPENFIGI: Source.ValueType # 2
|
|
64
|
+
PERMID: Source.ValueType # 3
|
|
65
|
+
DATASTREAM: Source.ValueType # 4
|
|
66
|
+
BLOOMBERG: Source.ValueType # 5
|
|
67
|
+
ORIGINATOR: Source.ValueType # 6
|
|
68
|
+
IEX: Source.ValueType # 7
|
|
69
|
+
MORNINGSTAR: Source.ValueType # 8
|
|
70
|
+
AI: Source.ValueType # 9
|
|
71
|
+
Global___Source: _TypeAlias = Source # noqa: Y015
|
|
72
|
+
|
|
73
|
+
class _State:
|
|
74
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
75
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
76
|
+
|
|
77
|
+
class _StateEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_State.ValueType], _builtins.type):
|
|
78
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
79
|
+
STATE_UNSPECIFIED: _State.ValueType # 0
|
|
80
|
+
ACTIVE: _State.ValueType # 1
|
|
81
|
+
ARCHIVED: _State.ValueType # 2
|
|
82
|
+
STALE: _State.ValueType # 3
|
|
83
|
+
|
|
84
|
+
class State(_State, metaclass=_StateEnumTypeWrapper): ...
|
|
85
|
+
|
|
86
|
+
STATE_UNSPECIFIED: State.ValueType # 0
|
|
87
|
+
ACTIVE: State.ValueType # 1
|
|
88
|
+
ARCHIVED: State.ValueType # 2
|
|
89
|
+
STALE: State.ValueType # 3
|
|
90
|
+
Global___State: _TypeAlias = State # noqa: Y015
|
|
91
|
+
|
|
92
|
+
@_typing.final
|
|
93
|
+
class Instrument(_message.Message):
|
|
94
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
95
|
+
|
|
96
|
+
class _MarketSector:
|
|
97
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
98
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
99
|
+
|
|
100
|
+
class _MarketSectorEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Instrument._MarketSector.ValueType], _builtins.type):
|
|
101
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
102
|
+
MARKET_SECTOR_UNSPECIFIED: Instrument._MarketSector.ValueType # 0
|
|
103
|
+
COMMODITY: Instrument._MarketSector.ValueType # 1
|
|
104
|
+
CORPORATE: Instrument._MarketSector.ValueType # 2
|
|
105
|
+
CURRENCY: Instrument._MarketSector.ValueType # 3
|
|
106
|
+
EQUITY: Instrument._MarketSector.ValueType # 4
|
|
107
|
+
INDEX: Instrument._MarketSector.ValueType # 5
|
|
108
|
+
MONEY_MARKET: Instrument._MarketSector.ValueType # 6
|
|
109
|
+
GOVERNMENT: Instrument._MarketSector.ValueType # 7
|
|
110
|
+
MTGE: Instrument._MarketSector.ValueType # 8
|
|
111
|
+
MUNI: Instrument._MarketSector.ValueType # 9
|
|
112
|
+
PFD: Instrument._MarketSector.ValueType # 10
|
|
113
|
+
|
|
114
|
+
class MarketSector(_MarketSector, metaclass=_MarketSectorEnumTypeWrapper): ...
|
|
115
|
+
MARKET_SECTOR_UNSPECIFIED: Instrument.MarketSector.ValueType # 0
|
|
116
|
+
COMMODITY: Instrument.MarketSector.ValueType # 1
|
|
117
|
+
CORPORATE: Instrument.MarketSector.ValueType # 2
|
|
118
|
+
CURRENCY: Instrument.MarketSector.ValueType # 3
|
|
119
|
+
EQUITY: Instrument.MarketSector.ValueType # 4
|
|
120
|
+
INDEX: Instrument.MarketSector.ValueType # 5
|
|
121
|
+
MONEY_MARKET: Instrument.MarketSector.ValueType # 6
|
|
122
|
+
GOVERNMENT: Instrument.MarketSector.ValueType # 7
|
|
123
|
+
MTGE: Instrument.MarketSector.ValueType # 8
|
|
124
|
+
MUNI: Instrument.MarketSector.ValueType # 9
|
|
125
|
+
PFD: Instrument.MarketSector.ValueType # 10
|
|
126
|
+
|
|
127
|
+
@_typing.final
|
|
128
|
+
class Classifications(_message.Message):
|
|
129
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
130
|
+
|
|
131
|
+
BLOOMBERG_INDUSTRY_SECTOR_FIELD_NUMBER: _builtins.int
|
|
132
|
+
BLOOMBERG_INDUSTRY_GROUP_FIELD_NUMBER: _builtins.int
|
|
133
|
+
BLOOMBERG_INDUSTRY_SUBGROUP_FIELD_NUMBER: _builtins.int
|
|
134
|
+
GICS_SECTOR_FIELD_NUMBER: _builtins.int
|
|
135
|
+
GICS_INDUSTRY_FIELD_NUMBER: _builtins.int
|
|
136
|
+
GICS_SUBINDUSTRY_FIELD_NUMBER: _builtins.int
|
|
137
|
+
THEME_FIELD_NUMBER: _builtins.int
|
|
138
|
+
SECTOR_FIELD_NUMBER: _builtins.int
|
|
139
|
+
INDUSTRY_FIELD_NUMBER: _builtins.int
|
|
140
|
+
MORNINGSTAR_SECTOR_FIELD_NUMBER: _builtins.int
|
|
141
|
+
MORNINGSTAR_INDUSTRY_GROUP_FIELD_NUMBER: _builtins.int
|
|
142
|
+
MORNINGSTAR_INDUSTRY_FIELD_NUMBER: _builtins.int
|
|
143
|
+
ICB_INDUSTRY_FIELD_NUMBER: _builtins.int
|
|
144
|
+
bloomberg_industry_sector: _builtins.str
|
|
145
|
+
bloomberg_industry_group: _builtins.str
|
|
146
|
+
bloomberg_industry_subgroup: _builtins.str
|
|
147
|
+
gics_sector: _builtins.str
|
|
148
|
+
gics_industry: _builtins.str
|
|
149
|
+
gics_subindustry: _builtins.str
|
|
150
|
+
theme: _builtins.str
|
|
151
|
+
sector: _builtins.str
|
|
152
|
+
industry: _builtins.str
|
|
153
|
+
morningstar_sector: _builtins.str
|
|
154
|
+
morningstar_industry_group: _builtins.str
|
|
155
|
+
morningstar_industry: _builtins.str
|
|
156
|
+
icb_industry: _builtins.str
|
|
157
|
+
def __init__(
|
|
158
|
+
self,
|
|
159
|
+
*,
|
|
160
|
+
bloomberg_industry_sector: _builtins.str = ...,
|
|
161
|
+
bloomberg_industry_group: _builtins.str = ...,
|
|
162
|
+
bloomberg_industry_subgroup: _builtins.str = ...,
|
|
163
|
+
gics_sector: _builtins.str = ...,
|
|
164
|
+
gics_industry: _builtins.str = ...,
|
|
165
|
+
gics_subindustry: _builtins.str = ...,
|
|
166
|
+
theme: _builtins.str = ...,
|
|
167
|
+
sector: _builtins.str = ...,
|
|
168
|
+
industry: _builtins.str = ...,
|
|
169
|
+
morningstar_sector: _builtins.str = ...,
|
|
170
|
+
morningstar_industry_group: _builtins.str = ...,
|
|
171
|
+
morningstar_industry: _builtins.str = ...,
|
|
172
|
+
icb_industry: _builtins.str = ...,
|
|
173
|
+
) -> None: ...
|
|
174
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
175
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
176
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["bloomberg_industry_group", b"bloomberg_industry_group", "bloomberg_industry_sector", b"bloomberg_industry_sector", "bloomberg_industry_subgroup", b"bloomberg_industry_subgroup", "gics_industry", b"gics_industry", "gics_sector", b"gics_sector", "gics_subindustry", b"gics_subindustry", "icb_industry", b"icb_industry", "industry", b"industry", "morningstar_industry", b"morningstar_industry", "morningstar_industry_group", b"morningstar_industry_group", "morningstar_sector", b"morningstar_sector", "sector", b"sector", "theme", b"theme"] # noqa: Y015
|
|
177
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
178
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
179
|
+
|
|
180
|
+
@_typing.final
|
|
181
|
+
class ExternalIDs(_message.Message):
|
|
182
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
183
|
+
|
|
184
|
+
FIGI_FIELD_NUMBER: _builtins.int
|
|
185
|
+
COMPOSITE_FIGI_FIELD_NUMBER: _builtins.int
|
|
186
|
+
SHARE_CLASS_FIGI_FIELD_NUMBER: _builtins.int
|
|
187
|
+
ISIN_FIELD_NUMBER: _builtins.int
|
|
188
|
+
SEDOL_FIELD_NUMBER: _builtins.int
|
|
189
|
+
CUSIP_FIELD_NUMBER: _builtins.int
|
|
190
|
+
RIC_FIELD_NUMBER: _builtins.int
|
|
191
|
+
PRIMARY_RIC_FIELD_NUMBER: _builtins.int
|
|
192
|
+
BLOOMBERG_TICKER_FIELD_NUMBER: _builtins.int
|
|
193
|
+
MSCI_SEC_CODE_FIELD_NUMBER: _builtins.int
|
|
194
|
+
CIK_FIELD_NUMBER: _builtins.int
|
|
195
|
+
INVEST_ONE_FIELD_NUMBER: _builtins.int
|
|
196
|
+
MORNINGSTAR_SEC_ID_FIELD_NUMBER: _builtins.int
|
|
197
|
+
MORNINGSTAR_COMPANY_ID_FIELD_NUMBER: _builtins.int
|
|
198
|
+
MCH_FIELD_NUMBER: _builtins.int
|
|
199
|
+
MULTIFONDS_FIELD_NUMBER: _builtins.int
|
|
200
|
+
FUNDAMENTAL_FIELD_NUMBER: _builtins.int
|
|
201
|
+
MORGAN_STANLEY_FIELD_NUMBER: _builtins.int
|
|
202
|
+
JSE_ALPHA_CODE_FIELD_NUMBER: _builtins.int
|
|
203
|
+
PERM_ID_FIELD_NUMBER: _builtins.int
|
|
204
|
+
DATASTREAM_SYMBOL_FIELD_NUMBER: _builtins.int
|
|
205
|
+
IEX_ID_FIELD_NUMBER: _builtins.int
|
|
206
|
+
PORTFOLIO_EXCHANGE_BRANCH_FIELD_NUMBER: _builtins.int
|
|
207
|
+
RESEARCH_FIGI_FIELD_NUMBER: _builtins.int
|
|
208
|
+
figi: _builtins.str
|
|
209
|
+
composite_figi: _builtins.str
|
|
210
|
+
share_class_figi: _builtins.str
|
|
211
|
+
isin: _builtins.str
|
|
212
|
+
sedol: _builtins.str
|
|
213
|
+
cusip: _builtins.str
|
|
214
|
+
ric: _builtins.str
|
|
215
|
+
primary_ric: _builtins.str
|
|
216
|
+
bloomberg_ticker: _builtins.str
|
|
217
|
+
msci_sec_code: _builtins.str
|
|
218
|
+
cik: _builtins.str
|
|
219
|
+
invest_one: _builtins.str
|
|
220
|
+
morningstar_sec_id: _builtins.str
|
|
221
|
+
morningstar_company_id: _builtins.str
|
|
222
|
+
mch: _builtins.str
|
|
223
|
+
multifonds: _builtins.str
|
|
224
|
+
fundamental: _builtins.str
|
|
225
|
+
morgan_stanley: _builtins.str
|
|
226
|
+
jse_alpha_code: _builtins.str
|
|
227
|
+
perm_id: _builtins.str
|
|
228
|
+
datastream_symbol: _builtins.str
|
|
229
|
+
iex_id: _builtins.str
|
|
230
|
+
portfolio_exchange_branch: _builtins.str
|
|
231
|
+
research_figi: _builtins.str
|
|
232
|
+
def __init__(
|
|
233
|
+
self,
|
|
234
|
+
*,
|
|
235
|
+
figi: _builtins.str = ...,
|
|
236
|
+
composite_figi: _builtins.str = ...,
|
|
237
|
+
share_class_figi: _builtins.str = ...,
|
|
238
|
+
isin: _builtins.str = ...,
|
|
239
|
+
sedol: _builtins.str = ...,
|
|
240
|
+
cusip: _builtins.str = ...,
|
|
241
|
+
ric: _builtins.str = ...,
|
|
242
|
+
primary_ric: _builtins.str = ...,
|
|
243
|
+
bloomberg_ticker: _builtins.str = ...,
|
|
244
|
+
msci_sec_code: _builtins.str = ...,
|
|
245
|
+
cik: _builtins.str = ...,
|
|
246
|
+
invest_one: _builtins.str = ...,
|
|
247
|
+
morningstar_sec_id: _builtins.str = ...,
|
|
248
|
+
morningstar_company_id: _builtins.str = ...,
|
|
249
|
+
mch: _builtins.str = ...,
|
|
250
|
+
multifonds: _builtins.str = ...,
|
|
251
|
+
fundamental: _builtins.str = ...,
|
|
252
|
+
morgan_stanley: _builtins.str = ...,
|
|
253
|
+
jse_alpha_code: _builtins.str = ...,
|
|
254
|
+
perm_id: _builtins.str = ...,
|
|
255
|
+
datastream_symbol: _builtins.str = ...,
|
|
256
|
+
iex_id: _builtins.str = ...,
|
|
257
|
+
portfolio_exchange_branch: _builtins.str = ...,
|
|
258
|
+
research_figi: _builtins.str = ...,
|
|
259
|
+
) -> None: ...
|
|
260
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
261
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
262
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["bloomberg_ticker", b"bloomberg_ticker", "cik", b"cik", "composite_figi", b"composite_figi", "cusip", b"cusip", "datastream_symbol", b"datastream_symbol", "figi", b"figi", "fundamental", b"fundamental", "iex_id", b"iex_id", "invest_one", b"invest_one", "isin", b"isin", "jse_alpha_code", b"jse_alpha_code", "mch", b"mch", "morgan_stanley", b"morgan_stanley", "morningstar_company_id", b"morningstar_company_id", "morningstar_sec_id", b"morningstar_sec_id", "msci_sec_code", b"msci_sec_code", "multifonds", b"multifonds", "perm_id", b"perm_id", "portfolio_exchange_branch", b"portfolio_exchange_branch", "primary_ric", b"primary_ric", "research_figi", b"research_figi", "ric", b"ric", "sedol", b"sedol", "share_class_figi", b"share_class_figi"] # noqa: Y015
|
|
263
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
264
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
265
|
+
|
|
266
|
+
@_typing.final
|
|
267
|
+
class ExchangeIdentifiers(_message.Message):
|
|
268
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
269
|
+
|
|
270
|
+
MIC_FIELD_NUMBER: _builtins.int
|
|
271
|
+
OPERATING_MIC_FIELD_NUMBER: _builtins.int
|
|
272
|
+
BLOOMBERG_EXCHANGE_CODE_FIELD_NUMBER: _builtins.int
|
|
273
|
+
MORNINGSTAR_EXCHANGE_CODE_FIELD_NUMBER: _builtins.int
|
|
274
|
+
mic: _builtins.str
|
|
275
|
+
operating_mic: _builtins.str
|
|
276
|
+
bloomberg_exchange_code: _builtins.str
|
|
277
|
+
morningstar_exchange_code: _builtins.str
|
|
278
|
+
def __init__(
|
|
279
|
+
self,
|
|
280
|
+
*,
|
|
281
|
+
mic: _builtins.str = ...,
|
|
282
|
+
operating_mic: _builtins.str = ...,
|
|
283
|
+
bloomberg_exchange_code: _builtins.str = ...,
|
|
284
|
+
morningstar_exchange_code: _builtins.str = ...,
|
|
285
|
+
) -> None: ...
|
|
286
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
287
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
288
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["bloomberg_exchange_code", b"bloomberg_exchange_code", "mic", b"mic", "morningstar_exchange_code", b"morningstar_exchange_code", "operating_mic", b"operating_mic"] # noqa: Y015
|
|
289
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
290
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
291
|
+
|
|
292
|
+
@_typing.final
|
|
293
|
+
class Engines(_message.Message):
|
|
294
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
295
|
+
|
|
296
|
+
PX_FIELD_NUMBER: _builtins.int
|
|
297
|
+
CX_FIELD_NUMBER: _builtins.int
|
|
298
|
+
@_builtins.property
|
|
299
|
+
def px(self) -> _px_pb2.Instrument: ...
|
|
300
|
+
@_builtins.property
|
|
301
|
+
def cx(self) -> _cx_pb2.Instrument: ...
|
|
302
|
+
def __init__(
|
|
303
|
+
self,
|
|
304
|
+
*,
|
|
305
|
+
px: _px_pb2.Instrument | None = ...,
|
|
306
|
+
cx: _cx_pb2.Instrument | None = ...,
|
|
307
|
+
) -> None: ...
|
|
308
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["cx", b"cx", "px", b"px"] # noqa: Y015
|
|
309
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
310
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["cx", b"cx", "px", b"px"] # noqa: Y015
|
|
311
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
312
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
313
|
+
|
|
314
|
+
@_typing.final
|
|
315
|
+
class CustomAttributesEntry(_message.Message):
|
|
316
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
317
|
+
|
|
318
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
319
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
320
|
+
key: _builtins.str
|
|
321
|
+
value: _builtins.str
|
|
322
|
+
def __init__(
|
|
323
|
+
self,
|
|
324
|
+
*,
|
|
325
|
+
key: _builtins.str = ...,
|
|
326
|
+
value: _builtins.str = ...,
|
|
327
|
+
) -> None: ...
|
|
328
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
329
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
330
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
331
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
332
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
333
|
+
|
|
334
|
+
@_typing.final
|
|
335
|
+
class SourceMetaEntry(_message.Message):
|
|
336
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
337
|
+
|
|
338
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
339
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
340
|
+
key: _builtins.str
|
|
341
|
+
@_builtins.property
|
|
342
|
+
def value(self) -> Global___Instrument.SourceMetaData: ...
|
|
343
|
+
def __init__(
|
|
344
|
+
self,
|
|
345
|
+
*,
|
|
346
|
+
key: _builtins.str = ...,
|
|
347
|
+
value: Global___Instrument.SourceMetaData | None = ...,
|
|
348
|
+
) -> None: ...
|
|
349
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
350
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
351
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
352
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
353
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
354
|
+
|
|
355
|
+
@_typing.final
|
|
356
|
+
class SourceMetaData(_message.Message):
|
|
357
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
358
|
+
|
|
359
|
+
SOURCE_FIELD_NUMBER: _builtins.int
|
|
360
|
+
UPDATE_TIME_FIELD_NUMBER: _builtins.int
|
|
361
|
+
source: Global___Source.ValueType
|
|
362
|
+
@_builtins.property
|
|
363
|
+
def update_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
364
|
+
def __init__(
|
|
365
|
+
self,
|
|
366
|
+
*,
|
|
367
|
+
source: Global___Source.ValueType = ...,
|
|
368
|
+
update_time: _timestamp_pb2.Timestamp | None = ...,
|
|
369
|
+
) -> None: ...
|
|
370
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["update_time", b"update_time"] # noqa: Y015
|
|
371
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
372
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["source", b"source", "update_time", b"update_time"] # noqa: Y015
|
|
373
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
374
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
375
|
+
|
|
376
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
377
|
+
FIGI_TYPE_FIELD_NUMBER: _builtins.int
|
|
378
|
+
DISPLAY_NAME_FIELD_NUMBER: _builtins.int
|
|
379
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
380
|
+
MARKET_SECTOR_FIELD_NUMBER: _builtins.int
|
|
381
|
+
SECURITY_TYPE_FIELD_NUMBER: _builtins.int
|
|
382
|
+
CLASSIFICATIONS_FIELD_NUMBER: _builtins.int
|
|
383
|
+
EXTERNAL_IDS_FIELD_NUMBER: _builtins.int
|
|
384
|
+
EXCH_CODE_FIELD_NUMBER: _builtins.int
|
|
385
|
+
CURRENCY_CODE_FIELD_NUMBER: _builtins.int
|
|
386
|
+
COUNTRY_CODE_FIELD_NUMBER: _builtins.int
|
|
387
|
+
ISSUER_FIELD_NUMBER: _builtins.int
|
|
388
|
+
TICKER_FIELD_NUMBER: _builtins.int
|
|
389
|
+
WEBSITE_URI_FIELD_NUMBER: _builtins.int
|
|
390
|
+
IS_COMPOSITE_FIGI_FIELD_NUMBER: _builtins.int
|
|
391
|
+
IS_SHARE_CLASS_FIGI_FIELD_NUMBER: _builtins.int
|
|
392
|
+
UPDATE_TIME_FIELD_NUMBER: _builtins.int
|
|
393
|
+
EXCHANGE_IDENTIFIERS_FIELD_NUMBER: _builtins.int
|
|
394
|
+
ENGINES_FIELD_NUMBER: _builtins.int
|
|
395
|
+
CUSTOM_ATTRIBUTES_FIELD_NUMBER: _builtins.int
|
|
396
|
+
SOURCE_META_FIELD_NUMBER: _builtins.int
|
|
397
|
+
name: _builtins.str
|
|
398
|
+
figi_type: Global___FigiType.ValueType
|
|
399
|
+
display_name: _builtins.str
|
|
400
|
+
description: _builtins.str
|
|
401
|
+
market_sector: Global___Instrument.MarketSector.ValueType
|
|
402
|
+
security_type: _builtins.str
|
|
403
|
+
exch_code: _builtins.str
|
|
404
|
+
currency_code: _builtins.str
|
|
405
|
+
country_code: _builtins.str
|
|
406
|
+
issuer: _builtins.str
|
|
407
|
+
ticker: _builtins.str
|
|
408
|
+
website_uri: _builtins.str
|
|
409
|
+
is_composite_figi: _builtins.bool
|
|
410
|
+
is_share_class_figi: _builtins.bool
|
|
411
|
+
@_builtins.property
|
|
412
|
+
def classifications(self) -> Global___Instrument.Classifications: ...
|
|
413
|
+
@_builtins.property
|
|
414
|
+
def external_ids(self) -> Global___Instrument.ExternalIDs: ...
|
|
415
|
+
@_builtins.property
|
|
416
|
+
def update_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
417
|
+
@_builtins.property
|
|
418
|
+
def exchange_identifiers(self) -> Global___Instrument.ExchangeIdentifiers: ...
|
|
419
|
+
@_builtins.property
|
|
420
|
+
def engines(self) -> Global___Instrument.Engines: ...
|
|
421
|
+
@_builtins.property
|
|
422
|
+
def custom_attributes(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
|
|
423
|
+
@_builtins.property
|
|
424
|
+
def source_meta(self) -> _containers.MessageMap[_builtins.str, Global___Instrument.SourceMetaData]: ...
|
|
425
|
+
def __init__(
|
|
426
|
+
self,
|
|
427
|
+
*,
|
|
428
|
+
name: _builtins.str = ...,
|
|
429
|
+
figi_type: Global___FigiType.ValueType = ...,
|
|
430
|
+
display_name: _builtins.str = ...,
|
|
431
|
+
description: _builtins.str = ...,
|
|
432
|
+
market_sector: Global___Instrument.MarketSector.ValueType = ...,
|
|
433
|
+
security_type: _builtins.str = ...,
|
|
434
|
+
classifications: Global___Instrument.Classifications | None = ...,
|
|
435
|
+
external_ids: Global___Instrument.ExternalIDs | None = ...,
|
|
436
|
+
exch_code: _builtins.str = ...,
|
|
437
|
+
currency_code: _builtins.str = ...,
|
|
438
|
+
country_code: _builtins.str = ...,
|
|
439
|
+
issuer: _builtins.str = ...,
|
|
440
|
+
ticker: _builtins.str = ...,
|
|
441
|
+
website_uri: _builtins.str = ...,
|
|
442
|
+
is_composite_figi: _builtins.bool = ...,
|
|
443
|
+
is_share_class_figi: _builtins.bool = ...,
|
|
444
|
+
update_time: _timestamp_pb2.Timestamp | None = ...,
|
|
445
|
+
exchange_identifiers: Global___Instrument.ExchangeIdentifiers | None = ...,
|
|
446
|
+
engines: Global___Instrument.Engines | None = ...,
|
|
447
|
+
custom_attributes: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
448
|
+
source_meta: _abc.Mapping[_builtins.str, Global___Instrument.SourceMetaData] | None = ...,
|
|
449
|
+
) -> None: ...
|
|
450
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["classifications", b"classifications", "engines", b"engines", "exchange_identifiers", b"exchange_identifiers", "external_ids", b"external_ids", "update_time", b"update_time"] # noqa: Y015
|
|
451
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
452
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["classifications", b"classifications", "country_code", b"country_code", "currency_code", b"currency_code", "custom_attributes", b"custom_attributes", "description", b"description", "display_name", b"display_name", "engines", b"engines", "exch_code", b"exch_code", "exchange_identifiers", b"exchange_identifiers", "external_ids", b"external_ids", "figi_type", b"figi_type", "is_composite_figi", b"is_composite_figi", "is_share_class_figi", b"is_share_class_figi", "issuer", b"issuer", "market_sector", b"market_sector", "name", b"name", "security_type", b"security_type", "source_meta", b"source_meta", "ticker", b"ticker", "update_time", b"update_time", "website_uri", b"website_uri"] # noqa: Y015
|
|
453
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
454
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
455
|
+
|
|
456
|
+
Global___Instrument: _TypeAlias = Instrument # noqa: Y015
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in alis/open/in/v1/in_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
|
+
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
18
|
+
|
|
19
|
+
GRPC_GENERATED_VERSION: str
|
|
20
|
+
GRPC_VERSION: str
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
setup.py
|
|
2
|
+
alis/__init__.py
|
|
3
|
+
alis/__init__.pyi
|
|
4
|
+
alis.open.in.v1.egg-info/PKG-INFO
|
|
5
|
+
alis.open.in.v1.egg-info/SOURCES.txt
|
|
6
|
+
alis.open.in.v1.egg-info/dependency_links.txt
|
|
7
|
+
alis.open.in.v1.egg-info/requires.txt
|
|
8
|
+
alis.open.in.v1.egg-info/top_level.txt
|
|
9
|
+
alis/open/__init__.py
|
|
10
|
+
alis/open/__init__.pyi
|
|
11
|
+
alis/open/in_/__init__.py
|
|
12
|
+
alis/open/in_/__init__.pyi
|
|
13
|
+
alis/open/in_/v1/__init__.py
|
|
14
|
+
alis/open/in_/v1/__init__.pyi
|
|
15
|
+
alis/open/in_/v1/in_pb2.py
|
|
16
|
+
alis/open/in_/v1/in_pb2.pyi
|
|
17
|
+
alis/open/in_/v1/in_pb2_grpc.py
|
|
18
|
+
alis/open/in_/v1/in_pb2_grpc.pyi
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alis
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import setuptools
|
|
2
|
+
import os
|
|
3
|
+
import glob
|
|
4
|
+
|
|
5
|
+
def find_package_data(base, globs, root="alis_protobuf"):
|
|
6
|
+
"""Find all interesting data files, for setup(package_data=)
|
|
7
|
+
Arguments:
|
|
8
|
+
root: The directory to search in.
|
|
9
|
+
globs: A list of glob patterns to accept files.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
rv_dirs = [root for root, dirs, files in os.walk(base)]
|
|
13
|
+
rv = []
|
|
14
|
+
for rv_dir in rv_dirs:
|
|
15
|
+
files = []
|
|
16
|
+
for pat in globs:
|
|
17
|
+
files += glob.glob(os.path.join(rv_dir, pat))
|
|
18
|
+
if not files:
|
|
19
|
+
continue
|
|
20
|
+
rv.extend([os.path.relpath(f, root) for f in files])
|
|
21
|
+
return rv
|
|
22
|
+
|
|
23
|
+
package_data = find_package_data("alis_protobuf", ["*.py", "*.pyi"])
|
|
24
|
+
|
|
25
|
+
setuptools.setup(
|
|
26
|
+
name="alis.open.in.v1",
|
|
27
|
+
version="1.2.0",
|
|
28
|
+
description="Protobufs generated by Alis Build",
|
|
29
|
+
packages=setuptools.find_packages(),
|
|
30
|
+
include_package_data=True,
|
|
31
|
+
package_data={ # Optional
|
|
32
|
+
"alis_protobuf": package_data,
|
|
33
|
+
},
|
|
34
|
+
install_requires=[
|
|
35
|
+
'google-common-protos>=0.0.1',
|
|
36
|
+
'alis-services-protobuf-open>=1.176.0'
|
|
37
|
+
]
|
|
38
|
+
)
|