John Colvin
80dec4e1e2
ui: Fix typo to enable column background in GridSettingsView
2022-05-25 14:28:57 -04:00
John Colvin
77c7802496
Set cell-view's DIYGrid.Column when syncing w/ column geometry
2022-05-25 14:19:04 -04:00
John Colvin
cec2687085
ui: Increase default 'Security' col width
...
Many Deribit securities are wider than the previous col width
(particularly options)
2022-05-25 14:19:04 -04:00
John Colvin
ac118993d5
refactor: Change ManualFill.quantity to double
2022-05-25 14:19:04 -04:00
John Colvin
7634ecf730
refactor: Break up massive file Update.cs
...
Into one file per class
2022-05-25 14:19:04 -04:00
John Colvin
309d1fa287
refactor: Remove LegacyTableUpdate class
2022-05-25 14:19:04 -04:00
John Colvin
9231a91fb4
Fix typo in Update.merge fn
...
Bugs (fixed):
* When merging updates, a new ChangeDict is always instantiated
(sometimes unnecessarily). This was causing a performance hit, but
not actual bad/incorrect behavior, so it went unnoticed for years
2022-05-25 14:19:04 -04:00
John Colvin
f6f928a693
refactor: Move MarketDataAuxiliaryModel into Model dir
2022-05-25 14:19:03 -04:00
John Colvin
467216439b
refactor: Move PositionModel classes into own files
2022-05-25 14:19:03 -04:00
John Colvin
c63e73ab7c
refactor: Move SparkObservableExtensions into own file
...
And rename class ReactiveObservableExtensions
2022-05-25 14:19:03 -04:00
John Colvin
74fcacd800
Clear 'raw' (unfiltered) table changes on filter-updates
...
Otherwise, it would repeat the changes from the last data-update, and
break the incremental sequence
2022-05-25 14:19:03 -04:00
John Colvin
c1c46f01ab
refactor: Use DispatcherObservable class to avoid op chains
2022-05-25 14:19:03 -04:00
John Colvin
77083a1fa6
fix: Don't bypass Dispatcher.InvokeAsync in OnDispatcher ext
...
Otherwise the updates may not be received in order
2022-05-25 14:19:03 -04:00
John Colvin
5303f290b1
refactor: Move sec metadata utils into SecurityMetadataStore
2022-05-25 14:19:03 -04:00
John Colvin
895871c94b
refactor: Move SecurityCriteria classes into spark_core
...
Also move IBus there bc some SecurityCriteriaExtensions depend on it
(and spark_core seems more appropriate for IBus anyways)
2022-05-25 14:19:03 -04:00
John Colvin
3bff50b764
diag: Add TableUpdate.description ext
...
For diagnostic logging/tracking down bugs
2022-05-25 14:19:03 -04:00
John Colvin
86b7802b3b
Use RadioButtonGroupManager.Value prop instead of DataContext
...
This more clearly defines the behavior
2022-05-25 14:19:03 -04:00
John Colvin
4ff9aaf037
refactor: Clean up DIYGridFilterModel
2022-05-25 14:19:03 -04:00
John Colvin
99f7827e7e
refactor: Clean up RadioButtonGroupManager/Map
2022-05-25 14:19:03 -04:00
John Colvin
b67ac5c849
Simplify slide settings view by using RadioButtonGroupManager (not map)
2022-05-25 14:19:03 -04:00
John Colvin
0777f01607
fix: Remove il-advised SelectedItem(Binding) dp
...
It doesn't make sense to try to normalize the binding for different
groups into a single binding in the group manager
2022-05-25 14:19:03 -04:00
John Colvin
222dbf5443
refactor: Move RadioButtonGroupManagerMap into own file
2022-05-25 14:19:03 -04:00
John Colvin
9434f61030
fix: Make GroupManagerMap an Attached dp
...
It always should have been attached (analagous to a static prop)
2022-05-25 14:19:03 -04:00
John Colvin
9199594756
fix: Add null check for put/call_points in VolSurfaceDataFunctions
2022-05-25 14:19:03 -04:00
John Colvin
fc9318a831
ui: Refine vs settings dialog
...
Make it look more like combo/slide settings dialogs
2022-05-25 14:19:03 -04:00
John Colvin
e3fc28f082
fix: Wrap algometadata proto list in single class
...
Bugs (fixed):
* An exception is thrown when deserializing
AlgoDefinitionPersistedMetadata array
2022-05-25 14:19:03 -04:00
John Colvin
9cb7b84f57
Only recreate TViews when necessary in RXCollection
2022-05-25 14:19:03 -04:00
John Colvin
2689ed806d
fix: Add null check in VolSurfaceDataFunctions.get_symbols
2022-05-25 14:19:03 -04:00
John Colvin
5999e7856f
fix: Add null check for sec metadata in MDDaemon
2022-05-25 14:19:03 -04:00
John Colvin
96ad67b020
fix: Ensure ShellModuleVM.MenuContent is created at most once
2022-05-25 14:19:03 -04:00
John Colvin
47d5b95e13
ui (exp params): Add 'Set Driver to Nearest Exp' menu item
2022-05-25 14:19:02 -04:00
John Colvin
12108e6046
fix: Fix typo in 'abs' ext (should accpet INumber<T>)
2022-05-25 14:19:02 -04:00
John Colvin
021bdb8c23
Add ObservableHashSet
2022-05-25 14:19:02 -04:00
John Colvin
470f6c0988
Add Opacity option to ColorExtension (for xaml)
2022-05-25 14:19:02 -04:00
John Colvin
c8b87b4f79
Remove the ill-advised FontFamily enum
...
The library of potential font families to choose from is endless, so it
doesn't make sense to limit a user's options to a small set of arbitrary
presets
2022-05-25 14:19:02 -04:00
John Colvin
9d7e16fbf7
refactor: Move FontFamily exts into own file
...
This resolves some nagging namespace conflicts w/ FontFamily (in
System.Windows.Media and mbts.ui.utility.text)
TODO: Get rid of mbts.ui.utility.text.FontFamily (it was an ill-advised
enum to begin with)
2022-05-25 14:19:02 -04:00
John Colvin
5a45d5e12a
fix: Ensure AlgoData IObservable fires at least once
...
Bugs (fixed):
* The algo dropdown in ladder/ticket is empty
Note: this bug was exposed as side effect of a recent change to
prevent the TableUpdate Filter ext from firing empty TableUpdates
2022-05-25 14:19:02 -04:00
John Colvin
c793ec78a2
Don't send empty updates in TableUpdate Filter ext
2022-05-25 14:19:02 -04:00
John Colvin
7b2b7c5854
refactor: Get rid of 'semi_transparent' brushes in BTSColors
...
Doesn't seem worth the clutter
2022-05-25 14:19:02 -04:00
John Colvin
327615c9ac
refactor: Move 'position' utils from OrdersModel to PositionModel
...
OrdersModel contains way too much "miscellaneous" code. This will
reduce at least some of the clutter.
2022-05-25 14:19:02 -04:00
John Colvin
8e5d94b5e7
refactor: Move TickDisplayConverter into mbts.ui.converters ns
...
This is where all the other IValueConverter classes are defined
2022-05-25 14:19:02 -04:00
John Colvin
bd76a1f260
ui: Only expand one section at a time in slide settings dialog
2022-05-25 14:19:02 -04:00
John Colvin
1df2695f50
refactor: Clean up FillsVM
2022-05-25 14:18:57 -04:00
John Colvin
67d33a3315
Add null-check when disposing ObservableAutoWrapper item-hooks
2022-05-25 14:07:21 -04:00
John Colvin
c49cd3a06e
refactor: Clean up DIYGridRowsManager and related files/types
...
* Rename class suffix 'Manager' -> 'Model'
* Move classes into own files
* Put column-related classes in columns dir
* Enable nullable
* Run formatter
2022-05-25 14:07:21 -04:00
John Colvin
6c0545f566
fix: Don't deserialize AlgoDefinitionMetadata[] w/ length prefix
...
Bugs (fixed):
* AlgoDefinitionMetadata[] deserialization fails
2022-05-25 14:07:21 -04:00
John Colvin
f0eee365f9
fix: Catch & log deserialization exceptions
...
Rather than silently catching the exception upstream
2022-05-25 14:07:21 -04:00
John Colvin
274db506a9
Clean up DiscreteValuesFilterVM
2022-05-25 14:07:21 -04:00
John Colvin
1e5c56f3a7
refactor: Make key param optional in TableUpdate Filter ext
2022-05-25 14:06:49 -04:00
John Colvin
871c7a131f
refactor: Move Position extensions to own file in spark_api
2022-05-24 12:25:16 -04:00