from quantrocket.ibg import set_credentials
set_credentials("ibg1", username="eonum313", trading_mode="paper")
generates the following error:
ValueError Traceback (most recent call last)
in
1 from quantrocket.ibg import set_credentials
2
----> 3 set_credentials("ibg1", username="eonum313", trading_mode="paper")
/opt/conda/lib/python3.8/site-packages/quantrocket/ibg.py in set_credentials(gateway, username, password, trading_mode)
75 statuses = list_gateway_statuses(gateways=[gateway])
76 if not statuses:
---> 77 raise ValueError("no such IB Gateway: {0}".format(gateway))
78
79 if username and not password:
ValueError: no such IB Gateway: ibg1