Back

Charting Questions

1) I tried to run this test by both QC terminal as well as by local installation of Lean (backtesting-desktop) and in nowhere I could see the results in Strategy Equity tab with resolution other than Daily.
All other tabs, like SPY and Ribbon did show charts with minute/second resolution.
Is it possible to see results in Strategy Equity tab with minute/second resolution?

2) Is it possible to draw candles in non Strategy Equity tabs?
I can create Series od Candle type:

//public override void Initialize()
Chart stockPlot = new Chart("Trade Plot");
srOrder = new Series("Price", SeriesType.Candle, 0);
stockPlot.AddSeries(srOrder);
AddChart(stockPlot);

//public void OnData(TradeBars data)
srOrder.AddPoint(Time, data.Price);
Plot("Trade Plot", "Price", data.Price);

3) How do I add text/comments for SeriesType.Flag series.

 

Update Backtest








Update for question 2 - is it correct way to draw candles?

0


Hi Markolog - I ran a clone of your algorithm and it seemed to work fine -- click the "Ribbon" button on the right side to see the Ribbon chart. For candles we automatically package 4 points into a candle for you. You just need to submit the points and we handle the rest :)

Series.Flag isn't hooked up yet sorry, I'll see if we can do it next week.

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.


Update Backtest





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.


Loading...

This discussion is closed