finance.edgar
Class EdgarGoogle
java.lang.Object
finance.edgar.EdgarGoogle
public class EdgarGoogle
- extends java.lang.Object
EDGAR - Electronic Data-Gathering, Analysis, and Retrieval system,
performs automated collection, validation, indexing, acceptance,
and forwarding of submissions by companies and others who are required by law to file
forms with the U.S. Securities and Exchange Commission (the "SEC").
EdgarGoogle uses google. The problem is, google will block your IP
address if you use it too much.
Constructor Summary |
EdgarGoogle(java.lang.String symbol)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgarGoogle
public EdgarGoogle(java.lang.String symbol)
throws java.io.IOException,
javax.swing.text.BadLocationException
- Throws:
java.io.IOException
javax.swing.text.BadLocationException
getUrlCIK2
public static java.lang.String getUrlCIK2(java.lang.String companyName)
- The Central Index Key (CIK) is used on the SEC's computer systems to
identify corporations and individual people who have filed
disclosure with the SEC.
You can use the CIK to search for company or fund filings on EDGAR.
This seems to be buggy! Check getURLCIK2
- Parameters:
companyName
- "HOME+DEPOT"
- Returns:
- CIK
getUrlCIK
public static java.lang.String getUrlCIK(java.lang.String companyName)
getUrlTo
public java.net.URL getUrlTo()
throws java.net.MalformedURLException
- Returns:
- a url showing tender offers filed with EDGAR
- Throws:
java.net.MalformedURLException
getSymbol
public java.lang.String getSymbol()
setSymbol
public void setSymbol(java.lang.String symbol)
getCik
public int getCik()
setCik
public void setCik(int cik)
getCompanyName
public java.lang.String getCompanyName()
getUrlCik
public java.lang.String getUrlCik()
getCikCompanyNameSymbol
public CikCompanyNameSymbol getCikCompanyNameSymbol()
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
javax.swing.text.BadLocationException
- Throws:
java.io.IOException
javax.swing.text.BadLocationException
testRun5
public static void testRun5()
testRun10
public static void testRun10()
testRun20
public static void testRun20()