1.1.8 ā¢ Published 4 months ago
bvmf v1.1.8
Getting started
Installation
npm i bvmf
Usage
Import
//using ES6
import bvmf from 'bvmf';
//or using ES5
const bvmf = require("bvmf")
Using
//using ES6
import bvmf from 'bvmf';
async function returnQuote(bvmf) {
const result = await bvmf(
{
bvmf: bvmf
});
return(result);
}
try{
console.log(returnQuote("itsa4"));
}catch(err){
console.error(err);
}
Returns
{
"bvmf": "itsa4",
"total": 1,
"stock": [
{
"currentValue": 11.11,
"dailyLiquidity": 391.965,
"yield": 2.67,
"min2Weeks": 8.57,
"max2Weeks": 12.05,
"logo": "https://cdn-statsinvest.azeedge.net/img/company/cove/345.jpg",
"name": "ITAUSA INVESTIMENTOS ITAU S.A.",
"site": "http://www.itausa.com.br"
}
]
}
Testing
I used jest-cucumber
Example:
Feature: Retrieve stock information
Scenario: Retrieving stock data
Given I want to retrieve stock data
When I call the stock function with the bvmf code
Then I should receive an object with the stock data
š¤ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a āļø if this project helped you!
Or buy me a coffee šš¾
Or
BTC WALLET: 3P4oVEdSP8CPdFZZwS2dboRyLFXLSTE7Gq
š License
Copyright Ā© 2023 Hebert F Barros. This project is MIT licensed.
1.1.8
4 months ago
1.1.7
6 months ago
1.0.7
6 months ago
1.0.69
7 months ago
1.0.68
9 months ago
1.0.67
10 months ago
1.0.66
1 year ago
1.0.65
1 year ago
1.0.64
1 year ago
1.0.62
1 year ago
1.0.63
1 year ago
1.0.61
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.2
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.9.0
2 years ago
0.8.0
3 years ago
0.7.0
3 years ago
0.5.0
3 years ago
0.4.0
3 years ago
0.6.0
3 years ago
0.3.0
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago