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
We're released a new build of the server today which has some good improvements for your debugging and backtesting:
- Code errors in the Initialize() function will now be properly reported to console
- Code errors in custom data creation will also be reported to console
- Fixed memory leaks which allow us to increase the max number of symbols an algorithm can handle
- "Error()" function now highlights red in the console, "Debug()" is green and "Log()" goes to a text file
//#5 - Building a custom stock Plotter with Trades
Chart plotter = new Chart("Plotter", ChartType.Overlay);
plotter.AddSeries(new Series("EURUSD", SeriesType.Line));
plotter.AddSeries(new Series("Buy", SeriesType.Scatter));
plotter.AddSeries(new Series("Sell", SeriesType.Scatter));
AddChart(plotter);
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.
Tadas Talaikis
85.1k Pro
,
This is great.
"Exceeded maximum points per chart, data skipped." - this is because of browser limits? How many elements as I'm getting only few (it's every-bar):
0
Tadas Talaikis
85.1k Pro
,
Add delete to comments at least for first few minutes :)
0
Jared Broad
Pro
,
hehe you can delete in the full-forums, the IDE-feed is pretty limited at the moment. We currently limit the custom charting because of the browser yes - after about 4000 points the browser tends to run out of Ram. We deal with this differently in live trading so you can chart/log every second but only see the last 4000 points at time (and scroll to see the rest).
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.
Tadas Talaikis
85.1k Pro
,
OK, maybe there is a way to disable default charts then?
Edit. Don't worry, I can work with that. Seems there were some old charts left. This visualization is enough.
0
Tadas Talaikis
85.1k Pro
,
BTW, just found Forex prices in charts are rounded to 2 decimal places.
0
Jared Broad
Pro
,
hmm sorry about that. We coded it to round to 5-significant figures but maybe there's a bug. Can you please post an example of how you saw the 2DP rounding?
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.
Tadas Talaikis
85.1k Pro
,
Example, but actually in other charts with output values.
0
Jared Broad
Pro
,
Thanks for reporting Tadas - I dug into this and its a combination of 2 things -- the JS chart rounding and also the raw data source we're using (for js stock plots) is only rounded to two DP. I'm currently writing an on-demand daily bar builder based on QC data which will replace the stock plots. It should be finished in the next week and solve these issues + allow people to backtest with daily bars.
1
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!