Fix Feeds. InsiderTransactions, ETFHoldings, Yahoo Price Feed
This commit is contained in:
@@ -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", "");
|
||||
|
||||
Reference in New Issue
Block a user