Commit Graph
11157 Commits
Author SHA1 Message Date
Taha Afzal d84119ca6a Merge 2020-10-28 23:32:56 -04:00
Taha Afzal c39fb79fda Fixed the algo string params (SniperAlgo uses it now) 2020-10-28 23:13:20 -04:00
Pedro Pinto d6a5a4023b Fixed sim input bootstraped orders priority 2020-10-28 17:39:21 -04:00
Taha Afzal 8b0a0269ec Better logging and some cleanup 2020-10-28 17:02:28 -04:00
Pedro Pinto 334493c1be Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-27 19:21:47 -04:00
Pedro Pinto 71bae99c38 Added more data to the polygon valuation. 2020-10-27 19:21:18 -04:00
John Colvin 3d1ab364dc change bts_assert to log error instead 2020-10-27 18:02:26 -04:00
John Colvin 46820eecff FifoSecurityMatcher::has_same_orders returns the error msg (shouldn't return an empty error msg on failure, as that indicates success) 2020-10-27 17:49:26 -04:00
John Colvin 4bc5f07815 add version header to .icebergs file 2020-10-27 17:46:15 -04:00
John Colvin c78731e033 IcebergFinder subtracts qty changes from estimated qty (the matcher should adjust the total qty incrementally) 2020-10-27 17:40:58 -04:00
John Colvin f063d7ecbd tone down console output in MatcherValidationObserver; change hardcoded GC to ES (temp measure until the cmd accepts symbol args) 2020-10-27 17:40:58 -04:00
John Colvin f67071708d fix iceberg handling in MatcherValidationObserver 2020-10-27 17:40:58 -04:00
John Colvin 09d7d996cd iceberg_helper::subtract_iceberg_fills protects against overfills 2020-10-27 17:40:58 -04:00
John Colvin a143d851f2 add != operators for IcebergQuantity and optional<IcebergQuantity> 2020-10-27 17:40:58 -04:00
John Colvin a25f089810 fix iceberg_file_cache (matcher validation observer saves ibs in file to speed up repeated runs on same pcap) 2020-10-27 17:40:58 -04:00
John Colvin 862d2a7ee8 remove unnecessary field '_side' from FifoSecurityMatcher::BookKeeper 2020-10-27 17:40:58 -04:00
Taha Afzal 408ae423c6 Modifications to the book affecting bit 2020-10-27 16:15:48 -04:00
Taha Afzal 0e1da96e52 Added test for sim order with no book effects 2020-10-27 14:38:03 -04:00
Taha Afzal d0aa686693 FifoMatcher can match without affecting the existing markets 2020-10-27 11:54:07 -04:00
Pedro Pinto 317da795ec Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-27 08:52:10 -04:00
Taha Afzal 07887e60c5 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-26 18:47:12 -04:00
Taha Afzal a2a7859a04 SniperAlgo 2020-10-26 18:47:04 -04:00
Pedro Pinto d69aee25f9 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-26 17:53:17 -04:00
John Colvin 87e855086d FifoSecurityMatcher recomputes book lazily to improve performance 2020-10-26 17:27:38 -04:00
Pedro Pinto e918521266 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-26 15:26:42 -04:00
Pedro Pinto 969a3fd843 Intermediate commit 2020-10-26 15:25:57 -04:00
John Colvin 4adfe5708a enable implied matching again (GatewayAgent uses MergedMatcher) 2020-10-26 14:59:24 -04:00
John Colvin d270f60c2c speed up FifoPriceLevelMatcher::populated() method (return as soon as 1 qty is detected) 2020-10-26 14:59:24 -04:00
Pedro Pinto 192f6ef390 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-26 13:38:17 -04:00
Pedro Pinto df552e27d6 More views in sim_db. 2020-10-26 13:37:51 -04:00
Pedro Pinto 4850d279f6 CMAke 2020-10-26 13:37:35 -04:00
Pedro Pinto 29896b5ca4 Better logging. 2020-10-26 13:37:27 -04:00
John Colvin 710e05b029 migrate recent iceberg improvements over to DirectMatcher, and disable implied matching (need to resolve slowness in the MergedMatcher) 2020-10-26 12:40:52 -04:00
Pedro Pinto f627bf9238 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-26 10:21:32 -04:00
Pedro Pinto 8a59948fe5 Made sniper check available depth before shooting, added a sniper mode
to just log.
2020-10-26 10:20:53 -04:00
Pedro Pinto 5de34a52bd Added some new DB functionality, added utilities to manipulate book. 2020-10-26 10:18:44 -04:00
John Colvin 511b9551e3 delete old test code, clean up logging/console output in FifoMergedSecurityMatcher 2020-10-23 18:20:02 -04:00
John Colvin 8ddaaac244 define mdp3quantity operators with macro 2020-10-23 17:26:43 -04:00
John Colvin ff0d0a2592 add implied_book method to Matcher, make book/implied_book methods const 2020-10-23 16:33:20 -04:00
John Colvin 919d5eb880 uncommented macro to enable implied matching in simulator (enables new iceberg code by side effect) 2020-10-23 16:32:21 -04:00
John Colvin 2e65f52802 Matcher gets iceberg qty directly from MDP3Order (since they are now generated w/ sim_input) 2020-10-23 16:12:19 -04:00
John Colvin 048f170727 fix build 2020-10-23 14:03:43 -04:00
John Colvin bef915fd56 better iceberg deduction; integrate deduced icebergs into matcher 2020-10-23 13:29:37 -04:00
John Colvin 4f493aaf29 add pragma once to security_comp.h 2020-10-23 13:28:26 -04:00
Pedro Pinto 6b91e28d40 added icebergs to simulator input. 2020-10-23 11:28:56 -04:00
Pedro Pinto 895e3eebdd Fixed clang build. 2020-10-23 08:29:57 -04:00
Pedro Pinto 2fed9da9fa Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-10-23 08:28:52 -04:00
Pedro Pinto f6641e2ed1 Added observer algo to help validate the simulator. 2020-10-23 08:28:29 -04:00
Pedro Pinto e5579871b5 Adjusted logging levels as per console/file discussion. 2020-10-23 08:28:08 -04:00
Pedro Pinto e7a68a2ab3 Added top of the book view. 2020-10-23 08:27:32 -04:00