We now have full margin modelling! This makes QuantConnect more realistic than ever, giving you a dynamic amount of leverage depending on the model parameters. We have modeled margin calls so if you get some unexpected sells its because your algorithm is over leveraged and losing money!

Traditional brokerages give you 2x leverage, and 4x intraday. For simplicity we use 2x constantly. If your algorithm is ever fully leveraged and the price of the market drops - you'll be given a 10% buffer to correct your portfolio. If they aren't corrected your algorithm will have margin call orders placed against it! You can see the orders tagged with "Margin Call" flag in the trades tab.

We're super proud of how QuantConnect is evolving. Its becoming incredibly realistic and matches the behavior you'll see in live trading!

Author