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

Add API to fetch account transaction history #40

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

taylorconor
Copy link
Contributor

@taylorconor taylorconor commented Jan 11, 2024

This PR introduces schwab.get_transaction_history(account_id), which returns an object containing the full transaction history for the provided account ID.

@@ -77,6 +77,44 @@ def get_account_info(self):

return account_info

def get_transaction_history(self, account_id):
Copy link
Owner

Choose a reason for hiding this comment

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

Could we rename this get_transaction_history_v2(), for consistency with all other methods that are calling the "new" schwab API endpoints?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@itsjafer itsjafer merged commit 30aa3c0 into itsjafer:main Jan 16, 2024
1 check passed
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.

2 participants