John Colvin
2fa9b2e0e5
refactor: Rename TickUp/DownParameter TickUp/DownCommandParameter
2022-04-19 11:42:43 -04:00
John Colvin
a66d3fb28a
refactor: Return bool indicating whether object was disposed
2022-04-19 11:42:43 -04:00
John Colvin
6be017d35b
fix: Make new instances of arrow icons instead of sharing
...
Bugs (fixed):
* 'Freezable cannot be frozen' exception thrown when opening
multiple windows (on diff threads) that use the same arrow icons
2022-04-19 11:42:43 -04:00
John Colvin
ef24e5164f
refactor: Change uint qty members to doubles
2022-04-19 11:42:43 -04:00
John Colvin
a7f36b2361
refactor: Support generic numerics in tick-utils
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
7dcfa709d5
Add SecurityMetadata (proto3) config
...
Immediate Purpose:
* Add security-based config for 'unit-quantity'
2022-04-19 11:42:43 -04:00
John Colvin
aa254142e8
Add client-side support for proto3 config
2022-04-19 11:42:42 -04:00
John Colvin
b00b12bed2
refactor: Clean up MDSource/Daemon and deps
2022-04-19 11:42:42 -04:00
John Colvin
dd7168a687
Add SecurityMetadata pbuf to client build
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
4a6d3e3042
Add bts/api/domain to proto search path for config
2022-04-19 11:42:42 -04:00
John Colvin
f65cf43e21
refactor: Rename bts.api.domain.SecurityType.INDEX -> SPOT
2022-04-19 11:42:42 -04:00
John Colvin
f971d4db51
Add SYNTHETIC to bts.api.domain.SecurityType
2022-04-19 11:42:42 -04:00
John Colvin
8cd79c0372
Add BTS and SIM to bts.api.domain.Venue
2022-04-19 11:42:42 -04:00
John Colvin
9bc346e84a
refactor: Clean up SecurityCriteria
...
* move SecurityCriteriaClause into own file
* convert fields to props
* sort members
* use new lang feats
* run formatters
2022-04-19 11:42:42 -04:00
John Colvin
88d2e1756f
refactor: Rename config.cs -> Configuration.cs
2022-04-19 11:42:42 -04:00
John Colvin
dc09c45330
refactor: Clean up config.cs
...
* use new lang feats
* specify CharSet.Unicode in DLLImports (avoids warning ca2101)
* sort members
* run formatter
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
c1ad8ed4b2
style: Clean up AnalyticsService.proto
2022-04-19 11:42:42 -04:00
John Colvin
3589b5c9a8
build: Upgrade MEF pkgs in spark proj
...
Also remove unneccessary pkg 'Microsoft.Extensions.DependencyInjection'
2022-04-19 11:42:42 -04:00
John Colvin
fbaf15ad34
fix: Export shared inst for IWindowManager/Interop
...
Bugs (fixed):
* 2 WindowManager instances are created on startup! This causes many
problems (for ex, 'IShellWindow.thread_init' is called twice for each
shell window)
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
2450cb028e
Fix BTSOxyGraph background binding
2022-04-19 11:42:42 -04:00
John Colvin
ec1182f059
Impl IEquatable in SparkTag
...
This is a pre-emptive fix. Without it, we are susceptible to potential hash
collision bugs in the bus
2022-04-19 11:42:41 -04:00
John Colvin
7797d8255f
fix: Avoid duplicate entries in cpp list
2022-04-19 11:42:41 -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
5746e6267a
Check equality in BoundColumn prop setters
...
Only call 'RaisePropertyChanged' when value actually changes
2022-04-19 11:42:41 -04:00
John Colvin
501ec81405
build: EnablePreviewFeatures for cs build
...
Namely, to enable generic math to allow for generic use of numeric
binary operators
2022-04-19 11:42:41 -04:00
John Colvin
714f4fe995
refactor: Drop 'Single' in SingleComboReportCalculator
2022-04-19 11:42:41 -04:00
John Colvin
ead71a5618
style: Move ComboFuture/StrikeData into own files
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
bef2c9310e
Add 'Fill' list ext fn
2022-04-19 11:42:41 -04:00
John Colvin
7b3e0d4a59
refactor: Clean up SecurityTuple/Expiration/Strike
...
* use new lang feats
* sort members
* run formatter
2022-04-19 11:42:41 -04:00
John Colvin
ea0705e7e4
fix: Avoid dupl keys when stripping exch from SecurityExpiration
2022-04-19 11:42:41 -04:00
John Colvin
7b9310f595
refactor: Repl IDict w/ IReadOnlyDicts in vs risk calc
2022-04-19 11:42:41 -04:00
John Colvin
a31f775de8
refactor: Simplify change_vol_dervs_to_percentages
2022-04-19 11:42:41 -04:00
John Colvin
f061630789
refactor: Clean up VolSurfaceRiskCalculator
...
* Use new lang feats
2022-04-19 11:42:41 -04:00
John Colvin
5d442125b0
refactor: Use switch case for is_delta_greek impl
2022-04-19 11:42:41 -04:00
John Colvin
e600f444f8
refactor: Clean up Slide/VolSurfaceRisk calcs
...
* Gather related 'out params' into new SecurityPositionData struct
* Break up long compute_and_fire fn in SlideReportCalculator into several fns
* Use new log_op fn to eliminate messy timer code sections
* Run formatter
2022-04-19 11:42:41 -04:00
John Colvin
a8ae4d6655
Add create, append, to_comparer fns for ComparerBuilder
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
65665dc384
Add HierarchicalDictionary
...
A useful abstraction for nested dictionaries
2022-04-19 11:42:40 -04:00
John Colvin
a8992edf88
fix: Check report type when converting to Report pbuf
2022-04-19 11:42:40 -04:00
John Colvin
1b7dd28c2f
fix: Use key/value comparer args when creating SetMap
...
This is a pre-emptive fix, as this fn isn't currently referenced
2022-04-19 11:42:40 -04:00
John Colvin
ae692432a2
fix: Use sec type arg when converting vsexp to securityexp
...
Bugs (fixed):
* duplicate items in slide report expirations dropdown
In code recently ported from edge, the security type was [assumed to be]
implied by the symbol's capitalization: futures begin with upper-case letters,
while options begin with lower-case. This assumption has become unreliable (at
deribit, both futures and options are all upper-case).
2022-04-19 11:42:40 -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