John Colvin
bb5ea19f69
refactor: Get rid of ViewStream.rows prop
...
It was causing weird side effects in debugger
2026-01-10 12:59:14 -05:00
John Colvin
327665b4c3
fix: Add null check in ProximityJoinStream
2026-01-08 14:24:27 -05:00
John Colvin
2843638386
fix: Only start Stopwatch when actually doing work
2026-01-08 14:24:27 -05:00
John Colvin
915322927a
fix: Dispose md subscription in InstrumentsStream
2026-01-08 14:23:09 -05:00
John Colvin
9905216131
fix: Format PubSub and DSQA config json in PascalCase
...
Matches what's in appsettings.json files
2026-01-08 14:22:57 -05:00
John Colvin
c5ea913e27
fix: Shutdown application when user closes login dialog
...
Previously, it would hang until you manually killed the process.
2026-01-06 14:02:10 -05:00
John Colvin
7719aaa2b3
fix: Add EnvironmentVariables config provider to HostBuilder
2026-01-06 14:02:10 -05:00
John Colvin
ad3a8a7544
fix: Add json config sources before env vars and cmd line sources
...
So environment variables override json files (if there is a conflict),
and command line args override everything else.
2026-01-06 02:34:36 -05:00
John Colvin
75d3ba1d59
fix: Support cross-type numeric comparisons in ArgumentComparer
...
For example, so we can compare ints with doubles. Also adds support for
DateTime and TimeSpan cross-type comparisons.
2026-01-05 13:36:07 -05:00
John Colvin
0ebe9a876c
fix: Apply MarketDataClientConfig to MDSource
...
For throttle intervals, etc.
2026-01-05 13:26:29 -05:00
John Colvin
ac1cbaa985
deploy: Add ophir_demo config profile for sparkd
2026-01-05 00:04:57 +00:00
John Colvin
e861835690
deploy: Change sparkdata dir to ~/.local/share/bts/spark
...
In docker scripts (Dockerfile, compose.yaml)
2026-01-04 23:35:04 +00:00
John Colvin
8e67bd45d9
improve: Add 'file' and 'start_date' props to md replay config
2026-01-04 21:19:00 +00:00
John Colvin
140e5bb5ee
fix build (sparkd): Disable warnings specifically for clang >= 18
...
The build was broken for clang < 18 (and gcc) because we were blindly disabling
warnings as errors specific to clang 18, without checking the compiler version.
Namely, "-Weffc++" and "-Wenum-constexpr-conversion".
2026-01-04 21:19:00 +00:00
John Colvin
9ebc282ba5
fix: Use AtomicGate to make TableUpdate Select ext thread-safe
2026-01-04 21:19:00 +00:00
John Colvin
5ed4a5c1c5
feat: Add tag property to OrderDefinition
2026-01-04 21:19:00 +00:00
John Colvin
8c458d48bb
feat: Add server side csharp sdk
...
For Ophir
2026-01-04 21:19:00 +00:00
John Colvin
bb1e7c30c8
build: Add msbuild flag to reference projs or local nugets
...
So we can use project refs for dev builds, and package refs for releases.
2026-01-04 21:19:00 +00:00
John Colvin
6568c29ad4
cleanup: Remove unnecessary ProjectReference
2026-01-04 21:19:00 +00:00
John Colvin
e5e67e1a01
build: Optionally launch console with Spark exe
2026-01-04 21:19:00 +00:00
John Colvin
4f34e57194
refactor: Move Bus code into Bts.Spark.Core
2026-01-04 21:19:00 +00:00
John Colvin
59b1aead62
refactor: Use HostBuilder to launch spark w/ streams
2026-01-04 21:19:00 +00:00
John Colvin
49a4c65f3b
build: Define custom "main" (entry point) for Spark exe
...
This is a prelude to integrating streams into spark. The plan is to use
an ms HostBuilder to instantiate stream services/dependencies alongside
the spark Application object.
2026-01-04 21:19:00 +00:00
John Colvin
cf4158b34c
refactor: Consolidate ShellBootstrapper and base class into one
2026-01-04 21:19:00 +00:00
John Colvin
db0e0d4311
cleanup: Get rid of stunnel code
...
This looks like it hasn't been hooked up for years...it would only start
if a stunnel.conf file was detected, which hasn't been around for a very
long time.
2026-01-04 21:19:00 +00:00
John Colvin
50788f8828
fix: Only create mutex if spark app is NOT running in vs designer
...
I accidentally droped the '!' in a cleanup commit 4 years ago
2026-01-04 21:19:00 +00:00
John Colvin
a515468e37
refactor: Rename TableUpdate props to PascalCase
...
Makes the sdk look more polished, professional
2026-01-04 21:19:00 +00:00
John Colvin
84f6d3d9fe
cleanup: Fix build warnings pre-emptively before compiler upgrade
...
For clang>=18
* non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int')
to 'float' in initializer list [-Wc++11-narrowing-const-reference]
* -Wenum-constexpr-conversion
2026-01-04 21:19:00 +00:00
John Colvin
c50a006d7d
deploy: Update dotnet7 -> dotnet8 in docker images
2026-01-04 21:19:00 +00:00
John Colvin
2031f536d6
build: Pack Bts.Spark.Core with libspark
2026-01-04 21:19:00 +00:00
John Colvin
69e4ed84c1
build: Generate version info via git cli in build scripts
...
Instead of GitVersion.MsBuild nuget
2026-01-04 21:18:58 +00:00
John Colvin
c4a6b4591d
cleanup: Remove last vestiges of spark proto config from DataStreamCore
2026-01-04 21:08:13 +00:00
John Colvin
8f3fa18bca
refactor: Rename spark_api csproj Bts.Spark.Api
...
This follows the conventional naming practices, where the project shares its
name with the namespace. Doing this in anticipation of the csharp sdk we are
about to release (for Ophir).
2026-01-04 21:08:13 +00:00
John Colvin
f60782915c
refactor: Rename spark_core csproj Bts.Spark.Core
...
This follows the conventional naming practices, where the project shares its
name with the namespace. Doing this in anticipation of the csharp sdk we are
about to release (for Ophir).
2026-01-04 21:08:13 +00:00
John Colvin
3565f78be8
cleanup (build): Remove redundant csproj refs
...
For example, projects that reference spark_api don't need an explicit reference
to spark_core, since spark_api already references it. The same goes for projects
that reference DataStream and DataStreamCore.
2026-01-04 21:08:13 +00:00
John Colvin
41ad7b96f4
build: Only expose spark_core internals to spark and spark_test csprojs
2026-01-04 21:08:13 +00:00
John Colvin
c338d26b82
build: Define project specific metadata props for nuget pack
2026-01-04 21:08:13 +00:00
John Colvin
319f054a0c
build: Define global company info build props for csprojs
...
* Authors - Blue Trading Systems
* Company - Blue Trading Systems
2026-01-04 21:08:13 +00:00
John Colvin
389bf6e130
refactor: Rename DictionarySetWrapper -> DictionaryKeySet
2026-01-04 21:08:12 +00:00
John Colvin
ded28c23d7
diag: Preserve file and line number in "log_at" ext fn
2026-01-04 21:08:12 +00:00
John Colvin
67f7124ed5
build: Remove DSQA from DataStreamSuite.sln
...
Because it doesn't build on linux
2026-01-04 21:08:12 +00:00
John Colvin
1c579ee063
refactor: Change namespace to Bts.DataStreamCore for a few types
...
Since they're in the DataStreamCore csproj
2026-01-04 21:08:12 +00:00
John Colvin
7508fa0b7f
dev qol: Mark ExceptionAssert 'name' param w/ CallerArgumentExpression
2026-01-04 21:08:12 +00:00
John Colvin
1f18ec4198
refactor: Replace if/else with switch cases
2026-01-04 21:08:12 +00:00
John Colvin
81d7820cca
fix: Ensure IDGenerator instance is created before deref
2026-01-04 21:08:12 +00:00
John Colvin
e125be1f85
fix: Emplace MDConsumerHandle instead of copy assign
2026-01-04 21:08:12 +00:00
John Colvin
040c8cab59
cleanup: Remove unnecessary code
...
Trim includes as well
2026-01-04 21:08:12 +00:00
John Colvin
32a12cf1f7
cleanup: Remove redundant macro def
2026-01-04 21:08:12 +00:00
John Colvin
db604fbed0
improve: Abort md rec loop if nothing configured to record
2026-01-04 21:08:12 +00:00
John Colvin
4066cd50ce
build: Clean up data_files cmake proj (support --target clean)
2026-01-04 21:08:12 +00:00