From c9d2dfa27be44b0837a052423ecc260bdbc7aca8 Mon Sep 17 00:00:00 2001 From: Alexandre Catarino Date: Thu, 4 Jun 2026 16:49:58 +0100 Subject: [PATCH] Revert "Use OAuth for Webull cloud deployment" This reverts commit 78781f2046a83c652e9f0a6178c4dac8f604c7c8. --- .../08 Webull/02 Account Types.html | 2 +- .../08 Webull/16 Deploy Live Algorithms.php | 4 +--- .../08 Webull/02 Deploy Cloud Algorithms.php | 17 +++++------------ 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/02 Account Types.html b/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/02 Account Types.html index f3baf9c4d9..fb67c1ebcd 100644 --- a/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/02 Account Types.html +++ b/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/02 Account Types.html @@ -4,7 +4,7 @@

Create an Account

Follow the account creation wizard on the Webull website to create a Webull account.

Create API Credentials

-

In QuantConnect Cloud and when you use the Lean CLI to deploy to the cloud, you authenticate through the deployment wizard, so you don't need to create API credentials. To use Webull locally with the Lean CLI—to download data, backtest, research, or trade live—you need an App Key, App Secret, and the account ID of the Webull account you want to trade. The following steps summarize how to create these credentials. For the full process with screenshots, see Individual Application API in the Webull developer documentation.

+

To trade with the Webull API, you need an App Key, App Secret, and the account ID of the Webull account you want to trade. The following steps summarize how to create them. For the full process with screenshots, see Individual Application API in the Webull developer documentation.

  1. Log in to Webull.com and open the account center.
  2. From the avatar menu, open Developer Tools and then click API Management > My Application.
  3. diff --git a/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/16 Deploy Live Algorithms.php b/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/16 Deploy Live Algorithms.php index 077565ce09..c408bd0dfc 100644 --- a/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/16 Deploy Live Algorithms.php +++ b/01 Cloud Platform/10 Live Trading/02 Brokerages/08 Webull/16 Deploy Live Algorithms.php @@ -3,9 +3,7 @@ $cashState = false; $holdingsState = false; $secondBullet = ""; -$authentication = "
  4. Click the Authenticate button.
  5. -
  6. On the Webull website, log in to your account to grant QuantConnect access to your account information and authorization.
  7. -
  8. Click the Select Account Id field and then click one of your accounts.
  9. "; +$authentication = "
  10. Enter your Webull App Key, App Secret, and account ID.
  11. " . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/webull.html"); $postDeploy = ""; $dataProviderDetails = "

    Webull doesn't provide a live data feed, so use the QuantConnect data provider or another data provider for the securities you trade.

    "; include(DOCS_RESOURCES."/live-trading/deploy-live-algorithm.php"); diff --git a/05 Lean CLI/09 Live Trading/01 Brokerages/08 Webull/02 Deploy Cloud Algorithms.php b/05 Lean CLI/09 Live Trading/01 Brokerages/08 Webull/02 Deploy Cloud Algorithms.php index 73d0dc9fe8..87533f6b51 100644 --- a/05 Lean CLI/09 Live Trading/01 Brokerages/08 Webull/02 Deploy Cloud Algorithms.php +++ b/05 Lean CLI/09 Live Trading/01 Brokerages/08 Webull/02 Deploy Cloud Algorithms.php @@ -1,20 +1,13 @@ In the browser window that automatically opens, log in to your Webull account. +
  12. Enter your Webull App Key, App Secret, and account ID.
    $ 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=webull
    -Will sleep 5 seconds and retry fetching authorization...
    -
    -
    -
  13. - -
  14. Enter the Webull account ID. -
    -
    $ lean cloud live \"My Project\" --push --open
    -The Webull account Id: 12345678
    +App key: 0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d +App secret: ******************************* +Account id: 12345678
    +" . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/webull.html") . "
  15. "; $dataProviderDetails = ""; $brokerageName="Webull";