diff --git a/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/02 Account Types.html b/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/02 Account Types.html index 8af1f38e41..c8f0df979d 100644 --- a/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/02 Account Types.html +++ b/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/02 Account Types.html @@ -20,9 +20,17 @@

Create an Account

Paper Trading

-

Our integration doesn't support paper trading through the Bybit Demo Trading environment, but you can follow these steps to simulate it with QuantConnect:

+

Bybit supports paper trading through two environments: Bybit Demo Trading and the Bybit Testnet. Each environment uses a separate set of API credentials, so you can't reuse your live account keys.

+

Follow these steps to set up paper trading with Bybit Demo Trading:

    -
  1. In the Initializeinitialize method of your algorithm, set the Bybit brokerage model.
  2. -
  3. Deploy your algorithm with the QuantConnect Paper Trading brokerage.
  4. +
  5. Log in to your Bybit account.
  6. +
  7. From your account menu, switch to Demo Trading.
  8. +
  9. Create API credentials in the Demo Trading environment and store them somewhere safe.
  10. +
+ +

Follow these steps to set up paper trading with the Bybit Testnet:

+
    +
  1. Log in to the Bybit Testnet.
  2. +
  3. Create API credentials on the Testnet and store them somewhere safe.
diff --git a/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/16 Deploy Live Algorithms.php b/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/16 Deploy Live Algorithms.php index e6fac4a4b3..98297c9893 100644 --- a/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/16 Deploy Live Algorithms.php +++ b/01 Cloud Platform/10 Live Trading/02 Brokerages/10 ByBit/16 Deploy Live Algorithms.php @@ -5,7 +5,32 @@ $secondBullet = ""; $authentication = "
  • Enter your API key and secret.
  • " . file_get_contents(DOCS_RESOURCES."/brokerages/create-credentials/bitfinex.html") . "
  • Click the VIP Level field and then click your level from the drop-down menu.
  • -

    For more information about VIP levels, see FAQ — Bybit VIP Program on the Bybit website.

    "; +

    For more information about VIP levels, see FAQ — Bybit VIP Program on the Bybit website.

    +
  • Click on the Environment field and then click one of the environments.
  • +

    The following table shows the supported environments:

    + + + + + + + + + + + + + + + + + + + + + + +
    EnvironmentDescription
    LiveTrade with real money
    DemoTrade with paper money through the Bybit Demo Trading environment
    TestnetTrade with paper money through the Bybit Testnet
    "; $postDeploy = ""; include(DOCS_RESOURCES."/live-trading/deploy-live-algorithm.php"); ?> \ No newline at end of file diff --git a/05 Lean CLI/09 Live Trading/01 Brokerages/10 Bybit/03 Deploy Local Algorithms.php b/05 Lean CLI/09 Live Trading/01 Brokerages/10 Bybit/03 Deploy Local Algorithms.php index c48e925c98..31d82a55d8 100644 --- a/05 Lean CLI/09 Live Trading/01 Brokerages/10 Bybit/03 Deploy Local Algorithms.php +++ b/05 Lean CLI/09 Live Trading/01 Brokerages/10 Bybit/03 Deploy Local Algorithms.php @@ -23,9 +23,9 @@
  • Enter the environment to use.
    $ lean live \"My Project\"
    -Use testnet? (live, paper): live
    +Use testnet? (live, paper, demo): live
    -

    The paper environment is Bybit Demo Trading.

    +

    The paper environment is the Bybit Testnet and the demo environment is Bybit Demo Trading. Both environments require API credentials that you create in that environment; your live account keys won't work.

  • ";