Skip to content

Commit 9eb4c05

Browse files
committed
Improve Troubleshooting for IB and M# Chips
1 parent ba442de commit 9eb4c05

File tree

6 files changed

+24
-4
lines changed

6 files changed

+24
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<? include(DOCS_RESOURCES."/brokerages/interactive-brokers/troubleshooting.html"); ?>
1+
<? include(DOCS_RESOURCES."/brokerages/interactive-brokers/troubleshooting.php"); ?>

05 Lean CLI/01 Key Concepts/02 Troubleshooting/02 Common Errors.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@
126126
<td>
127127
Your Docker installation has pulled the incorrect platform version of the LEAN Docker image. Open your terminal. Run <code>docker rmi quantconnect/lean</code> to remove the <span class="public-file-name">quantconnect/lean</span> image and then run <code>docker pull quantconnect/lean --platform=linux/amd64</code>.
128128
</td>
129+
</tr>
130+
<tr>
131+
<td>
132+
<div class="error-messages">Could not find file '/root/ibgateway/ibgateway'.</div>
133+
</td>
134+
<td>
135+
Your Docker installation has pulled the ARM platform version of the LEAN Docker image. This version doesn't include IB Gateway, because QuantConnect doesn't support Interactive Brokers integration with ARM chips (e.g.: Apple M1, M2, and M3 chips).
136+
</td>
129137
</tr>
130138
</tbody>
131139
</table>

05 Lean CLI/05 Datasets/06 Brokerages/12 Supported Brokerages.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,6 @@
6565
</tbody>
6666
</table>
6767

68-
<p>For brokerages that exclusively provide a live data feed, see the <a href="/docs/v2/lean-cli/api-reference/lean-live-deploy">lean live deploy</a> reference.</p>
68+
<p>For brokerages that exclusively provide a live data feed, see the <a href="/docs/v2/lean-cli/api-reference/lean-live-deploy">lean live deploy</a> reference.</p>
69+
70+
<p>If you have an ARM M1, M2, or M3 chip, Interactive Brokers is not supported, see the <a href="/docs/v2/lean-cli/key-concepts/troubleshooting">Troubleshooting</a>.</p>

05 Lean CLI/09 Live Trading/01 Brokerages/08 Interactive Brokers/03 Deploy Local Algorithms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p>If you have an ARM M1 chip, you can't deploy a local live algorithm with the IB brokerage.</p>
1+
<p>If you have an ARM M1, M2, or M3 chip, you can't deploy a local live algorithm with the IB brokerage, see the <a href="/docs/v2/lean-cli/live-trading/brokerages/interactive-brokers#09-Troubleshooting">Troubleshooting</a>.</p>
22

33
<?
44
$brokerageName = "Interactive Brokers";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<? include(DOCS_RESOURCES."/brokerages/interactive-brokers/troubleshooting.html"); ?>
1+
<? include(DOCS_RESOURCES."/brokerages/interactive-brokers/troubleshooting.php"); ?>

Resources/brokerages/interactive-brokers/troubleshooting.html renamed to Resources/brokerages/interactive-brokers/troubleshooting.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@
9494
IB didn't repond to an order request. Stop and re-deploy the algorithm. On the next deployment, LEAN retrieves this order or the positions it opened or closed.
9595
</td>
9696
</tr>
97+
<? if ($localPlatformOrCli){ ?>
98+
<tr>
99+
<td>
100+
<div class="error-messages">Could not find file '/root/ibgateway/ibgateway'.</div>
101+
</td>
102+
<td>
103+
Your Docker installation has pulled the ARM platform version of the LEAN Docker image. This version doesn't include IB Gateway, because QuantConnect doesn't support Interactive Brokers integration with ARM chips (e.g.: Apple M1, M2, and M3 chips).
104+
</td>
105+
</tr>
106+
<?}?>
97107
</tbody>
98108
</table>
99109

0 commit comments

Comments
 (0)