Adding RFQ to OrderService interface

This commit is contained in:
Taha Afzal authored and John Colvin committed 2022-09-28 21:22:47 -05:00
1 parent dcb4b1ae7e
commit 49f13755c6
7 files changed
+83 -3

No files matched your search

+10
View File
@@ -459,6 +459,16 @@ void OrderServiceServer::manually_bust_all_fills(
r(response);
}
void OrderServiceServer::send_rfq(
const api::orderman::RFQRequest &rfq_request,
const api::Response<api::orderman::Response> &r) {
LOG(OrderMan, Info, "OrderServiceServer::send_rfq rfq_request: {}",
utils::pb::to_string(rfq_request));
me->service_bridge->send_rfq_request(rfq_request);
api::orderman::Response response;
r(response);
}
void OrderServiceServer::on_order_op_result(
OrderOpResultEvent const &op_result) {
auto it = me->in_flight_order_ops.find(op_result.req_id);