fix: removed errernous code
This commit is contained in:
1 parent
008ab3f068
commit
d5a2adaed6
1 file changed
-19
@@ -3,13 +3,9 @@
|
||||
#include "lib/config/config.h"
|
||||
#include "lib/domain/Price.h"
|
||||
#include "lib/domain/Security.h"
|
||||
<<<<<<< Updated upstream
|
||||
#include "lib/md/IMarketDataListener.h"
|
||||
#include "lib/persistence/IDGenerator.h"
|
||||
|
||||
=======
|
||||
#include "lib/logging/logging.h"
|
||||
>>>>>>> Stashed changes
|
||||
#include <emumba-deribit-connector/deribit_utils.h>
|
||||
#include <algorithm>
|
||||
#include <bit>
|
||||
@@ -1215,7 +1211,6 @@ bool readBinaryFile(const std::string &file_name,
|
||||
|
||||
//const std::string &filename,
|
||||
void bts::md::taifex::TaifexDatahandler::run(
|
||||
<<<<<<< Updated upstream
|
||||
bool use_file,
|
||||
std::shared_ptr<IMarketDataListener> listner,
|
||||
std::shared_ptr<persistence::IDGenerator> sec_id_store) {
|
||||
@@ -1229,17 +1224,3 @@ void bts::md::taifex::TaifexDatahandler::run(
|
||||
}
|
||||
|
||||
}//namespace bts::md::taifex
|
||||
=======
|
||||
const bool &use_file,
|
||||
std::shared_ptr<GeneralMarketDataListener> listner,
|
||||
persistence::IDGenerator *sec_id_store) {
|
||||
std::string file_name = "/reference_data_20240806_1";
|
||||
if(use_file){
|
||||
std::string base_path = config::get<bts::config::SystemConfig>().data_path();
|
||||
readBinaryFile(base_path+file_name, listner, sec_id_store);
|
||||
while(1);
|
||||
}
|
||||
// bts_assert_msg(false, "inside run taifex");
|
||||
}
|
||||
}//namespace bts::md::taifex
|
||||
>>>>>>> Stashed changes
|
||||
Reference in new issue
Block a user