Click or drag to resize

Adapter initialization ITCH

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

C#
Connector Connector = new Connector();                
...                
var messageAdapter = new ItchMessageAdapter(Connector.TransactionIdGenerator)
{
    Login = "<Your Login>",
    Password = "<Your Password>".To<SecureString>(),
};

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