Commit Graph
118 Commits
Author SHA1 Message Date
Eric Harding 247365d762 Spark-681 Synthetics can be lost on startup due to race. 2018-03-19 16:06:51 -04:00
Eric Harding 75a9c73d0f Spark-660 - Round synthetic book to tick size 2018-03-16 15:23:58 -04:00
Eric Harding 17c9fa0520 Add constructor to MDConsumer which lets you specify what platform you want. (for simulator) 2018-03-15 15:05:03 -04:00
Pedro Pinto c07bf453e9 Removed obsolete file. 2018-03-15 13:59:23 -04:00
Eric Harding e652435890 Spark-608 - get the simulator to send markets down to the shell. 2018-03-09 17:16:20 -05:00
Eric Harding f34800ffed Spark-644 one side of synthetic market showing size=1 when source leg has no market 2018-03-09 16:04:59 -05:00
Eric Harding 2388711d4a min(), max() What's the difference really? 2018-03-08 14:04:57 -05:00
Eric Harding c8302c35a7 Fix crash in MDConsumer recovery logic. Attempt to unsubscribe from event that was never subscribed. 2018-03-07 17:27:19 -05:00
Eric Harding 574def08b7 clean up some comments 2018-03-07 13:24:33 -05:00
Eric Harding cd2a5641de Spark-325 Implement fast synthetic book merge. 2018-03-07 12:55:52 -05:00
Eric Harding f275385aa4 Disable unnecessarily lenghy unit test. 2018-03-06 15:24:41 -05:00
Eric Harding 58be751faa Prevent raw FixedSecurity from being created unintentionally 2018-03-06 13:25:58 -05:00
Pedro Pinto 457e899dff Working towards our own book. 2018-03-06 10:01:01 -05:00
Eric Harding 20404c0ecf Stop overwriting cpp value with cme_unit_of_measure_qty 2018-03-06 09:42:56 -05:00
Eric Harding 8d62eaf15e spark-577 get cash-per-point from market data feed. 2018-03-05 11:23:11 -05:00
Eric Harding 6126c9eefc Test 3 legs. Creating these tests is very time consuming. 2018-03-02 18:30:21 -05:00
Eric Harding 36bd9744ef Make test instrument copyable 2018-03-02 18:27:59 -05:00
Eric Harding 88a90a724d Add Deep book and empty market tests 2018-03-02 18:27:59 -05:00
Eric Harding 998fb33b59 spark-325 Synthetic Book Merge. Does not yet compute weighted average for partial sizes 2018-03-02 12:37:40 -05:00
Eric Harding c1d168c605 Do not load deleted synthetics or their metadata. 2018-03-01 12:28:49 -05:00
Eric Harding b1dc722b43 SyntheticSecurityService should publish initial metadata from database. 2018-03-01 12:02:18 -05:00
Eric Harding c01ae5afa2 aesthetic change to SyntheticSecurityService api 2018-02-28 11:49:08 -05:00
Eric Harding ccc135ef80 add stateful publisher feature to c++ api server 2018-02-28 11:41:10 -05:00
Pedro Pinto 155835e5f2 Added test code to flush out api disconnect problem. 2018-02-27 15:54:11 -05:00
Eric Harding a671890487 Add streaming notification of synthetic metadata changes. 2018-02-27 13:49:39 -05:00
Eric Harding 6d9242b355 Spark-552' MDConsumer needs to load real securities before it resolves legs of synthetics 2018-02-26 16:47:52 -05:00
Eric Harding 51bf57eff4 Spark-552 Synthetic Securities not restored from DB 2018-02-26 16:05:24 -05:00
Eric Harding 705bf5b167 Spark-563 return an error if user requests to create a security which already exists. 2018-02-26 12:23:11 -05:00
Eric Harding 06aed6e411 spark-545 insert *or update* metadata 2018-02-26 12:21:18 -05:00
Eric Harding b1dbf5e3ba Spark-562 2018-02-26 11:45:39 -05:00
Eric Harding 78644f9f4d Fix error. Protobuf.CopyFrom does not check the type of the argument at compile time :( 2018-02-23 19:40:23 -05:00
Eric Harding d6a310c5b5 Synthetics have depth 2018-02-23 14:06:54 -05:00
Eric Harding 23e3d5e5ee Additional md asserts. 2018-02-23 14:06:54 -05:00
Eric Harding 2bdd8b517d Record security to db before making it visible. (2 database pain) 2018-02-23 14:06:54 -05:00
Eric Harding d2cd4e233a Validate synthetic symbol is present. 2018-02-23 14:06:54 -05:00
Eric Harding 2aadab900d Move synthetic legs into shared_ptr for faster copy 2018-02-23 14:06:54 -05:00
Eric Harding 74b0afd943 fix build 2018-02-22 19:57:11 -05:00
Eric Harding 758ce36539 Handfull of synthetic security fixes 2018-02-22 17:41:24 -05:00
Eric Harding 240730de68 Accidental check in. Thanks unit tests! 2018-02-22 16:06:03 -05:00
Eric Harding a7d295051c Spark-495 and Spark-486. 2018-02-22 15:57:52 -05:00
Eric Harding 7a2d24cf54 Spark-496, spark-497. Store and retrieve synthetic securities from a single block of shared memory. 2018-02-20 17:40:12 -05:00
Eric Harding 175fe92f08 Spark-498 Enable FixedSyntheticSecurity type. 2018-02-20 15:42:52 -05:00
Eric Harding 239d641989 Fix SecurityIDRecorder for spreads which have unresolved legs. 2018-02-20 15:42:51 -05:00
Pedro Pinto 46abf5ae59 Rename OrderServiceServer2 to OrderServiceServer 2018-02-15 21:40:37 +00:00
Eric Harding 3f250b40f2 Merge branch 'master' of bitbucket.org:bluetradesys/spark into MDScratch 2018-02-15 11:54:10 -05:00
Eric Harding 5f01bf5ea8 Fix up relay unit tests. Detected an unintentional bug benign behavior change. 2018-02-15 11:39:55 -05:00
Eric Harding 4adaddbdb7 bugfix: break instead of return causes fall though to assert. 2018-02-15 10:51:26 -05:00
Eric Harding 011165e129 Fix test platform 2018-02-15 10:42:09 -05:00
Pedro Pinto cfa4f8b8b7 Removed duplicate file 2018-02-14 17:52:38 -05:00
Eric Harding 3d8409fd14 Clean up some logging. 2018-02-14 17:14:52 -05:00