Fix BuildPriceFromSections.
This commit is contained in:
@@ -4892,7 +4892,11 @@ namespace MarketData.Helper
|
|||||||
if(dataSections.Count>0)
|
if(dataSections.Count>0)
|
||||||
{
|
{
|
||||||
dataSections = Sections.GetSections(dataSections[0]);
|
dataSections = Sections.GetSections(dataSections[0]);
|
||||||
if(null!=dataSections && dataSections.Count>0)
|
if(null!=dataSections && dataSections.Count==1)
|
||||||
|
{
|
||||||
|
price.Close=price.AdjClose=FeedParser.ParseValue(dataSections[0]);
|
||||||
|
}
|
||||||
|
else if(null!=dataSections && dataSections.Count>0)
|
||||||
{
|
{
|
||||||
price.Close=price.AdjClose=FeedParser.ParseValue(dataSections[1]);
|
price.Close=price.AdjClose=FeedParser.ParseValue(dataSections[1]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user