Skip to content

Commit

Permalink
Merge pull request #77 from Arkoniak/76-deprecation-fix
Browse files Browse the repository at this point in the history
csv deprecation fix (#76)
  • Loading branch information
Arkoniak committed Feb 1, 2022
2 parents 22be718 + 467dfcd commit ddd93a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MarketData"
uuid = "945b72a4-3b13-509d-9b46-1525bb5c06de"
authors = ["JuliaQuant <https://github.com/JuliaQuant>"]
version = "0.13.8"
version = "0.13.9"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion src/downloads.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function yahoo(sym::AbstractString = "^GSPC", opt::YahooOpt = YahooOpt())
url = "https://$host.finance.yahoo.com/v7/finance/download/$sym"
res = HTTP.get(url, query = opt)
@assert res.status == 200
csv = CSV.File(res.body, missingstrings = ["null"])
csv = CSV.File(res.body, missingstring = "null")
sch = TimeSeries.Tables.schema(csv)
TimeArray(csv, timestamp = first(sch.names)) |> cleanup_colname!
end
Expand Down

2 comments on commit ddd93a6

@Arkoniak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53618

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.13.9 -m "<description of version>" ddd93a67809d89bac85f781dc114911963a29335
git push origin v0.13.9

Please sign in to comment.