Sanity check for Robinhood pricing data
This commit is contained in:
@@ -5180,8 +5180,13 @@ namespace MarketData.Helper
|
|||||||
if (null == strVolume) return null;
|
if (null == strVolume) return null;
|
||||||
if (strVolume.Equals("???")) strVolume = null;
|
if (strVolume.Equals("???")) strVolume = null;
|
||||||
|
|
||||||
|
if (null == strOpen && null == strHigh && null == strLow)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
// Fetch the current price
|
// Fetch the current price
|
||||||
httpNetResponse.Dispose();
|
httpNetResponse.Dispose();
|
||||||
sb = new StringBuilder();
|
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");
|
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();
|
strRequest = sb.ToString();
|
||||||
|
|||||||
Reference in New Issue
Block a user