John Colvin
1b7e54e334
Fix JsonExtensions?
2024-02-08 19:04:11 -06:00
John Colvin
55f9b3c8dc
fix: Fix erroneous lock usage
2024-02-08 19:04:11 -06:00
John Colvin
30bbf9550d
refactor: Add handy WebsocketExtensions
...
* IsSocketStateOpen
* IsClosedProperly
2024-02-08 19:04:11 -06:00
John Colvin
5c0fa54089
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-02-08 19:04:11 -06:00
John Colvin
22af2d6777
build: Remove version part of RuntimeIdentifiers
...
This fixes a warning that arose as a side effect from upgrading to net8.0
2024-02-08 19:04:11 -06:00
John Colvin
d0bed28278
docker: Fix clang-17
2024-02-08 19:04:11 -06:00
John Colvin
4fca5f4df5
docker: Install gdb (for c++ debugging)
...
VS Code debugger depends on this
2024-02-08 19:04:11 -06:00
John Colvin
370d84432d
build: Upgrade DataStreamWebsocketClient/Server to net8.0
2024-02-08 19:04:11 -06:00
John Colvin
9f9274ae30
build: Upgrade ExpressionTests/Tester to net8.0
2024-02-08 19:04:11 -06:00
John Colvin
2590e2bbb0
docker: Remove kitware 'rc' (release candidate) apt repo
...
No reason to keep it. Probably shouldn't have been added in the first place
2024-02-08 19:04:11 -06:00
John Colvin
c9a1c908e1
docker: Make clang-17 the default clang
2024-02-08 19:04:11 -06:00
John Colvin
e6ed3931f9
docker: Install clang 17
2024-02-08 19:04:11 -06:00
John Colvin
377dafdf3b
build: Upgrade c# to net8.0 (DataStreamSuite)
2024-02-08 19:04:11 -06:00
John Colvin
a617227417
check pt: Before going to Chi (11/07/23, random scripts, etc.)
2024-02-08 19:04:10 -06:00
John Colvin
1fb3b88c31
check pt: Before going to Chi (11/07/23)
2024-02-08 19:04:10 -06:00
John Colvin
5ccdaae235
add util: StringStreamEnumerable
2024-02-08 19:04:10 -06:00
John Colvin
56675e3aa4
add websocket server config, README
2024-02-08 19:04:10 -06:00
John Colvin
6c139a42e3
refactor: Change WebsocketServerConfig.port to uint32
...
It should always be a number between 1-65535
2024-02-08 19:04:10 -06:00
John Colvin
70f8085980
feat: Add Bts.DataStream.Websocket/Server
2024-02-08 19:04:10 -06:00
John Colvin
8db13cfeb2
refactor: Add WebsocketGatewayObservable
...
An IObservable wrapper for IWebsocketConnectionGateway
2024-02-08 19:04:10 -06:00
John Colvin
fc1ea873dd
refactor: Remove nullability constraint in GetValueOrDefault
2024-02-08 19:04:10 -06:00
John Colvin
6db0306a18
refactor: Use events to avoid circular deps for ws sync/gateway
2024-02-08 19:04:10 -06:00
John Colvin
1356db8906
refactor: Let caller specify nullability of T in json parse fn
2024-02-08 19:04:10 -06:00
John Colvin
7f1ee5c363
refactor: Get rid of redundant UniversalNumericComparer
2024-02-08 19:04:10 -06:00
John Colvin
8084063976
refactor: Reorganize NumericComparer, support all types
2024-02-08 19:04:10 -06:00
John Colvin
649eca98f1
DataStreamWebApp check pt (works w/ default launchProfile)
2024-02-08 19:04:10 -06:00
John Colvin
9f9bb65eff
feat: Add JsonRpc types for websocket paradigm
2024-02-08 19:04:10 -06:00
John Colvin
f43e3de5bb
Some ish that works (datastream webapp)
2024-02-08 19:04:09 -06:00
John Colvin
48e3cf844d
Add reference to spark_api for datastream web server
2024-02-08 19:04:09 -06:00
John Colvin
914b5b5ebf
docker: Update default compiler versions
...
Via update-alternatives
2024-02-08 19:04:09 -06:00
John Colvin
998ca2690b
cleanup: Remove leftover legacy files
2024-02-08 19:04:09 -06:00
John Colvin
04721f6248
build: Upgrade c# to net8.0 (spark_websocket, Spark.Admin.WebApp)
2024-02-08 19:04:09 -06:00
John Colvin
622729bf1b
docker: Upgrade dotnet 7 -> 8
2024-02-08 19:04:09 -06:00
John Colvin
5cd8ad79a3
Check pt before trip to NC 2024-01-18
2024-02-08 19:04:09 -06:00
John Colvin
133261fc41
build: Upgrade c# to net8.0
2024-02-08 19:04:09 -06:00
John Colvin
0f66ffec53
Add bones for Bts.DataStreamWebApp.Client
2024-02-08 19:04:09 -06:00
John Colvin
e09debe58a
Add bones for Bts.DataStreamWebApp.Server
2024-02-08 19:04:09 -06:00
John Colvin
9212c6d097
Line ending changes in yacc/lex generated code
...
I recently upgrade the YaccLexTools nuget to 1.2.2, perhaps these new
line endings are related to that.
2024-02-08 14:28:36 -06:00
John Colvin
8660dea85a
build: Downgrade new DataStream code from net8 -> net7
...
The AddColumnsStream, SortStream, and requisite yacc/lex grammar were
originally added to a new branch, off of development, which is on net8.
I forgot to change it to net7 when I cherry-picked the commits for the
regular development branch.
It's wasn't quite as simple as flipping net8 -> net7 in csproj files,
because I was eager to use new language features only available in net8!
Namely, primary constructors and collection expressions.
2024-02-08 14:24:31 -06:00
John Colvin
d0ddc1d57b
Resurrect SortStream
...
Add ColumnSortExpressions grammar (lex/yacc)
2024-02-08 10:04:53 -06:00
John Colvin
fe1e953030
Resurrect AddColumnStream
...
Add ColumnExpressions grammar (lex/yacc)
2024-02-08 10:04:53 -06:00
John Colvin
dab17af5a9
build: Upgrade YaccLexTools to 1.2.2
2024-02-08 00:51:16 -06:00
John Colvin
7fb7b1e4af
Fix PriceStatsStream
...
* Store subscription IDisposable in class (we need to control the life of the subscription)
* Flip typo '_dirty = false' -> '_dirty = true'
2024-02-04 22:14:00 -06:00
John Colvin
bc5bcbf11e
fix: Bootstrap MarketDataClient.price_ticker/stats w/ init state
...
Bugs (fixed):
* MarketDataClient.price_ticker, and price_stats streams don't fire update
with initial state (they only tick as subsequent changes are observed)
2024-02-04 15:33:20 -06:00
Taha Afzal
287ee291cc
Adding a stream that send a TCP packet to the echo server and monitors the n_sends and n_recvs
2024-01-25 13:37:41 -05:00
Taha Afzal
2bceda01ae
Added code in BlueDataUtility to create schema from data
2024-01-22 16:28:23 -05:00
John Colvin
c39a270115
fix: Support all exchs in QueryServer::get_names
2024-01-17 11:15:01 -05:00
Taha Afzal
6e3f9f99c0
Merge branch 'development' of bitbucket.org:bluetradesys/spark into development
2024-01-17 10:08:17 -05:00
John Colvin
b53d9d7d4c
refactor: Remove 'Platform' (md source) config
...
Good riddance. Improper 'PlatformMap' config was often the reason market
data mysteriously wouldn't show up in the client. Especially with new
exchanges. We should keep all md source/connection configuration in one
place (one proto message), to avoid any confusion.
2024-01-17 01:42:57 -05:00
Taha Afzal
cc3e289345
KeyValueToRelationalStream added
2024-01-16 19:08:40 -05:00