Back

Lean: Anyone able to use the Docker image at DockerHub?

It appears it only has Jts, ibgateway/ and jts.ini in the /root dir. 

Sidenote: if you attempt to add it as a repr registry url in the Create Image of a GCP VM, you need to change the disk size to 30GB and it still seems to fail. I succeeded to create one finally from the Cloud Shell using this command and waiting up to an hour before checking with the next two commands:

>gcloud compute instances create-with-container foundation --container-image docker.io/quantconnect/lean:foundation --zone us-west1-b --machine-type n1-standard-1 --boot-disk-size=30GB 

> gcloud compute ssh foundation --project <PROJECT_NAME> --zone us-west1-b

> sudo journalctl -u konlet-startup

But now it looks nearly empty, even though it is 11.7GB. Although after I built from scratch it was about 15GB. 

Also, anyone know what the repo image with tag foundation:live is?

I did find another post with someone appearing to have it running here:

   www.quantconnect.com/forum/discussion/5312/docker-not-running-if-i-create-volumes-for-data/p1

And my previous post about the simplest Lean setup is here:

   quantconnect.com/forum/discussion/7589/lean-live-data-setup/p1

..which turns out that the Alpaca paper live data API does work with just sign up, now with the updated code for their new API. Except I'm having the same error after the second run, and after I rebuilt with the new master.zip pull twice on separate containers. So I tried going back to the Docker Hub image, figureing it was solid and it does have a recent update.

Unfortunately, both discussions are closed already and so I can't reply to the first one about his setup.

 

 

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.


bummer, it looks like the bulk of the disk is /opt/miniconda and jfr. so yes, this repo does not have the C projects prebuilt. perhaps that is a challenge to keep rebuilt with the updated master from GitHub.

of course, the commands from the DockerFile on GitHub are:

wget https://github.com/QuantConnect/Lean/archive/master.zip
unzip master.zip -d /root/
mv /root/Lean-master/ /root/Lean
cd /root/Lean
sed -i 's/4.5/4.0/' Algorithm.VisualBasic/QuantConnect.Algorithm.VisualBasic.vbproj
wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mono nuget.exe restore QuantConnect.Lean.sln
msbuild QuantConnect.Lean.sln /property:Configuration=Release
msbuild QuantConnect.Lean.sln /property:Configuration=Debug
#cd /root/Lean/Launcher/bin/Release/
cd /root/Lean/Launcher/bin/Debug/
mono ./QuantConnect.Lean.Launcher.exe

 

0

Don't try building the cproj on anything smaller than a Small instance or it will stall indefinitely.

0

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