Hello, in the installation turorial for windows, install Docker for windows is needed. However, to install Docker for windows, your windows system must be windows 10 pro or enterprise version 10586. Otherewise, you can install "docker toolbox for windows" for older windows systems. Since I believe most users' system will be win10 home, I wonder is it okay to install "docker toolbox for windows" for quantrocket to run? thanks
Good point. It should be fine to use Docker toolbox for Windows. We haven't tested with it, but basically if you can run Docker on your machine, QuantRocket should be happy as its use of Docker is pretty vanilla.
Let me know if you run into issues. And I'll add a note about Windows versions to the tutorial.
Thanks brian. I updated my system to win10 pro so can run Docker on my machine.
Problem with Start IB Gateway:
when I run the command:"quantrocket launchpad start --wait" it shows me "error: Cannot start gateway because login failed, please check your credentials".
I use code:Get-ChildItem Env:" to check my IBG1_PASSWORD and IBG1_USERNAME" setting and pretty sure my usename and password for IB is correct.
1.Is it correct to use "Get-ChildItem Env" to check my username and passwrod?
2. In Configuration Wizard, I chose my trading mode as live, what if I want to use a demo account to log in, how to change the trade mode?
To troubleshoot your login, you may want to open the GUI when you get that message:
quantrocket launchpad gui
Get-Childitem shows what the environment variable is on the Windows host. To double-check that that's what got passed to the container, you can do:
docker exec quantrocket_ibg1_1 env
And look at TWSUSERID/TWSPASSWORD
To change to your paper account, edit the TRADING_MODE variable to "paper" directly in your YAML file.
After any changes to environment variables or the YAML file, redeploy the relevant service:
docker-compose -p quantrocket up -d ibg1
Unfortunately I had the same issue and was unable to update to Windows 10 Pro. As such I had to use Docker Toolbox. Unlike the tutorial which uses Docker for Windows, there are only 2 options as shortcuts with the Docker Toolbox, Docker Quickstart Terminal and Kinematic (Alpha), neither of which allow me access to the Docker icon in the notifications area. Has anyone use Windows 10 Home and hence Docker Toolbox successfully? If so, could they possibly advise on what my next step after installing Docker Toolbox should be? Thanks.
Slight update. I found this on the Docker Toolbox site: "Because the Docker Engine daemon uses Linux-specific kernel features, you can’t run Docker Engine natively on Windows. Instead, you must use the Docker Machine command, docker-machine, to create and attach to a small Linux VM on your machine. This VM hosts Docker Engine for you on your Windows system.
Tip: One of the advantages of the newer Docker for Windows solution is that it uses native virtualization and does not require VirtualBox to run Docker."
I'm assuming (though I may well be wrong) that this might be why I can't complete the process. If this is the case, is there anyway you could update the tutorial for installation with instructions for Docker Toolbox also? I assume that there will be others (not just me) that don't have Windows 10 Pro.
Thanks.
@weichianong it's possible to run QuantRocket using Docker Toolbox, with a few differences from Docker for Windows. We'll post a tutorial for Docker Toolbox in the next day or so.
@mach8 thanks - I followed the new tutorial for Docker Toolbox and it got me past the step that I was stuck at last time. Thanks very much to you guys for getting this put together so quickly.
We posted a tutorial for Docker Toolbox for Windows: Installation Tutorial for Windows
I would regard it as experimental at this point and I'm not sure whether we can/should support Docker Toolbox. I've been playing around with it today and while I did get everything to work, the overall performance for me has been quite poor compared to all the other ways to install Docker (Docker for Windows/Docker for Mac/Docker on Linux/Docker Cloud). I also think there is more that can go wrong with the installation using this approach. I am wary of telling Windows 10 Home users to use Docker Toolbox if it's going to consign them to a crappy experience.
Interested to hear how it goes for people trying this approach...
@Brian, thanks for the feedback. I fully understand that you guys don't want to support Docker Toolbox if it gives much poorer overall performance than Docker for Windows. I was getting the feeling that everything was much less user friendly and difficult with Docker Toolbox already and I have already run into problems connecting to IB using the Docker Toolbox tutorial (though I'm not sure if that is related to Docker Toolbox or a separate issue).
I had planned to view and trial the system through Docker Toolbox and Windows 10 Home, and then if I liked it, just pay for an upgrade to Windows 10 Pro and use Docker for Windows. However, I see you guys have just posed a Unix installation tutorial, so I will attempt to trial it through Unix.
Thanks again for the quick response times from you guys in the forum.