PyQuantimClient 1.0.47__tar.gz → 1.0.48__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-1.0.47 → PyQuantimClient-1.0.48}/PKG-INFO +1 -1
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/PyQuantimClient.egg-info/PKG-INFO +1 -1
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/setup.py +1 -1
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/risk.py +3 -3
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/PyQuantimClient.egg-info/SOURCES.txt +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/PyQuantimClient.egg-info/dependency_links.txt +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/PyQuantimClient.egg-info/top_level.txt +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/README.md +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/setup.cfg +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/__init__.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/api.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/benchmarks.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/data.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/energy.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/portfolios.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/src/preprocess_co.py +0 -0
- {PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/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='1.0.
|
|
7
|
+
version='1.0.48',
|
|
8
8
|
description='Python client to access quantIM services',
|
|
9
9
|
author='Daniel Velasquez',
|
|
10
10
|
author_email='daniel.velasquez@sura-im.com',
|
|
@@ -84,7 +84,7 @@ class risk_data(quantim):
|
|
|
84
84
|
dfs = None
|
|
85
85
|
return dfs
|
|
86
86
|
|
|
87
|
-
def load_limits_params(self, file_path, encoding='
|
|
87
|
+
def load_limits_params(self, file_path, encoding='latin-1'):
|
|
88
88
|
'''
|
|
89
89
|
Load limits parameters file to s3.
|
|
90
90
|
'''
|
|
@@ -101,9 +101,9 @@ class risk_data(quantim):
|
|
|
101
101
|
|
|
102
102
|
# Read new file:
|
|
103
103
|
try:
|
|
104
|
-
df_new = pd.read_csv(file_path, sep=sep, encoding=
|
|
104
|
+
df_new = pd.read_csv(file_path, sep=sep, encoding=encoding)
|
|
105
105
|
except:
|
|
106
|
-
|
|
106
|
+
raise ValueError("Cannot read file. Check path and encoding.")
|
|
107
107
|
|
|
108
108
|
# Load data
|
|
109
109
|
payload = df_new.to_dict(orient='records')
|
|
File without changes
|
{PyQuantimClient-1.0.47 → PyQuantimClient-1.0.48}/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
|