Commit Graph
14514 Commits
Author SHA1 Message Date
John Colvin abc7d44ce2 deploy: Fix typo in sparkd conf dir path in compose.yaml 2026-03-20 17:02:44 +00:00
John Colvin 85ff7f412a cleanup: Fix a few more build warnings 2026-03-20 17:02:44 +00:00
John Colvin 8a3ad08456 refactor: Replace DataPacket with IDataPacket in more places 2026-03-20 17:02:44 +00:00
John Colvin f181d34cbe build: Check if venv already active before activating 2026-03-20 17:02:44 +00:00
John Colvin 002087f62a refactor: Replace TableFormatter with table.h
Also move to "format" dir
2026-03-20 17:02:44 +00:00
John Colvin e37ae056c0 refactor: Replace StringFinder/Joiner.h with find/join.h
Also move to "algorithm" dir
2026-03-20 17:02:44 +00:00
John Colvin b8a7f398c9 refactor: Rename a few TitleCase .h files snake_case
* EnumMacros.h -> enum_macros.h
* TimeSpan.h ---> time_span.h
* TimeStamp.h --> time_stamp.h
2026-03-20 17:02:44 +00:00
John Colvin 2038d747d8 diag: Use structured logs in MDP3Listener::onOption 2026-03-20 17:02:44 +00:00
John Colvin edf127069f deploy: Install tzdata in linux_dotnet8 Dockerfile
So we can configure timezone in compose services. Specifically, we need this
to support live cme md (so onixs doesn't think messages are "too old").
2026-03-20 17:02:44 +00:00
John Colvin 07448cede9 cleanup: Remove unused code 2026-03-20 17:02:44 +00:00
John Colvin 9aef42cb21 refactor: Add new glbx variable ticks to security (shm and proto) 2026-03-20 17:02:44 +00:00
John Colvin baa43cbecf refactor: Enable nullability in Bts.Spark.Api 2026-03-08 16:00:50 +00:00
John Colvin de3e491843 build: Upgrade cs LangVersion 11 -> 12 2026-03-08 16:00:50 +00:00
John Colvin 7cc09350a0 refactor: Rename SparkApiCredentials -> SparkCredentials 2026-03-08 16:00:50 +00:00
John Colvin 059e1202e1 refactor: Rename SparkdLoginService -> SparkLoginService
This makes it consistent with other type names (we don't use "Sparkd"
anywhere else).
2026-03-08 16:00:50 +00:00
John Colvin 9093f56498 refactor: Rename SparkdCredentials.cs -> SparkApiCredentials.cs
Matches the class name
2026-03-08 16:00:50 +00:00
John Colvin 649b4560ff cleanup: Remove unnecessary subscription wrapper in cs sdk 2026-03-08 16:00:50 +00:00
John Colvin 6c060f6171 cleanup: Fix indentation in TopStream
Whitespace changes
2026-03-08 16:00:50 +00:00
John Colvin 581b9259b8 cleanup: Fix build warnings in EqualityComparer
Nullability issues
2026-03-08 16:00:50 +00:00
John Colvin e7bd57964e refactor: Rename Optional members PascalCase
Also reformat code according to new style guidlines
2026-03-08 16:00:50 +00:00
John Colvin 6ea955aacd refactor: Replace ToDictionaryCrushed/Dupes w/ DuplicateKeyPolicy enum
Overload ToDictionary with this enum instead.
2026-03-08 16:00:49 +00:00
John Colvin 29d028fee2 refactor: Replace find_first_index with FindIndex 2026-03-08 16:00:49 +00:00
John Colvin dc5da87a65 cleanup: Fix cs build warnings 2026-03-08 16:00:49 +00:00
John Colvin 7de98a313f refactor: Break up Bts.Spark.Core into a few diff projs
This is in anticipation of decoupling BlueOrb from Spark.

* Bts.Collections
* Bts.Core
* Bts.Disposables
* Bts.Numerics
2026-03-08 16:00:49 +00:00
John Colvin 7873e76ba0 build: Clean up spark_client.sln
* Remove unused csprojs related to old sdk
* Remove erroneous build type config
2026-03-08 16:00:49 +00:00
John Colvin 5b8a8a8882 build: Simplify target to include native assets in cs 2026-03-08 16:00:49 +00:00
John Colvin 21052090a2 fix (pre-emptive): Format dotnet flag opts correctly
In pack_spark_sdk.py, the dotnet pack cmd is constructed with a dict of
opts. If the value part is None, the opt should be formatted as a flag,
"--key" instead of "--key None".
v3.2.3
2026-03-07 13:32:03 -05:00
John Colvin 9bd32b8225 fix build (pack cs sdk): Fix --(no-)cs toggle behavior
* Always run "dotnet pack", regardless of csharp toggle opt
* Run "dotnet publish" if csharp toggled on
2026-03-07 13:20:56 -05:00
John Colvin e8e234f420 fix: Don't fire empty updates in Books IObservable 2026-03-07 01:19:38 -05:00
John Colvin be23237a45 fix: Update last val in IObservable FlattenSeries ext
The bootstrap delegate that stitches the sequences together wasn't
getting properly invoked because of this.
2026-03-07 01:19:28 -05:00
arham a9d92650f8 Add: Spread name to synthspreadbbo 2026-03-03 04:33:44 +00:00
arham c03fb13126 Fix: rename EnterSpreaderOrderAsync from CreateSynthAsync 2026-03-03 01:16:10 +00:00
arham 01e6e37db6 Add: Config for ophir live data sim exe 2026-03-03 01:10:34 +00:00
arham 786b0849a7 FIX: removed errenous code that stopped mdp3 from working 2026-03-03 01:09:06 +00:00
John Colvin 4826fc9237 build: Remove dependency on Newtonsoft.Json (in DataStreamCore)
Replace with System.Text.Json (official dotnet)
v3.2.2
2026-02-23 13:03:49 -05:00
John Colvin c3341ec29f refactor: Replace a few more DataPacket refs with IDataPacket 2026-02-23 12:56:27 -05:00
John Colvin eb88052c7e chore: Add Metadata prop to IDataPacket
To give it parity with DataPacket
2026-02-23 12:55:23 -05:00
John Colvin 74332f9944 fix: Pass IMarketDataClient to PrimitiveManager to enable md streams
In DataStreamQueryAnalyzer and Spark Api Server
2026-02-23 11:24:33 -05:00
John Colvin 54c97b5610 fix: Set buffer Position to 0 when deserializing pubsub echo payload 2026-02-21 16:36:53 -05:00
John Colvin 5c05afd9b3 fix: Only fire stream update if there are actually changes
In other words, don't fire if addedRows and deletedRows are both empty.
2026-02-21 16:36:53 -05:00
John Colvin dcbba39e4a fix: Add null check in BlueDataUtility.build_dp_inc 2026-02-21 16:36:53 -05:00
John Colvin d09f22007e fix: Ensure PubSubTagHandlerFactory uses correct config
* Add this service as part of the PubSubClient services for dep
  injection (it is needed by PublisherCore)

* Get rid of PublisherCore's default constructor, so dep injection
  treats the tag handler factory as a required param (fails if it isn't
  available)
  - Replace the default ctr with a static "Create" fn, so code that
    hasn't been updated to use dependency injection can still use that.
  - Use PubSubConfig.Instance (runtime) instead of compile time Default

* Fix compile time Default config
  - In fallback handler config, change Tag from "" to ".*" and move it
    from the beginning of the list to the end (it should be the last
    resort, not the other way around).
2026-02-21 16:36:53 -05:00
John Colvin a07e7ea6b8 fix: Don't call MasterWorker/vsd doWork on DSQA ui thread
Now that we use dependency injection, this is handled by a dedicated
service (MasterWorkerService). As a side effect, stream updates aren't
necessarily fired on the ui thread, so we refresh the grid on a form
timer callback.
2026-02-21 16:36:47 -05:00
John Colvin 4da52ff724 fix: Replace DataPacket w/ IDataPacket in DSQA 2026-02-21 14:49:39 -05:00
John Colvin 05c7a32fc5 refactor: Add parameterless ctr to PubsubEchoTestStream
So it's quick/easy to check in DSQA (less typing required)
2026-02-21 14:23:51 -05:00
John Colvin 404d3073f9 ui: Unhide PubsubHeartbeatStream (pss_hb) from DSQA 2026-02-21 14:11:46 -05:00
John Colvin 7f1154d70c cleanup: Fix indentation in PubsubHeartbeatStream.cs 2026-02-21 14:10:11 -05:00
John Colvin 5bc2e29096 fix build: Only check "dsqa" flag when building on windows
The --dsqa opt isn't defined when running on linux.
2026-02-21 17:55:12 +00:00
John Colvin f5731a184c fix: Actually disable Spark in default DSQA config 2026-02-20 11:08:33 -05:00
John Colvin 120fe8e5c6 vscode: Add DSQA debug config to skip build 2026-02-20 10:44:19 -05:00