Back

Paper Trading Equity

I am using quantconnect in live paper trading of FX for a project in a graduate international economics course. Is there a way to change the Paper Trading Equity to 10000 instead of 100000?
Update Backtest








Welcome David! You can manually override this by setting portfolio.Cash = 10000; After you've run an algorithm your project will be set to $10k. We remember the paper trading equity per project between deploys to realistically model working on your project.

If you send us your project Id we can also set this for you - please send your id to support@quantconnect.com
0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Sorry that won't compile! Portfolio.SetCash(10000);
0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


I'm having a similar issue. I've called both SetCash and (after reading this) Portfolio.SetCash in my Initialize method, and it still shows $100k Equity.

0

I'm having the same issue.  Used Porfolio.SetCash(25000); and it still defaults to $100,000.  Portfolio.SetCash(25000); is in the Initialize method.

0

Its not a bug its a feature by design :) But we can consider a work around for people who don't want it.

The idea was so paper trading deployments maintained the same cash balance between deployments -- starting at $100k. It lets you treat paper trading like a real live algorithm -- if you drop $15k in paper trading the next deployment will start at $85k.

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Oh, I see.  I didn't know it would carry between deployments.  Thank you!

I have worked around it already by setting my setholdings % to trade the amount necessary off of 100k anyway.  It would be nice to have the option to reset to any value though.

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed