Commit Graph
11157 Commits
Author SHA1 Message Date
Pedro Pinto aeb4bec02d Refactored sim types to have a sim prefix. 2021-02-01 13:57:16 -05:00
Taha Afzal b92df15594 Reducing logging 2021-01-30 23:37:29 -06:00
Taha Afzal 86089ec3b4 Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-30 20:04:14 -05:00
Pedro Pinto 2cffaa9d73 Refactored include path for spartan. 2021-01-30 15:11:46 -05:00
Taha Afzal 94da28c5cc Better log messages 2021-01-29 22:41:58 -05:00
Pedro Pinto 86b7f30e0e Towards realtime il3 handler. 2021-01-29 15:22:32 -05:00
Taha Afzal e5b01ad92f Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas 2021-01-29 11:28:41 -05:00
Taha Afzal 9d381c2848 Sniper code complete 2021-01-29 11:28:35 -05:00
Pedro Pinto f81c0280e4 Initial cert tests pass. 2021-01-28 22:35:16 -05:00
Pedro Pinto b13ffff044 Tests work for il3 connection setup. 2021-01-27 20:56:37 -05:00
Pedro Pinto d068ac40ec Am able to set party details. 2021-01-27 14:27:23 -05:00
Pedro Pinto db5e428709 Starting to test il3. 2021-01-25 16:42:32 -05:00
Pedro Pinto 77396111aa Can build. 2021-01-25 12:57:22 -05:00
Taha Afzal 7af05e3f4a Cleaned up, tested a fair bit, few (safety related) features to come 2021-01-24 21:56:34 -05:00
Pedro Pinto 8665ad24c1 Refactored. 2021-01-22 14:59:35 -05:00
Pedro Pinto 72e6e11238 Towards il3 gateway. 2021-01-20 16:49:07 -05:00
Taha Afzal 3468201f32 Moving sniper data and initialization to SniperAlgoCommon 2021-01-18 20:43:31 -05:00
Pedro Pinto fb7496aaf2 Added commission model to sim. 2021-01-18 15:21:03 -05:00
Pedro Pinto 9193653773 Added new spartan 'test' subcommand. 2021-01-18 15:20:47 -05:00
Pedro Pinto a80641f8f4 Added testing note to docs. 2021-01-16 16:04:27 -05:00
Pedro Pinto eb7f1ba9ee Disabled IB cross test. 2021-01-16 12:38:19 -05:00
Pedro Pinto 39820205ce Market matcher tests as part of spartan. 2021-01-16 12:33:38 -05:00
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