Adapter initialization: Kiwoom

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

var messageAdapter = new KiwoomMessageAdapter(Connector.TransactionIdGenerator)
{
	AppKey = "<value>".ToSecureString(),
	AppSecret = "<value>".ToSecureString(),
	IsDemo = true,
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

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

See also

Connection settings window