Refactor
This commit is contained in:
@@ -151,10 +151,11 @@ namespace MarketData.Helper
|
||||
for(int index=0;index<tables.Count;index++)
|
||||
{
|
||||
HtmlNodeCollection collection = tables[index].SelectNodes(".//tr");
|
||||
if(null==collection)continue;
|
||||
for(int itemIndex=0;itemIndex<collection.Count;itemIndex++)
|
||||
{
|
||||
String marker=collection[itemIndex].InnerText;
|
||||
if(marker.StartsWith(startsWith))
|
||||
if(null!=marker && marker.StartsWith(startsWith))
|
||||
{
|
||||
return tables[index];
|
||||
}
|
||||
|
||||
@@ -1241,7 +1241,7 @@ namespace MarketData.Helper
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
// ************************************ S E C F I L I N G S - F O R M 4 & F O R M 5 - F O R I N S I D E R T R A N S A C T I O N S S E C . G O V ***************************S
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
public static InsiderTransactions GetInsiderTransactions(String symbol,int timePeriodDays=30)
|
||||
public static InsiderTransactions GetInsiderTransactions(String symbol,int timePeriodDays=15)
|
||||
{
|
||||
MemoryStream memoryStream = null;
|
||||
HttpNetResponse httpNetResponse=null;
|
||||
|
||||
Reference in New Issue
Block a user