You first need to start TWS on your computer and within the settings menue you have to enable TWS API access for your "localhost" network interface (127.0.0.1) on ...
This repository contains the Interactive Brokers TWS API (version 1037.02) for Mac/Unix systems. The TWS API requires a connection to a locally running instance of TWS or IB Gateway. It cannot run ...