John Colvin
741c6d360a
fix: Refresh slide-settings vm 'result' when included syms change
2022-05-02 17:32:32 -04:00
John Colvin
c4f3ca26ef
ui: Use new spark menu toggle style in combo win/vm
2022-05-02 17:29:30 -04:00
John Colvin
3403adc1ff
fix: Hook up expanded/collapsed toggle in slide
...
Bugs (fixed):
* Changing the view-format in slide doesn't do anything
2022-05-02 17:29:30 -04:00
John Colvin
410d3aaf20
ui: Use opacity to indicate 'checked' state in spark menu
2022-05-02 17:29:30 -04:00
John Colvin
34905f6053
Fix benign typo in exp params win menu item init
2022-05-02 17:29:29 -04:00
John Colvin
6a16d419af
ui: Use checkmark icon for 'Checkable' items in spark win context menu
2022-05-02 17:29:29 -04:00
John Colvin
cd23c1a5a1
fix (ui): Use 'opacity' to indicate enabled/disabled in spark menu
...
Bugs (fixed):
* SparkMenuItems sometimes look disabled when they aren't (esp in
AnalyticsExpirationParameters win)
In wpf, VisualStates in different VisualStateGroups shouldn't adjust
common properties. A visual element can only be in 1 visual state at a
time. When a visual element transitions to a new visual state, all
depepdency property changes associated with the transition to the
previous state are cleared.
2022-05-02 17:29:29 -04:00
John Colvin
18793f8cd9
ui: Add 'Swipe Sum' tooltip in slide
2022-05-02 17:29:29 -04:00
John Colvin
c008147674
ui: Use DayMonthAbvDiff2000 format for last trade exp in combo/slide
2022-05-02 17:29:29 -04:00
John Colvin
47323c51c3
ui: Use normal font size of grid in combo
2022-05-02 17:29:29 -04:00
John Colvin
91f58620ac
ui: Make '|' separator in combo consistent w/ those in slide
2022-05-02 17:29:29 -04:00
John Colvin
91aeccb2ae
ui: Use normal font size outside of grids in slide
2022-05-02 17:29:29 -04:00
John Colvin
82864a609d
ui: Make '|' separator consistent in slide status bars (upper/lower)
2022-05-02 17:29:29 -04:00
John Colvin
828b1ca0c2
ui: Add '|' separators in slide status bar
2022-05-02 17:29:29 -04:00
John Colvin
6b740ece39
ui: Use common IValueConverter for last_trade in slide/combo wins
2022-05-02 17:29:29 -04:00
John Colvin
84f18288e0
fix: Fix typo 'call' -> 'put' in ComboReportOptionCellView
2022-05-02 17:29:29 -04:00
John Colvin
cf9e5862ed
fix: Invalidate 'measure' when ShowCallPut in combo opt cell
...
Bugs (fixed):
* combo report does not show call/put when 'Show Call/Put' is checked
2022-05-02 17:29:29 -04:00
John Colvin
4ca2b5f4d2
fix: Add missing 'ExpirationTextConverter' resource in ComboReportView
2022-05-02 17:29:29 -04:00
John Colvin
da2894512d
fix: Fix typo 'ComboReport' -> 'ComboReportView'
2022-05-02 17:29:29 -04:00
John Colvin
55e9487203
fix: Sync strikes and exps in combo on_data callback
2022-05-02 17:29:29 -04:00
John Colvin
19fb08e7ff
fix: Add nullcheck in TradeLogRow ctr
2022-05-02 17:29:29 -04:00
John Colvin
193b1025ad
style: Clean up ReportDaemon
2022-05-02 17:29:29 -04:00
John Colvin
8fa2a925cd
refactor: Use ToggleCommand/SparkMenuItemToggleModel in slide win
2022-05-02 17:29:29 -04:00
John Colvin
526daa9647
ui: Use 'candidate' icon for 'Use Candidate Vol' menu item
2022-05-02 12:29:03 -04:00
John Colvin
43bcc9fe02
Add 'candidate' icon
...
Even though not in use atm, it was hard to parse out the individual
candidate from the svg, and might come in handy down the road. Seems worth
keeping
2022-05-02 12:29:03 -04:00
John Colvin
51d6066420
fix: Add nullcheck in get_vs_price_map
2022-05-02 12:29:03 -04:00
John Colvin
0b11b83eb5
ui: Refine slide win
...
* dock account/risk terms to the left
2022-05-02 12:29:03 -04:00
John Colvin
a53dfd14b1
ui: Refine combo win
...
* make call/put toggle a spark menu item (in the toolbar)
* dock account/risk terms to the left
* hide account/risk terms labels (show them as tooltips instead)
2022-05-02 12:29:02 -04:00
John Colvin
cc0380d8f1
Add ToggleCommand type and related infrastructure
2022-05-02 12:29:02 -04:00
John Colvin
0a01d22e72
refactor: Rename 'UseCandidateVol' icon -> 'vol_curve'
2022-05-02 12:29:02 -04:00
John Colvin
e9f1c72198
refactor: Refine 'create_checked_icon' code/logic
...
Clean up code a bit, and add some parameters to custom fit/position the
check mark with any given Drawing
2022-05-02 12:29:02 -04:00
John Colvin
14af8823ed
refactor: Rename SparkCommandVM -> SparkMenuItemVM
...
Also move to 'ViewModels' dir
2022-05-02 12:29:02 -04:00
John Colvin
5900ce7d12
Fix windows build after moving FileUtils to lib
2022-05-02 12:29:02 -04:00
John Colvin
33e0a6bb46
Generate new keycodes for default config
...
These won't expire until 2032
2022-05-02 12:29:02 -04:00
John Colvin
ca3bc5059e
Read public key from config (for login/auth)
2022-05-02 12:29:02 -04:00
John Colvin
bd108dfe35
cli (server): Add key-code subcommand to sparkd
2022-05-02 12:29:02 -04:00
John Colvin
8a96c7441e
refactor: Clean up KeyCode
2022-05-02 12:29:01 -04:00
John Colvin
4eea3194fd
Remove unused args from key-code subcmds
2022-05-02 12:29:01 -04:00
John Colvin
dace332ac5
refactor: Move FileUtils into lib
2022-05-02 12:29:01 -04:00
John Colvin
af816bb905
fix: Don't cast numeric types via boxing
...
This is illegal
2022-05-02 12:29:01 -04:00
John Colvin
195c24ffef
refactor: Move SingleValueList to own file
2022-05-02 12:29:01 -04:00
John Colvin
92ad17aa19
fix: Save slide report before closing settings dialog
...
Bugs (fixed):
* Slide report configuration doesn't save on OK click (does save on Apply
click though)
2022-05-02 12:29:01 -04:00
John Colvin
eabc4bee4c
fix: Save combo report before closing settings dialog
...
Bugs (fixed):
* Combo report configuration doesn't save on OK click (does save on Apply
click though)
2022-05-02 12:29:01 -04:00
John Colvin
0ed9142cf0
test: Add HierarchicalDictionaryTest
2022-05-02 12:29:01 -04:00
John Colvin
1639683b43
fix: Set _value_count to 0 when HierarchicalDictionary is Cleared
2022-05-02 12:29:01 -04:00
John Colvin
05afb08c5d
fix: Ensure HierarchicalDictionary nodes in sync w/ parent data
2022-05-02 12:29:01 -04:00
John Colvin
c674e44c60
refactor: Enable nullable in EnumerableExtensions
2022-05-02 12:29:00 -04:00
John Colvin
e104c78471
fix (preemptive): Fix typo in Sum ext
...
This fix is preemptive only bc this fn isn't referenced atm
2022-05-02 12:29:00 -04:00
John Colvin
3d8ec63bd7
ui: Condense text/controls in top of Slide win
2022-05-02 12:29:00 -04:00
John Colvin
99670c9d28
ui: Move last update time down to status bar in Slide win
2022-05-02 12:29:00 -04:00