Hi team,
I connected quantconnect to my live IBKR account and it shows all my existing holdings and unrealized gain etc, however the unrealized value, equity and other values displayed in the dashboard are not correct (and not matching the one that I can see from my IBKR account).
The reason is that it seems quantconnect assumes that all my holding positions are in USD while I have some holding positions in other currency (e.g. I hold Tencent (700) which is a position in HKD), it would need to convert all the holdings in USD currency before calculating unrealized ad total equity value.
Is this a known issue?
Mia Alissi
Hi Francesco,
QuantConnect's trading engine, LEAN, does support multi-currency trading. However, it seems like there might be an issue with the currency conversion in your case.
In QuantConnect, the currency pair like HKDUSD is called a virtual position - it doesn't actually exist. It is a record of a historical trade of exchanging HKD and USD currencies. In reality, they are still separate currencies in your account.
To access these currencies you need to use the cashbook:
This will give you the amount of HKD in your account.
However, it's important to note that QuantConnect only fully supports USD account currency. If your account currency is not in USD, there might be some discrepancies in the values displayed on the dashboard.
If you're still facing issues, I would recommend reaching out to QuantConnect's support team directly through the IDE or by emailing support@quantconnect.com. They can help you diagnose the issue more accurately.
Source: Forum Discussion 5995, Forum Discussion 3581, Forum Discussion 6457
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.
Francesco
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!