本页面尚未提供您的语言版本,显示其他语言版本。
Note
BitMax has been renamed to AscendEX. This documentation is preserved for historical reference.
Adapter initialization BitMax
The code below demonstrates how to initialize the BitMaxMessageAdapter and send it to Connector.
Connector Connector = new Connector();
...
var messageAdapter = new BitMaxMessageAdapter(Connector.TransactionIdGenerator)
{
Key = "<Your API Key>".To<SecureString>(),
Secret = "<Your API Secret>".To<SecureString>(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...