Adapter initialization: lemon.markets

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

var messageAdapter = new LemonMarketsMessageAdapter(Connector.TransactionIdGenerator)
{
	ApiKey = "<value>".ToSecureString(),
	AccountId = "<value>",
	SecuritiesAccountId = "<value>",
	DataPrivacyPrincipal = "<value>",
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

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

See also

Connection settings window