public static string CreateShare([QuantSAExcelArgument] string shareCode, [QuantSAExcelArgument] Currency currency) { var share = new Share(shareCode, currency); QuantSAState.SharedData.Set(share); return(share.GetName()); }