Commit Graph
11157 Commits
Author SHA1 Message Date
John Colvin 15004f2762 refactor: Remove unused file IOrderServices 2021-09-15 23:53:58 -04:00
John Colvin be8242c7ac refactor (flatten): Move OrderRouter to orderman dir 2021-09-15 23:53:58 -04:00
John Colvin 601fd98508 refactor (flatten): Move ilink3 dir to lib/orderman 2021-09-15 23:53:58 -04:00
John Colvin c8bf9b41e4 refactor: Move IExchangeGateways to gateways dir 2021-09-15 23:53:57 -04:00
John Colvin 8d73cef4b2 refactor: Move order msg classes to own files 2021-09-15 23:53:57 -04:00
John Colvin 6f4a0f7ce4 refactor: Move Governor defs to .cpp 2021-09-15 23:53:57 -04:00
John Colvin a67056fbc9 refactor (flatten): Move Governor.h out of own dir 2021-09-15 23:53:57 -04:00
John Colvin cc67c3ced1 style: Clean up OrderServices
* Move non-template definitions to .cpp
* Move template definitions to bottom of .h
2021-09-15 23:53:57 -04:00
John Colvin edb2f1bac2 Fix server build (linux compiler doesn't like pragma push) 2021-09-15 23:53:57 -04:00
John Colvin 264ce8ddc4 Add .cache to gitignore 2021-09-15 23:53:57 -04:00
John Colvin 17642ca84b build: Use dotnet build (instead of msbuild) for c# projects
Continue using msbuild for c++ (i.e., libspark)
2021-09-15 23:53:57 -04:00
John Colvin f46d91a57e build: Remove erroneous PropertyGroup 2021-09-15 23:53:57 -04:00
John Colvin 8d145c9075 build: Remove erroneous AvailableItemName tags 2021-09-15 23:53:57 -04:00
John Colvin 78403a0baf style: Format msbuild project files 2021-09-15 23:53:57 -04:00
John Colvin 353b2fd7e0 build: Remove unused items in msbuild files 2021-09-15 23:53:57 -04:00
John Colvin ec1e1fda92 Add recursive .vscode dirs to gitignore 2021-09-15 23:53:57 -04:00
John Colvin da5331d8ca Stop tracking .vscode files 2021-09-15 23:53:57 -04:00
John Colvin 939f44b48c build: Refine build scripts so they work out of the box
* Automatically create python virtual envs
* Automatically actvate the vs dev prompt

Note: the python39 virtual env will remain active in the calling shell.
This behavior may be changed down the road.
2021-09-15 23:53:57 -04:00
John Colvin 5939df9345 Define naming conventions in editorconfig 2021-09-15 23:53:57 -04:00
John Colvin c366b9f4c8 style: Fix name violations, etc. on LadderGridHost 2021-09-15 23:53:52 -04:00
Taha Afzal d23baec6d9 comments and los 2021-09-10 09:13:59 -05:00
John Colvin 835e0f50ca Run dotnet format on spark proj 2021-09-06 19:35:31 -04:00
John Colvin ff4f338898 Add dotnet format tool 2021-09-06 19:35:30 -04:00
John Colvin 113871a150 Rename requirements.txt -> requirements27.txt
A requirements39.txt file was created (for a python 3.9 venv) after
requirements.txt, so the version specifier now seems appropriate.
2021-09-06 19:35:30 -04:00
John Colvin c31b5cf2b4 Run omnisharp formatter on spark project 2021-09-06 19:35:24 -04:00
John Colvin 7d75a6c3a9 Make ladder panel prices hyperlinks to jump to price 2021-09-06 18:34:28 -04:00
John Colvin 3995351b54 Fix bug where session range hidden 2021-09-06 18:34:28 -04:00
John Colvin 795942d8a9 Add style.yapf (python formatting config) 2021-09-06 18:34:28 -04:00
John Colvin f4be975fec Add omnisharp.json (c# formatting config) 2021-09-06 18:34:28 -04:00
John Colvin b7a0cc5c24 Add .venv dirs to .gitignore 2021-09-06 18:34:28 -04:00
John Colvin 8a666ae397 Add requirements39.txt for python 3.9 env 2021-09-06 18:34:28 -04:00
John Colvin 2cc8e519d8 Add cached branch build dirs to gitignore 2021-09-06 18:34:28 -04:00
John Colvin 48cd21aa46 build: Add option to cache branch builds 2021-09-06 18:34:27 -04:00
John Colvin 531fbb63be build: Add buildspark.py (bc bat is a horrible language) 2021-09-06 18:27:32 -04:00
John Colvin 6f3945cced Implement IObservable in SingleValuePump for convenience 2021-09-06 18:27:32 -04:00
John Colvin 9dc3c32769 Add bit_span param to auto_phase (hash fn)
Brought over from DJ_ICE bc it seems like a useful param for custom
hash impls (though there isn't an immediate need for it).
2021-09-06 18:27:32 -04:00
John Colvin 3f2f19f73c fix: Load FairValueLine price type in settings dialog 2021-09-06 18:27:32 -04:00
John Colvin 9a013d783e Add fair value lines for DJ 2021-09-06 18:27:32 -04:00
John Colvin 6ea217b674 fix: ContractPicker syncs selected sec/md w/ selected key 2021-09-06 18:27:32 -04:00
John Colvin 0356221066 ui (DJ): Avoid darkening price text in session range in ladder
Put the session range visual beneath the column backgrounds
(on the z axis), and make the background slightly translucent
while leaving the font color fully opaque.  This effectively
darkens the former without changing the latter.
2021-09-06 18:27:32 -04:00
John Colvin 50a0ed3823 Set alpha bits to 'FF' in historic ladder settings colors 2021-09-06 18:27:32 -04:00
John Colvin 1686d41c0c ui (dj): Reduce opacity of session range layer in ladder 2021-09-06 18:27:32 -04:00
John Colvin 65f2efa9a0 ui (dj): Make ladder look more like tt
These changes can be configured via LadderKnobs (defined in UI.proto)
2021-09-06 18:27:32 -04:00
John Colvin 84e9cf5261 fix: Correct visibility binding in ladder session high/low
The other price points visibility bindings were refactored
in a similar manner, for consistency's sake.
2021-09-06 18:27:32 -04:00
John Colvin dd256409e9 feat (DJ): Right align bid, price, and ask column text in ladder
This is hardcoded (not configurable via settings).
2021-09-06 18:27:32 -04:00
John Colvin 1e68c047ea feat (DJ): Give bid/ask cells with markets a lighter background in ladder
There is a small chance this will impact performance when
a large number of ladders (50+) are open.  Therefore, this
behavior can be toggled on/off in config, via
LadderKnobs.lighten_market_background.
2021-09-06 18:27:31 -04:00
John Colvin 56340fcc60 refactor: Consolidate tick tests after tricky merge
The branches that were merged, DJ_ICE and
DJ_ICE_ladder_price_aggregation, both added new
tick tests.  The former put them in a new file,
"TickTests.cs," while the latter added them
to "SecurityTests.cs."  This commit places all
tick tests in "TickTests.cs."
2021-09-06 18:27:31 -04:00
John Colvin af639286e1 Add tooltips to ladder left-panel price points 2021-09-06 18:27:31 -04:00
John Colvin bf32b6262d Tailor default ladder price point settings for DJ 2021-09-06 18:27:31 -04:00
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