> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/llms.txt. # Best Practice: Configure TWS / IB Gateway for ActiveX ## Docs - [Introduction](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/introduction.md) - [Memory Allocation](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/memory-allocation.md) - [Introduction](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/api-settings.md) - [Weekly Reauthentication](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/weekly-reauthentication.md) - [Order Precautions](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/order-precautions.md) - [Connected IB Server Location in TWS](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/connected-ib-server-location-in-tws.md) - [Smart Routing](https://ibkrcampus.com/docs/excel/activex/best-practice-configure-tws-ib-gateway-for-active-x/smart-algorithm.md)