Skip to content

Commit

Permalink
Improves Charles Schwab Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCatarino committed Jan 10, 2025
1 parent fefae88 commit a3ef6cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<? include(DOCS_RESOURCES."/landing-page-introductions/individual-brokerages.php"); ?>
<? include(DOCS_RESOURCES."/brokerages/introduction-by-brokerage/charles-schwab.html"); ?>
<p>To view the implementation of the Charles Schwab brokerage integration, see the <a href='https://github.com/QuantConnect/Lean.Brokerages.CharlesSchwab' rel='nofollow' target="_blank">Lean.Brokerages.CharlesSchwab repository</a>.</p>
<!--p>To view the implementation of the Charles Schwab brokerage integration, see the <a href='https://github.com/QuantConnect/Lean.Brokerages.CharlesSchwab' rel='nofollow' target="_blank">Lean.Brokerages.CharlesSchwab repository</a>.</p-->
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
?>

<p>Charles Schwab only supports authenticating one account at a time per user. If you have an algorithm running with Charles Schwab and then deploy a second one, the first algorithm stops running.</p>
<p>To view the implementation of the Charles Schwab brokerage integration, see the <a href='https://github.com/QuantConnect/Lean.Brokerages.CharlesSchwab' rel='nofollow' target="_blank">Lean.Brokerages.CharlesSchwab repository</a>.</p>
<!--p>To view the implementation of the Charles Schwab brokerage integration, see the <a href='https://github.com/QuantConnect/Lean.Brokerages.CharlesSchwab' rel='nofollow' target="_blank">Lean.Brokerages.CharlesSchwab repository</a>.</p-->

<p>To use the CLI, you must be a member in an <a href='https://www.quantconnect.com/docs/v2/cloud-platform/organizations/tier-features'>organization</a> on a paid tier.</p>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$dataFeedName = "";
$isBrokerage = true;
$brokerageDetails = "
<li>If your project is local-only project, LEAN CLI will prompt you to enter any cloud project ID to proceed with authentication.
<li>If your project is local-only project, LEAN CLI will prompt you to enter the ID of any cloud project of your organization to proceed with authentication, see <a href=https://www.quantconnect.com/docs/v2/cloud-platform/projects/getting-started#13-Get-Project-Id</a>Get Project ID</a> for more information.</li>
<div class='cli section-example-container'>
<pre>$ lean live \"My Project\"
Expand All @@ -22,17 +22,7 @@
</pre>
</div>
</li>";
$dataFeedDetails = "
<li>In the browser window that automatically opens, click <span class='button-name'>Allow</span>.
<div class='cli section-example-container'>
<pre>$ lean live \"My Project\"
Please open the following URL in your browser to authorize the LEAN CLI.
https://www.quantconnect.com/api/v2/live/auth0/authorize?brokerage=charlesschwab&projectId=&lt;projectId&gt;
Will sleep 5 seconds and retry fetching authorization...
</pre>
</div>
</li>";
$dataFeedDetails = "";
$supportsIQFeed = true;
$requiresSubscription = true;
$moduleName = "Charles Schwab";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,7 @@
</pre>
</div>
</li>";
$dataProviderDetails = "
<li>In the browser window that automatically opens, click <span class='button-name'>Allow</span>.
<div class='cli section-example-container'>
<pre>$ lean cloud live \"My Project\" --push --open
Please open the following URL in your browser to authorize the LEAN CLI.
https://www.quantconnect.com/api/v2/live/auth0/authorize?brokerage=charlesschwab&projectId=&lt;projectId&gt;
Will sleep 5 seconds and retry fetching authorization...
</pre>
</div>
</li>";
$dataProviderDetails = "";
$brokerageName="Charles Schwab";
$dataProviderName=$brokerageName;
$isSupported=true;
Expand Down

0 comments on commit a3ef6cf

Please sign in to comment.