---
title: "Collective2"
description: "With our Collective2 integration, you can send trading signals from your live algorithms to Collective2."
canonical: https://www.quantconnect.com/docs/v2/writing-algorithms/live-trading/signal-exports/collective2
markdown: https://www.quantconnect.com/docs/v2/writing-algorithms/live-trading/signal-exports/collective2.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/03%20Writing%20Algorithms/40%20Live%20Trading/99%20Signal%20Exports/02%20Collective2
modified: 2026-10-31
index: https://www.quantconnect.com/llms.txt
---

# Collective2

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Writing Algorithms](https://www.quantconnect.com/docs/v2/writing-algorithms.md) > [Live Trading](https://www.quantconnect.com/docs/v2/writing-algorithms/live-trading.md) > [Signal Exports](https://www.quantconnect.com/docs/v2/writing-algorithms/live-trading/signal-exports.md) > Collective2

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

Collective2 is a service that connects strategy developers and capital allocators. With our Collective2 integration, you can send trading signals from your live algorithms to [Collective2](https://qnt.co/collective2).

## Add Providers

To export signals to Collective2 from your algorithm, during [initialization](https://www.quantconnect.com/docs/v2/writing-algorithms/initialization.md), add a Collective2 signal export provider.

```python
self.signal_export.add_signal_export_provider(Collective2SignalExport(api_key, system_id, use_white_label_api))
```

The `Collective2SignalExport` constructor accepts the following arguments:

### Argument: `api_key`

Your Collective2 API key. To get your API key, see [Where can I find my API key?](https://support.collective2.com/hc/en-us/articles/360001154907-Where-can-I-find-my-API-key-) on the Collective2 website.

Data Type: `str`

### Argument: `system_id`

Your Collective2 strategy Id. To get your strategy Id, see [How do I find my strategy ID?](https://support.collective2.com/hc/en-us/articles/203159220-How-do-I-find-my-strategy-ID-) on the Collective2 website.

Data Type: `int`

### Argument: `use_white_label_api`

Whether to use the white-label API instead of the general one.

Data Type: `bool` | Default Value: `False`

You can add multiple signal export providers to a single algorithm.

## Asset Classes

Our Collective2 integration supports signals for the following asset classes:

- [US Equity](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/asset-classes/us-equity.md)
- [Equity Options](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/asset-classes/equity-options.md)
- [Forex](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/asset-classes/forex.md)
- [Futures](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/asset-classes/futures.md)
- [Index Options](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/asset-classes/index-options.md)

## Send Portfolio Targets

The signal export manager automatically sends signals when your portfolio holdings change to Collective2. By default, it waits five seconds after an order is filled to aggregate all the state changes into a single post. Set the `automatic_export_time_span` property to change the waiting time.

```python
self.signal_export.automatic_export_time_span = timedelta(seconds=1)
```

To send targets that aren't based on your portfolio holdings, see [Manual Exports](https://www.quantconnect.com/docs/v2/writing-algorithms/live-trading/signal-exports/key-concepts.md#05-Manual-Exports).

To disable automatic exports, set the `automatic_export_time_span` property to `None`.

```python
self.signal_export.automatic_export_time_span = None
```

## Examples

**Demonstration Algorithms**

- [Collective2SignalExportDemonstrationAlgorithm.py](https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/Collective2SignalExportDemonstrationAlgorithm.py) (Python)
- [Collective2PortfolioSignalExportDemonstrationAlgorithm.py](https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/Collective2PortfolioSignalExportDemonstrationAlgorithm.py) (Python)
