(May-27-2019, 01:10 PM)michalmonday Wrote: Hi, could you post the contents of the txt file? Or upload it whole?
I used this code below, but got no clue what to do with output i got, will go and learn further
import time from SECEdgar.crawler import SecCrawler def get_filings(): t1 = time.time() seccrawler = SecCrawler() # create object companyCode = 'AAPL' # company code for apple cik = '0000320193' # cik code for apple date = '20180101' # date from which filings should be downloaded count = '1' # no of filings seccrawler.filing_10Q(companyCode, cik, date, count) seccrawler.filing_10K(companyCode, cik, date, count) #seccrawler.filing_8K(companyCode, cik, date, count) #seccrawler.filing_13F(companyCode, cik, date, count) t2 = time.time() print ("Total Time taken: {0}".format(t2-t1)) if __name__ == '__main__': get_filings()