Diese Seite ist noch nicht in Ihrer Sprache verfügbar – es wird eine andere Version angezeigt.
Adapter initialization edgeX
The code below demonstrates how to initialize EdgeXMessageAdapter and pass it to Connector.
Connector Connector = new Connector();
...
var messageAdapter = new EdgeXMessageAdapter(Connector.TransactionIdGenerator)
{
Key = "<Your API Key>".To<SecureString>(),
Secret = "<Your API Secret>".To<SecureString>(),
ClearingAccount = "<Your Clearing Account>",
Passphrase = "<Your Passphrase>".To<SecureString>(),
Section = EdgeXSections.Derivatives,
EnableSpotSection = false,
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...