Market data streams work now

This commit is contained in:
Taha committed 2023-10-16 00:01:29 -04:00
1 parent 140c0c4152
commit 33030b1212
46 files changed
+2367 -787

No files matched your search

@@ -34,6 +34,18 @@ namespace BCG {
public static T get<T>(this IBlueRow r, int col_no, T err_value = default(T)) {
return get_row_value(r, col_no, err_value);
}
public static IEnumerable<T> get_covalues<T>(this IBlueRowCollection rows, string col) {
List<T> rv = new List<T>();
foreach (IBlueRow r in rows)
rv.Add(r.get<T>(col));
return rv;
}
public static IEnumerable<T> get_covalues<T>(IEnumerable<IBlueRow> rows, string col) {
List<T> rv = new List<T>();
foreach (IBlueRow r in rows)
rv.Add(r.get<T>(col));
return rv;
}
public static IBlueRowCollection where(this IBlueRowCollection rows, Func<IBlueRow, bool> where_func) {
if (rows == null)