feature: add bybit demo trading option to README#647
Merged
Romazes merged 1 commit intoQuantConnect:masterfrom Apr 30, 2026
Merged
feature: add bybit demo trading option to README#647Romazes merged 1 commit intoQuantConnect:masterfrom
Romazes merged 1 commit intoQuantConnect:masterfrom
Conversation
4 tasks
Martin-Molinero
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
demoto the--bybit-use-testnetchoice list inmodules-1.14.jsonso users can pick Bybit's Demo Trading environment from the Lean live wizard. Regenerates the README command reference viascripts/readme.pyto surface the new option.Related PR(s)
QuantConnect/Lean.Brokerages.ByBit#41 — adds Bybit demo trading support in the brokerage itself (REST/WS URL routing, public-stream fallback to mainnet).
Related Issue
N/A
Motivation and Context
Bybit Demo Trading is a sandboxed account that uses real mainnet market data, distinct from testnet. With the brokerage-side support landing in
Lean.Brokerages.ByBit#41, the CLI wizard needs a third option alongsideliveandpaperso users don't have to hand-editbybit-api-url/bybit-websocket-urlto point atapi-demo.bybit.com/stream-demo.bybit.com.The corresponding
modules-1.14.jsonentries (gitignored here, served fromcdn.quantconnect.com/cli/) need to add:plus URL filters mapping
pattern: "demo"→https://api-demo.bybit.comandwss://stream-demo.bybit.com.Requires Documentation Change
No (README is regenerated as part of this PR).
How Has This Been Tested?
lean/modules-1.14.jsonto add thedemochoice and URL mappings.python scripts/readme.py; verified--bybit-use-testnet [live|paper|demo]now appears in bothlean liveandlean live deploysections of the README.python -c "import json; json.load(open('lean/modules-1.14.json'))".Lean.Brokerages.ByBit#41: pickingdemoroutes orders toapi-demo.bybit.comand the public market-data stream falls back to mainnet (wss://stream.bybit.com) as designed in the brokerage.Types of changes
Checklist:
bug-<issue#>-<description>orfeature-<issue#>-<description>