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
John Colvin
cb4bf8f5f4
Remove unused class TimeAndSalesModel
2022-04-19 11:42:40 -04:00
John Colvin
96cd807720
Add fake slide report data
2022-04-19 11:42:40 -04:00
John Colvin
07c3150d2a
refactor: Change abstract TradeLogRow class to interface
2022-04-19 11:42:40 -04:00
John Colvin
c66a405e6d
refactor: Enable nullable (lang feat) on some Slide files
2022-04-19 11:42:40 -04:00
John Colvin
0558381bcb
Add DataTemplates ResourceDictionary to TimeFilterControl
...
So callers aren't required to include it themselves
2022-04-19 11:42:40 -04:00
John Colvin
1db47684b7
refactor: Remove redundant ImmutableWrapper for list
2022-04-19 11:42:40 -04:00
John Colvin
e16abd2e8b
Check AdornerLayer not null when adding drag adorner
...
Bugs (fixed):
* Opening slide report settings dialog causes crash
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
3acd51b247
refactor: Replace non pbuf ReportParameters with pbuf Report
2022-04-19 11:42:40 -04:00
John Colvin
6caab9c017
refactor: Make tags create/activate reports type-agnostic
2022-04-19 11:42:40 -04:00
John Colvin
97c61d2a4f
refactor: Rename SingleSlideReportCalculator SlideReportCalculator
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
5b201069e8
Add Bootstrap ext fn for IObservables
2022-04-19 11:42:39 -04:00
John Colvin
8b5d79847f
Add 'Select' ext fns for Update/TableUpdate
2022-04-19 11:42:39 -04:00
John Colvin
2d112a86af
refactor: Remove LegacyTableUpdate (repl w/ 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
01748ee847
Remove ExpirationTemplate from DataTemplates.xaml
...
It isn't general purpose enough to justify its presence in this global
resource file
2022-04-19 11:42:39 -04:00
John Colvin
6f1fb24a31
refactor: Move ExpTextConverter into own file
...
Also rename it "ExpirationTextConverter"
2022-04-19 11:42:39 -04:00
John Colvin
c30459115e
Post accounts-map on the bus
2022-04-19 11:42:39 -04:00
John Colvin
7cdfcbf6dc
Support changes to icon in SparkMenuItem
2022-04-19 11:42:39 -04:00
John Colvin
acf140e670
Add ObservableValue to spark_core
2022-04-19 11:42:39 -04:00
John Colvin
df4a18e887
refactor: Clean up ComparerBuilder
...
* Implement IList<IComparer<T>>
* Use new lang feats
* Run formatter
2022-04-19 11:42:39 -04:00
John Colvin
dc3836065a
refactor: Move pbuf clone exception handling into 'try_clone'
2022-04-19 11:42:39 -04:00
John Colvin
3df7ab194c
refactor: Clean up ProtobufSerializationHelper
...
* Use new lang feats
* Rename clone_protobuf -> clone
* Run formatter
2022-04-19 11:42:39 -04:00
John Colvin
c0af8460a2
refactor: Move ProtobufSerializationHelper into spark_core
2022-04-19 11:42:39 -04:00
John Colvin
85d94a84a8
Add Chevron icons (right and down)
2022-04-19 11:42:39 -04:00
John Colvin
6ad6a361f9
Execute async command in try/catch
...
Purpose: treat both completed and canceled tasks as "finished."
Previously, the AsyncCommand waited endlessly for "canceled" tasks to finish.
As a result, if the command disallowed concurrent execution, the 'CanExecute'
flag would never be flipped back to true, and any buttons associated with that
command would be permanently disabled.
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
02b97d594f
Add ReportExtensions
2022-04-19 11:42:38 -04:00
John Colvin
5e1cac251b
fix: Actually copy untracked files in git-save.py
2022-04-19 11:42:38 -04:00
John Colvin
3639638bf2
refactor: Clean up AnalyticsShellModule a bit
2022-04-19 11:42:38 -04:00
John Colvin
e255e054d4
refactor: Split analytics module/viewmodel into sep classes
2022-04-19 11:42:38 -04:00
John Colvin
8c9d8e7089
refactor: Move Commands dir into ViewModel
2022-04-19 11:42:38 -04:00
John Colvin
f0e069d348
Add IProtobuf
2022-04-19 11:42:38 -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
e0537267a2
Add max_name_length field to EnumDescriptor
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
cab65a0aaf
refactor: Clean up TimeFilterVM
...
* Move ITimeFilterVM into separate file
* Use new lang feats
* Sort members
* Run formatter
2022-04-19 11:42:38 -04:00
John Colvin
910908b43e
Add some handy Array utils
2022-04-19 11:42:38 -04:00
John Colvin
cf1c1e6df1
refactor: Clean up ArrayUtils
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
01899428e3
ui: Bind alignment props in ComboCheckBox template
2022-04-19 11:42:37 -04:00
John Colvin
ff75ade140
fix build (client): Change 'uint' -> 'uint32_t'
...
Apparently the includes don't define 'uint' on windows
2022-04-19 11:34:28 -04:00
taha afzal
25d5f36645
Exchange positions are periodically published by OrderServices
2022-04-19 10:33:45 -04:00