Commit Graph
10438 Commits
Author SHA1 Message Date
taha afzal 5461dc77aa Added default config based risk limits for Deribit symbols 2022-05-05 20:39:47 -04:00
taha afzal 1b2a1c3fe3 Limiter can optionally get its value from config 2022-05-05 20:39:47 -04:00
Taha Afzal a83a4fdd4f UIOverrides for slide are ignored in the calcultor (were already disable din the UI for now) 2022-05-05 13:53:16 -04:00
Taha Afzal 4d4ee1f57c TC2 is constructed on the correct options now 2022-05-04 15:11:24 -04:00
John Colvin 2bec4ae09f ui: Hide position analysis filters in slide win
At least until they're actually implemented in model/calculation code
2022-05-04 15:07:14 -04:00
John Colvin e3b91909a6 Hook up combo conf vm ErrorsChanged callback once (in ctr) 2022-05-04 14:58:57 -04:00
John Colvin 116ba3f629 Add venue component to report risk-terms/opt-equiv params 2022-05-04 14:56:43 -04:00
John Colvin 0ce6f8e6a2 style: Enable nullable in ComboReportFuturesGrid 2022-05-04 14:53:44 -04:00
John Colvin 9447cb67d2 fix: Populate exps list used to generate cols in combo futs grid
Bugs (fixed):
   * Future positions aren't showing in combo report
2022-05-04 14:53:44 -04:00
John Colvin 92dacc5c3c ui: Use consistent sorting in risk terms/opt equiv dropdowns 2022-05-04 14:53:44 -04:00
John Colvin 766dfe9dd3 ui: Hide security criteria param in slide settings win 2022-05-04 14:53:44 -04:00
John Colvin 84ecb54efd ui: Change 'Volsurface' -> 'Vol Surface' in slide settings win 2022-05-04 14:53:44 -04:00
John Colvin 6ff8855dba refactor: Change report security list to SecurityCriteria 2022-05-04 14:53:44 -04:00
John Colvin 7f349cfa71 ui: Use converter to generate 'pretty name' for sec criteria clause 2022-05-04 14:53:44 -04:00
John Colvin 948b23addc fix: Don't add duplicate securities in slide config vm
Bugs (fixed):
   * Slide settings dialog shows duplicate security items in dropdown
2022-05-04 14:53:44 -04:00
John Colvin 7031bb6fbe fix (ui): Fix typo in slide settings dialog ok/apply cmd binding 2022-05-04 14:53:44 -04:00
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