luxorasap 0.2.21__py3-none-any.whl → 1.0.2__py3-none-any.whl
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.
- luxorasap/__init__.py +1 -1
- luxorasap/datareader/core.py +2 -2
- {luxorasap-0.2.21.dist-info → luxorasap-1.0.2.dist-info}/METADATA +1 -1
- {luxorasap-0.2.21.dist-info → luxorasap-1.0.2.dist-info}/RECORD +7 -7
- {luxorasap-0.2.21.dist-info → luxorasap-1.0.2.dist-info}/WHEEL +1 -1
- {luxorasap-0.2.21.dist-info → luxorasap-1.0.2.dist-info}/entry_points.txt +0 -0
- {luxorasap-0.2.21.dist-info → luxorasap-1.0.2.dist-info}/top_level.txt +0 -0
luxorasap/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@ from types import ModuleType
|
|
|
13
13
|
try:
|
|
14
14
|
__version__: str = metadata.version(__name__)
|
|
15
15
|
except metadata.PackageNotFoundError: # editable install
|
|
16
|
-
__version__ = "0.2
|
|
16
|
+
__version__ = "1.0.2"
|
|
17
17
|
|
|
18
18
|
# ─── Lazy loader ─────────────────────────────────────────────────
|
|
19
19
|
def __getattr__(name: str) -> ModuleType:
|
luxorasap/datareader/core.py
CHANGED
|
@@ -42,7 +42,6 @@ class LuxorQuery:
|
|
|
42
42
|
|
|
43
43
|
self.modified_tables = []
|
|
44
44
|
|
|
45
|
-
|
|
46
45
|
#if tables_path is None:
|
|
47
46
|
# self.tables_path = self.__set_tables_path()
|
|
48
47
|
|
|
@@ -214,7 +213,7 @@ class LuxorQuery:
|
|
|
214
213
|
cols_to_format = list(set(table_data.columns) - {"Date", "Fund"})
|
|
215
214
|
table_data[cols_to_format] = table_data[cols_to_format].astype(float)
|
|
216
215
|
except ValueError:
|
|
217
|
-
logging.info("Ao carregar tabela '
|
|
216
|
+
logging.info("Ao carregar tabela 'hist_risk_metrics', nao foi possivel converter dados para float.")
|
|
218
217
|
|
|
219
218
|
for col in table_columns.intersection(date_dtypes):
|
|
220
219
|
try:
|
|
@@ -1173,6 +1172,7 @@ class LuxorQuery:
|
|
|
1173
1172
|
amortizations = { # Amortizacao Bruta / PL antes da amortizacao
|
|
1174
1173
|
"maratona" : [{"event_date" : dt.date(2024,1,4), "amortization_ratio" : 2_517_404.21/24_165_260.40},
|
|
1175
1174
|
{"event_date" : dt.date(2025,1,8), "amortization_ratio" : 950_000/27_633_373.46},
|
|
1175
|
+
{"event_date" : dt.date(2026,1,16), "amortization_ratio" : 875_000/28_524_551.99}
|
|
1176
1176
|
],
|
|
1177
1177
|
}
|
|
1178
1178
|
# Verificando se ha amortizacoes para o ativo e aplicando.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
luxorasap/__init__.py,sha256=
|
|
1
|
+
luxorasap/__init__.py,sha256=ZDIv_vbPHCpGTSqKMJyarlWAxwHNFSKkjNZemzkKdwg,1355
|
|
2
2
|
luxorasap/btgapi/__init__.py,sha256=QUlfb5oiBY6K1Q5x4-a-x2wECe1At5wc2962I5odOJk,620
|
|
3
3
|
luxorasap/btgapi/auth.py,sha256=PvyCtbEyBO2B1CIeAlNXWugKW1OgiKfPcVzS6K5FBnQ,1872
|
|
4
4
|
luxorasap/btgapi/reports.py,sha256=ZVEMLoJPXc0r3XjPJPMsKQN0zZd1Npd7umNpAj1bncs,8040
|
|
5
5
|
luxorasap/btgapi/trades.py,sha256=956HZ9BvN9C_VQvKTyBLN0x6ZygwVqBZN11F7OnNbDI,5985
|
|
6
6
|
luxorasap/datareader/__init__.py,sha256=41RAvbrQ4R6oj67S32CrKqolx0CJ2W8cbOF6g5Cqm2g,120
|
|
7
|
-
luxorasap/datareader/core.py,sha256=
|
|
7
|
+
luxorasap/datareader/core.py,sha256=ZjEZxFogYUtLC_0IBa7sZliDXhKXcWAO-E_JzVBDw9A,159956
|
|
8
8
|
luxorasap/ingest/__init__.py,sha256=gHkw8FU8TuRL5tfHkACxwsLHwLYX8SgX9xHkB8uTjww,831
|
|
9
9
|
luxorasap/ingest/cloud/__init__.py,sha256=JYhrE6LG9mRTMdOreN9lfaLUNxqdB5S2vvM9dH1J4ak,8171
|
|
10
10
|
luxorasap/ingest/legacy_local/dataloader.py,sha256=DF3CvojDAi0itVDZPsQbmpl5pqMTNwOOpxTz4Ju8mho,12419
|
|
@@ -17,8 +17,8 @@ luxorasap/utils/storage/blob.py,sha256=28bsUbEUjg_LapDZ4P3kWkxHDQGNXv_Jik49RfXbw
|
|
|
17
17
|
luxorasap/utils/storage/change_tracker.py,sha256=HkeKc62UyD2BtP2gqafnJHZSBvYreH_7SQI1CYhn3Us,11709
|
|
18
18
|
luxorasap/utils/tools/__init__.py,sha256=dvK7Z4xnNQAuEiObVN7qjeLWAvP49JeFn2Oq9GdgmXs,76
|
|
19
19
|
luxorasap/utils/tools/excel.py,sha256=SfeTcbJWsWq3uKruwKSjJ4aWgMovITzlNXjP2bhdMjI,1246
|
|
20
|
-
luxorasap-0.2.
|
|
21
|
-
luxorasap-0.2.
|
|
22
|
-
luxorasap-0.2.
|
|
23
|
-
luxorasap-0.2.
|
|
24
|
-
luxorasap-0.2.
|
|
20
|
+
luxorasap-1.0.2.dist-info/METADATA,sha256=iq5NivDtwzmbOoHh7SLTTsD7lzPabZj07PTUO3bJWO0,3803
|
|
21
|
+
luxorasap-1.0.2.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
22
|
+
luxorasap-1.0.2.dist-info/entry_points.txt,sha256=XFh-dOwUhlya9DmGvgookMI0ezyUJjcOvTIHDEYS44g,52
|
|
23
|
+
luxorasap-1.0.2.dist-info/top_level.txt,sha256=9YOL6bUIpzY06XFBRkUW1e4rgB32Ds91fQPGwUEjxzU,10
|
|
24
|
+
luxorasap-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|