book
Checkout our new book! Hands on AI Trading with Python, QuantConnect, and AWS Learn More arrow

Signal Exports

Collective2

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.

Add Providers

To export signals to Collective2 from your algorithm, during initialization, add a Collective2 signal export provider.

Select Language:
self.signal_export.add_signal_export_provider(Collective2SignalExport(apiKey, systemId, 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? 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? 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:

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.

Select Language:
self.signal_export.automatic_export_time_span = timedelta(seconds=1)

To send targets that aren't based on your portfolio holdings, see Manual Exports.

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

Select Language:
self.signal_export.automatic_export_time_span = None

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: