Commit Graph
10485 Commits
Author SHA1 Message Date
Pedro Pinto 2cffcb4e25 Merged 2021-01-16 12:32:34 -05:00
Pedro Pinto 2d2c664ce9 More il3 gateway work. 2021-01-16 11:53:04 -05:00
John Colvin ca4e477f56 fix: CLI11 integration
* Run 'sparkd tests' outside of the CLI::App framework
  (delegate to 'catch', which has a solid cli).  This
  fixes a bug which prevented callers from specifying
  test tags (in the form of '[<tag>]'), as the CLI::App's
  parse method removes square brackets from cli options.

* Bind cli options to instance members of their subcommand's
  CLI::App derived class.  This seems to fix a bug which caused
  the [static instance] binding source to be destructed twice.

 * Add help text for several subcommands
2021-01-16 00:01:15 -06:00
Pedro Pinto 3ec36c4db1 Refactoring IReactorConnection and friends. 2021-01-15 09:41:11 -05:00
Pedro Pinto d593696df2 Tagged spartan tests. 2021-01-15 08:49:28 -05:00
John Colvin 45de55a552 Remove unused files 'args_parser.h/cpp' 2021-01-15 00:32:55 -06:00
John Colvin 17d20bac8b Remove unused file 'ImpliedFifoSecurityMatcher.h'
This was an old version of the implied fifo matcher,
now defined in 'FifoImpliedSecurityMatcher.h'.
2021-01-15 00:32:55 -06:00
John Colvin f42137d86c Don't assert that an iceberg order's vis qty <= show qty
There isn't a compelling reason to enforce this
constraint.  The show qty is the 'reload' qty, and
is orthogonal to the current [visible] qty.
2021-01-15 00:32:55 -06:00
John Colvin 456177af30 typo: Flip ternary op clauses, and delete superfluous 'return' 2021-01-15 00:32:55 -06:00
John Colvin 41374d62ea spartan cli: Add SimBooks command
This command is a diagnostic tool that produces a
csv file of matcher-generated books for a
particular pcap, which can then be imported to
sql, and joined with the actual books table for
comparison.
2021-01-15 00:32:55 -06:00
John Colvin 25395fcac3 refactor: Replace api::Side w/ spartan::Side 2021-01-15 00:32:55 -06:00
John Colvin 9b49c66136 fix: Require valid side param in 'has_min_qty' method
Although the side can be inferred by comparing the
first two price levels, the book may not have two
price levels to compare.
2021-01-15 00:32:55 -06:00
John Colvin 36bfc9e770 Add SecurityCriteria struct to filter instrument sets
Inspired by the c# 'SecurityCriteria' class from
spark's front end.  This may come in handy as a cli
option for spartan subcommands, among other things.
2021-01-15 00:32:55 -06:00
John Colvin 2a04341b3b Allow for non-null, or non-empty effects vector in 'match' method 2021-01-15 00:07:02 -06:00
John Colvin c0a7f1b3fe refactor: Use c++ 'char_traits::length' instead of c 'strlen' 2021-01-15 00:07:02 -06:00
John Colvin 66e1b94d1b refactor: Revamp cli with CLI11 App 2021-01-15 00:07:02 -06:00
John Colvin 25e07d0a60 refactor: Move BookStatRecorder into 'feed_observers' dir 2021-01-14 21:25:14 -06:00
Pedro Pinto 2731f2b287 Fixed weird duplicate symbol issue. 2021-01-14 13:53:31 -05:00
Pedro Pinto 5140cb1c2c Towards an order gateway. 2021-01-14 13:09:39 -05:00
Pedro Pinto e11566537c More refactoring. 2021-01-13 14:50:29 -05:00
Pedro Pinto b884dc910e Refactor MDP3 feed handler types. 2021-01-13 14:48:13 -05:00
Pedro Pinto 35cefe3b89 Added IL3 Parser. 2021-01-13 12:04:34 -05:00
Pedro Pinto 96af106a9d Refactored MDP3Parser 2021-01-13 11:16:23 -05:00
Pedro Pinto ac5d961a70 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-13 09:47:34 -05:00
Pedro Pinto 8f4e529766 Refactoring SBE parsing. 2021-01-13 09:47:23 -05:00
Taha Afzal 19a7e2898e normalizing ticks/price/cash in the report 2021-01-12 18:12:45 -05:00
Pedro Pinto 0ef29c181a Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-12 15:48:10 -05:00
Pedro Pinto 81d3d5f11d Adding ilink3 notes 2021-01-12 15:47:54 -05:00
Pedro Pinto c4e0518228 Whitespace. 2021-01-12 11:57:45 -05:00
Taha Afzal 121b7df59e Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-12 11:28:21 -05:00
Taha Afzal 6740f6b1fb Adding status col to polygon_values 2021-01-12 11:27:52 -05:00
Pedro Pinto 5a7a267daf Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-12 11:10:59 -05:00
Pedro Pinto fb1040fb2c Cleaned up generation of mdp3 files. 2021-01-12 11:10:39 -05:00
Taha Afzal ecad5518eb Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-12 11:10:37 -05:00
Taha Afzal 4361e2277a vid constraint on polygon values 2021-01-12 11:10:24 -05:00
Pedro Pinto 7d7e25fd25 More refactoring. 2021-01-12 10:38:59 -05:00
Pedro Pinto 8f0cfe2c2a Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-12 10:32:10 -05:00
Pedro Pinto c470c5f161 Cleaned up iLink3 code generation. 2021-01-12 10:31:36 -05:00
Taha Afzal 2302e5f37e Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-12 09:40:19 -05:00
Pedro Pinto fc1b84f966 Refactor of directory names. 2021-01-12 09:02:50 -05:00
Pedro Pinto 25ad869030 Adding iLink3 generation code 2021-01-12 08:57:16 -05:00
Taha Afzal a35559da30 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-11 22:35:18 -05:00
Taha Afzal 0103abbec3 merging 2021-01-11 22:34:57 -05:00
Pedro Pinto ee725747ad Added trade summary signal 2021-01-11 13:23:28 -05:00
Taha Afzal ef0f044e8d Adding more data to polygon_values 2021-01-11 12:58:23 -05:00
Pedro Pinto d42b72ea79 Added Trade summary signal to spartan. 2021-01-11 11:56:52 -05:00
Pedro Pinto f177441d07 Refactored. 2021-01-11 10:14:38 -05:00
Pedro Pinto 939c6442be Added book signa to realtime handler. 2021-01-11 10:10:35 -05:00
Pedro Pinto 33dad3db73 More book tweaks. 2021-01-10 18:02:25 -05:00
Pedro Pinto ef296d4b1c More clean up. 2021-01-10 17:21:15 -05:00