1.0.1 • Published 7 years ago

bmf-to-json v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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;
1.0.1

7 years ago

1.0.0

7 years ago