Hi Everyone,
I saw this news on my Algo Lab but I cannot get it to work when writing code:
Do I need to activate the feature or something ?
ThanksĀ
QUANTCONNECT COMMUNITY
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.
Jack Simonson
Hi Stephane,
To activate it, you need to hit CTRL+Space and then autocomplete will pop up for the current code you are writing. If this doesn't work for you, try emptyingĀ the browser cache and doing a hard refresh. This should enable autocomplete for you, and if not please let us know!
Flame
Hi Jack
Do you know how this works on mac? I can't seem to get it to work.Ā
Thanks
Jack Simonson
It should work the same on a Mac. Try a hard refresh, emptying the cache in your browser, and making sure the LEAN engine running in the cloud is the most recent version. If this still doesn't work, let us know and we'll try to pinpoint the issue!
Bjorn
Anyone got this to work on Mac?
I cleared the browser-cache but "CTRL + Space" is not triggering an In-Browser Python Autocomplete (Firefox 64.0.2 (64-Bit) + Chome Version 73.0.3683.103).
Am i missing something?Ā Ā
Flame
I havenāt been able to get it to work
Link Liang
Hi Mac users,
Autocomplete in python is now available on MacOS! Please try it out by CTRL+Space and give us more feedback!
Barry LAM
Autocomplete in Python available now??
I tried clean my browser cache and the autocomplete does not work.
Browser : chrome (Version 74.0.3729.157 (Official Build) (64-bit))
OS :Window 7 pro
Link Liang
Hi Barry,
Could you try to type "self." in a python algorithm and then hit CTRL+SPACE? There should be a list of methods pop up. If it still does not work for you, please let us know and we will be happy to assist you.
Barry LAM
Hi Link,
I found out the reason. As my company have more than one input language, when i press "CTRL+SPACE", the function is to change the keyboard input language. So, the autocomplete does not work.
For the people have this problem, you can change the "hot key for input language' in "Advanced key setting"
Thanks for your help.
Sergei Laptenok
I'm using Mac, Chrome Version 76.0.3809.132 (Official Build) (64-bit).Ā Autocomplete is painfully inconsistent. Sometimes it works, sometimes it doesn't, couldn't find any apparent pattern yet. Also, 1) when it does, it doesn't show all possible choices, 2) API hint looks to be C#
Sergei Laptenok
Looks like I found the pattern: autocompete works only when the algorithm is built. So the steps are:Ā
1) typeĀ "self."Ā
2) wait a couple of seconds until it builds
3) hit CTRL+spaceĀ
4) wait a second
5) see the list of options
Very inconvenient as is, but also the list is incomplete, as I said. E.g. I want to typeĀ self.UniverseSettings.Resolution, this is what I get (see screenshot):
Martin Molinero
Hi Sergei Laptenok,
Once the build process is triggered, autocomplete is started in parallel. The autocomplete suggestions of `self.` do not include `self.UniverseSettings` because we are limiting the number of suggestions for performance reasons. Triggering autocomplete on `self.U` will present `UniverseSettings` as an option.
Step `2) wait a couple of seconds until it builds` should not be required because the Terminal will not build until you hit CTRL+spaceĀ or the build button.
We've just pushed some backend improvements with the objective of making autocomplete suggestions available faster.
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.
Sergei Laptenok
Thank you, Martin!
I might be missing something, but whenever I type anything, the Build button greys out and changes to "Building...". While it does, autocomplete doesn't respond.Ā
Jared Broad
debug if its something specific to your strategy
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.
Sergei Laptenok
I'm using a free account for now, trying to figure out if the platfrm is suitable for me,Ā so ticket support is not an option. I did create a new algrithm (default template) and the behaviour is the same: build triggers every time I type anything new.Ā
Sherry Yang
Hi Sergei,
Thanks for trying out QuantConnect!Ā
You can definitely keep sharing your questions without purchasing a paid tier. Keep sending your thoughts to the forum and our Quant team and community members can support. You are correct that build triggers every time new code is written. Can you share a bit more about what youād like to see in the terminal in a new thread?
Thanks!
Sherry
Derek Melchin
Hi Aadarsh,
Autocomplete should work for all of the objects in our API. Follow these instructions to get it setup.
Best,
Derek Melchin
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.
Alberto Esteban
Hello,Ā
Autocomplete in python is not working. I tried all of the above:
tried different browsers: Edge, Chrome and Brave.
tried a different laptop, all three browsers
tried clear cache and cookies. still not working.
Im just getting started, and if autocomplete doesnt work, I woun't be able to get much done. At all.
Dirk Steyn
Hi autocomplete also not working for me (on Crome)
follow all the instruction above.
Please help,
Dirk
Ā
Pierre Guilet
Hi,
I have the same problem with python. CTRL+space launch the build but no popup. It does not work in firefox and edge without any adblock. And nothing is attributed tro ctrl+space. And option is activated. I have set up autocomplete in my local environment but it would be nice to have it in browser too.
Regards
Stephane b
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!