refactor: Remove hardcoded csv path from ReplayFutureLiveBBOStream
Add constructor overload to accept an input ViewStream
This commit is contained in:
1 parent
fb15b3fb24
commit
e7625341e3
3 files changed
+48
-15
No files matched your search
@@ -211,6 +211,12 @@ namespace BCG {
|
||||
return tsNanos.HasValue ? DateTime.UnixEpoch.Add(new TimeSpan(tsNanos.Value / 100)) : null;
|
||||
}
|
||||
|
||||
public static DateTime? GetDateTime(this IBlueRow row, string colName) =>
|
||||
GetDateTime(row[colName]);
|
||||
|
||||
public static DateTime? GetDateTime(this IBlueRow row, int colNo) =>
|
||||
GetDateTime(row[colNo]);
|
||||
|
||||
public static DateTime? GetDateTime(object obj) {
|
||||
var res = _get_datetime_value(obj, DateTime.MinValue);
|
||||
if (res == DateTime.MinValue) {
|
||||
|
||||
Reference in new issue
Block a user