Skip to main content

Download data from NEFIN, the Brazilian Center for Research in Financial Economics of the University of São Paulo (http://www.nefin.com.br/)

Project description

nefindata

Python and R packages to download data from NEFIN, the Brazilian Center for Research in Financial Economics of the University of São Paulo (http://www.nefin.com.br/)

Installation

The python package can be installed via pip. Run the following command:

pip install nefindata

Risk Factors

Collect data of risk factors such as Market Factor, SMB, WML, HML, IML and Risk Free.

Usage example:

from nefindata.risk_factors import get_risk_factors

factors = ['Mkt', 'SMB'] # for all factors, set it to 'all' or None
df = get_risk_factors(factors)
df_agg = get_risk_factors(factors, agg='month', agg_func='last')

Cost of Capital

Collect data of cost of capital for industrial sectors such as Basic Products, Construction, Consumer, Energy, Finance, Manufacturing and Other. Data is available for 1, 5, 10 and 20-year projects.

Usage example:

from nefindata.cost_capital import get_sector_cost_of_capital

sector = 'Basic'
df = get_sector_cost_of_capital(sector)
df_agg = get_sector_cost_of_capital(sector, agg='year', agg_func='last')

Other data

Similar functions get other data such as. The syntax is similar as above.

Next Steps

Include data downloaders from

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nefindata-0.1.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

nefindata-0.1.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file nefindata-0.1.2.tar.gz.

File metadata

  • Download URL: nefindata-0.1.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for nefindata-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7e919680166441426959749155f25fdf59897a0a4a6b901a6cce60dbb5b60cdc
MD5 a912266d37a1daa2c342afe3ef894812
BLAKE2b-256 6e1b66b1d18ea6680c9c7784d37ccf2017a9d14c5c3d44575667e513b1445afb

See more details on using hashes here.

File details

Details for the file nefindata-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nefindata-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for nefindata-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f441fc6f318064b5d8bb7fc8d51208752e1f86f71ae284787ead286c9c21d4b3
MD5 73ce3df35f0c280f23b50df824648ef7
BLAKE2b-256 5edf043bd2f12a3d19f0b8dd9121117e22770dec5620c12d221a9a2b11d18253

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page