Adapter initialization: Tradejini
The following code initializes TradejiniMessageAdapter and adds it to Connector.
var messageAdapter = new TradejiniMessageAdapter(Connector.TransactionIdGenerator)
{
ApiKey = "<key>".ToSecureString(),
Password = "<secret>".ToSecureString(),
TwoFactorCode = "<code>".ToSecureString(),
Token = "<token>".ToSecureString(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
Set the credentials and any other required properties described on the Connector configuration page.