Click or drag to resize

Adapter initialization AlphaVantage

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

C#
Connector Connector = new Connector();                
...                
var messageAdapter = new AlphaVantageMessageAdapter(Connector.TransactionIdGenerator)
{
Token = "<Your Token>".To<SecureString>(),
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also