primary-api-models 0.4.2__tar.gz → 0.4.4__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.
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/PKG-INFO +2 -1
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/enums.py +21 -21
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models.egg-info/PKG-INFO +2 -1
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models.egg-info/SOURCES.txt +1 -0
- primary_api_models-0.4.4/primary_api_models.egg-info/requires.txt +1 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/pyproject.toml +5 -2
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/README.md +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/__init__.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/account_report.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/commons.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/detailed_instruments.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/detailed_position.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/enhanced_models.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/instrument_details.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/instruments.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/market_data.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/order.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/order_report.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/order_status.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/positions.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/segments.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models.egg-info/dependency_links.txt +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models.egg-info/top_level.txt +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/setup.cfg +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/tests/test_model_dump.py +0 -0
- {primary_api_models-0.4.2 → primary_api_models-0.4.4}/tests/test_models.py +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: primary-api-models
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: Primary API models
|
|
5
5
|
Author-email: Chi Tudi <chitudi54@gmail.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: pydantic==2.13.4
|
|
8
9
|
|
|
9
10
|
# Primary API Models
|
|
10
11
|
Models for Primary API (REST / WS) messages
|
|
@@ -134,43 +134,43 @@ class MarketDataEntry(Enum):
|
|
|
134
134
|
|
|
135
135
|
class CFICode(Enum):
|
|
136
136
|
"""Identifies the type of instrument.
|
|
137
|
+
EMXXXX: CEDEAR
|
|
137
138
|
ESXXXX: Stock (Accion)
|
|
138
139
|
DBXXXX: Bond (Bono)
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
DBXXFR: Corporate Bond (Obligaciones Negociables)
|
|
141
|
+
DYXTXR: Letter note (Letras del tesoro)
|
|
141
142
|
FXXXSX: Future (Futuro)
|
|
143
|
+
OPASPS: Put Option on Stock (Opción Put sobre Acción)
|
|
144
|
+
OCASPS: Call Option on Stock (Opción Call sobre Acción)
|
|
142
145
|
OPAFXS: Put Option on Futures (Opción Put sobre Futuro)
|
|
143
146
|
OCAFXS: Call Option on Futures (Opción Call sobre Futuro)
|
|
144
|
-
EMXXXX: CEDEAR
|
|
145
|
-
DBXXFR: Corporate Bond (Obligaciones Negociables)
|
|
146
|
-
LRSTXH: (Contrato de futuros sobre divisas con entrega física)
|
|
147
|
-
MRIXXX: (Acción común sin derecho a voto u otros propositos. Ej I.RFX20_TEST)
|
|
148
|
-
DYXTXR: (Contrato de Futuro cotizado en bolsa, con liquidación en efectivo)
|
|
149
|
-
FXXXXX: Forward (Contrato a Futuro por acuerdo privado)
|
|
150
147
|
RPXXXX: Repurchase Agreement (Repo)
|
|
151
|
-
|
|
148
|
+
MRIXXX: Miscelaneous Index (Ej I.RFX20_TEST)
|
|
149
|
+
FXXXXX: Calendar spread option
|
|
150
|
+
OCEFXS: Opción Call sobre un activo de tipo de cambio, estandarizada y listada en mercado
|
|
151
|
+
OPEFXS: Opción Put sobre un activo de tipo de cambio, estandarizada y listada en mercado
|
|
152
|
+
LRSTXH: (Contrato de futuros sobre divisas con entrega física)
|
|
152
153
|
MXXXXX: Otros miscelaneos
|
|
153
|
-
OPEFXS: Corresponde a una opción de venta listada, con estilo de ejercicio europeo, que se liquida financieramente, y es un instrumento registrado.
|
|
154
154
|
DTXXXX: Un instrumento de deuda que es un pagaré a mediano plazo (Medium-Term Note), sin mayor detalle específico
|
|
155
|
-
DXXXXX:
|
|
155
|
+
DXXXXX: Indeterminado
|
|
156
156
|
"""
|
|
157
|
+
CEDEAR = "EMXXXX"
|
|
157
158
|
STOCK = "ESXXXX"
|
|
158
159
|
BOND = "DBXXXX"
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
ON = "DBXXFR"
|
|
161
|
+
LETTER_NOTE = "DYXTXR"
|
|
161
162
|
FUTURE = "FXXXSX"
|
|
163
|
+
PUT_STOCK = "OPASPS"
|
|
164
|
+
CALL_STOCK = "OCASPS"
|
|
162
165
|
PUT_FUTURE = "OPAFXS"
|
|
163
166
|
CALL_FUTURE = "OCAFXS"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
+
REPO = "RPXXXX"
|
|
168
|
+
MISC_INDEX = "MRIXXX"
|
|
169
|
+
CALENDAR_SPREAD_OPTION = "FXXXXX"
|
|
170
|
+
CALL_CURRENCY = "OCEFXS"
|
|
171
|
+
PUT_CURRENCY = "OPEFXS"
|
|
167
172
|
LRSTXH = "LRSTXH"
|
|
168
|
-
DYXTXR = "DYXTXR"
|
|
169
|
-
FXXXXX = "FXXXXX"
|
|
170
|
-
RPXXXX = "RPXXXX"
|
|
171
|
-
OCEFXS = "OCEFXS"
|
|
172
173
|
MXXXXX = "MXXXXX"
|
|
173
|
-
OPEFXS = "OPEFXS"
|
|
174
174
|
DTXXXX = "DTXXXX"
|
|
175
175
|
DXXXXX = "DXXXXX"
|
|
176
176
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: primary-api-models
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: Primary API models
|
|
5
5
|
Author-email: Chi Tudi <chitudi54@gmail.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: pydantic==2.13.4
|
|
8
9
|
|
|
9
10
|
# Primary API Models
|
|
10
11
|
Models for Primary API (REST / WS) messages
|
{primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models.egg-info/SOURCES.txt
RENAMED
|
@@ -18,6 +18,7 @@ primary_api_models/segments.py
|
|
|
18
18
|
primary_api_models.egg-info/PKG-INFO
|
|
19
19
|
primary_api_models.egg-info/SOURCES.txt
|
|
20
20
|
primary_api_models.egg-info/dependency_links.txt
|
|
21
|
+
primary_api_models.egg-info/requires.txt
|
|
21
22
|
primary_api_models.egg-info/top_level.txt
|
|
22
23
|
tests/test_model_dump.py
|
|
23
24
|
tests/test_models.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pydantic==2.13.4
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=61"
|
|
2
|
+
requires = ["setuptools>=61"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "primary-api-models"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.4"
|
|
8
8
|
description = "Primary API models"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name="Chi Tudi", email="chitudi54@gmail.com" }
|
|
11
11
|
]
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.8"
|
|
14
|
+
dependencies = [
|
|
15
|
+
"pydantic==2.13.4"
|
|
16
|
+
]
|
|
14
17
|
|
|
15
18
|
[tool.setuptools.packages.find]
|
|
16
19
|
where = ["."]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/detailed_instruments.py
RENAMED
|
File without changes
|
{primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/detailed_position.py
RENAMED
|
File without changes
|
|
File without changes
|
{primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models/instrument_details.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{primary_api_models-0.4.2 → primary_api_models-0.4.4}/primary_api_models.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|