Skip to content

[Bug] Crypto portfolio strategies can be backtested but cannot enable live automated trading #225

Description

@chree188

Problem or motivation

Description

Strategy API V2 Crypto portfolio strategies can be compiled and backtested successfully, but the “Live Automated Trading” execution mode is disabled when creating a deployment. Only “Signal Notifications” can be selected.

For Crypto perpetual strategies:

  • A single-instrument CTA strategy can enable live automated trading.
  • A multi-instrument portfolio strategy can only use signal notifications.

This appears to be caused by a frontend restriction that is inconsistent with the documented live-trading capabilities.

Steps to reproduce

  1. Create a Strategy API V2 strategy with multiple Crypto instruments:
def initialize(context):
    context.set_universe([
        "Crypto:BTC/USDT@swap",
        "Crypto:ETH/USDT@swap",
    ])
    context.subscribe(frequency="4h")

### Proposed solution

_No response_

### Alternatives considered

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions