Skip to content

Download company periodic reports, filings and forms from Securities and Exchange Commission (SEC) EDGAR site

License

Notifications You must be signed in to change notification settings

RelateTheNews/go-edgar-getter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDGAR Getter

EDGAR Getter is a Go package for downloading company periodic reports, filings and forms from Securities and Exchange Commission (SEC) EDGAR site.

Installation

go get -u github.com/RelateTheNews/go-edgar-getter

Usage

package main

import "github.com/RelateTheNews/go-edgar-getter"

func main(){
  var g getter.Getter
  var getURI string
  
  // Note this is a sample URI. Must verify correct URIs on www.sec.gov
  getURI = "https://www.sec.gov/Archives/edgar/Feed/2013/QTR1/"
  
  g.NewGetter()
  
  // files is a list of successfully retrieved files
  files := g.RetrieveURIs(getURI, 0)
  fmt.Println(len(files))
}

Contribution Guidelines

Contributions are greatly appreciated. The maintainers actively manage the issues list. For a list of primary maintainers see ./MAINTAINERS.md. The project follows the typical GitHub pull request model. Before starting any work, please either comment on an existing issue, or file a new one.