Click or drag to resize

Adapter initialization Upbit

The code below demonstrates how to initialize the UpbitMessageAdapter and send it to Connector.

C#
Connector Connector = new Connector();                
...                
var messageAdapter = new UpbitMessageAdapter(Connector.TransactionIdGenerator)
{
    Key = "<Your API Key>".To<SecureString>(),
    Secret = "<Your API Secret>".To<SecureString>(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also