Commit Graph
13318 Commits
Author SHA1 Message Date
John Colvin 7845b3fdc1 refactor: Clean up TickExtensions 2022-02-04 17:41:31 -05:00
John Colvin 4b27bbe490 Add handy utils to TickFactors/DisplaySettings
* Add static TickFactors presets
* Add TickDisplaySettings default
* Make TickFactors implement ICloneable<TickFactors>
* Add 'with' ext fn

TODO:
   * Replace instantiations of TickDisplaySettings that rely on inlined
   default values with the TickDisplaySettings.Default prop
2022-02-04 17:41:30 -05:00
John Colvin 3cd0c4073e refactor: Clean up TickFactors
* Get rid of _equals fn that assumes non-null args
* Use modern language features
* Run formatter
2022-02-04 17:41:30 -05:00
John Colvin a7803877e9 refactor: Rename RoundFractionalUnits to snake_case 2022-02-04 17:41:30 -05:00
John Colvin 0c4010baab refactor: Rename SafeContains ext fn to snake_case 2022-02-04 17:41:30 -05:00
John Colvin c6a1b7bc0d refactor: Rename EmptyIfNull ext fn to snake_case 2022-02-04 17:41:30 -05:00
John Colvin ee74548daa refactor: Rename NullIfEmpty ext fn to snake_case 2022-02-04 17:41:30 -05:00
John Colvin e6c5afa8b2 refactor: Rename IsNullOrEmpty ext fn to snake_case 2022-02-04 17:41:30 -05:00
John Colvin 260d5ddbbe refactor: Remove unused tick utils (fns and IValueConverters) 2022-02-04 17:41:30 -05:00
John Colvin ec53038042 refactor: Move safe_equals ext fns to spark_api 2022-02-04 17:41:29 -05:00
John Colvin 3dfbc2635a build: Set CMP0076 explicitly to remove warning 2022-02-04 17:41:29 -05:00
John Colvin 293fc233f7 Add git-save script to backup changed files 2022-02-04 17:41:29 -05:00
John Colvin a99f95853a refactor: Abstract out argparse/file utils from buildspark.py 2022-02-04 17:41:29 -05:00
John Colvin a3378a188a refactor: Fix typo criterion -> criteria 2022-02-04 17:41:29 -05:00
John Colvin 7d7ccc67e0 build: Fix typo in buildspark.py
* Replace literal '2022' w/ var 'year'
2022-02-04 17:41:29 -05:00
John Colvin 1fa17d63a2 refactor: Rename MarketViewView.Columns -> MarketViewColumnType 2022-02-04 17:41:29 -05:00
Taha Afzal a743500a37 Cleaning up SingleVolSurfaceMarketImpliedVolSource 2022-02-04 15:53:25 -05:00
Taha Afzal 0a6f2d5adb Normalizing options market data form coins to USD 2022-02-04 12:39:26 -05:00
Taha Afzal 96e6c0dfb5 In anticipation of the 'mark price' cleaned up the option driver tags 2022-02-03 16:03:21 -05:00
Taha Afzal 775918468d File name change 2022-02-03 13:41:05 -05:00
Taha Afzal 05101cfcd4 Adding more points to the curve to make it look nice in the UI 2022-02-03 13:22:18 -05:00
Taha Afzal 2de48c0550 Making theos work 2022-02-02 16:11:34 -05:00
John Colvin 07004179a3 Add safe_get_value Dictionary ext fns 2022-02-02 14:17:52 -05:00
John Colvin 05401a4c98 refactor: Rename GetValueOrDefault -> get_value 2022-02-02 14:17:51 -05:00
Taha Afzal ba678777b1 Market ImpliedVols are being pubished now 2022-01-30 23:41:47 -05:00
Taha Afzal 532c461d17 Added vol to GreekTuple, and a few verbose logs(for now) 2022-01-30 01:29:51 -05:00
Taha Afzal b98e1ff9dd Name changes 2022-01-29 23:35:56 -05:00
Taha Afzal bc7ca707c9 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-01-29 23:11:51 -05:00
Taha Afzal 292b131a4c Theos are written to the bus now 2022-01-29 23:11:43 -05:00
John Colvin e2ca78008e fix: Disable global drag/drop while adding tab to new win
Bugs (fixed):
   * The shell crashes when dropping a tab into an existing window
2022-01-27 20:34:13 -05:00
John Colvin 85757050bf fix: Don't add null symbol clause to ContractPicker.result
Bugs (fixed):
   * Windows launched w/ SecurityCriteria for 'all' symbols (i.e., when no
     symbols are selected) don't show any securities
2022-01-27 15:14:51 -05:00
Taha Afzal 8ecbfb935d Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-01-27 13:04:01 -05:00
Taha Afzal 753a56ce95 Cleaning up logs for theos 2022-01-27 13:03:52 -05:00
John Colvin 39d7ab0b76 fix: Remove bad assert statement in SparkWindow
Bugs (fixed):
   * PNL window crashes on open
2022-01-27 12:58:08 -05:00
John Colvin 95f638175d refactor: Use 'is null' in null asserts, add msg param 2022-01-27 12:57:18 -05:00
John Colvin 6c6bf492b0 fix: Show candidate output in vs grid readonly cells 2022-01-27 12:18:47 -05:00
John Colvin 2fdce0280a refactor: Clean up MarketViewRow
* Define fields of the same type in separate statements
* Insert some new lines for easier code browsing
* Replace large delegates with local fns
2022-01-27 12:18:47 -05:00
John Colvin dfa18c632e Add greeks to mview 2022-01-27 12:18:47 -05:00
Taha Afzal f8276adaa7 Fixed the save_marker in VolSurfaceInputSnapshot 2022-01-26 23:12:25 -05:00
John Colvin f184dd5743 fix: Update vs previous_states dropdown on grid change 2022-01-26 19:43:51 -05:00
John Colvin 21da6c813c Select vs grid row when cell enters edit mode 2022-01-26 19:28:11 -05:00
John Colvin 2601519e8b Only listen to drag events when IsDragSelectionEnable is true 2022-01-26 19:15:58 -05:00
John Colvin 97cce473e8 refactor: Move DIYGridRowsPresenter to its own file 2022-01-26 19:14:22 -05:00
John Colvin 227a977697 fix: Invalidate vs graph when points change 2022-01-26 18:06:47 -05:00
Taha Afzal c1a59eba47 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-01-26 15:26:51 -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