Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 553 Bytes

README.md

File metadata and controls

58 lines (45 loc) · 553 Bytes

brmarket

Package to get indexes info from B3

Import

go get github.com/cesarvspr/brmarket

Usage

import "go get github.com/cesarvspr/brmarket"

Indexes available

IBOV IBXX IBXL IBRA IGCX ITAG IGNM IGCT IDIV MLCX IVBX ICO2 ISEE ICON IEEX IFNC IMOB INDX IMAT UTIL IFIX BDRX

  • main.go

package main

import (
 "fmt"

 "github.com/cesarvspr/brmarket"
)

func main() {
 data, _ := brmarket.GetSharesForIndex(brmarket.IBOV)
 fmt.Println(data.UnderlyingList)
}