-
Notifications
You must be signed in to change notification settings - Fork 213
almost finished schwab, testing #742
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
base: dev
Are you sure you want to change the base?
Conversation
Important Required App Permission UpdateNoise Reduction ImprovementsThis update requests write permissions for Commit Statuses in order to send updates directly to your PRs without adding comments that spam notifications. Visit our changelog to learn more. Click here to accept the updated permissions To accept the updated permissions, sufficient privileges are required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review by Korbit AI
Korbit automatically attempts to detect when you fix issues in new commits.
Category | Issue | Status |
---|---|---|
Exposed Authentication Endpoint ▹ view | 🧠 Incorrect |
Files scanned
File Path | Reviewed |
---|---|
setup.py | ✅ |
lumibot/brokers/schwab.py | ✅ |
lumibot/strategies/strategy.py | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
@app.route("/schwab-login") | ||
def schwab_login(): | ||
client_from_login_flow( | ||
api_key = self.client.api_key, | ||
app_secret = self.client.app_secret, | ||
callback_url = redirect_uri, | ||
token_path = token_path, | ||
interactive = False | ||
) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Description by Korbit AI
What change is being made?
Update the Schwab API integration documentation and add Flask-based cloud authentication flow for Schwab broker integration in the Lumibot trading library.
Why are these changes being made?
The documentation update reflects new support and guidelines for using Schwab's modern Trader API, specifically with Lumibot, detailing credential setup, OAuth login, and asset support. Enhancements in the code include improved environment detection for redirect URIs and a Flask-based web route for completing the OAuth login process in cloud environments, simplifying the setup for hosting platforms like Replit or Render. This update ensures users have accurate information and support for deploying strategies using Schwab's API with Lumibot effectively.