Fix update etf holdings

This commit is contained in:
2025-04-12 11:25:50 -04:00
parent 0126d9d863
commit ce90d2060e
4 changed files with 39 additions and 9 deletions

View File

@@ -303,6 +303,15 @@ namespace MarketData.Utils
return double.NaN;
}
}
public static bool IsNumeric(String strText)
{
strText=strText.Replace("%", "");
strText = strText.Replace("$", "");
double value = 0.00;
return double.TryParse(strText, out value);
}
public static long ParseValueLong(String strText)
{
long value;