John Colvin
fc9d5ab04f
Change pub sub schema prefix 'bluto://' -> 'bts-cloud://'
...
In config json files (not actual code change)
2024-09-19 20:03:29 +00:00
John Colvin
3562f6848e
fix build: Fix prop names after refactoring PubSubRoute
...
* Change 'server_address' -> 'ServerAddress'
* Change 'tag_reg_exp' -> 'TagRegExp'
2024-09-19 20:02:09 +00:00
John Colvin
1511bcf252
build: Add scripts to publish data stream apps
2024-09-19 20:02:09 +00:00
John Colvin
b4c902c023
Fix typo in log msg
2024-09-19 20:02:09 +00:00
John Colvin
438ea44c88
Fix build scripts so they propagate the exit code back to the shell
...
I noticed this was broken because launch.json configurations would still start the debugger
even when the preLaunchTask (build) failed!
2024-09-19 20:02:09 +00:00
John Colvin
75acf12ef3
vscode: Add DataStreamPublisher debug cfg to skip build
2024-09-19 20:02:09 +00:00
John Colvin
be407e3e1e
build: Use separate cmd to build DataStreamSuite/QueryAnalyzer.sln
...
The DataStreamSuite.sln builds the new webapp now, which will
(eventually) replace DSQA. We'll keep it around for now, but with a
clean separation from the main build.
2024-09-19 20:02:09 +00:00
John Colvin
2dfa44c1e4
feat: Add DataStream WebApp
...
Included in DataStreamSuite.sln, but not DataStreamQueryAnalyzer.sln
2024-09-19 20:02:09 +00:00
John Colvin
022cad3122
Add spark service modules designed for Dependency Injection
2024-09-19 20:02:09 +00:00
John Colvin
5c42b4fe8b
build: Copy libspark to all dotnet dirs in single cmake target
...
This is cleaner than the previous impl, which used separate build
targets to copy libspark to "net7.0", and "net7.0-windows" (dirs).
2024-09-19 20:02:09 +00:00
John Colvin
9f81c0ab39
fix: Parse ServerAddress as normal string
...
The "JsonValueOrArrayConverter<T>" doesn't work the way I thought it
would. When it is associated with a property via the JsonConverter
attribute, dotnet json parsing code throws an exception if "T" isn't
assignable to the property type.
2024-09-19 20:02:09 +00:00
John Colvin
c941fa78d2
fix build (api server): Change namespace to bts.websocket_core
2024-09-19 20:02:09 +00:00
John Colvin
e6f2c8d1a5
Remove docker submodules again
2024-09-19 20:02:09 +00:00
John Colvin
faf296254e
Change externals url from ssh to https style
...
So we don't need ssh keys to clone it (the builtin credential manager
makes https authentication safe/easy)
2024-09-19 20:02:09 +00:00
John Colvin
41712c774f
cleanup: Fix benign typos in build scripts
...
Change BUILD_SPARK_PY var name to BUILD_PY (because these scripts to actually build 'spark')
2024-09-19 20:02:09 +00:00
John Colvin
565c70bb92
fix build (warn): Only use Registry on windows
2024-09-19 20:02:09 +00:00
John Colvin
97bc186110
cleanup: Fix numerous build warnings in DataStreamSuite
...
Nearly all warnings were due to nullability issues, since the concept of
nullable reference types did not exist when the DataStream code was
originally written.
* PubSubClientMessage
- Normalize indentation/whitespace
- Fix some typos
- Address nullability issues to fix build warnings
- Modernize code
* Compression related files
- ZipEntry
- ZipFile
- ZipInputStream
- TarHeader
* RemoteMessage
- make 'message' nullable to resolve warnings elsewhere (in calling code)
* PubSubSingleTagStateEvent.cs
* PubSubMessageReactor
* PubSubState
* SystemHeartbeatPublisher
* SystemStatsPublisher
* SingleTagData
* ManagedTCPMessageHub
* PubsubDeserializationController
* PublisherCore
* InflaterHuffmanTree
* AsyncTCPConnection_APM
* ThreadSafeQueue
* ManagedSubscriber
* SubscriberCore
* PubSubServerManagedTCPConnection
* AsyncTCPConnection_APM
* SuperMapStream
* MapStream
* TradeBarsStream
2024-09-19 20:02:09 +00:00
John Colvin
158f4fb6c8
cleanup: Normalize indentation in TradeBarsStream
2024-09-19 20:02:09 +00:00
John Colvin
c7961f53c0
cleanup: Disable nullability warnings
...
* BZip2InputStream
* TarInputStream
* Inflater
* InflaterDynHeader
* BZip2OutputStream
* DeflaterHuffman
* ParallelJoinTest
2024-09-19 20:02:09 +00:00
John Colvin
6e89f42bc8
cleanup: Modernize PubSubRoute code, json parsing
2024-09-19 20:02:09 +00:00
John Colvin
0ee450b12a
cleanup: Remove unused DateTime grammar from exp parser
2024-09-19 20:02:09 +00:00
John Colvin
b2e3a6bf82
Add JsonRpcRequestObservable, AsyncEnumerable
2024-09-19 20:02:09 +00:00
John Colvin
f87aa6c4b6
Add json facilities for DataStream websocket api
2024-09-19 20:02:09 +00:00
John Colvin
40a46dd6d7
refactor: Add handy WebsocketExtensions
...
* IsSocketStateOpen
* IsClosedProperly
2024-09-19 20:02:09 +00:00
John Colvin
75d04b2cd2
feat: Add JsonRpc types for websocket paradigm
2024-09-19 20:02:09 +00:00
John Colvin
423e20ae41
cleanup: Remove empty file (clearly added by accident)
2024-09-19 20:02:09 +00:00
John Colvin
de439579cf
fix: Fix improper 'OfType' linq cast
...
Previously, animations were expressed through polymorphism (derived from the
base class CellAnimation), but the new impl uses composition. This 'OfType' call
was leftover from the polymorphism implementation, an attempt to linq cast
elements of base class (CellAnimation) to BackgroundAnimation.
2024-09-19 20:02:09 +00:00
John Colvin
adbe72258b
editorconfig: Use standard c# capitalization rules
...
* Use 'PascalCase' for public members (instead of 'snake_case')
* Use 'camelCase' for private members (instead of '_snake_case')
2024-09-19 20:02:09 +00:00
John Colvin
13646a5a16
refactor: Add WebsocketClient class
...
Basically an ISubject (I/O) wrapper for IWebsocketConnectionGateway
2024-09-19 20:02:09 +00:00
John Colvin
9a1e51eacf
refactor: Change WebsocketServerConfig.port to uint32
...
It should always be a number between 1-65535
2024-09-19 20:02:09 +00:00
John Colvin
9982bd2203
refactor: Rename WebsocketServerConfig proto pkg 'bts.websocket_core'
...
This matches the namespace used in spark_websocket csproj. Eventually,
I'd like to use conventional capitalization (TitleCase namespaces/types,
etc.), but let's shelf that until we have enough time/energy to do a
more comprehensive refactoring.
2024-09-19 20:02:09 +00:00
John Colvin
e7d7352941
refactor: Remove nullability constraint in GetValueOrDefault
2024-09-19 20:02:09 +00:00
John Colvin
d2efe037f9
refactor: Use events to avoid circular deps for ws sync/gateway
2024-09-19 20:02:09 +00:00
John Colvin
67e6147633
refactor: Let caller specify nullability of T in json parse fn
2024-09-19 20:02:09 +00:00
John Colvin
37e5003cf9
Merge remote-tracking branch 'origin/development.ps_linux' into development
2024-09-19 05:40:59 +00:00
John Colvin
07f3868ffc
Add CBOE to spark admin webapp
2024-09-18 19:03:43 +00:00
John Colvin
46f0b17138
Add TAIFEX to spark admin webapp
2024-09-18 19:03:43 +00:00
Taha
33a8e06a3a
Fixing implied vols for SPX (market data was getting divide dby the fwd)
2024-09-17 22:17:31 -04:00
John Colvin
74afdde8de
fix build: Add ".list" to SymbolLists config
...
For new exchanges, TAIFEX and CBOE
2024-09-17 13:01:05 +00:00
John Colvin
0a92ad2eb1
fix (build): Add break statement to new venue switch cases
...
Namely, TAIFEX and CBOE
2024-09-17 13:00:14 +00:00
John Colvin
56d207c3f1
fix: Preserve vs exp sec type (Option) when computing implied vol
...
Because the exp keys in the data map have sec type Option.
2024-09-16 13:46:53 -04:00
John Colvin
9172e752e3
ui: Highlight launcher buttons when selected
...
Namely, the expandable menu buttons in Analytics shell module
2024-09-16 13:46:53 -04:00
John Colvin
adc9f2acfc
Replace trivial refs to ThreadedBlackboard w/ IBus
2024-09-15 23:45:15 -04:00
John Colvin
41d17e67d2
fix: Move accounts subscription to dispatcher thread
...
We update a collection that is bound to the view in the callback (mutation
ops throw if performed on a different thread).
2024-09-15 23:45:15 -04:00
John Colvin
5cacff073b
fix: Check 'HasTimestamp' before accessing prop in man fill row
...
Pending adds (i.e., unpersisted new rows) don't have timestamps.
In such cases, the 'Timestamp' getter throws an exception.
2024-09-15 23:45:15 -04:00
John Colvin
c8da92c250
Cache/index options for faster lookups in SystemContractData
2024-09-15 23:45:15 -04:00
John Colvin
c4e76076e3
fix: Include venue w/ symbol when publishing interp greeks
2024-09-15 23:45:14 -04:00
John Colvin
6a715b9a68
Fix typo in comment
2024-09-15 23:45:11 -04:00
John Colvin
1f28940c95
fix: SelectorList.RemoveAt doesn't need 'convert_back' delegate
...
So don't throw an exception if it is null.
2024-09-15 23:45:11 -04:00
John Colvin
ebff40b88f
fix: Don't assume venue is in spread def string
...
Pass it as an argument to the parse fn. This should be fine for now, but
obviously a singular venue param won't work for cross exchange spreads.
2024-09-15 23:45:11 -04:00