John Colvin
eadfc38a69
refactor: Use nullability feat in ExceptNull, DisposeAll fns
2022-06-01 19:02:41 -04:00
John Colvin
098ee36c3a
fix: Init NotifyCollectionChangedEventArgs w/ correct args
...
Bugs (fixed):
* The ObservableAggregateCollection.Aggregator.Insert fn causes an
ArgumentException if the collection to be inserted is non-empty. This seems
to happen because the NotifyCollectionChangedEventArgs is improperly
constructed (the collection-tuple is passed as the 'changedItem' arg).
* The ObservableAggregateCollection.Aggregator.Insert fn appends existing
items to the end of the aggregate collection (instead of inserting them in
the appropriate index).
Note: This bug was only revealed after the first bug was fixed.
2022-06-01 19:02:41 -04:00
John Colvin
f4ed4d38f1
refactor: Change collection aggregator to use IReadOnlyList
...
It was previously accepting IReadOnlyCollection args, but the
ObservableCollection paradigm generally uses indexed lists
2022-06-01 19:02:41 -04:00
John Colvin
2ed3eaa325
refactor: Check if list already instantiates IList<T>
...
Before creating a new MutableWrapper<T>
2022-06-01 19:02:41 -04:00
John Colvin
3a7a02244b
refactor (ui): Use ExpandedContentSelector in vs win
2022-06-01 19:02:41 -04:00
John Colvin
79258b9404
fix (slide): Observe IObservables OnDispatcher
2022-06-01 10:11:26 -04:00
John Colvin
6376802d04
ui (slide): Use ExpandableContentSelector
2022-06-01 10:11:26 -04:00
John Colvin
2784e7652d
ui (control): Add ExpandedContentSelector for modal section-expansion
2022-06-01 10:11:26 -04:00
John Colvin
5b3925fae0
fix: Set GridSettings.enable_background_color in settings vm
2022-06-01 10:11:26 -04:00
John Colvin
077f6050f3
ui (login): Add F5 'refresh' cmd to retry connecting to server
2022-06-01 10:11:26 -04:00
John Colvin
791dd62b67
fix (ui): Fix typos in vs settings editor xaml
...
* Remove non-existent xmlns
* Change element-name 'curve_ops_gb' to 'StandardCurveOpsView'. The _gb suffix
doesn't make sense bc the element is no longer a GroupBox, and the new name
is stylistically consistent with the other section-view element-names
* Change 'Market Fit View' to 'Market Fit'
2022-06-01 10:11:15 -04:00
John Colvin
2364cda362
ui: Tweak expand/collapse animation
...
Use shorter duration for collapsing, and longer for expanding
2022-06-01 00:00:57 -04:00
John Colvin
aca4365e8d
fix (pre-emptive): Add null check
2022-05-31 16:43:22 -04:00
taha afzal
cac857a3a7
Busted fills filtered out of the PositionService position calculations
2022-05-30 15:38:08 -04:00
John Colvin
ed38ce958d
build: Resurrect web build
2022-05-28 11:40:45 -04:00
Taha Afzal
ed4b9b7426
Added is_active to ITradeLogRow, and changed Combo and Slide to use that
2022-05-26 19:31:13 -04:00
Taha Afzal
e4468f056d
Filtering out busted fills in Slide
2022-05-26 19:17:23 -04:00
Taha Afzal
4b580b407e
Adding FillStatus to ITradeLogRow and filtering the busted fills out in Combo
2022-05-26 19:08:47 -04:00
taha afzal
b575612b07
Fixing Busting of fills on ResetPositions
2022-05-26 18:39:19 -04:00
John Colvin
b506b971a4
feat: Init order ticket w/ default account from ladder profiles
2022-05-26 15:44:02 -04:00
John Colvin
c50f322dc1
refactor: Remove 'where class' constraint from FirstAsyncTask
...
The constraint didn't seem to serve a purpose
2022-05-26 12:57:02 -04:00
John Colvin
3a61f4d81d
ui: Add default-background control to grid settings dialog
2022-05-26 12:57:02 -04:00
John Colvin
a2b2de9783
feat: Reconcile Report
2022-05-25 14:28:58 -04:00
John Colvin
b2a6927b4b
Enable all column settings in mview (for all cols)
2022-05-25 14:28:57 -04:00
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