Taha Afzal
af1ab49219
added sweep test for the sell side
2020-12-09 14:49:57 -05:00
Taha Afzal
2ac74c5e29
Clang build fix, sweep book calc test
2020-12-09 14:35:32 -05:00
Taha Afzal
0d5b3d9018
detaching all children before completing the sniper after each shot
2020-12-09 13:15:51 -05:00
Taha Afzal
cc75c46b1a
sniper turns itself off after shooting
2020-12-09 12:54:35 -05:00
Taha Afzal
1ee60f743e
added the cumm price/qty constraint, everything hooked up
2020-12-09 12:11:24 -05:00
Taha Afzal
dc8fd8baef
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2020-12-09 09:55:39 -05:00
Taha Afzal
67b6884200
cumm edge/qty parameter to sniper
2020-12-09 09:55:30 -05:00
Pedro Pinto
03a81280f4
Merged
2020-12-09 08:49:27 -05:00
Pedro Pinto
34675696f3
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2020-12-09 08:38:44 -05:00
Pedro Pinto
0e1687c853
Changed trade summary signal to include last qty.
2020-12-09 08:38:00 -05:00
John Colvin
ccf8a8e492
fix iceberg integration with new simulator
...
* Sim uses MergedMatcher::reset to inject a particular exchange state
into the matcher (the matcher does not reset the visible quantity to the
show quantity in a reset op).
* iceberg_helper::add_iceberg_annotation does not set the visible
quantity to the show quantity if the order change type is 'added'.
2020-12-09 00:12:31 -06:00
John Colvin
a0d0a30ad3
refactor 'is_exhausted' -> 'is_empty' in compute_synthetic_books
2020-12-09 00:11:51 -06:00
John Colvin
ff02801000
compute_synthetic_book doesn't copy leg market tuples as it iterates through them
2020-12-09 00:11:51 -06:00
John Colvin
590ca3892d
compute_synthetic_book was multiplying leg prices by their qty twice
...
This is a pre-emptive bug fix, as the method has only been fed synths
with leg quantities +/-1.
2020-12-09 00:11:51 -06:00
John Colvin
1674486dc0
vscode (build): change linux build task to run in docker
...
* prompts user for configuration (debug or release)
* looks for docker instance named "${USER}s_docker"
2020-12-09 00:11:51 -06:00
John Colvin
dc5301f8b0
vscode (intellisense): add build/ninja_debug/src to browse path
2020-12-09 00:11:51 -06:00
Taha Afzal
436f7eefe9
Added logic for book calculation based on sweep
2020-12-09 00:57:34 -05:00
Taha Afzal
fd8bd63f55
Added payup ticks to sniper and logic to alternate bw main book and lookahead book
2020-12-08 21:47:25 -05:00
Pedro Pinto
64b42aef99
Trade summary signal code complete.
2020-12-08 16:01:46 -05:00
Pedro Pinto
1d323ddc37
Fixed bug in parsing a few sim run options.
2020-12-08 11:42:26 -05:00
Pedro Pinto
c1331df2fe
Fixed cumm qty.
2020-12-08 11:03:19 -05:00
Pedro Pinto
cb1946a8d0
Delayed simulation start until first algo order to improve accuracy.
2020-12-08 09:14:54 -05:00
Pedro Pinto
09c043b11f
Added some validation for the sniper synth book.
2020-12-08 08:47:16 -05:00
Pedro Pinto
6df3dce95d
Commented out the IB annotation until we get it sorted out.
2020-12-07 19:51:00 -05:00
John Colvin
9787f2ed8e
Merged in spartan_tas.sim_icebergs (pull request #415 )
...
integrate new IcebergInput logic into sim runs
Approved-by: Pedro Pinto
2020-12-08 00:37:00 +00:00
John Colvin
654f79b42d
integrate new IcebergInput logic into sim runs
2020-12-07 17:55:26 -06:00
Taha Afzal
1840120af8
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2020-12-07 14:31:30 -05:00
Taha Afzal
b90ac3d629
Adding jupyter notebooks for ES sniper analysis
2020-12-07 14:31:21 -05:00
Pedro Pinto
e846420f9d
Fixed bug in valuation
2020-12-07 14:29:49 -05:00
John Colvin
87a7fca75c
overload compute_synthetic_book with standard Book type params
2020-12-07 11:22:05 -06:00
Pedro Pinto
a9c07ec770
Merged
2020-12-07 11:43:52 -05:00
Pedro Pinto
fc2bd8230a
Merge branch 'spartan_tas' into sim2
2020-12-07 11:42:38 -05:00
Pedro Pinto
36c2b7b952
Added skelleton for min_cumm_qty and min_cumm_price params.
2020-12-07 11:39:58 -05:00
John Colvin
fb3f843309
(vscode) setting: don't configure cmake on open
2020-12-06 20:24:56 -06:00
John Colvin
12eef87fb0
fix typos to remove clang build warnings
2020-12-06 20:24:56 -06:00
Taha Afzal
4c066859c4
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2020-12-06 20:31:01 -05:00
Taha Afzal
b4716db99d
Adding synthetic test runner to jason
2020-12-06 20:30:56 -05:00
John Colvin
07f13de58e
Merge remote-tracking branch 'origin/sim2' into spartan_tas
2020-12-06 18:09:05 -06:00
Pedro Pinto
92bdb06ceb
Integrated commission model..
2020-12-06 12:41:07 -05:00
John Colvin
256b1aeb59
implement MergedMatcher::clear
2020-12-06 11:30:23 -06:00
John Colvin
9b20c2a230
remove CheckedMatcher struct, replace usage with matcher (was only using the matcher member anyways)
2020-12-06 11:30:23 -06:00
John Colvin
78c3617749
add missing comma to settings.json
2020-12-06 11:30:23 -06:00
John Colvin
9a041af544
MergedMatcher uses new '_asset_matcher' method to remove redundant code
2020-12-06 11:28:35 -06:00
Pedro Pinto
8687de6fa2
Added better logging of param values.
2020-12-06 11:45:59 -05:00
Pedro Pinto
c7a4bb461a
Sim2 working.
2020-12-05 21:54:34 -05:00
Pedro Pinto
c96f142709
Towards simple sim.
2020-12-04 20:57:54 -05:00
John Colvin
6367375ac6
add clear, reset methods to Direct/MergedMatcher (for state injections during sim runs)
2020-12-03 23:51:25 -06:00
John Colvin
0530e50a04
fix documentation of iceberg_helper::add_iceberg_annotation
2020-12-03 18:29:21 -06:00
John Colvin
afd05f3c7c
add missing comma to generated books csv
2020-12-03 17:11:34 -06:00
John Colvin
fff7faab90
added some diagnostic spartan cmds to track down sim_books mismatches
2020-12-03 17:11:34 -06:00