John Colvin
b8bfc1058d
check point (bc i don't trust googledrive sync yet)
2024-02-09 23:06:26 -06:00
John Colvin
d65dc1c8e3
build: Upgrade c# to net8.0 (DataStreamSuite)
2024-02-09 23:06:26 -06:00
John Colvin
464a153582
Add Bts.DataStream.WebsocketClient csproj
2024-02-09 23:06:26 -06:00
John Colvin
0610f9ac04
Add ExpressionTests csproj
2024-02-09 23:06:26 -06:00
John Colvin
91c2f6f033
Add TransportUtilities csproj
2024-02-09 23:06:26 -06:00
John Colvin
486c314f19
Add ExpressionTester csproj
2024-02-09 23:06:26 -06:00
John Colvin
1f0b8bd82d
Add DataStream.Console csproj
2024-02-09 23:06:26 -06:00
John Colvin
6aafb2c5f1
Add json facilities for DataStream websocket api
2024-02-09 23:06:19 -06:00
John Colvin
e4d20be735
refactor: Add handy WebsocketExtensions
...
* IsSocketStateOpen
* IsClosedProperly
2024-02-09 23:05:37 -06:00
John Colvin
ca028c58ed
feat: Add Bts.DataStream.Websocket/Server
2024-02-09 22:31:10 -06:00
John Colvin
162969d2f7
Add bones for Bts.DataStreamWebApp.Client
2024-02-09 22:30:30 -06:00
John Colvin
d798594836
Add bones for Bts.DataStreamWebApp.Server
2024-02-09 22:30:07 -06:00
John Colvin
9611462e2c
add util: StringStreamEnumerable
2024-02-09 22:30:07 -06:00
John Colvin
6a262719af
cleanup: Remove empty file (clearly added by accident)
2024-02-09 22:30:07 -06:00
John Colvin
cf0282f86d
Add more descriptive logs (via stdout) during initialization
...
The C++ configure/initialize routines were particularly opaque
2024-02-09 22:27:58 -06:00
John Colvin
76be3074cd
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-02-09 22:27:58 -06:00
John Colvin
029d89386f
cleanup: Remove static service Locator class
...
It relied on a static singleton 'ServiceContext'. Replace references with a
properly scoped (i.e., non-static) ServiceContext
2024-02-09 22:27:58 -06:00
John Colvin
1544a6c3aa
refactor: Reduce code (simplify) in BTS.init
...
Remove the 'args' parameter, since the cmd line can be obtained from
Environment.GetCommandLine anyways
2024-02-09 22:27:58 -06:00
John Colvin
158dfdd606
Dispose connections in SimpleTCPServer.Dispose
2024-02-09 22:27:58 -06:00
John Colvin
aaa3ff114b
Polish PubSubServer cli
2024-02-09 22:27:57 -06:00
John Colvin
c98891f5e3
cleanup: Format PubSubServer.csproj
2024-02-09 22:23:08 -06:00
John Colvin
f31d8d011b
improvement: Polish DataStreamPublisher cli
...
Using CommandLineParser nuget pkg
2024-02-09 22:22:50 -06:00
John Colvin
df7f8fc48f
refactor: Change WebsocketServerConfig.port to uint32
...
It should always be a number between 1-65535
2024-02-09 01:06:35 -06:00
John Colvin
33d9e344ed
refactor: Add WebsocketGatewayObservable
...
An IObservable wrapper for IWebsocketConnectionGateway
2024-02-09 01:06:35 -06:00
John Colvin
368dce37c6
refactor: Remove nullability constraint in GetValueOrDefault
2024-02-09 01:06:34 -06:00
John Colvin
e228b33c5a
refactor: Use events to avoid circular deps for ws sync/gateway
2024-02-09 01:06:34 -06:00
John Colvin
0116a0cfe5
refactor: Let caller specify nullability of T in json parse fn
2024-02-09 01:06:34 -06:00
John Colvin
6b7c115779
refactor: Get rid of redundant UniversalNumericComparer
2024-02-09 01:06:34 -06:00
John Colvin
85593f782d
refactor: Reorganize NumericComparer, support all types
2024-02-09 01:06:34 -06:00
John Colvin
cfa5c5a283
feat: Add JsonRpc types for websocket paradigm
2024-02-09 01:06:34 -06:00
John Colvin
6a536c1208
build: Upgrade c# to net8.0
2024-02-09 01:06:33 -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
Taha Afzal
8cbbbc6da3
Merging
2024-01-13 23:45:51 -05:00
John Colvin
25117c5bb7
Append application name to "logging" dir
...
So we can run datastream procs alongside sparkd on the same machine without
log file conflicts
2024-01-12 14:22:02 -05:00
Taha Afzal
f872fe9d56
AsyncTCPConnection_APM.cs now send onData with Disconnection if it detects teh other side has ShutDown
2024-01-11 17:02:41 -05:00
Taha Afzal
d50e8cda50
Adding AsyncTCPConnectionAcceptor_APM and AsyncTCPConnector_APM to create ITCPConnection
2024-01-11 16:10:51 -05:00
Taha Afzal
694f8b8d11
AsyncTCPConnection_APM works now
2024-01-09 14:34:15 -05:00
Taha Afzal
047267ad1b
AsyncTCPConnection_APM completed (not hooked yet)
2024-01-06 11:34:46 -05:00