THROWAWAY CODE: hardcoded config to get recorder to work
This commit is contained in:
1 parent
9ebbe5b4d4
commit
0e7ecffd98
1 file changed
+3
-3
@@ -210,7 +210,7 @@ struct MDRecorder::PImpl {
|
||||
const bts::api::md::MarketDataRecordingConfig &recording_config)
|
||||
: venue(venue),
|
||||
settings(MDRecordingSettings{
|
||||
recording_config.n_book_levels(),
|
||||
10,
|
||||
static_cast<uint64_t>(std::max(recording_config.num_of_seconds_to_run_db_writer(),recording_config.num_of_seconds_to_run_file_writer())) *
|
||||
1000 * 1000 * 1000,
|
||||
static_cast<uint64_t>(recording_config.num_of_seconds_to_run_file_writer()) *
|
||||
@@ -220,8 +220,8 @@ struct MDRecorder::PImpl {
|
||||
100000, 1000000000,recording_config.batch_size(),
|
||||
|
||||
// Read recording toggles from config
|
||||
recording_config.enable_book_recording(),
|
||||
recording_config.enable_trade_recording(),
|
||||
true,
|
||||
true,
|
||||
recording_config.enable_bbo_recording(),
|
||||
recording_config.enable_tbbo_recording(),
|
||||
recording_config.enable_misc_recording()}),
|
||||
|
||||
Reference in new issue
Block a user