From 6e629119f73c0cd318ec00ff87fa034c6639df0d Mon Sep 17 00:00:00 2001 From: Jake Norbut Date: Thu, 1 Mar 2018 10:40:58 -0600 Subject: [PATCH] SecurityPicker - Format Synthetics using Name property --- src/client/spark_api/security/SecurityFormatter.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/spark_api/security/SecurityFormatter.cs b/src/client/spark_api/security/SecurityFormatter.cs index 8b7374ce9..dfd498ae5 100644 --- a/src/client/spark_api/security/SecurityFormatter.cs +++ b/src/client/spark_api/security/SecurityFormatter.cs @@ -39,6 +39,9 @@ namespace bts.api } else { goto default; } + case Security.ContractOneofCase.Synthetic: + formatted_security_name = s.Synthetic.Name; + break; default: if (part_formatters.Count > 0 && part_formatters[0].separator == "!") { if (part_formatters[0].add_part(s, out formatted_security_name)) { break; }