PyQuantimClient 2.0.74__tar.gz → 2.0.75__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.
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/PKG-INFO +1 -1
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/PyQuantimClient.egg-info/PKG-INFO +1 -1
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/setup.py +1 -1
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/risk.py +7 -3
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/PyQuantimClient.egg-info/SOURCES.txt +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/PyQuantimClient.egg-info/dependency_links.txt +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/PyQuantimClient.egg-info/top_level.txt +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/README.md +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/setup.cfg +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/__init__.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/alm.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/api.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/benchmarks.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/bi.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/credit.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/data.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/energy.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/mstar.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/performance.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/portfolios.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/preprocess_co.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/private_debt.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/product.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/returns.py +0 -0
- {pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/src/utils.py +0 -0
|
@@ -4,7 +4,7 @@ setup(
|
|
|
4
4
|
name='PyQuantimClient',
|
|
5
5
|
packages=['PyQuantimClient'],
|
|
6
6
|
package_dir={'PyQuantimClient': 'src'},
|
|
7
|
-
version='2.0.
|
|
7
|
+
version='2.0.75',
|
|
8
8
|
description='Python client to access quantIM services',
|
|
9
9
|
author='Daniel Velasquez',
|
|
10
10
|
author_email='daniel.velasquez@sura-im.com',
|
|
@@ -231,13 +231,17 @@ class risk_data(quantim):
|
|
|
231
231
|
'''
|
|
232
232
|
today = dt.datetime.today().replace(hour=0, minute=0, second=0, microsecond=0)
|
|
233
233
|
ref_date = (today - dt.timedelta(days=(today.weekday() - 4) % 7)).strftime("%Y%m%d") if ref_date is None else ref_date
|
|
234
|
+
files = ["var_386","results_consol"]
|
|
234
235
|
try:
|
|
235
|
-
|
|
236
|
+
dfs = {}
|
|
237
|
+
for file_i in files:
|
|
238
|
+
dfs[file_i] = self.retrieve_s3_df(bucket, f'{prefix}{ref_date}/{file_i}_{ref_date}.csv', sep=sep, prefix=prefix)
|
|
236
239
|
print(f'Var 386 ready!')
|
|
240
|
+
dfs = dfs.values()
|
|
237
241
|
except:
|
|
238
242
|
print(f"Var 386 not available for {ref_date}!")
|
|
239
|
-
|
|
240
|
-
return
|
|
243
|
+
dfs = None
|
|
244
|
+
return dfs
|
|
241
245
|
|
|
242
246
|
def load_limits_params(self, file_path, country):
|
|
243
247
|
'''
|
|
File without changes
|
{pyquantimclient-2.0.74 → pyquantimclient-2.0.75}/PyQuantimClient.egg-info/dependency_links.txt
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
|
|
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
|
|
File without changes
|
|
File without changes
|