bmf-to-json

1.0.1 • Public • Published

bmf-to-json

Parser the BM&FBovespa history data to Json.

    const file = 'example/COTAHIST_M052017_2.TXT';
    const BMF = require('../index');
    let bmfParser = new BMF(file);
    bmfParser.loadData()
    .then((data) => {
        console.log(data);
    })
    .catch((error) => {
        console.log('Error while loading data!', error);
    });

Fields that will be extracted

  • tipoMercado;
  • volumeTitulosNegociados;
  • dataPregao;
  • codigoAcao;
  • empresa;
  • precoAbertura;
  • precoMaximo;
  • precoMinimo;
  • precoFechamento;

Readme

Keywords

Package Sidebar

Install

npm i bmf-to-json

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • filipi87