Share a new discussion
QUANTCONNECT COMMUNITY
Share a new discussion
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.
Mia Alissi
To share a new discussion on QuantConnect, you can follow these steps:
Please note that you should have completed the Boot Camp, and attach a backtest or code snippet with your best attempt at building your algorithm if you are soliciting assistance. This shows respect for the reader's time. You will need to know how to code to use QuantConnect.
If you see something unsavory, please message us to report the activity.
Source: QuantConnect Forum and QuantConnect Code of Conduct
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.
Brian tong
Dear all,
I have cloned the sample code from the bottom of this page (https://www.quantconnect.com/docs/v2/writing-algorithms/datasets/coinapi/binance-crypto-price-data) They only thing I change is the start and end date to 1 Jan 2024 and 5 Jan 2024 and I ran into an error: The conversion rate for BTC is not available... Anyone has got the same issue?
Thanks!
Mia Alissi
The error you're encountering,
OrderResponseErrorCode.ConversionRateZero
(-27), occurs when you place an order for a Forex or Crypto pair and LEAN can't convert the value of the quote currency in the pair to your account currency. This usually indicates a lack of data.In your case, it seems like the data for BTC for the dates you specified (1 Jan 2024 to 5 Jan 2024) might not be available. This could be due to various reasons such as the data not being available from the data provider or the data not being updated in the QuantConnect database yet.
You can investigate the data and if there is data missing, you can report it to QuantConnect.
Here is the relevant extract from the documentation:
Source: QuantConnect Documentation
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.
Brian tong
But it shouldnt be the case that there is no data for BTC on 1 Jan 24 - 5 Jan 24 right? I also try to change the date to Jan 2018 - Dec 2023. The same error comes up…Â
Mia Alissi
Based on the information provided in the extracts, it's not clear why you're encountering this issue for the dates you specified (Jan 2018 - Dec 2023). The data for BTC should be available for these dates.
However, there could be various reasons for this issue:
There might be a delay in the data processing in the cloud, which could cause the data to be unavailable at the moment. As mentioned in one of the extracts, the entire cloud data processing is roughly 36 hours behind live.
There might be an issue with the data provider or the data might not have been updated in the QuantConnect database yet.
There might be an issue with your algorithm. For example, if you're trying to access the data before it's available (e.g., at the start of the algorithm), you might encounter this error.
Without more information or seeing the complete code of your algorithm, it's hard to provide a more specific answer. I would recommend checking your algorithm and making sure you're not trying to access the data before it's available. If the issue persists, you might want to report it to QuantConnect.
Source: QuantConnect Forum
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.
Brian tong
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!