Remove BigCharts pricing feed. Add Robinhood price feed
This commit is contained in:
@@ -36,7 +36,7 @@ namespace MarketDataLib.Utility
|
||||
while (true)
|
||||
{
|
||||
String itemsInSection = GetItemsInSection(strInput, sectionName, ref searchIndex);
|
||||
if(null==itemsInSection)break;
|
||||
if (null == itemsInSection) break;
|
||||
sectionItems.Add(itemsInSection);
|
||||
searchIndex++;
|
||||
}
|
||||
@@ -106,18 +106,19 @@ namespace MarketDataLib.Utility
|
||||
}
|
||||
return false;
|
||||
}
|
||||
public static bool FindInSectionsReverse(List<String> sections,String startsWith,int startingIndex,ref int indexOfItem,bool findExact=true)
|
||||
|
||||
public static bool FindInSectionsReverse(List<String> sections, String startsWith, int startingIndex, ref int indexOfItem, bool findExact = true)
|
||||
{
|
||||
for(int index=startingIndex;index>=0;index--)
|
||||
for (int index = startingIndex; index >= 0; index--)
|
||||
{
|
||||
if(!findExact &§ions[index].StartsWith(startsWith))
|
||||
if (!findExact && sections[index].StartsWith(startsWith))
|
||||
{
|
||||
indexOfItem=index;
|
||||
indexOfItem = index;
|
||||
return true;
|
||||
}
|
||||
else if(sections[index].Equals(startsWith))
|
||||
else if (sections[index].Equals(startsWith))
|
||||
{
|
||||
indexOfItem=index;
|
||||
indexOfItem = index;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user