Package to get indexes info from B3
go get github.com/cesarvspr/brmarket
import "go get github.com/cesarvspr/brmarket"
IBOV IBXX IBXL IBRA IGCX ITAG IGNM IGCT IDIV MLCX IVBX ICO2 ISEE ICON IEEX IFNC IMOB INDX IMAT UTIL IFIX BDRX
package main
import (
"fmt"
"github.com/cesarvspr/brmarket"
)
func main() {
data, _ := brmarket.GetSharesForIndex(brmarket.IBOV)
fmt.Println(data.UnderlyingList)
}