-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35 create a ticker abstraction, caching and retries (#36)
* added helper methods to get access to data from alpha vantage * adding ticker abstraction to help with retrieving data from alpha vantage * adding tests to verify a single client or creating multiple clients will pass all our integration tests * fixed typo in client * added tests for accounting reports. added logic to correlate accounting reports * added cash flow to accounting reports * removed initializing dict in method signature * added fixed for real_gdp(event). It was defining {} in the signature and this can lead to unexpected results. thus the tests had to change slightly * added markers for new ticker integration tests * added limit to cache and made it configurable. renamed use_cache() to use_simple_cache() so it's clear to devs that it's a simple cache strategy.
- Loading branch information
Showing
10 changed files
with
1,063 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from alphavantage_api_client.client import AlphavantageClient | ||
from alphavantage_api_client.models import GlobalQuote, Quote, AccountingReport, CompanyOverview, RealGDP, \ | ||
CsvNotSupported | ||
from alphavantage_api_client.ticker import Ticker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.