Deribit orders (mostly) work
This commit is contained in:
1 parent
32c4d05106
commit
64240c5f3b
15 files changed
+889
-327
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "ExecutionReport.h"
|
||||
#include "lib/api/services/OrderService.pb.h"
|
||||
#include "lib/domain_model/Security.pb.h"
|
||||
#include "lib/logging/logging.h"
|
||||
#include "lib/orderman/orderman_utils/orderman_common.h"
|
||||
#include <sstream>
|
||||
@@ -23,7 +24,11 @@ std::string ExecutionReport::to_string() const {
|
||||
<< " order_status: "
|
||||
<< bts::api::orderman::NativeOrderStatus_Name(order_status)
|
||||
<< " price: " << price.value() << " quantity: " << quantity.value()
|
||||
<< " filled_quantity: " << filled_quantity.value();
|
||||
<< " filled_quantity: " << filled_quantity.value()
|
||||
<< " avg_price: " << avg_price.value()
|
||||
<< " last_shares: " << last_shares.value()
|
||||
<< " last_price: " << last_price.value() << " msg: " << msg
|
||||
<< " exchange: " << bts::api::Venue_Name(exchange);
|
||||
return rv.str();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user