Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 407 Bytes
package finance
import "fmt"
// GetUSEquitySymbols fetches the symbols available through BATS, ~8k symbols.
func GetUSEquitySymbols() (symbols []string, err error) {
t, err := fetchCSV(SymbolsURL, nil)
if err != nil {
return []string{}, fmt.Errorf("error fetching symbols: (error was: %s)\n", err.Error())
for i, r := range t {
if i != 0 {
symbols = append(symbols, r[0])
You can’t perform that action at this time.