Skip to content

Commit

Permalink
Prevent attempting downloads on the first day of a quarter
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjthomas9 authored Oct 5, 2024
1 parent eda6fd1 commit 6846c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/download_filings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function download_filings(
running_tests=false::Bool,
clean_text::Function=_pass_text,
)
current_date = Dates.now()
current_date = Dates.now() - Dates.Day(1) #https://github.com/tylerjthomas9/ScrapeSEC.jl/issues/24
current_year = Dates.year(current_date)
current_quarter = Dates.quarterofyear(current_date)

Expand Down

0 comments on commit 6846c20

Please sign in to comment.