ellisvalentiner / AlphaVantage.jl

Compare abb8175 ... +0 ... 5420308

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 2 of 4 files from the diff.

@@ -44,6 +44,11 @@
Loading
44 44
    return a
45 45
end
46 46
47 +
function _form_uri_tail(client::AVClient)
48 +
    "&apikey=" * key(client)
49 +
end
50 +
51 +
47 52
"""
48 53
Internal function that helps forms the request uri
49 54
"""

@@ -87,3 +87,17 @@
Loading
87 87
        export $fname
88 88
    end
89 89
 end
90 +
91 +
 function earnings_calendar(horizon::Int64; client=GLOBAL[], parser = "default")
92 +
    uri = _form_uri_head(client, "EARNINGS_CALENDAR") * "&horizon=$(horizon)month" * _form_uri_tail(client)
93 +
    data = retry(_get_request, delays=Base.ExponentialBackOff(n=3, first_delay=4, max_delay=1000))(uri)
94 +
    p = _parser(parser, "csv")
95 +
    return p(data)
96 +
 end 
97 +
98 +
 function ipo_calendar(; client = GLOBAL[], parser = "default")
99 +
    uri = _form_uri_head(client, "IPO_CALENDAR") * _form_uri_tail(client)
100 +
    data = retry(_get_request, delays=Base.ExponentialBackOff(n=3, first_delay=4, max_delay=1000))(uri)
101 +
    p = _parser(parser, "csv")
102 +
    return p(data)
103 +
 end

Learn more Showing 1 files with coverage changes found.

Changes in src/fundamentals.jl
-2
+2
Loading file...
Files Coverage
src +1.22% 96.60%
Project Totals (8 files) 96.60%
Loading