John Colvin
635d4196f1
build: Resolve QuantityTag template parameter conflict
...
The linker was mixing up the QuantityTag template
parameter structs declared in the aliases
'bts::Quantity,' and 'bts::spartan::mdp3::Quantity.'
2021-01-03 22:46:02 -06:00
John Colvin
3f7ce90cef
spartan cli: Add 'book_stats' command
...
Generates a csv file consisting of basic stats
about each book update (one row per per update).
2021-01-03 22:46:02 -06:00
John Colvin
1c8859ced6
Inline 'event_flags_name' method
2021-01-03 22:35:50 -06:00
John Colvin
04257535e1
clang-format: Add 'AlwaysBreakTemplateDeclarations: true'
2021-01-03 22:34:37 -06:00
John Colvin
ae71fb9c33
Overload Formatter::join to accept ostream&
...
* Existing join methods all create and return a
string, while the overload passes values directly
to the ostream&, and avoids creating/copying a string.
* This will come in handy when creating csv rows.
2021-01-03 22:34:31 -06:00
Pedro Pinto
8f68e5afaf
Dowgraded default filter message in polygons to Info.
2021-01-03 17:10:50 -05:00
Pedro Pinto
23160f7843
Fixed bug in algo effect sort order.
2021-01-03 17:10:17 -05:00
Taha Afzal
2788e39cd6
Refining the pandas code for sniper analysis
2021-01-01 20:15:28 -05:00
Pedro Pinto
e536cae63a
Droppped md::IntPrice in favour od MDP3Price.
2021-01-01 16:32:22 -05:00
Taha Afzal
e6b96b3fc3
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2021-01-01 12:56:52 -05:00
Taha Afzal
6d357c8d22
One place to look at static analysis of sniper opportunuities
2021-01-01 12:56:44 -05:00
Pedro Pinto
02dcd57817
IntPrice
2020-12-31 17:17:54 -05:00
Pedro Pinto
7a2c5425a1
Towards replacing md::IntPrice
2020-12-31 17:13:31 -05:00
Pedro Pinto
8b667e056c
Removed security db class.
2020-12-31 17:01:29 -05:00
Pedro Pinto
125fe90aaf
Refactored instrument definition.
2020-12-31 16:56:47 -05:00
Pedro Pinto
c7a4d08372
Working on instrument definition.
2020-12-31 16:01:38 -05:00
Pedro Pinto
d2bae92e92
Refactored.
2020-12-31 13:07:21 -05:00
Pedro Pinto
9ff4c81a11
More refactor.
2020-12-31 12:15:24 -05:00
Pedro Pinto
bda105c550
Merged
2020-12-31 12:08:17 -05:00
Pedro Pinto
df36b6d24f
Refactored iceberg quantity.
2020-12-31 12:06:33 -05:00
Pedro Pinto
b34ef9283d
Refactored quantity.
2020-12-31 11:57:22 -05:00
Pedro Pinto
7e13e8cb67
More refactoring.
2020-12-31 11:48:21 -05:00
Taha Afzal
a51f96cc6f
Added product to polygon values
2020-12-31 01:43:07 -05:00
Taha Afzal
99ea103944
merging
2020-12-31 00:34:55 -05:00
Taha Afzal
3b2e5e5d95
Spartan run with sql option, can optionally (based on config) not write the books to the database
2020-12-30 23:24:46 -05:00
Pedro Pinto
e06ce66513
Refactor MDP3TimeStamp to TimeStamp.
2020-12-30 21:11:00 -05:00
Pedro Pinto
738862cb22
Tweaked header layout.
2020-12-30 17:32:41 -05:00
Pedro Pinto
de063e51f0
Another clang-format run, changed how parameters are binned
2020-12-30 17:30:10 -05:00
Pedro Pinto
8f21a77150
Ran clang-format across all files
2020-12-30 17:11:18 -05:00
Pedro Pinto
a27321df2e
Apparently you need a newline at the end of afile
2020-12-30 16:50:01 -05:00
Pedro Pinto
0fb7ba5987
Ran clang-format on spartan, changed format defaults.
2020-12-30 16:30:37 -05:00
Pedro Pinto
a0a508e64f
More documentation.
2020-12-30 16:16:46 -05:00
Pedro Pinto
d8a80419eb
Added some documentatio, run clang-format on iLink3 code.
2020-12-30 14:22:56 -05:00
Pedro Pinto
862df2efb6
Made MDP3 compression tolerant of data loss.
2020-12-30 14:02:08 -05:00
Pedro Pinto
9dcbab9628
Refactor.
2020-12-29 20:02:04 -05:00
Pedro Pinto
ae7b25e120
Refactor.
2020-12-29 20:01:48 -05:00
Pedro Pinto
bb1e7df7a9
Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
2020-12-29 17:15:38 -05:00
John Colvin
b620d33f98
fix build: correct typo 'view' -> 'views'
...
Both 'view' and 'views' are namespaces within
the 'ranges' namespace. They contain some methods
with identitical signatures, although those in
the former are deprecated.
2020-12-29 16:10:18 -06:00
Pedro Pinto
19b5004920
Merged
2020-12-29 16:46:49 -05:00
John Colvin
337fb2ae45
Restore (uncomment) iceberg impl in Sim
...
The bug that was the reason it was originally commented out
has been fixed.
2020-12-29 12:58:24 -06:00
John Colvin
e87d4a796a
fix: IcebergFinder bootstraps with 'orders' instead of 'order_changes'
2020-12-29 12:58:24 -06:00
John Colvin
a419ee9ed1
cli: Make icebergs_csv cmd's columns match those in sql
2020-12-29 12:58:24 -06:00
John Colvin
2fe6e3dcab
cli: Make icebergs_csv command always generate new csv
...
Change the command so it does not attempt to retrieve the
icebergs from a bin file before observing the pcap, nor does it
write the icebergs to a bin file after observation. This behavior
was originally intended as a way to avoid wasting time regenerating
the same set of icebergs when pcap observation was significantly slower.
2020-12-29 12:58:24 -06:00
John Colvin
262b6352a6
test: Add unit tests for synth book computation
2020-12-29 12:58:24 -06:00
John Colvin
a18d29b66a
Add several MDP3Quantity int binary operators
2020-12-29 12:58:24 -06:00
John Colvin
b464b9ab88
Overload SidePriceComp '()' operator for SmallBookLevel
2020-12-29 12:58:24 -06:00
John Colvin
8bf8b6b36e
Clean up, and optimize compute_synthetic_book method
...
* Improve code-readability
* Add documentation
* Avoid copying leg books
2020-12-29 12:58:24 -06:00
John Colvin
cbd10c7a7c
Refactor book_utils::fmt_ladder
...
* use md::IntPrice/MDP3Quantity rather than double/uint32_t
* overload fmt_ladder to accept a single book-side, and an
optional 'side' argument. If 'side' isn't specified, deduce
the side by comparing 2 price levels.
2020-12-29 12:54:47 -06:00
John Colvin
a6bfa8f976
fix: compute_synthetic_book sometimes only populates 1st price level
...
Incorrect 'limiting factor' logic was causing the method to exit
when the qty in the first price level of the first leg was used.
2020-12-29 12:54:47 -06:00
John Colvin
8850d7d188
fix: running_cost accumulation in 'change_unit_qty' method
2020-12-29 12:54:47 -06:00