PyQuantimClient 2.0.77__py3-none-any.whl → 2.0.78__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.
@@ -9,7 +9,7 @@ class portfolios(quantim):
9
9
  def __init__(self, username, password, secretpool, env="pdn", api_url=None):
10
10
  super().__init__(username, password, secretpool, env, api_url)
11
11
 
12
- def get_portfolios(self, ref_date=None, country=None, fields=None, port_names=None, clean=False, mv_to_usd=False):
12
+ def get_portfolios(self, ref_date=None, country=None, fields=None, port_names=None, clean=False, mv_to_usd=False, map_indices=False):
13
13
  '''
14
14
  Query portfolios from database.
15
15
 
@@ -34,7 +34,7 @@ class portfolios(quantim):
34
34
  if (country is None or len(country)==0) and port_names is None:
35
35
  raise ValueError('Either country or port_names must be different to None.')
36
36
 
37
- data = {'date':ref_date, 'country':country, 'fields':fields, 'port_names':port_names, 'clean':clean, 'mv_to_usd':mv_to_usd, 'res_url':True}
37
+ data = {'date':ref_date, 'country':country, 'fields':fields, 'port_names':port_names, 'clean':clean, 'mv_to_usd':mv_to_usd, "map_indices":map_indices, 'res_url':True}
38
38
  ports_url = self.api_call('query_portfolios', method="post", data=data, verify=False)
39
39
  ports_data = requests.get(ports_url, verify=False)
40
40
  ports_df = pd.read_csv(io.StringIO(ports_data.content.decode('utf-8-sig')), sep='|')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyQuantimClient
3
- Version: 2.0.77
3
+ Version: 2.0.78
4
4
  Summary: Python client to access quantIM services
5
5
  Author: Daniel Velasquez
6
6
  Author-email: daniel.velasquez@sura-im.com
@@ -8,14 +8,14 @@ PyQuantimClient/data.py,sha256=h2hNkzw9VW-yU2-GXVhhPYyO21wex8P6NPFzhf99Irc,4631
8
8
  PyQuantimClient/energy.py,sha256=hNI2zwOWnIDqasD-r1Keq7mN-L_l9c-VFZ3zv4ktS2A,1820
9
9
  PyQuantimClient/mstar.py,sha256=42bEKkvUtTfemQoKe7sre5cqdh_fZxcG2yLJgAhxjNQ,624
10
10
  PyQuantimClient/performance.py,sha256=_WtnyLDd56Z8Pz8_IZZDklAqTviB3AWDtKtinm6u6wM,1088
11
- PyQuantimClient/portfolios.py,sha256=snaUE0LRXH5CGBilaW_Dbiwd_GzsbutEqitaZdNS2FE,10305
11
+ PyQuantimClient/portfolios.py,sha256=OTrdgbLjKtFcqzz6-9x9IwZwPdwYCUZAhcTWhOTvcWo,10351
12
12
  PyQuantimClient/preprocess_co.py,sha256=sdQuuxK1bfjY-Wp87xt7f9yFN_9WiJf4QiBNGy-4ks0,19944
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
16
  PyQuantimClient/risk.py,sha256=iAWr0FPv3xBI3KO4kx37c6UeKcds9dMUp7x_CFyeoyc,21475
17
17
  PyQuantimClient/utils.py,sha256=d_hyKTeHzQuPVusrbZJEhtbp6srninQCErKDfe6HH2w,941
18
- pyquantimclient-2.0.77.dist-info/METADATA,sha256=0aiF3NWsPchle-HvqXWyPLcJ0q98hYSg2F5UxM4ef0w,447
19
- pyquantimclient-2.0.77.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
20
- pyquantimclient-2.0.77.dist-info/top_level.txt,sha256=WbmxYSegJ1EfH-TJOqtF0mzYevWDeaMoJ4ZAzQaOTDE,16
21
- pyquantimclient-2.0.77.dist-info/RECORD,,
18
+ pyquantimclient-2.0.78.dist-info/METADATA,sha256=bfULen5ORamuPzk3VPGCjncMgwcptYwQw1dj2hNRC6M,447
19
+ pyquantimclient-2.0.78.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
20
+ pyquantimclient-2.0.78.dist-info/top_level.txt,sha256=WbmxYSegJ1EfH-TJOqtF0mzYevWDeaMoJ4ZAzQaOTDE,16
21
+ pyquantimclient-2.0.78.dist-info/RECORD,,