bmf-to-json
v1.0.1
Published
Parser the BM&FBovespa history data to Json.
Downloads
4
Readme
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;