Commit Graph
9166 Commits
Author SHA1 Message Date
Pedro Pinto 5223529af1 Sorted match effects so that price updates are delivered before order updates. 2020-12-29 08:06:27 -05:00
Pedro Pinto c4e4ff57d8 Multiple changes to sniper including use of quantity in shot selection. 2020-12-28 20:06:43 -05:00
Pedro Pinto b6f108f7ea More precise alignment of sim time and pcap time. 2020-12-28 20:05:33 -05:00
Pedro Pinto 96c39e68ee More deterministic names for polygons. 2020-12-28 20:03:49 -05:00
Pedro Pinto a3d5e63fb6 DB Fixes. 2020-12-28 20:03:35 -05:00
Pedro Pinto c1be834e54 Changed logging. 2020-12-28 20:02:48 -05:00
Pedro Pinto caf0914b4d Better names for sim time. 2020-12-28 20:02:24 -05:00
Pedro Pinto 0fc522f8c2 Removed commented out code. 2020-12-25 13:41:46 -05:00
Pedro Pinto a247f7e396 Re-enabling all polygons. 2020-12-25 13:36:45 -05:00
Pedro Pinto e413ad216e Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-24 10:44:43 -05:00
Pedro Pinto d582005d64 Added assert to make sure books are correct. 2020-12-24 10:44:29 -05:00
Pedro Pinto 02fa07552b Added expiration to instrument definition. 2020-12-24 10:44:08 -05:00
Taha Afzal b032926581 hooking polygon book calc to polygon_values 2020-12-23 18:05:03 -05:00
Pedro Pinto 189cb66daf Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-23 14:24:47 -05:00
Pedro Pinto 36f1df58f0 Intermediate commit. 2020-12-23 14:24:23 -05:00
Taha Afzal 8489eda3a6 Merging 2020-12-23 12:42:37 -05:00
Taha Afzal 3e189a751d Allow negative payups 2020-12-23 12:32:45 -05:00
Pedro Pinto b2f6be6d10 Added back all polygons, had a temp break to debug synth book. 2020-12-23 12:22:48 -05:00
John Colvin b656632e86 fix: synthetic book computation
* the fix was technically in the 'change_unit_qty' method,
  which is called from 'compute_synthetic_books.'

* Although the 'change_unit_qty' method was correctly dividing
  quantity by 'unit_qty', it was not scaling the prices.
2020-12-23 10:28:59 -06:00
Taha Afzal 7650e15a52 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-23 10:55:20 -05:00
Taha Afzal 235d6ecd2f Polygon values have legs books (as text columns), and synthetic books. There is a also new view that joins polygon values with events 2020-12-23 10:55:10 -05:00
Pedro Pinto c9a0d4489b Added max loss, added start/stop times for simulation, added price only order changes. 2020-12-22 10:58:05 -05:00
Pedro Pinto c6697b82fe Added code to convert ptime to mdp3 time. 2020-12-22 10:56:16 -05:00
Pedro Pinto e0231c7dd5 Fixed PCapReader destructor. 2020-12-22 10:55:42 -05:00
Pedro Pinto f3bcbf85dd Reduced console logging. 2020-12-21 10:16:41 -05:00
Pedro Pinto 7e04f9a5b3 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-21 10:00:13 -05:00
Pedro Pinto 1835d490a3 Added the ida of parameter sets in the simulator. 2020-12-21 09:59:38 -05:00
Taha Afzal 36bf94aad9 placeholder orders are not fired in file mode 2020-12-18 09:17:28 -05:00
Taha Afzal 468df062c3 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-17 12:15:27 -05:00
Taha Afzal 544a9212cf Sniper launched placeholder orders that are then used to snipe 2020-12-17 12:15:19 -05:00
Pedro Pinto 822f43c5a1 Better logging of shot sequence number. 2020-12-17 10:22:53 -05:00
Pedro Pinto 85106cb293 Better logging of clean/saved/forced shots. 2020-12-17 10:22:33 -05:00
Pedro Pinto ebd0fa4809 Added utility to parse performance logs. 2020-12-17 09:40:04 -05:00
Pedro Pinto 43f4fe2011 Better logging for sniper model. 2020-12-17 09:39:41 -05:00
Taha Afzal ffcebdf94a Perf logs in the sniper 2020-12-16 00:05:31 -05:00
Pedro Pinto 0e7b104c76 Added more performance logging. 2020-12-15 18:04:10 -05:00
Pedro Pinto f0b76f244c Added packet structure to sql DB. 2020-12-15 17:01:27 -05:00
Pedro Pinto e4dc9103e1 Fixed typo in md.sql 2020-12-15 14:17:42 -05:00
Pedro Pinto afb88122ad Added performance logging. 2020-12-15 13:40:08 -05:00
Pedro Pinto 18a0fa7fb9 Tweak to md sql DB. 2020-12-15 13:34:55 -05:00
Pedro Pinto b491b2b4cd Added seq numbers to top of the book and opportunity views. 2020-12-15 09:45:53 -05:00
Pedro Pinto 4b1e9afe28 Corrected corid for trade summary signal. 2020-12-15 09:45:35 -05:00
Pedro Pinto abb9a56761 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-14 11:56:52 -05:00
Pedro Pinto 09505b2005 Added pause between shots, added clean flag to shot outcome. 2020-12-14 11:56:37 -05:00
Pedro Pinto e3a9adbf3f Fixed clean up of sim db. 2020-12-14 11:55:47 -05:00
Taha Afzal 9aafed66c0 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-14 10:50:15 -05:00
Taha Afzal a259aa8419 Lookeahd book top guessed aggressively 2020-12-14 10:50:06 -05:00
Pedro Pinto 4daf6e127e Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2020-12-14 10:32:52 -05:00
Pedro Pinto 1ac36e932e Fixed unbuscription from trade signal on algo termination. 2020-12-14 10:32:26 -05:00
Pedro Pinto 23b038a6a7 Optionall automatically clear previous runs from sim_db. 2020-12-14 10:17:54 -05:00