John Colvin
f2dd283751
feat (DJ): Display settings for ladder left-panel price points
...
* Add background and font settings for all price points
* Indicate 'day change' sign with modal settings (positive,
zero, and negative) for background and font color
* Hide 'day change' leading zeros in tick part
* Don't show 'day change' zero integer part (e.g.,
'25' instead of '0.25')
2021-09-06 18:27:31 -04:00
John Colvin
c27cd8ca54
Make a few classes/structs public in spark_core
...
They are referenced in spark proj, so prob should have always been
public.
2021-09-06 18:27:31 -04:00
John Colvin
75c86f7b69
config toggle to show/hide ladder scrollbar for dj (defaults to hide)
2021-09-06 18:27:31 -04:00
John Colvin
2e1d65fa33
frozen price lines in ladder (for dj)
2021-09-06 18:27:31 -04:00
John Colvin
5cdd2629bf
Copy a few ext methods from DJ_ICE
2021-09-06 18:27:31 -04:00
John Colvin
026bf6fb07
fix ColumnBase.SortDirection binding to DIYGridColumnModel
2021-09-06 18:27:31 -04:00
John Colvin
9054049ebf
SelectionModel should only select the pending selection once (was reselecting it every time the items changed)
2021-09-06 18:27:31 -04:00
John Colvin
d7a044c894
remove unused 'actual_width' prop from DIYGridColumnModel
2021-09-06 18:27:31 -04:00
John Colvin
2da8895f3e
synchronize column model's GridColumnSettings with the column view
2021-09-06 18:27:31 -04:00
John Colvin
1e1a5897bc
TextCell available_size is updated in ArrangeOverride
2021-09-06 18:27:31 -04:00
John Colvin
d3a635b156
parameterize SecurityStore.join (don't mess with core logic/impl)
2021-09-06 18:27:31 -04:00
John Colvin
f08c8a51ad
made new SelectorVM (todo: replace refs to old one)
2021-09-06 18:27:31 -04:00
John Colvin
2f08e92a5e
add SimpleGridSettingsManagerVM (uses DIYGridColumnModels instead of the view type ColumnBase)
2021-09-06 18:27:30 -04:00
John Colvin
336b009f24
add DIYGridColumnModel, so the DIYGrid column paradigm is cleanear mvvm
2021-09-06 18:27:30 -04:00
John Colvin
e027454a36
add get/load_state methods to non-generic IDataGridColumnFilter
2021-09-06 18:27:30 -04:00
John Colvin
af968c2c58
add PropertyEqualityComparerAttribute (supports simple automatic equality impl)
2021-09-06 18:27:30 -04:00
John Colvin
25a954b13c
unify SecurityCriteria initialization with securities (use pretty_name if single sec)
2021-09-06 18:27:30 -04:00
John Colvin
a45d8761e5
remove with_reguard_to_price param from tick 'format' extension
2021-09-06 18:27:30 -04:00
John Colvin
e1d9ca6325
fix typo in ConvertUtils.update_value_type (was missing negation '!')
2021-09-06 18:27:30 -04:00
John Colvin
d3853ddbf8
fix tick unit tests, and reorganize security tests a bit
2021-09-06 18:27:30 -04:00
John Colvin
7efa62c994
add precision param (epsilon) to tickup/down methods
2021-09-06 18:27:29 -04:00
John Colvin
9284bf5b14
TickFactors are cached in a ThreadStatic dictionary rather than concurrent (no locks required)
2021-09-06 18:27:29 -04:00
John Colvin
88ebf9f86f
ticksize extension handles invalid tick props gracefully
2021-09-06 18:27:29 -04:00
John Colvin
85ab9d98de
remove unused parameter from TickTestHelper.full_ticks_from_zero
2021-09-06 18:27:29 -04:00
John Colvin
b8278bb310
fix ladder session low/high grid animation (was not using the ticks per row setting)
2021-09-06 18:27:29 -04:00
John Colvin
00ef27bf8c
LadderGridHost invalidates '_spec' on connect_vm (not just on settings updates)
2021-09-06 18:27:29 -04:00
John Colvin
d090a6d851
fix typo in LadderGridHost._spec getter (was accidentally returning the fallback value)
2021-09-06 18:27:29 -04:00
John Colvin
573b5e1c62
make tick unit tests more robust (test tick_up/down, use these methods to covalidate results)
2021-09-06 18:27:29 -04:00
John Colvin
f6b1cf7c3a
include Sim ContractSpecs in tick unit tests
2021-09-06 18:27:29 -04:00
John Colvin
08643c8af1
ladder settings dialog - fix 'when implied is > 0' label alignment
2021-09-06 18:27:29 -04:00
John Colvin
b2b8c083a6
added tick unit test (namely for 'full_ticks_from_zero' method)
2021-09-06 18:27:29 -04:00
John Colvin
fa882d5472
added 'full_ticks_from' method which accepts an origin price (instead of just an arbitrary 0)
2021-09-06 18:27:28 -04:00
John Colvin
8760481153
TickUtils.full_ticks_from_zero checks pricebreak
2021-09-06 18:27:28 -04:00
John Colvin
33338d2a0a
move LadderUtils methods to TickUtils (all were related to ticks)
2021-09-06 18:27:28 -04:00
John Colvin
5b85c20d32
move tick data\utils to spark_core
2021-09-06 18:27:28 -04:00
John Colvin
bbf8decd0a
add 'ticks per row' ladder setting
2021-09-06 18:27:28 -04:00
John Colvin
d5315054a2
add TickUp/DownCommand dependency props to TickUpDownUInt
2021-09-06 18:27:28 -04:00
John Colvin
6e7aa3fe9a
fix ladder autoscroll (works perfect now)
2021-09-06 18:27:28 -04:00
John Colvin
48b42bf41f
check pt
2021-09-06 18:27:28 -04:00
John Colvin
e2f7c2ef20
Update devcmd.cmd for vs 16 2019
2021-09-06 17:45:53 -04:00
John Colvin
27294822ef
Restore .vscode files in dev directory
2021-09-06 17:45:53 -04:00
John Colvin
f0250338eb
Don't track .vscode files in source control
2021-09-06 17:45:50 -04:00
John Colvin
7ee3ef4737
build: Init spark_build_python_path in Directory.Build.Props
2021-09-06 17:41:56 -04:00
John Colvin
03a1cf0395
Add .tmp to gitignore
2021-09-06 17:41:53 -04:00
John Colvin
5ad70b83d6
build: Add step to copy cpp libs to new client out dir
2021-09-06 17:40:58 -04:00
John Colvin
8eba500d1b
Avoid race conditions exposed by new OnDispatcher impl
2021-09-06 17:40:58 -04:00
John Colvin
0a3d361621
refactor code to use dotnet core 6
...
Most changes revolve around MEF, as the new version (5.0.0) lacks
feature parity with the previous version (3.1)
2021-09-06 17:40:58 -04:00
John Colvin
fd5f54d8c9
Implement 'OnDispatcher' for dotnet core 6
...
That extension method doesn't exist in this version
2021-09-06 17:40:58 -04:00
John Colvin
957daf5392
build: Upgrade client build to net5.0
2021-09-06 17:40:58 -04:00
John Colvin
c4953590bc
Remove spark_excel from spark_client.sln
2021-09-06 17:40:58 -04:00