This commit is contained in:
2024-02-28 09:52:54 -05:00
parent 7b1249bdc0
commit 8d9f47b395
3 changed files with 7 additions and 6 deletions

View File

@@ -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];
}

View File

@@ -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;