Commit Graph
14054 Commits
Author SHA1 Message Date
John Colvin 8ee3d5b8ad web: Add tsconfig for clang release build
Not sure why this file was absent in the first place, as similar
tsconfig files were already present for clang debug, and gcc
debug/release
2022-05-02 12:28:55 -04:00
John Colvin 98ee43aa27 ui: Add spark menu items to toggle auto-copy-rolls/rates 2022-05-02 12:28:55 -04:00
John Colvin 92291e3f9f refactor: Clean up AnalyticsParametersManager
* replace ThreadedBlackboard w/ IBus
* use new lang feats
* run formatter
2022-05-02 12:28:55 -04:00
John Colvin 1abb41a0d5 ui: Change sec-type abbrev to be all caps 2022-05-02 12:28:55 -04:00
John Colvin 0993195f03 fix: Use CollectionViewSource to workaround wpf bug
Bugs (fixed):
   * Some dropdowns in exp params grid are empty
2022-05-02 12:28:55 -04:00
John Colvin c2a7c6f994 fix: Set result to null if conversion to nullable<T> fails
Was setting the result to default(T) before

Bugs (fixed):
   * Various exceptions stem from failed conversions to nullable types
   when the underlying type doesn't have a valid default state.  For
   example, default instances of immutable protobufs throw exceptions in
   property accessors for reference type members.
2022-05-02 12:28:55 -04:00
John Colvin 48900cf5a0 ui: Use BTSColors.input_dirty_border in exp params
This makes the 'dirty' color consistent with the rest of the system (was
using hardcoded Red before)
2022-05-02 12:28:55 -04:00
John Colvin 57fbb36808 feat: Add TimeWeightedInterpolated driver to analytics exp params 2022-05-02 12:28:55 -04:00
John Colvin 5c45384c34 refactor: Clean up AnalyticsExpirationParametersRowVM
* use new lang feats
* run formatter
2022-05-02 12:28:55 -04:00
John Colvin f9aa162e2a refactor: Clean up AnalyticsExpirationParametersVM
* use new lang feats
* run formatter
2022-05-02 12:28:55 -04:00
John Colvin 013d17c386 refactor: Enable nullable in AnalyticsExpirationParametersView.xaml.cs 2022-05-02 12:28:55 -04:00
John Colvin ad250c3883 fix: Include sec-type str in ExpirationTextConverter
Bugs (fixed):
   * ExpirationTextConverter.Convert doesn't include the sec-type part
   when 'ShowType' is true
2022-05-02 12:28:55 -04:00
Taha Afzal 2c9e0012e2 Cleaning up VolSurfaceRiskCalculator vs VolSurfaceSlideCalculator 2022-04-29 12:57:35 -04:00
Taha Afzal 2516f23e37 TC2 gets its list of symbols form the settings the rightway now 2022-04-29 12:43:34 -04:00
Taha Afzal d3a7bd48c2 Account setting in Slide is being respected now 2022-04-28 18:37:07 -04:00
Taha Afzal 4aeb7490e3 Slide calculates now if the caculation mode is set for Live Theo or Position update 2022-04-28 17:11:03 -04:00
Taha Afzal 265beef715 Slide is working (showing data, not verified the data though 2022-04-27 19:34:13 -04:00
Taha Afzal a58bf83a9a Added Combo computing code (temporarily brought old VoLSurfaceRiskCalculator back 2022-04-25 17:56:24 -04:00
John Colvin 9da1a4a2de fix: Remove CharSet.Unicode' from 'Logger_log' DLLImport attr
Bugs (fixed):
   * csharp logs only include the first char of the log message

Omnisharp recommended this be specified in the attribute after upgrading to
dotnet 6.  They were wrong.
2022-04-20 12:48:37 -04:00
John Colvin 8a98e38e73 Include opts (and futs) in manual fills sec popup 2022-04-20 02:42:35 -04:00
John Colvin 3044f4a0b1 ui: Sort accounts in dropdown in slide settings dialog 2022-04-20 02:12:14 -04:00
John Colvin 5104ae1742 ui: Set ComboReportWindow.MinWidth to 500
The default width was too narrow, and caused some labels to overlap
2022-04-20 01:47:47 -04:00
John Colvin 987ec14da2 Remove redundant call to _validate in combo conf vm 2022-04-20 01:39:52 -04:00
John Colvin 24c6e0df97 fix: Refresh combo report-result prop when risk-terms-name changes 2022-04-20 01:39:21 -04:00
John Colvin 23d5d18b28 fix: Set report.Id when saving combo report
Bugs (fixed):
   * When ok/apply is clicked in combo report settings, a new report is created
   with those params, instead of modifying the existing report
2022-04-20 01:38:22 -04:00
John Colvin 0a38c241af refactor: Rename ComboVM -> ComboReportVM 2022-04-20 00:36:53 -04:00
John Colvin 5b0d79ad17 refactor: Move ObservantAsyncCommand into ns Spark.ViewModel.Commands 2022-04-19 11:42:44 -04:00
John Colvin 833187559d refactor: Move AsyncCommand to ns Spark.ViewModel.Commands 2022-04-19 11:42:44 -04:00
John Colvin 527066e4c8 refactor: Move IRaiseCanExecuteChangedCommand to ns Spark.ViewModel.Commands 2022-04-19 11:42:44 -04:00
John Colvin bad30a49bf Open options-view with security-picker
TODO: translate the SecurityCriteria into NMSheetsSettings so the
selected criteria is actually used in the window
2022-04-19 11:42:44 -04:00
John Colvin 24f40dd652 ui: Hide strikes/callput fields in contract-picker 2022-04-19 11:42:44 -04:00
John Colvin dce61183dd fix (preemptive): Unhook callbacks when contract-picker controller disposed 2022-04-19 11:42:44 -04:00
John Colvin aeb81a9e86 fix (preemptive): Init contract-picker controller when datacontext changes 2022-04-19 11:42:44 -04:00
John Colvin 81aea15988 ui: Use qty display settings in fills 2022-04-19 11:42:44 -04:00
John Colvin 3e393208ab ui: Use qty display settings in orderbook 2022-04-19 11:42:44 -04:00
John Colvin 0674accd05 Set initial qty to NaN (not 0) in ladder
This makes the initial state consistent with the state after clicking
'Clear'
2022-04-19 11:42:44 -04:00
John Colvin 0f0d8df572 fix: Set init val through display-translator in SizeCalculator
The init val was being passed to the erroneous `UserProperty<T?> _value` field,
which should have been deleted when the _display_translator was introduced.

Bugs (fixed):
   * the ladder-view's initial size field is null when
2022-04-19 11:42:44 -04:00
John Colvin 0afd06be9c feat: Support double qty input in order ticket 2022-04-19 11:42:44 -04:00
John Colvin 1539bfa8b1 feat: Support double quantity input in Ladder 2022-04-19 11:42:43 -04:00
John Colvin a2336be143 fix: Check if _settings is null in LadderGridHost._refresh_prices
Bugs (fixed):
   * NullReferenceException is thrown when the right-panel-ladder (in
   OrderBook) is opened with no selected rows
2022-04-19 11:42:43 -04:00
John Colvin 7d65befc7e refactor: Overload detect_property_changes w/ eq comp params 2022-04-19 11:42:43 -04:00
John Colvin 916b28bc16 refactor: Clean up LadderVMContainer 2022-04-19 11:42:43 -04:00
John Colvin fb3447a6b4 refactor: Consolidate TickUpDownNullable classes into generic impl 2022-04-19 11:42:43 -04:00
John Colvin 2fa9b2e0e5 refactor: Rename TickUp/DownParameter TickUp/DownCommandParameter 2022-04-19 11:42:43 -04:00
John Colvin a66d3fb28a refactor: Return bool indicating whether object was disposed 2022-04-19 11:42:43 -04:00
John Colvin 6be017d35b fix: Make new instances of arrow icons instead of sharing
Bugs (fixed):
   * 'Freezable cannot be frozen' exception thrown when opening
   multiple windows (on diff threads) that use the same arrow icons
2022-04-19 11:42:43 -04:00
John Colvin ef24e5164f refactor: Change uint qty members to doubles 2022-04-19 11:42:43 -04:00
John Colvin a7f36b2361 refactor: Support generic numerics in tick-utils 2022-04-19 11:42:43 -04:00
John Colvin 3d404002a0 refactor: Make QuantityConversionData generic for numeric T 2022-04-19 11:42:43 -04:00
John Colvin 1922a1b49c refactor: Make MathUtils/NumericExtensions generic 2022-04-19 11:42:43 -04:00