diff --git a/README.md b/README.md index 6ca86ff4..6fa2346a 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,7 @@ Usage: lean cloud live deploy [OPTIONS] PROJECT --notify-insights. Options: - --brokerage [Paper Trading|Interactive Brokers|Tradier|Oanda|Bitfinex|Coinbase Pro|Binance|Zerodha|Samco|Terminal Link|Trading Technologies|Kraken|TDAmeritrade] + --brokerage [Paper Trading|Interactive Brokers|Tradier|Oanda|Bitfinex|Coinbase Pro|Binance|Zerodha|Samco|Terminal Link|Trading Technologies|Kraken|TDAmeritrade|Bybit] The brokerage to use --ib-user-name TEXT Your Interactive Brokers username --ib-account TEXT Your Interactive Brokers account id @@ -355,6 +355,12 @@ Options: Your TDAmeritrade OAuth Access Token --tdameritrade-account-number TEXT Your TDAmeritrade account number + --bybit-api-key TEXT Your Bybit API key + --bybit-api-secret TEXT Your Bybit API secret + --bybit-vip-level [VIP0|VIP1|VIP2|VIP3|VIP4|VIP5|SupremeVIP|Pro1|Pro2|Pro3|Pro4|Pro5] + Your Bybit VIP Level + --bybit-use-testnet [live|paper] + Whether the testnet should be used --node TEXT The name or id of the live node to run on --auto-restart BOOLEAN Whether automatic algorithm restarting must be enabled --notify-order-events BOOLEAN Whether notifications must be sent for order events @@ -1047,9 +1053,9 @@ Options: --environment TEXT The environment to use --output DIRECTORY Directory to store results in (defaults to PROJECT/live/TIMESTAMP) -d, --detach Run the live deployment in a detached Docker container and return immediately - --brokerage [Paper Trading|Interactive Brokers|Tradier|Oanda|Bitfinex|Coinbase Pro|Binance|Zerodha|Samco|Terminal Link|Trading Technologies|Kraken|TDAmeritrade] + --brokerage [Paper Trading|Interactive Brokers|Tradier|Oanda|Bitfinex|Coinbase Pro|Binance|Zerodha|Samco|Terminal Link|Trading Technologies|Kraken|TDAmeritrade|Bybit] The brokerage to use - --data-feed [Interactive Brokers|Tradier|Oanda|Bitfinex|Coinbase Pro|Binance|Zerodha|Samco|Terminal Link|Kraken|TDAmeritrade|IQFeed|Polygon Data Feed|Custom data only] + --data-feed [Interactive Brokers|Tradier|Oanda|Bitfinex|Coinbase Pro|Binance|Zerodha|Samco|Terminal Link|Kraken|TDAmeritrade|IQFeed|Polygon Data Feed|Custom data only|Bybit] The data feed to use --data-provider [QuantConnect|Local] Update the Lean configuration file to retrieve data from the given provider @@ -1146,6 +1152,12 @@ Options: Your TDAmeritrade OAuth Access Token --tdameritrade-account-number TEXT Your TDAmeritrade account number + --bybit-api-key TEXT Your Bybit API key + --bybit-api-secret TEXT Your Bybit API secret + --bybit-vip-level [VIP0|VIP1|VIP2|VIP3|VIP4|VIP5|SupremeVIP|Pro1|Pro2|Pro3|Pro4|Pro5] + Your Bybit VIP Level + --bybit-use-testnet [live|paper] + Whether the testnet should be used --ib-enable-delayed-streaming-data BOOLEAN Whether delayed data may be used when your algorithm subscribes to a security you don't have a market data subscription for diff --git a/tests/commands/test_live.py b/tests/commands/test_live.py index df55b948..5ed5e1ec 100644 --- a/tests/commands/test_live.py +++ b/tests/commands/test_live.py @@ -348,6 +348,12 @@ def test_live_aborts_when_lean_config_is_missing_properties(target: str, replace "tdameritrade-account-number": "123", "tdameritrade-api-key": "abc", "tdameritrade-access-token": "abc", + }, + "Bybit": { + "bybit-api-key": "abc", + "bybit-api-secret": "abc", + "bybit-vip-level": "VIP0", + "bybit-use-testnet": "paper", } } @@ -366,7 +372,8 @@ def test_live_aborts_when_lean_config_is_missing_properties(target: str, replace "Samco": brokerage_required_options["Samco"], "Terminal Link": terminal_link_required_options, "Kraken": brokerage_required_options["Kraken"], - "TDAmeritrade": brokerage_required_options["TDAmeritrade"] + "TDAmeritrade": brokerage_required_options["TDAmeritrade"], + "Bybit": brokerage_required_options["Bybit"] }