1.1.8 • Published 1 year ago

bvmf v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Getting started

Running Code Coverage

CircleCI codecov

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

1 year ago

1.1.7

2 years ago

1.0.7

2 years ago

1.0.69

2 years ago

1.0.68

2 years ago

1.0.67

2 years ago

1.0.66

2 years ago

1.0.65

2 years ago

1.0.64

2 years ago

1.0.62

3 years ago

1.0.63

2 years ago

1.0.61

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.9.0

3 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.6.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago