Commit Graph
9905 Commits
Author SHA1 Message Date
Taha Afzal f66ab59f0d Added mark price for Deribit 2022-02-06 18:49:51 -05:00
Taha Afzal 251b014604 Added vs removal code to the service + adjusted to emumba's interface change 2022-02-04 18:52:49 -05:00
Taha Afzal 1034ac8fe1 AnalyticsParametersManager now publishes a dictionary of all values, including empty ones 2022-01-26 14:35:38 -05:00
Taha Afzal 5602fc0b1b Fixing the wing detection as per John 2022-01-26 13:13:43 -05:00
John Colvin 332c32893c fix: Use IValueConverter (not vs display grid) to fmt/parse input
Bugs (fixed):
   * User input isn't multiplied by the display multiplier

This issue was that the input text was getting parsed twice before being stored
in the display grid (once by the IValueConverter, and once by the display grid
itself).  The parse fn divides by the display multiplier, while the format fn
multiplies by it.  Thus, the input was effectively divided by the display
multiplier (bc 1/dm * 1/dm * dm == 1/dm)
2022-01-26 00:40:14 -05:00
John Colvin 9ee52c0827 refactor: Remove unused/deprecated DataGridEx utils 2022-01-25 22:22:18 -05:00
Taha Afzal ad0c4b25a5 Options 'books' can optionally be built from quotes now 2022-01-25 22:15:44 -05:00
Taha Afzal 14af01182c Caching volume on statistics_change and passing it over to handl.add_trade 2022-01-25 22:15:44 -05:00
Taha Afzal ac22ed553e Fixed the TS timestamp 2022-01-25 22:15:44 -05:00
Taha Afzal 310c7fa4a3 Cleaning up 2022-01-25 22:15:44 -05:00
Taha Afzal be3daae175 Removing SIM: from Deribit security desc 2022-01-25 22:15:44 -05:00
Taha Afzal fdc4e59d09 Working around Deribit option md bugs 2022-01-25 22:15:44 -05:00
Taha Afzal 8af07756ef logs in the VolSurfaceDisplayModel 2022-01-25 18:22:50 -05:00
Taha Afzal b522b9875e Merge branch 'volsurface-ui' of bitbucket.org:bluetradesys/spark into volsurface-ui 2022-01-25 17:47:37 -05:00
Taha Afzal 8059ebfad1 Changing the hard coded test vol surface's fwd to be close to reality 2022-01-25 17:47:30 -05:00
John Colvin 5aa3de21bb fix: Notify vs display model when [candidate] cell input changes
Bugs (fixed):
   * The commit/revert buttons in vs window are always disabled
2022-01-25 17:34:01 -05:00
John Colvin 230e02014c refactor: Drop 'Simplified' from vs grid/column class names 2022-01-25 17:25:01 -05:00
John Colvin be8bc54e46 fix: Remove configserver arg when parsing CLIOptions 2022-01-25 14:14:45 -05:00
John Colvin c8d37c2dfc fix: Simplify and fix revert-cell cmd 2022-01-25 14:00:07 -05:00
John Colvin 21300a858c fix: Flip call/put wing start comparison operators 2022-01-25 12:33:51 -05:00
John Colvin c97887993f Make vs graph legend translucent 2022-01-24 19:55:34 -05:00
John Colvin 198311c7c4 feat: Add vis toggle for vs exp graph series parts 2022-01-24 19:55:34 -05:00
John Colvin 1db24a8b72 fix: Define c/p wing strike range w/ VolCurveDisplayGraph wing_start props 2022-01-24 19:49:20 -05:00
John Colvin 9ef492acdc Update PlotModel.IsVisible in vm is_visible setter 2022-01-24 19:29:27 -05:00
John Colvin f8a74bbcbd fix: Copy settings.stroke_thickness to vm member 2022-01-24 19:29:27 -05:00
John Colvin eade3d0ee3 fix: Use consistent window-type ids for saving/loading vs wins
Bugs (fixed):
   The vol surface, and exp params windows aren't restored with workspace
2022-01-24 19:29:26 -05:00
John Colvin c65c16f476 refactor: Init vs line series vms w/ LineSeriesSettings
Previously, was assigning props explicitly from the settings object
2022-01-24 14:43:40 -05:00
John Colvin 6fa7b3cb88 Add committed/candidate prefix to vs atm series title 2022-01-24 14:42:06 -05:00
John Colvin 89df1b5836 Increase padding in vs graph legend
This makes it easier to move the legend around (via drag)
2022-01-24 01:01:28 -05:00
John Colvin c8d682c0b9 Fix analytics-exp-params window
Bugs (fixed):
   * Exp params window crash on launch
   * A few 'dirty' props don't notify view of changes

* Use AnalyticsExpirationParametersWindowFactory to create/restore win
* Rename AnalyticsExpirationParametersVM.StartupData ->
  AnalayticsExpirationParametersSettings
* Simplify 'dirty' prop-changed notification logic
2022-01-24 00:58:37 -05:00
John Colvin 6fb842c619 Tether temp vs window (outside workspace) to dummy shell win 2022-01-23 16:15:11 -05:00
John Colvin 6d90b6079e Implement vs grid settings command 2022-01-23 16:15:11 -05:00
John Colvin 084cbfcef6 Bind selection to immutablelist to get 1 instance/mutation 2022-01-23 16:15:11 -05:00
John Colvin 45a773fc69 Clean up DragDropDocumentPreview
* Make class internal
* Run formatter
2022-01-23 16:15:11 -05:00
John Colvin 3c147e7079 refactor: Clean up FloatingWindow
* Make internal
* Sort class members
* Fix naming violations
* Run formatter
2022-01-23 16:15:11 -05:00
John Colvin 1c4e574512 Add observe_immutable ext fn for ObservableCollection<T>
Converts sequence of CollectionChanged events to an
IObservable<ImmutableList<T>>
2022-01-23 16:15:11 -05:00
John Colvin 6901fe07d7 Add some mouse events to WPFTracer 2022-01-23 16:15:10 -05:00
John Colvin d1bf278bf2 refactor: Overload string join ext fn with params string[] 2022-01-23 16:15:10 -05:00
John Colvin 0d0f670629 refactor: Remove unused template param from string join ext fn 2022-01-23 16:15:10 -05:00
John Colvin 7c85a226d9 refactor: Overload empty_if_null ext fn for generic List/Array (rebase note: Used in AxisVM) 2022-01-23 16:15:10 -05:00
John Colvin b18ae91f37 Remove duplicate VolSurfaceRowView class
This was inadvertantly added, but didn't break the build because it was
in a different namespace (mbts.ui.shell) from the true VolSurfaceRowView
(mbts.ui)
2022-01-23 16:15:10 -05:00
John Colvin 025a5f49e3 diagnostics: Impl VolGridCellVM.ToString 2022-01-23 16:15:10 -05:00
John Colvin 146a136cd5 Remove magic const '-1' in drag/drop is_sufficient_delta fn
Not sure why this const was ever added in the first place, it appears to
arbitrarily prevent drag/drop ops from starting, when the mouse is at
coordinate (1,1)
2022-01-23 16:15:10 -05:00
John Colvin 8e8c532750 refactor: Use UIElement in drag/drop logic
As opposed to using FrameworkElement
2022-01-23 16:15:10 -05:00
John Colvin 5b973a2462 Add EnableDragMove dp (behavior) to PopupViewController 2022-01-23 16:15:10 -05:00
John Colvin 5bcd00d499 refactor: Clean up VolSurfaceSimplifiedGridVM 2022-01-23 16:15:10 -05:00
John Colvin cf9591ae83 Init value for vs cell view DIYGrid.ColumnProperty 2022-01-23 16:15:10 -05:00
John Colvin 64a5c44726 Define view style/behavior in VolSurfaceCellView rather than in vs column 2022-01-23 16:15:10 -05:00
John Colvin bbae90059e Write vs candidate vals to grid model so it updates the graph 2022-01-23 16:15:10 -05:00
John Colvin 1d953c31eb Use IValueConverter to fmt/parse cell vals in vs grid 2022-01-23 16:15:10 -05:00