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.
self.signal_export.add_signal_export_provider(Collective2SignalExport(apiKey, systemId, use_white_label_api))
The Collective2SignalExport
constructor accepts the following arguments:
Argument: |
Argument: |
Argument: |
You can add multiple signal export providers to a single algorithm.
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.
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
.
self.signal_export.automatic_export_time_span = None