Hi,
I can't seem to reconcile my Net Profit statistic at the end of a simple backtest.
Orders report as follows:
Symbol Price Quantity Type Status Value
Stock 1 44.12 -683 Limit Filled -30133.96
Stock 2 237.74 252 Limit Filled 59910.48
Stock 1 237.73 -252 Limit Filled -59907.96
Stock 2 44.14 683 Limit Filled 30147.62
Total fees: -9.5
Short position held briefly (less than 3 hours).
If I add up all the values and total fees, I get +$6.83. However Net Profit shown in the backtest summary is -$25.53.
What am I missing?
Dat En
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.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!