Code Monkey home page Code Monkey logo

rpn's Introduction

rapina

Download and process Brazilian companies' financial data directly from CVM web server:

http://dados.cvm.gov.br/dados/CIA_ABERTA/DOC/DFP/

Commands

Download and store financial data into the local database

./rapina get

It downloads all files from CVM web server, parses their contents and stores on this sqlite database: .data/rapina.db.

List all companies

./rapina list

Create a spreadsheet with a company financial data

./rapina report <"COMPANY NAME">

For example:

./rapina report WEG
./rapina report "TEC TOY"

The spreadsheet will be saved at .data/COMPANY_NAME.xlsx

How to compile

  1. Clone this repo to your PC (git clone https://github.com/adrprado/rapina)
  2. Change to CLI directory (cd rapina/cli)
  3. Compile using the Makefile (make). To cross compile for Windows on Linux, use make win.

Contributing

  1. Fork it
  2. Download your fork to your PC (git clone https://github.com/your_username/rapina && cd rapina)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Make changes and add them (git add .)
  5. Commit your changes (git commit -m 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create new pull request

License

MIT

rpn's People

Contributors

adrprado avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.