Skip to content

Commit

Permalink
Prevent attempting metadata 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 bf35c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/download_metadata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function download_metadata_files(
mkdir(dest)
end

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 bf35c1f

Please sign in to comment.