John Colvin
e7067a708b
cleanup: Disable nullability warnings
...
* BZip2InputStream
* TarInputStream
* Inflater
* InflaterDynHeader
* BZip2OutputStream
* DeflaterHuffman
* ParallelJoinTest
2024-09-18 14:02:35 +00:00
John Colvin
04ac2b9d3d
cleanup: Modernize PubSubRoute code, json parsing
2024-09-18 14:02:35 +00:00
John Colvin
66c6b0bf8c
cleanup: Remove unused DateTime grammar from exp parser
2024-09-18 14:02:34 +00:00
John Colvin
03dd4000fe
Add JsonRpcRequestObservable, AsyncEnumerable
2024-09-18 14:02:34 +00:00
John Colvin
e928295e71
Add json facilities for DataStream websocket api
2024-09-18 14:02:34 +00:00
John Colvin
b94c5823e9
refactor: Add handy WebsocketExtensions
...
* IsSocketStateOpen
* IsClosedProperly
2024-09-18 14:02:34 +00:00
John Colvin
467e81b543
feat: Add JsonRpc types for websocket paradigm
2024-09-18 14:02:34 +00:00
John Colvin
8f7409b3e7
cleanup: Remove empty file (clearly added by accident)
2024-09-18 14:02:34 +00:00
John Colvin
0d19702e12
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-18 14:02:34 +00:00
John Colvin
ebd1852221
refactor: Add WebsocketClient class
...
Basically an ISubject (I/O) wrapper for IWebsocketConnectionGateway
2024-09-18 14:02:34 +00:00
John Colvin
f1130160b1
refactor: Change WebsocketServerConfig.port to uint32
...
It should always be a number between 1-65535
2024-09-18 14:02:34 +00:00
John Colvin
99fba0b3ce
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-18 14:02:34 +00:00
John Colvin
89afbbd00a
refactor: Remove nullability constraint in GetValueOrDefault
2024-09-18 14:02:34 +00:00
John Colvin
9e4af550f8
refactor: Use events to avoid circular deps for ws sync/gateway
2024-09-18 14:02:34 +00:00
John Colvin
ea67280252
refactor: Let caller specify nullability of T in json parse fn
2024-09-18 14:02:34 +00:00
Taha Afzal
8c06d84a8b
Fixing problems where PSS's client socket's IP was different than what the client was sending in PubSubClientSubscription
2024-09-18 14:02:34 +00:00
Taha Afzal
941186a12a
Fixing PubsubEchoTestStream
2024-09-18 14:02:34 +00:00
Taha Afzal
0984007c6e
Added pss_echo()
2024-09-18 14:02:34 +00:00
Taha Afzal
2bb7a89777
Merging
2024-09-18 14:02:34 +00:00
Taha Afzal
15fc3cb785
src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnection_AsyncWrapper.cs
2024-09-18 14:02:34 +00:00
Taha
725396589e
Adding TableMetaDataStream
2024-09-18 14:02:34 +00:00
Taha Afzal
6fc1ec4d67
Cleaning Config 1.0 (not completely done)
2024-09-18 14:02:34 +00:00
Taha
0496b299dd
Added pubsub routes to the Title of DSQA
2024-09-18 14:02:34 +00:00
Taha
b55c4103df
Fixing the bug where messages were being sent by the pubsubserver out of order
2024-09-18 14:02:34 +00:00
Taha
6604eaaea7
some buf gixes + cleanup
2024-09-18 14:02:34 +00:00
Taha
29e5c72969
PubSuMessageReactor empties the message queue (instead oif one elem ata a time) in the main loop
2024-09-18 14:02:34 +00:00
Taha
21e07e1b2e
PubSubServer's linux issues fixed
2024-09-18 14:02:34 +00: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
John Colvin
a6d14a3ac3
improvement: Move system contracts sub off of dispatcher thread
...
Also add 200ms throttle. Contracts shouldn't change that often, so we don't need
lightening speed here. Furthermore, such changes may trigger expensive cpu ops.
Note: this change also replaces refs to ThreadedBlackboard w/ IBus (the
former is somewhat tethered to the dispatcher thread, particularly by
its timer_callback).
2024-09-15 23:45:11 -04:00
John Colvin
af96bcb9e3
fix: Pass symbol/venue from vs usage cfg to AnalyticsService proto
2024-09-15 23:28:59 -04:00
John Colvin
619702cb04
cleanup: Remove unused code
2024-09-15 23:28:59 -04:00
John Colvin
5baec19aff
refactor: Index vol and theos data by symbol/venue tuple
...
Rather than just symbol, to avoid conflicts when the same symbol exists
at multiple exchanges
2024-09-13 10:50:23 -04:00
John Colvin
39ef30c1e3
cleanup: Remove redundant type VolSurfaceSymbolStructure
...
There is an identical type (in terms of prop types and corresponding proto indices)
called VolSurfaceSymbolRelationship that is used in more places.
2024-09-13 10:50:23 -04:00
John Colvin
c2f2d28914
Move nested vm classes into own files
...
VolSurfaceSettingsEditor has too much code (still). It is hard to
navigate.
2024-09-13 10:50:23 -04:00
John Colvin
e06bc3bdf5
Simplify driver symbol structure in vs settings vm
...
The code was confusing and difficult to follow.
2024-09-13 10:50:23 -04:00
John Colvin
e19c19c013
fix: Raise prop changed event when is_selected changes
2024-09-13 10:50:23 -04:00
John Colvin
8f324bc507
Add venue to vs calc fns
2024-09-13 10:50:23 -04:00
John Colvin
12107c42ce
fix: Provide venue param w/ symbol when computing fut slide
2024-09-13 10:50:23 -04:00
John Colvin
91c6fb4e52
diag: Log added/removed exps when syncing vs input w/ system exps
...
This shouldn't happen often, but if it does, we should know about it.
PS: We recently fixed a bug caused by inequalities between
VolSurfaceExpirations in vs input, and in SystemContractData. User
inputs to the vs grid would be immediately reverted, as the exps
associated with the inputs were not found in the SystemContractData.
This bug would have been easier to track down with this logging in
place.
2024-09-13 10:50:23 -04:00