John Colvin
5137785f7f
fix: Provide venue param w/ symbol when computing fut slide
2024-10-03 17:46:50 +05:00
John Colvin
def021612c
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-10-03 17:46:50 +05:00
John Colvin
217c5be131
Add venue to VolSurface(DisplayGrid)Expiration
...
So we can handle symbol/exp date conflicts for securities that differ
only by venue (exchange)
2024-10-03 17:46:50 +05:00
John Colvin
a75441cd07
Clean up VolSurfaceExpiration
...
* Enable nullable lang feat
* Use file-scoped namespace
* Sort members
* Include sec type in Compare impl
2024-10-03 17:46:50 +05:00
John Colvin
78eb096d6f
Add null check in SelectorList ctr
2024-10-03 17:46:50 +05:00
John Colvin
2b66f46db1
cleanup: Remove unused code
2024-10-03 17:46:50 +05:00
John Colvin
ae3029d9ed
refactor: Replace ThreadedBlackboard w/ IBus
...
In SingleVolSurfaceCommittedOutputRetriever
2024-10-03 17:46:50 +05:00
John Colvin
d4a0603933
Clean up VolSurfaceTimeParameters
...
* Enable nullable lang feat
* Use file-scoped namespace
* Implement ICloneable
2024-10-03 17:46:50 +05:00
John Colvin
db6e96cf00
cleanup: Remove unnecessary ternary op
2024-10-03 17:46:50 +05:00
John Colvin
371db4afd2
fix: Actually use (sec) type arg in to_security_expiration
2024-10-03 17:46:50 +05:00
John Colvin
08484a0954
fix: Check security_type in vs exp Equals impl
2024-10-03 17:46:50 +05:00
John Colvin
39db44ed63
fix: Maintain sec type when converting SecurityExpiration to vs exp
...
Avoids data loss
2024-10-03 17:46:50 +05:00
John Colvin
b4dca8e23f
refactor: Get rid of sec type 'Option' default (magic const)
...
Better to be explict
2024-10-03 17:46:50 +05:00
John Colvin
b4bf06d17a
Fix selection binding issues in vs settings editor
...
This specifically addresses issues in the driver symbol grids.
Unfortunately, we can't bind directly to ComboCheckBox.SelectedItems
because the view is contained in TabControl. When the selected tab
changes, the previously selected tab clears its ItemsSource (and
consequently the SelectedItems) as a side effect of being unloaded.
2024-10-03 17:46:50 +05:00
John Colvin
8c17705f02
refactor: Enable nullable (ref types) in ImmutableListExtensions
2024-10-03 17:46:50 +05:00
John Colvin
551f26e5f3
Fix typo in namespace bts.collection -> bts.collections
2024-10-03 17:46:50 +05:00
John Colvin
f4adf35e49
fix: Use ComboCheckBoxItem.IsSelectedProperty
...
Instead of Selector.IsSelectedProperty. Unlike ComboBoxItem, ComboCheckItem's
IsSelectedProperty isn't linked to Selector.IsSelectedProperty.
2024-10-03 17:46:50 +05:00
John Colvin
90128863d9
Add currency column to mview
2024-10-03 17:46:50 +05:00
John Colvin
300831c97a
fix: Use SetCurrentValue instead of SetValue
...
So we propagate values to/from the binding data source,
rather than overwrite the data source itself.
2024-10-03 17:46:50 +05:00
John Colvin
f3f6a82d9a
Add venue, sec type dropdown filters to exp params ui
2024-10-03 17:46:50 +05:00
John Colvin
7c8a41b2b7
fix: Add null check in ComboCheckBox.SelectedItemsCollectionChanged
2024-10-03 17:46:50 +05:00
John Colvin
408114c1f6
fix: Disconnect old INotifyCollectionChanged source when dp changes
2024-10-03 17:46:50 +05:00
John Colvin
5c9be0bfb9
fix: Index opt/fut exps by venue in vs analytics
2024-10-03 17:46:50 +05:00
John Colvin
c0f970ab89
fix: Support multiple exchanges in exp params view/vm
2024-10-03 17:46:50 +05:00
John Colvin
25e1804286
cleanup: Remove unused 'option_symbol' param from compute_atm_data
2024-10-03 17:46:50 +05:00
John Colvin
3c84dc48f6
fix: Filter by exch when getting atm data for sheets
...
This is necessary now that we support exchanges with overlapping securities
2024-10-03 17:46:50 +05:00
John Colvin
9ae20f0c4d
fix: Remove sec id prop from SecurityExpiration
...
This class isn't designed to represent a particular contract; it's
basically a key to get option theos.
2024-10-03 17:46:50 +05:00
John Colvin
e8a72e7bd9
refactor: Add 'onDispatcher' param to 'ThreadedBlackboard.subscribe'
...
This will allow us to gradually move subscriptions off of the dispatcher
(render) thread. When the render thread is pegged, the ui is laggy and
unresponsive. The new param defaults to true, so it won't change
anything until we explicitly set it to false in 'subscribe' calls.
2024-10-03 17:46:50 +05:00
John Colvin
e99e2d817a
fix: Remove redundant SparkTimer threads
...
This addresses some slowness on the front end. Prior to this commit,
each ThreadedBlackboard would start its own timer thread. Since multiple
ThreadedBlackboard run concurrently, this multiplied the frequency of
the SparkTimer callbacks by the number of active ThreadedBlackboards.
The fix is to start this thread in an IShellDaemon rather than the
ThreadedBlackboard. This avoids duplicate threads because the former is
guarenteed to be instantiated only once, via dependency injection.
2024-10-03 17:46:50 +05:00
John Colvin
7f4468c812
refactor: Simplify FakeMDDaemon code that delays post
...
Use Task.Delay/ContinueWith instead of subscribing to the SparkTimer tag.
2024-10-03 17:46:50 +05:00
John Colvin
6206cbc425
refactor: Use IBus instead of ThreadedBlackboard
...
This should address some slowness/mouse lag in the front end (recently
reported by Brandon at Immutable Cap)
2024-10-03 17:46:50 +05:00
John Colvin
21e50745e2
fix: Detect and log ccapi depth msg parse errors
...
This fixes a crash that would happen if a depth item's price or quantity
were an empty string (now we log an error and keep going).
2024-10-03 17:46:50 +05:00
John Colvin
990e21e387
fix: Actually store currency in shared mem
...
This field has always been in the Security proto, though it until now it
had been omitted from the shared memory representation (FixedSecurity).
2024-10-03 17:46:50 +05:00
Mohammad Arham
357be39db3
Merge branch 'development.new_exchanges' of bitbucket.org:bluetradesys/spark into development.new_exchanges
2024-09-24 07:34:09 -04:00
Mohammad Arham
68e04cb3f5
FIX: CHnaged databanto symbol source to asset
2024-09-24 11:31:49 +00:00
Mohammad Arham
b4a5d5c832
Added cpp to security common
2024-09-24 10:53:57 +00:00
Adeel Khan
242fd758f4
Add: Taifex Trades
2024-09-16 01:20:44 +05:00
Mohammad Arham
3c9755f0dd
ADD: Added delay to databento file reader
2024-09-12 15:10:34 +00:00
Mohammad Arham
61ed847d7d
Add: Replay speed added to mdreplayer
2024-09-11 06:50:37 +00:00
Mohammad Arham
fc9094fea8
Added: CBOE working on databento
2024-09-11 06:17:26 +00:00
Mohammad Arham
e36c0efc4b
Added: GLBX working on databento
2024-09-11 06:16:42 +00:00
Mohammad Arham
4158a14cff
Added: option to send timestamp in onbook IMDListener
2024-09-11 06:15:40 +00:00
Mohammad Arham
201a45cba0
taifex deo
2024-09-05 00:59:00 +00:00
Mohammad Arham
ab31b9b253
Add: Multiple files working taifex
2024-09-03 15:15:55 +00:00
Adeel Khan
780ddc79a7
Add: Taifex I083 Message
2024-09-03 20:06:48 +05:00
Mohammad Arham
d5a2adaed6
fix: removed errernous code
2024-09-03 13:09:54 +00:00
Mohammad Arham
008ab3f068
Merge branch 'development.new_exchanges' of bitbucket.org:bluetradesys/spark into development.new_exchanges
2024-09-02 16:31:14 -04:00
Mohammad Arham
7d926f588d
FIX: typo, changed date to day
2024-09-02 16:31:10 -04:00
Mohammad Arham
707cd07876
Add: CBOE L1 books and contracts working
2024-08-28 16:22:51 +00:00
Mohammad Arham
f7ecb9090c
add: code to start working on cboe
2024-08-27 12:33:23 +00:00