Adapter initialization: Trading Technologies

The following code shows how to initialize TradingTechnologiesMessageAdapter and add it to Connector.

var messageAdapter = new TradingTechnologiesMessageAdapter(Connector.TransactionIdGenerator)
{
	AppSecretKey = "<value>".ToSecureString(),
	SdkPath = "<value>",
	IsBinaryProtocol = true,
	IsOptionsEnabled = true,
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

Replace the sample values with the parameters issued or configured for your account.

See also

Connection settings window