Processing CDS messages

This function shows you how we are processing a response for a CDS. Once the CDS has been processed, depending upon the result, you could choose from a myriad of different avenues. For instance, once complete, you may decide to process another CDS or bond, or send an email. Think about the individual actions that you would take and we could probably turn them into messages and microservices:

bool ProcessCDSMessage([NotNull] CreditDefaultSwapResponseMessage msg)
{
Console.WriteLine("Received Credit Default Swap Response Message");
RILogManager.Default?.SendInformation("Received Credit Default Swap Response Message");
Console.WriteLine("calculated spread: " + msg.fairRate);
Console.WriteLine("calculated NPV: " + msg.fairNPV);
return true;
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset