Commit Graph
344 Commits
Author SHA1 Message Date
John Colvin b1f8ac7e22 refactor: Make Optional<T> a struct
It's a trivial, readonly type, so struct seems more appropriate than class

Bugs (fixed):
   * [preemptive] greeks_tuple param potential null-ref exception in TradeInfo
   'with' ext
2022-05-02 12:28:58 -04:00
John Colvin 99b58cf2bf refactor: Clean up LadderVM
* use new lang feats
* sort members
* run formatter
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 1abb41a0d5 ui: Change sec-type abbrev to be all caps 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 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 a66d3fb28a refactor: Return bool indicating whether object was disposed 2022-04-19 11:42:43 -04:00
John Colvin 3d404002a0 refactor: Make QuantityConversionData generic for numeric T 2022-04-19 11:42:43 -04:00
John Colvin 1922a1b49c refactor: Make MathUtils/NumericExtensions generic 2022-04-19 11:42:43 -04:00
John Colvin ca4ec7025c Add price/quantity display config to SecurityMD 2022-04-19 11:42:43 -04:00
John Colvin b00b12bed2 refactor: Clean up MDSource/Daemon and deps 2022-04-19 11:42:42 -04:00
John Colvin 97b665733a Add SecurityCriteria pbuf type to client build 2022-04-19 11:42:42 -04:00
John Colvin 47e5b57789 style: Clean up SecurityMD
* sort members
* use new lang feats
* run formatter
2022-04-19 11:42:42 -04:00
John Colvin ee1d02991c feat: Port combo report over from edge 2022-04-19 11:42:42 -04:00
John Colvin a4780ecac7 refactor: Make 'within_range' param order consistent 2022-04-19 11:42:41 -04:00
John Colvin 32643990ee refactor: Use generic math in MathUtils/NumericExtensions 2022-04-19 11:42:41 -04:00
John Colvin eaf6e4ba28 refactor: Clean up VolSurfaceUtilityFunctions
* use new lang feats
* remove redundant ported functionality (refactor w/ impls in spark)
* run formatter
2022-04-19 11:42:41 -04:00
John Colvin a885fa7065 Add LoggerExtensions to record (time) ops 2022-04-19 11:42:41 -04:00
John Colvin c779b31a90 refactor: Clean up [csharp] co2 classes
* Move all [non-nested] classes/structs into own files
* Sort members
* Fix naming convention violations
* Use new lang feats
* Run formatter
2022-04-19 11:42:40 -04:00
John Colvin f7adc84f0e feat: Port slide report over from edge 2022-04-19 11:42:40 -04:00
John Colvin 4f6a0061fe refactor: Clean up ObservableDemuxer
* Move to spark_core
* Split classes into sep files
* Use new lang feats
* Run formatter
2022-04-19 11:42:40 -04:00
John Colvin 8b5d79847f Add 'Select' ext fns for Update/TableUpdate 2022-04-19 11:42:39 -04:00
John Colvin 8806a62af7 refactor: Clean up ReflectionHelper/ObjectSnapshot
* Consolidate as much code as possible in ReflectionHelper (spark_core)
* Sort members
* Run formatter
2022-04-19 11:42:39 -04:00
John Colvin 2a5dcab60f refactor: Move UserSymbol into own file 2022-04-19 11:42:39 -04:00
John Colvin 4f32c8469e refactor: Clean up DateFormatter
* move DateFormat enum into sep file
* sort members
* use new lang feats
* run formatter
2022-04-19 11:42:38 -04:00
John Colvin b2679ecb60 Clean up old (recently ported) slide/report code 2022-04-19 11:42:38 -04:00
John Colvin 3440afd0d6 refactor: Split log-related classes into sep files 2022-04-19 11:42:38 -04:00
John Colvin ff9b4f5b2f build: Upgrade dotnet core 5.0 -> 6.0 2022-04-19 11:42:38 -04:00
John Colvin 0242d964b2 feat: Add greeks to Time/Sales 2022-03-02 23:27:00 -05:00
John Colvin f98f6380c4 Add ThreadSafeEvent and SpinLockExtensions 2022-02-28 14:29:12 -05:00
John Colvin f70c2d4653 feat: Add grid lines to volsurface ui 2022-02-14 14:01:50 -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
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 a7803877e9 refactor: Rename RoundFractionalUnits to snake_case 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
Taha Afzal 2de48c0550 Making theos work 2022-02-02 16:11:34 -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 d5dd63d528 refactor DIYGrid.SelectionHighlight to be Color instead of Brush (also fixes drag rect adorner bug, where the color wouldn't respond to settings changes) 2022-01-23 13:09:56 -05:00
John Colvin e6d16b419b Impl non-generic IEqualityComparer.GetHashCode 2022-01-23 13:09:55 -05:00
John Colvin cd19cbf0b4 Early cut of aw2 ui (most likely will have bugs)
Rough around the edges, but functional enough to be a useful diagnostic tool as
we iron out aw2
2022-01-07 23:11:31 -05:00
John Colvin 43d614dde2 Add generic ICloneable interface
For some reason this very basic utility isn't defined in dot net
2022-01-07 22:33:32 -05:00
John Colvin fde11dc4a3 Remove unneccessary comment warning abt perf costs 2022-01-07 22:33:32 -05:00
John Colvin e45f186cd9 Add deribit to sec formating code 2021-12-29 13:18:49 -05:00
John Colvin 6874c8f6b9 style: Use dos line endings in QuickBusClientChannel.cs 2021-12-29 13:18:49 -05:00