PyQuantimClient 2.0.73__py3-none-any.whl → 2.0.74__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.
PyQuantimClient/risk.py CHANGED
@@ -239,7 +239,7 @@ class risk_data(quantim):
239
239
  df = None
240
240
  return df
241
241
 
242
- def load_limits_params(self, file_path, encoding='latin-1'):
242
+ def load_limits_params(self, file_path, country):
243
243
  '''
244
244
  Load limits parameters file to s3.
245
245
  '''
@@ -247,7 +247,7 @@ class risk_data(quantim):
247
247
  filename = file_path.split('/')[-1]
248
248
  if filename.split('.')[-1]!='csv':
249
249
  raise ValueError('Extension must be csv. Please check file.')
250
- resp = self.upload_with_presigned_url(file_path, "condor-sura", f"inputs/risk/limits/CO/{filename}")
250
+ resp = self.upload_with_presigned_url(file_path, "condor-sura", f"inputs/risk/limits/{country}/{filename}")
251
251
  return resp
252
252
 
253
253
  def load_pretrade_inputs(self, file_path):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyQuantimClient
3
- Version: 2.0.73
3
+ Version: 2.0.74
4
4
  Summary: Python client to access quantIM services
5
5
  Author: Daniel Velasquez
6
6
  Author-email: daniel.velasquez@sura-im.com
@@ -13,9 +13,9 @@ PyQuantimClient/preprocess_co.py,sha256=sdQuuxK1bfjY-Wp87xt7f9yFN_9WiJf4QiBNGy-4
13
13
  PyQuantimClient/private_debt.py,sha256=Eeg7CgXa_mE0DTvvOfsVH_I0s_3cmkrVAOczBxznCzU,683
14
14
  PyQuantimClient/product.py,sha256=fTachNfN35m4peLtXm7WAWgERxfBITYNsb4agW4bZuM,929
15
15
  PyQuantimClient/returns.py,sha256=r2PruoqvPdfZ4uGgWb0rA9nz4wUXf5R5rDLPYjlpXOM,3143
16
- PyQuantimClient/risk.py,sha256=9fOqe5QEXfxYRRG6F8x6S-dVqLVSeT6yNCyOXS7AQvo,19251
16
+ PyQuantimClient/risk.py,sha256=4ymwOlAOTI9cTtKatojThPnCxz5-mdH9Z2PuXOUDYUk,19247
17
17
  PyQuantimClient/utils.py,sha256=d_hyKTeHzQuPVusrbZJEhtbp6srninQCErKDfe6HH2w,941
18
- pyquantimclient-2.0.73.dist-info/METADATA,sha256=VFHDdMWewxeGOR4Y2vBJWCIj93EmEXhb3SMlhaZxIjI,447
19
- pyquantimclient-2.0.73.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
20
- pyquantimclient-2.0.73.dist-info/top_level.txt,sha256=WbmxYSegJ1EfH-TJOqtF0mzYevWDeaMoJ4ZAzQaOTDE,16
21
- pyquantimclient-2.0.73.dist-info/RECORD,,
18
+ pyquantimclient-2.0.74.dist-info/METADATA,sha256=aE8RHl_vE5BOiNqIlBX4cAcMrqjPKM3LWE1171RZZas,447
19
+ pyquantimclient-2.0.74.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
20
+ pyquantimclient-2.0.74.dist-info/top_level.txt,sha256=WbmxYSegJ1EfH-TJOqtF0mzYevWDeaMoJ4ZAzQaOTDE,16
21
+ pyquantimclient-2.0.74.dist-info/RECORD,,