What are QuantConnect's default charting colors? They have nice readability, and I'd like to use them for my custom chart Series. Is there anyway I can locate them? I'm not sure what “Color.” values to use. (Python)
portfolio_value = Series("Porfolio Value", SeriesType.LINE, "$", color = Color.LightBlue)
Mia Alissi
QuantConnect's LEAN engine allows you to set custom colors for your chart series. However, the default colors used by QuantConnect for charting are not explicitly mentioned in the provided knowledge sources.
In Python, you can set the color of a series in a custom chart using the
Color
class from theSystem.Drawing
namespace. For example, in your code, you've set the color toColor.LightBlue
.This will create a line series named "Portfolio Value" with a light blue color. You can replace
Color.LightBlue
with other color properties of theColor
class to change the color of the series.Unfortunately, without additional information, I can't provide the exact color values used by QuantConnect in their default charts. You might want to experiment with different colors from the
Color
class to find the ones that best suit your needs.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.
LE
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!