Adapter initialization: Korea Investment & Securities

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

var messageAdapter = new KoreaInvestmentMessageAdapter(Connector.TransactionIdGenerator)
{
	AppKey = "<value>".ToSecureString(),
	AppSecret = "<value>".ToSecureString(),
	AccountNumber = "<value>",
	ProductCode = "<value>",
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

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

See also

Connection settings window