Commit Graph
131 Commits
Author SHA1 Message Date
Eric Harding 7bf4abf38d Add some temporary return data for security_names service 2018-05-23 11:15:05 -04:00
Eric Harding e8b4567e60 Add request_names to market data service to get a list of symbols for securities 2018-05-23 09:28:36 -04:00
Eric Harding 2cbd5510e2 Remove accidental copy of market data. yay c++. 2018-05-23 09:10:00 -04:00
Eric Harding b8b284441c SPARK-948 Test CME decimal precision increase 2018-05-21 10:22:50 -04:00
Pedro Pinto ab950cba91 Merged from dev 2018-05-18 16:57:03 -04:00
Kevin Darby b5006ff520 add make_ to stateful publisher per Eric 2018-04-16 09:25:20 -04:00
Eric Harding 5e86462676 Advance the security keys by # replay securities to avoid screwy synthetics 2018-04-13 14:05:18 -04:00
Kevin Darby 18a0ed75c4 sdk refactor, much cleaner now 2018-04-06 18:23:32 -04:00
Kevin Darby a9d8a3929e fix build 2018-04-06 15:16:58 -04:00
Kevin Darby d6aeda8cfd sdk 2018-04-06 13:10:47 -04:00
Eric Harding e0e9b451ca spark-947 - Fix crash in read_trades at startup. 2018-03-23 13:14:37 -04:00
Eric Harding c1b4392ac1 Synthetic leg side is implied in the price_multiplier so no additional sign flip needed. 2018-03-20 17:06:55 -04:00
Eric Harding d5f90772fe SyntheticSecurityService log on synthetic create 2018-03-19 16:57:42 -04:00
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