Fix Feeds. InsiderTransactions, ETFHoldings, Yahoo Price Feed

This commit is contained in:
2024-03-04 19:28:21 -05:00
parent dc893be526
commit c4fa727c54
7 changed files with 596 additions and 352 deletions

View File

@@ -231,6 +231,12 @@ namespace MarketData.Utils
multiplier = -1.00;
}
if (strText.Equals("-")) return double.NaN;
if (strText[strText.Length - 1].Equals('T'))
{
strText = strText.Replace("T", "");
value = double.Parse(strText);
value *= 1000000000000;
}
if (strText[strText.Length - 1].Equals('B'))
{
strText = strText.Replace("B", "");