Skip to content

feature: add webull brokerage core integration#9356

Merged
Romazes merged 1 commit intoQuantConnect:masterfrom
Romazes:feature-brokerage-webull
Mar 30, 2026
Merged

feature: add webull brokerage core integration#9356
Romazes merged 1 commit intoQuantConnect:masterfrom
Romazes:feature-brokerage-webull

Conversation

@Romazes
Copy link
Copy Markdown
Collaborator

@Romazes Romazes commented Mar 27, 2026

Description

Adds Lean core support for the Webull brokerage: BrokerageName enum entry, WebullBrokerageModel, WebullFeeModel, factory wiring, config keys, and tests.

Related PR(s)

Related Issue

N/A

Motivation and Context

Lean requires a core entry for every supported brokerage (BrokerageName, IBrokerageModel factory, config) before the external plugin can be loaded at runtime.

Requires Documentation Change

No

How Has This Been Tested?

  • WebullBrokerageModelTests: 17 tests covering CanSubmitOrder for all supported/unsupported security types (Equity, Option, IndexOption, Forex, Future, Crypto, Cfd) and order types (Market, Limit, StopMarket, StopLimit, MarketOnClose, MarketOnOpen, TrailingStop, ComboMarket), plus GetFeeModel type assertion.
  • WebullFeeModelTests: 22 tests covering zero-commission equity/option, all index option underlying tiers (SPX below/above $1, SPXW below/above $1, VIX/VIXW all four price tiers, XSP small/large quantity, DJX flat, NDX/NDXP single-leg below/above $25, NDXP parity with NDX), and 0.6% crypto notional fee.
  • All 39 new tests pass.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

- add BrokerageName.Webull enum value
- add WebullBrokerageModel supporting Equity, Option, IndexOption
- add WebullFeeModel with zero commission for equity/option, tiered index option fees (SPX, SPXW, VIX/VIXW, XSP, DJX, NDX/NDXP), 0.6% crypto fee
- register Webull in IBrokerageModel factory switch and GetBrokerageName
- add webull config keys and live-webull environment to Launcher/config.json
- add WebullBrokerageModelTests (CanSubmitOrder, GetFeeModel)
- add WebullFeeModelTests covering all index option tiers and crypto
@Romazes Romazes self-assigned this Mar 30, 2026
@Romazes Romazes requested a review from Martin-Molinero March 30, 2026 12:56
@Romazes Romazes merged commit 03b8912 into QuantConnect:master Mar 30, 2026
8 checks 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.

1 participant