Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionalities to accept no spam request sessions #377

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

SnowCheetos
Copy link

  • Implemented the ability to accept session as an init argument to AlphaVantage to 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_call to use the request session if it is available.
  • Added tests for the session request functionalities.
  • Confirmed that original methods of AlphaVantage functions properly with the modifications.
  • Commented out tests for sector_performance since the method doesn't exist anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant