Connecting to IB

‘from quantrocket.ibg import set_credentials
set_credentials(“ibg1”, username=“jhack2020”, trading_mode=“paper”)’

i run the codes about in the Jupyter notebook, but getting errors below:
‘ValueError: no such IB Gateway: ibg1’

Please can anyone help me out
Regards.
John

You can run docker ps to see what containers are running. According to the error message, the ibg1 container is not running. That suggests you got some wires crossed in the installation somehow, so I would suggest re-running the installation steps.

thanks Brian, i have run the docker ps and see below the output and please confirm whether there is problem and what i need to do next.
Sorry there is no file attachment features where i could add the output as a file to make it more readable.

Microsoft Windows [Version 10.0.19041.450]
© 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ab639167abd0 quantrocket/master:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp quantrocket_master_1
9c257b0dcd4b quantrocket/blotter:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp quantrocket_blotter_1
cd25878831a7 quantrocket/fundamental:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp quantrocket_fundamental_1
a48b323c2184 quantrocket/db:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp quantrocket_db_1
c6d7200d5f69 quantrocket/logspout:2.1.0 “/bin/logspout syslo…” 10 days ago Up 21 hours 80/tcp quantrocket_logspout_1
44c275b75517 quantrocket/flightlog:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp, 9020/tcp quantrocket_flightlog_1
e09f6a19f586 quantrocket/jupyter:2.1.1 “/bin/bash /opt/quan…” 10 days ago Up 21 hours 80/tcp quantrocket_jupyter_1
a5c1f529f508 quantrocket/postgres:2.1.0 “docker-entrypoint.s…” 10 days ago Up 21 hours 5432/tcp quantrocket_postgres_1
4e1f4a113c40 quantrocket/houston:2.1.0 “/bin/bash /opt/quan…” 10 days ago Up 21 hours 443/tcp, 0.0.0.0:1969->80/tcp quantrocket_houston_1
86c163826a92 quantrocket/moonshot:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp quantrocket_moonshot_1
47790803b75d quantrocket/zipline:2.1.1 “/usr/bin/tini – uw…” 10 days ago Up 21 hours 80/tcp quantrocket_zipline_1
08a16538eb70 quantrocket/ibgrouter:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp quantrocket_ibgrouter_1
43c62d8613e5 quantrocket/license-service:2.1.0 “uwsgi-quantrocket -…” 10 days ago Up 21 hours 80/tcp, 4040/tcp quantrocket_license-service_1

C:\WINDOWS\system32>

To repeat myself:

you got some wires crossed in the installation somehow, so I would suggest re-running the installation steps.

Please note that posting to the support forum is only available for paying customers. Even then, the support forum is only for bug reports and occasional tips and pointers. You appear to need a higher level of support, which requires a paid support plan. Feel free to get in touch if you are interested in paid support.

John, there should be 21 containers up and running for the complete QuantRocket application, all the ones lised here: https://www.quantrocket.com/docs/architecture/ - from the output you posted looks like you’re missing ibg as well as a bunch of others. As Brian suggests you should rerun the installation, perhaps you ran out of disk space, as all those containers add up to nearly 20gb I believe on a fresh install.