Click or drag to resize

Adapter initialization Interactive Brokers

The code below demonstrates how to initialize the InteractiveBrokersMessageAdapter and send it to Connector.

C#
Connector Connector = new Connector();                
...                
var messageAdapter = new InteractiveBrokersMessageAdapter(Connector.TransactionIdGenerator)
{
    Address = "<Your Address>".To<EndPoint>(),
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also