Upstox adapter initialization
The following code demonstrates how to initialize UpstoxMessageAdapter and pass it to Connector.
var messageAdapter = new UpstoxMessageAdapter(Connector.TransactionIdGenerator)
{
Token = "<Token>".ToSecureString(),
IsDemo = true,
DefaultProduct = UpstoxProducts.Delivery,
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
Replace the example values with credentials and endpoints issued for your account.