Alpha Streams

Alpha Fee Models

Introduction

Models submitted to Alpha Streams need to use realistic cost and execution models. To standardize this for the Alpha Market, QuantConnect has created models based on industry feedback, which model the costs of execution through a prime brokerage.

Required Settings

Using a single line of code, you can set all of the reality models required for an Alpha Stream. This is done via a Brokerage Model. The brokerage model sets all your asset fees, slippage, and margin models to the required settings automatically. This should be called in your Initialize() method.

# Set fee, slippage and margin models automatically.
self.SetBrokerageModel(BrokerageName.AlphaStreams)
//Set fee, slippage and margin models automatically.
SetBrokerageModel(BrokerageName.AlphaStreams);

Behind the scenes, this sets your models to the AlphaStreamsBrokerageModel, AlphaStreamsFeeModel, and AlphaStreamsSlippageModel. In the following sections, we'll explore these models in more detail.

Alpha Transaction Fees

The Alpha Stream fee model implementation provides the following cost structure for trading in Alpha Models:

Asset ClassFees
US Equity0.005 per share (minimum of $1.00)
US Futures$0.50 per contract
US Options$0.50 per contract
Forex0.02 basis points per transaction

Alpha Slippage Models

Alpha Streams assumes a 1 basis point (0.01%) slippage on US Equity trades. All other asset classes are assumed to be filled at the asking price. The full implementation of the slippage model is available on Github.

Alpha Borrowing Costs

Currently, LEAN does not support modeling borrowing costs, so shorts are free. In the coming months, the QuantConnect team will build this feature, and all shorting activity will incur interest costs.

Alpha Leverage

When a proprietary trading firm deposits margin with a prime brokerage they are offered 10-20x leverage to perform trading as long as they stay within target risk parameters. For this reason, control over "leverage" is always done by the institution, and strategies are forced to use 1x leverage. If you require more buying power, increase your starting portfolio allocation cash.

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

Did you find this page helpful?

Contribute to the documentation: