Skip to main content

pybovespa is a basic library to get Bovespa stock values.

Project description

The BM&FBOVESPA, in full, Bolsa de Valores, Mercadorias & Futuros de São Paulo) is a stock exchange located at São Paulo, Brazil.

pybovespa is a basic library to get Bovespa stock values.

Getting and installing

To get pybovespa, please run:

# pip install pybovespa

Upgrading

To get the new version of currently installed, please run:

# pip install -U pybovespa

Usage

Its a simple library, so see the example code:

#!/usr/bin/env python2.7

from pybovespa.pybovespa import Bovespa

bovespa = Bovespa()
paper = bovespa.query("PETR3")
print paper.cod, paper.name, paper.last

The output should be something like that:

PETR3 PETROBRAS ON 24,24

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pybovespa-0.1.0.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page