Pedro Pinto
cca7ded152
More algo man.
2021-02-09 21:56:37 -05:00
Pedro Pinto
3d9aa58ac1
Added a FAF Delegate.
2021-02-09 21:55:58 -05:00
Pedro Pinto
e3574e9d23
mdp3 removal.
2021-02-09 07:47:01 -05:00
Pedro Pinto
6591ed7a3c
less mdp3.
2021-02-08 21:45:17 -05:00
Pedro Pinto
5f292ae46a
More mdp3 excising.
2021-02-08 20:30:24 -05:00
Pedro Pinto
bd9f5ff862
Removing mdp3.
2021-02-08 19:50:03 -05:00
Pedro Pinto
69614a158e
Towards removing mdp3::
2021-02-08 19:46:37 -05:00
Pedro Pinto
91c3d820fc
Towards an algo manager.
2021-02-08 16:50:40 -05:00
Pedro Pinto
d1643e9a09
More refactoring.
2021-02-08 15:13:37 -05:00
Pedro Pinto
0456d837d8
Continued to refactor feed handler.
2021-02-08 11:29:23 -05:00
Pedro Pinto
206386b263
Separated pure MD interface (IFeedObserver) from analysis obs.
2021-02-08 09:23:16 -05:00
Pedro Pinto
51d336405a
More refactoring.
2021-02-08 09:07:40 -05:00
Pedro Pinto
3164c0fd56
Refactor.
2021-02-05 21:58:44 -05:00
Pedro Pinto
bdfed43b01
Refactor.
2021-02-05 21:09:37 -05:00
Pedro Pinto
1e794aaa12
Refactored.
2021-02-05 20:30:16 -05:00
Pedro Pinto
1297b97b2d
Fixed build.
2021-02-05 20:06:18 -05:00
Pedro Pinto
ca80857607
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2021-02-05 18:41:02 -05:00
Pedro Pinto
417e331e8e
Cleaned up mdp3.
2021-02-05 18:37:12 -05:00
John Colvin
12ba2a2724
fix (cli): Add md->channels subcmd
2021-02-04 13:08:39 -06:00
Pedro Pinto
e892b8b3e5
Towards il3 new
2021-02-04 13:49:17 -05:00
John Colvin
8d91d597fe
fix: Repair 'sparkd run' cmd (so client/ui can connect)
...
This was broken in the cli11 revamp.
2021-02-03 23:59:54 -06:00
Pedro Pinto
b15973b00c
Adding market segment id.
2021-02-03 14:54:08 -05:00
Pedro Pinto
ddf65972c0
Trying to fix windows build.
2021-02-03 14:52:05 -05:00
Pedro Pinto
e0313958b3
Merged
2021-02-03 11:15:57 -05:00
Pedro Pinto
cda4c522fd
Some refactoring in il3 store.
2021-02-03 11:12:44 -05:00
Pedro Pinto
36da47f66e
MDP3 refactoring.
2021-02-02 14:11:04 -05:00
Pedro Pinto
d3cfe1f6e1
Refactor.
2021-02-02 09:43:09 -05:00
John Colvin
88acbdd8b9
refactor: Replace std::maps with boost flat_maps in Trace
2021-02-01 23:44:21 -06:00
John Colvin
7b16cc9d7b
fix: Clear used_order_keys in Matcher::clear
2021-02-01 23:44:21 -06:00
John Colvin
b0affc8611
Add BookLevel != operator
...
Define both == and != operators in BookLevel.cc
2021-02-01 23:44:21 -06:00
John Colvin
09fb35c80b
refactor: Move Quantity method/op defs to Quantity.cc
...
Also restyle code in a manner similar to that of the Price operator
code (it's a little cleaner, and brings about consistency).
2021-02-01 23:44:21 -06:00
John Colvin
8520add970
Replace includes with fwd declarations in FifoMatcherContext
2021-02-01 23:44:21 -06:00
John Colvin
058b4d0020
refactor: Move MatcherOrder struct into its own file
2021-02-01 23:44:21 -06:00
John Colvin
68db9e1254
refactor: Make FifoMatcherContext a class instead of struct
2021-02-01 23:44:21 -06:00
John Colvin
0cddda43f2
Replace includes with fwd declarations in FifoMergedSecurityMatcher
2021-02-01 23:44:21 -06:00
John Colvin
077ce786cb
refactor: Rename 'fill_depot' files 'FillDepot'
2021-02-01 23:44:21 -06:00
John Colvin
46de6b8d8b
Optimize FifoMergedSecurityMatcher logging
...
* Reduce string copying by using fmt::format
* Shorten log header prefix (messages that fit on one line are easier to
read)
2021-02-01 23:44:21 -06:00
John Colvin
1aea4beffe
refactor: Matcher conveys updates with OrderModification struct
...
The OrderModification explicitly indicates which order properties have
changed, so the FifoSecurityMatcher does not need to infer this
information from arbitrary signals in the OrderUpdate.
2021-02-01 23:44:21 -06:00
John Colvin
38a5341d08
fix: Don't automatically reset show qty on passive updates
2021-02-01 23:44:21 -06:00
John Colvin
17752dcce1
refactor: FifoImpliedSecurityMatcher uses new LegDefinition type
2021-02-01 23:44:21 -06:00
John Colvin
1aedac39fd
fix: FifoSecurityMatcher::book_side only includes visible qty
2021-02-01 23:44:21 -06:00
John Colvin
1cfb7ee6a4
refactor: Re-implement implied market logic in 'ImpliedMarketModel'
2021-02-01 23:44:21 -06:00
John Colvin
290b5d9da2
refactor: Clean up FifoImpliedSecurityMatcher
...
* Remove dependency on symbol (was only there to make logs prettier, but
sec id alone provides sufficient information)
* Remove several includes from the header to reduce compilation overhead
2021-02-01 23:44:21 -06:00
John Colvin
b66241b006
Remove unused method in FifoMergedSecurityMatcher
2021-02-01 23:44:21 -06:00
John Colvin
cf615efcd0
refactor: Move LegDef into its own file
...
The struct is renamed 'LegDefinition' to use a naming scheme consistent
with 'SecurityDefinition.' However, an alias for 'LegDef' is
declared for convenience, and to avoid replacing 'LegDef' with
'LegDefinition' in existing references.
2021-02-01 23:44:21 -06:00
John Colvin
c57b832305
fix: Only flip implied_candidates_dirty when they've actually changed
2021-02-01 23:44:21 -06:00
John Colvin
e5c3ae1f9f
Add permutation 'of length' method, and permutation unit tests
2021-02-01 23:44:21 -06:00
John Colvin
f4bb9544d4
fix: Fill same-priced passive icebergs evenly
...
When an agressor order crosses multiple [direct/implied] passive markets
at the same price, the aggressor is filled against the visible quantity
in each passive market, before passive icebergs (if any) are reloaded.
This simple iterative step is repeated until the aggressor is filled, or
no longer crosses the market.
2021-02-01 23:44:21 -06:00
John Colvin
28aaf22ea8
refactor: Change Matcher structs to be classes instead
2021-02-01 23:44:20 -06:00
John Colvin
de49920af7
fix: Don't change show qty when order is filled (matcher)
2021-02-01 23:44:20 -06:00