Commit Graph
13318 Commits
Author SHA1 Message Date
Taha Afzal 3506c65895 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-02-08 15:05:27 -05:00
Taha Afzal 5d185c51ba Using fixing price for marked price in SystemContractData 2022-02-08 15:05:04 -05:00
Taha Afzal b1e7865904 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-02-08 14:58:30 -05:00
Taha Afzal cc3e769afe QueryServer was not copying the Fixing price over (used as a proxy for Mark price) 2022-02-08 14:58:20 -05:00
Taha Afzal d9cc74cc78 Abstracting out driver retreival from VolSurfaceMDUnit 2022-02-08 13:51:17 -05:00
Taha Afzal 887a39da1a Disabled the SingleVolSurfaceTheoSource (which showed the before after theos) 2022-02-08 12:49:17 -05:00
Taha Afzal 8b384849f5 Double comparison was not accounting for both double vales NaN's 2022-02-07 21:51:05 -05:00
Taha Afzal 1a66fcafb5 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-02-07 21:43:48 -05:00
Taha Afzal a39fba8042 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-02-07 21:06:00 -05:00
Taha Afzal 9f61999ce9 changing the deribit exps to listen to (until the connection drop is fixed) 2022-02-07 21:05:49 -05:00
Taha Afzal 1a0d2e59ab Throttling the driver prices for performance 2022-02-07 20:50:06 -05:00
Taha Afzal 7d66d7847f Adding perf stats log 2022-02-07 17:46:48 -05:00
Taha Afzal b4c65bdde3 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-02-07 14:48:00 -05:00
Taha Afzal 8bd003d21e Perf logs added, plus GreekTuple initialization fixed 2022-02-07 14:47:55 -05:00
John Colvin 11bb41bbb6 Fix typo in mview row vm (delta prop was returning theo) 2022-02-07 12:28:48 -05:00
Taha Afzal ebefc65b69 Merge branch 'spark_crypto' of bitbucket.org:bluetradesys/spark into spark_crypto 2022-02-07 11:43:18 -05:00
Taha Afzal 045029bfb4 Taing logging 2022-02-07 11:43:03 -05:00
Taha Afzal f66ab59f0d Added mark price for Deribit 2022-02-06 18:49:51 -05:00
John Colvin 4c608eec0e feat: Hide vs dummy window 2022-02-06 15:09:47 -05:00
John Colvin 2d6864b191 fix: Remove vs dummy win from win manager on main thread 2022-02-06 14:49:10 -05:00
Taha Afzal 1545458c76 Adding mark prices to VOlSurfaceMDUnit 2022-02-05 19:39:11 -05:00
Taha Afzal d23a390bf6 File name change 2022-02-05 19:08:52 -05:00
John Colvin 9e34cb3d61 feat: Add Vol and Driver cols to mview 2022-02-05 14:40:30 -05:00
John Colvin 170f526617 fix: Add greeks col filters to mview settings 2022-02-05 14:40:30 -05:00
John Colvin 17e0b37882 feat: Add greek col comparers to mview 2022-02-05 14:40:30 -05:00
John Colvin cbe3c1939e refactor: Clean up mview
* Rename members with shorter names (mainly to reduce the width of various
  calls, esp those that add columns in the MarketViewVM constructor)
* Move mview settings classes into own files
* Run formatter
2022-02-05 14:40:23 -05:00
Taha Afzal 251b014604 Added vs removal code to the service + adjusted to emumba's interface change 2022-02-04 18:52:49 -05:00
John Colvin fe416e726a fix: Make mview columns implement ISortableDIYGridColumn
Bugs (fixed):
   * mview column sorting is broken
2022-02-04 17:42:04 -05:00
John Colvin 4dcf296af2 Fix re-entrancy bug in PNLWindow when cols are changing
* Log column collection change events for diagnostic purposes
* Clean up code a bit
2022-02-04 17:41:32 -05:00
John Colvin 0a8a3bf6f2 refactor: Get rid of DoubleUtil
* Consolidate functionality in MathUtils and NumericExtensions
* Define gui-related epsilons in WPFHelper and HighDpiExtensions
2022-02-04 17:41:32 -05:00
John Colvin 174a7baaf4 refactor: Move numeric-extensions into own class 2022-02-04 17:41:32 -05:00
John Colvin 0e41b88bdf refactor: Clean up MathUtils
* Fix name violations
* Make lcm and gcd fns more efficient
* Use modern language features
* Run formatter
2022-02-04 17:41:32 -05:00
John Colvin 822dc0794a fix: Don't consider infinity a real number 2022-02-04 17:41:32 -05:00
John Colvin f644a3392b feat: Hook up (repair) vs grid settings editor
The vs grid settings editor code had already been ported over, but never
actually worked
2022-02-04 17:41:32 -05:00
John Colvin 8634386862 refactor: Return bool indicating whether AddOrUpdate adds item 2022-02-04 17:41:32 -05:00
John Colvin e4a84d343a Fix typo to correct insertion-idx-bug 2022-02-04 17:41:32 -05:00
John Colvin 7b0a7f7107 refactor: Change sync_with_never_duplicate param to IList
This makes the param more flexible, and thus broadens the fn's usability
2022-02-04 17:41:32 -05:00
John Colvin 11f345f3cd fix: Use IEqualityComparer arg in sync_with_never_duplicate 2022-02-04 17:41:32 -05:00
John Colvin 17f10b2450 refactor: Make DIYGrid.Columns type IReadOnlyList
This allows viewmodels to take advantage of IReadOnlyList<out T> covariance and
use more strongly typed column elements
2022-02-04 17:41:31 -05:00
John Colvin 18e26515de refactor: Support mutations in MutableWrapper list
Previously, this class was used to alias IReadOnlyList as an IList, and
each mutation fn would throw a NotSupportedException.  Now
mutations are supported if the source list implements IList (in
addition to IReadOnlyList)
2022-02-04 17:41:31 -05:00
John Colvin ee9d68c0e7 style: Flip if condition to dedent big code block 2022-02-04 17:41:31 -05:00
John Colvin f019163b35 Add AllowNaN and NaNText props to TickUpDownDouble 2022-02-04 17:41:31 -05:00
John Colvin b86b9b474f Fix display_name binding in vs grid settings view 2022-02-04 17:41:31 -05:00
John Colvin a7372fdcf6 Add ProtoMember attrs to TickDisplaySettings props 2022-02-04 17:41:31 -05:00
John Colvin 59c5fd1256 refactor: Impl ICloneable<GridSettings> in GridSettings 2022-02-04 17:41:31 -05:00
John Colvin 8fc55951eb Fix typo in tick parse fn
The parsed result was being multiplied by the display_multiplier where it
should have been divided by it. The parse fn is the inverse of the format fn,
which multiplies by the display_multiplier
2022-02-04 17:41:31 -05:00
John Colvin 1e60c2fc78 Fix rounding error in tickup/down fns
This bug went unnoticed until now bc these particular tickup/down fns
were never called in practice.  However, their use is imminent in the
volsurface ui (namely the grid)
2022-02-04 17:41:31 -05:00
John Colvin b6256244d3 refactor: Add driver to GreeksTuple 2022-02-04 17:41:31 -05:00
John Colvin e872106c5c refactor: Make GreeksTuple.with fn params nullable
This makes it possible to replace GreeksTuple fields with NaN
(previously, NaN indicated that an arg should be ignored)
2022-02-04 17:41:31 -05:00
John Colvin fc18d58681 refactor: Default GreeksTuple args to nan in ctr 2022-02-04 17:41:31 -05:00