alpha_vantage
alpha_vantage copied to clipboard
Functionalities to accept no spam request sessions
- Implemented the ability to accept
sessionas an init argument toAlphaVantageto allow no-spam request sessions. - Added session instance type checker to make sure that a valid type is used, otherwise default to
None. - Modified
AlphaVantage._handle_api_callto use the request session if it is available. - Added tests for the session request functionalities.
- Confirmed that original methods of
AlphaVantagefunctions properly with the modifications. - Commented out tests for
sector_performancesince the method doesn't exist anymore.