Liking cljdoc? Tell your friends :D

edgar.download


download-batch!clj

(download-batch! tickers
                 dir
                 &
                 {:keys [form limit start-date end-date parallelism
                         download-all? skip-existing?]
                  :or {parallelism 4 download-all? false skip-existing? false}})

Download filings for a seq of tickers/CIKs to a directory. Options same as download-filings! plus: :parallelism - number of concurrent downloads (default 4) Returns a map of {ticker -> [result-maps]}

Download filings for a seq of tickers/CIKs to a directory.
Options same as download-filings! plus:
  :parallelism - number of concurrent downloads (default 4)
Returns a map of {ticker -> [result-maps]}
sourceraw docstring

download-filings!clj

(download-filings! ticker-or-cik
                   dir
                   &
                   {:keys [form limit start-date end-date download-all?
                           skip-existing?]
                    :or {download-all? false skip-existing? false}})

Download filings for a ticker or CIK to a local directory. Options: :form - form type e.g. "10-K" (required) :limit - max number of filings (default all) :start-date - "YYYY-MM-DD" :end-date - "YYYY-MM-DD" :download-all? - download all attachments, not just primary doc (default false) :skip-existing? - skip filings whose output file already exists (default false) Returns a seq of result maps {:status :ok :path ...} or {:status :error ...}.

Download filings for a ticker or CIK to a local directory.
Options:
  :form            - form type e.g. "10-K" (required)
  :limit           - max number of filings (default all)
  :start-date      - "YYYY-MM-DD"
  :end-date        - "YYYY-MM-DD"
  :download-all?   - download all attachments, not just primary doc (default false)
  :skip-existing?  - skip filings whose output file already exists (default false)
Returns a seq of result maps {:status :ok :path ...} or {:status :error ...}.
sourceraw docstring

download-index!clj

(download-index! start-year
                 end-year
                 dir
                 &
                 {:keys [type quarters]
                  :or {type "company" quarters [1 2 3 4]}})

Download all quarterly index files for a year range to a directory. Returns a seq of result maps {:status :ok :path ...} or {:status :error ...}. type: "company" | "form" | "master" (default "company")

Download all quarterly index files for a year range to a directory.
Returns a seq of result maps {:status :ok :path ...} or {:status :error ...}.
type: "company" | "form" | "master" (default "company")
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close