Sanity check for Robinhood pricing data

This commit is contained in:
2025-10-17 20:46:07 -04:00
parent cde53e5b94
commit 1bf9021671

View File

@@ -5180,8 +5180,13 @@ namespace MarketData.Helper
if (null == strVolume) return null;
if (strVolume.Equals("???")) strVolume = null;
if (null == strOpen && null == strHigh && null == strLow)
{
return null;
}
// Fetch the current price
httpNetResponse.Dispose();
httpNetResponse.Dispose();
sb = new StringBuilder();
sb.Append("https://bonfire.robinhood.com/instruments/").Append(strInstrumentId).Append("/detail-page-live-updating-data/?display_span=day&hide_extended_hours=false");
strRequest = sb.ToString();