29 lines
813 B
C++
29 lines
813 B
C++
//#include "AlgoServiceUtils.h"
|
|
//#include "lib/api/services/AlgoService.server.pb.h"
|
|
//#include "lib/api/services/OrderService.server.pb.h"
|
|
//#include <sstream>
|
|
//
|
|
// namespace bts {
|
|
// namespace orderman {
|
|
//
|
|
// using namespace bts::api::orderman;
|
|
// using namespace std;
|
|
//
|
|
// bool match_algo_tree(const CustomOrderDefinition &,
|
|
// const CustomOrderDefinition &) {
|
|
// return true;
|
|
//}
|
|
// string template_key(const AlgoTemplate &t) {
|
|
// string rv;
|
|
// if (t.has_composite_algo_params())
|
|
// rv = t.name() + "_" + t.composite_algo_params().name();
|
|
// else if (t.has_system_algo_params()) {
|
|
// std::ostringstream oss;
|
|
// oss << t.name() << "_" << t.system_algo_params().custom_case();
|
|
// rv = oss.str();
|
|
// }
|
|
// return rv;
|
|
//}
|
|
//}
|
|
//}
|