John Colvin
78155cfbdf
refactor: Clean up LadderOrderVM
...
* use new lang feats
* sort members
* run formatter
2022-05-02 12:28:56 -04:00
John Colvin
1ba980d69f
refactor: Accept tuples with non-uniform types in 'Sum' ext
2022-05-02 12:28:56 -04:00
John Colvin
ef155aaedf
Remove redundant bootstrapping code from TableUpdateDemuxer
2022-05-02 12:28:56 -04:00
John Colvin
22c4b528cb
fix: Actually propagate updates to Subject nodes in TableUpdateDemuxer
...
Bugs (fixed):
* Working orders are not showing in ladder
2022-05-02 12:28:56 -04:00
John Colvin
fd71c6ac7a
Set ShowDecimalPart to false in default qty display settings
2022-05-02 12:28:56 -04:00
John Colvin
019fa134cb
fix: Use valid defaults for price/qty display in SecurityMD
2022-05-02 12:28:56 -04:00
John Colvin
4a40bd3364
refactor: Move SecurityDataHelper to spark_api proj
2022-05-02 12:28:56 -04:00
John Colvin
68229b2474
build (server): Update CMakeDeps
2022-05-02 12:28:56 -04:00
John Colvin
8727ed6ccd
Upgrade server to dotnet-sdk 6
...
* upgraded externals to install dotnet-sdk-6.0 in docker
* rewound the sdk version specified in global.json to 6.0.200 (latest
available in the apt repository)
* updated some fs code that wasn't backwards compatible (namely the
builtin 'TryParse' methods)
2022-05-02 12:28:56 -04:00
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