Take Date part when checking holiday cache.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace MarketData.Utils
|
|||||||
lock(instance)
|
lock(instance)
|
||||||
{
|
{
|
||||||
if(null==holidays) return false;
|
if(null==holidays) return false;
|
||||||
return holidays.ContainsKey(dateTime);
|
return holidays.ContainsKey(dateTime.Date);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user