LEAN is the open source
algorithmic trading engine powering QuantConnect. Founded in 2013 LEAN has been built by a
global community of 80+ engineers and powers more than a dozen hedge funds today.
Alpha League Competition: $1,000 Weekly Prize Pool
Qualifying Alpha Streams Reentered Weekly Learn
more
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.
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.
Manav Trivedi
1.2k Pro
,
Hi Mislav, you can refer to what CFD(s) actually are and you will find that you are actually exploiting the difference in prices rather than the price itself, which will give much better returns. It works in a very similar way as an OTC trade would work, but is slightly different as compared to other methods of trading.
0
Mislav Sagovac
27.9k Pro
,
I have read articles on investopedia, wiki and some other sources. It doesn't seem complicated, from investor point of view. But, nevertheless, I can't explain above difference. You said Cfd's should have higher returns. But in this simple backtest it has lower returns.
0
Manav Trivedi
1.2k Pro
,
CFD is a type of trading in which 70% of traders lose money, so at an exploration stage if you're getting anything which is above an investment strategy, that would work.
0
Mislav Sagovac
27.9k Pro
,
Maybe I didin't post my question clearly.
I am confused why trading SPY gives much better returns than trading Cfd on SPX, when we buy and sell on same datetime ?
I would expect similar return, but return on strtagy trading SPY is much higher.
0
Louis Szeto
STAFF Pro
,
Hi Mislav and Manav
It is essential to understand that CFD is leveraged contracts, with (usually) a fixed spread between its bid/ask prices. So even if you're using 50% of your portfolio on a 2x leveraged CFD, it won't give you replicated results of the underlying asset because:
You paid the spread
If the asset drops by 10%, the price of your position will drop by 20%. While the asset needs an 11.1% rise to recover, you'll need a 12.5%. This will stack up more if the asset is more fluctuate.
Best Louis
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.
Thank you for reply. I think this explanation is close to truth. I am still amazed by the difference, but on long scales, maybe it is possible that bid-ask spreads make the difference. I haven.t use leverage in my algo (I set leverage to 0 and use SetHoldings(symbol, 1)).so I think this is not the reason.
0
Fred Painchaud
12.3k Pro
,
Hi,
I did not do the maths but it seems like SPX500USD is not calculated by simply tracking SPY, at all. See Section 3. shrug
The long-term result difference is much higher than I'd expect as well. The Section 3 notes are pretty insane. Given its buying and holding for the term, it looks like it's all the overnight holdings charge.
1
Edited by Gustavo A
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.
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...
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!