Adapter initialization: TraderMade

The following code initializes TraderMadeMessageAdapter and adds it to Connector.

Connector connector = new Connector();
...
var messageAdapter = new TraderMadeMessageAdapter(connector.TransactionIdGenerator)
{
	RestKey = "<Your REST API key>".To<SecureString>(),
	StreamingKey = "<Your streaming API key>".To<SecureString>(),
};
connector.Adapter.InnerAdapters.Add(messageAdapter);
...

Set the access values and any other required properties described on the Connector configuration page.

See also

Connector configuration

Connection settings window