Initialization of DXtrade Adapter
The code below demonstrates how to initialize the DXtradeMessageAdapter and pass it to the Connector.
Connector Connector = new Connector();
...
var messageAdapter = new DXtradeMessageAdapter(Connector.TransactionIdGenerator)
{
Key = "<Your API Key>".To<SecureString>(),
Secret = "<Your API Secret>".To<SecureString>(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...