このページはまだお使いの言語で利用できません。別の言語版を表示しています。
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);
...