Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ <h4>Create API Credentials</h4>
<li>From the avatar menu, open <span class='menu-name'>Developer Tools</span> and then click <span class='menu-name'>API Management > My Application</span>.</li>
<li>Submit your API application and wait for approval, which takes one to two business days. You receive a confirmation email when it's approved.</li>
<li>After approval, click <span class='menu-name'>API Management > Application Management</span>, enter an application name, accept the Webull OpenAPI Agreement, and register the application.</li>
<li>In <span class='menu-name'>Application Management</span>, disable <span class='field-name'>Quotes</span> and <span class='field-name'>two-factor authentication (2FA)</span> for the application. QuantConnect supplies the market data, so you don't need Quotes, and disabling 2FA lets the API authenticate without interactive verification.</li>
<li>In <span class='menu-name'>Application Management</span>, disable <span class='field-name'>Quotes</span> for the application since QuantConnect supplies the market data.</li>
<li>Choose whether to keep <span class='field-name'>two-factor authentication (2FA)</span> enabled for the application. Some clients can disable 2FA to let the API authenticate without interactive verification, but this option isn't available in all regions. If you keep 2FA enabled, you need to declare it when you <a href='/docs/v2/cloud-platform/live-trading/brokerages/webull#16-Deploy-Live-Algorithms'>deploy a live algorithm</a>.</li>
<li>Click <span class='button-name'>Generate Key</span> and then complete the SMS verification code and transaction password verification to generate your <span class='field-name'>App Key</span> and <span class='field-name'>App Secret</span>. You can reset the App Secret later with <span class='button-name'>Reset Key</span>.</li>
<li>Note the <span class='field-name'>account ID</span> of the Webull account you want to trade.</li>
</ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
$cashState = false;
$holdingsState = false;
$secondBullet = "";
$authentication = "<li>Enter your Webull App Key, App Secret, and account ID.</li>" . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/webull.html");
$authentication = "<li>Enter your Webull App Key, App Secret, and account ID.</li>
<li>If your application has two-factor authentication (2FA) enabled, check the <span class='box-name'>Enable 2FA</span> check box.</li>" . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/webull.html");
$postDeploy = "";
$dataProviderDetails = "<p>Webull doesn't provide a live data feed, so use the <a href='/docs/v2/cloud-platform/datasets'>QuantConnect data provider</a> or another data provider for the securities you trade.</p>";
include(DOCS_RESOURCES."/live-trading/deploy-live-algorithm.php");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"WebullBrokerageSettings": object,
"PublicBrokerageSettings": object,
},
"dataProviders":
"dataProviders":
}</pre>
</div>
</td>
Expand Down Expand Up @@ -846,14 +846,18 @@
<td width="20%">webull-account-id</td> <td> <code>string<br/><i><sub>required</sub></i></code> <br/> Your Webull account ID.</td>
</tr>
<tr>
<td width="20%">webull-use-2fa</td> <td> <code>boolean</code> <br/> Whether your Webull application has two-factor authentication (2FA) enabled.</td>
</tr>
<tr>
<td width="20%">Example</td>
<td>
<div class="cli section-example-container"><pre>
{
"id": "WebullBrokerage",
"webull-app-key": "string",
"webull-app-secret": "string",
"webull-account-id": "string"
"webull-account-id": "string",
"webull-use-2fa": true
}</pre>
</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?
$brokerageDetails = "
<li>Enter your Webull App Key, App Secret, and account ID.
<li>Enter your Webull App Key, App Secret, account ID, and whether your application has two-factor authentication (2FA) enabled.
<div class='cli section-example-container'>
<pre>$ lean cloud live \"My Project\" --push --open
App key: 0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d
App secret: *******************************
Account id: 12345678</pre>
Account id: 12345678
Use 2FA (yes/no): no</pre>
</div>
" . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/webull.html") . "
</li>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
$dataFeedName = "";
$isBrokerage = true;
$brokerageDetails = "
<li>Enter your Webull App Key, App Secret, and account ID.
<li>Enter your Webull App Key, App Secret, account ID, and whether your application has two-factor authentication (2FA) enabled.
<div class='cli section-example-container'>
<pre>$ lean live \"My Project\"
App key: 0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d
App secret: *******************************
Account id: 12345678</pre>
Account id: 12345678
Use 2FA (yes/no): no</pre>
</div>
" . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/webull.html") . "
</li>";
Expand Down
3 changes: 3 additions & 0 deletions QuantConnect-Platform-2.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3802,6 +3802,9 @@ components:
webull-account-id:
type: string
description: Your Webull account ID.
webull-use-2fa:
type: boolean
description: Whether your Webull application has two-factor authentication (2FA) enabled.
description: Settings for using Webull as the brokerage for a live algorithm.
PublicBrokerageSettings:
type: object
Expand Down