Files
spark/src/lib/orderman/orderman_utils/ExecutionReport.h
T

49 lines
1.3 KiB
C++

#pragma once
#include <memory>
#include "lib/orderman/orderman_utils/orderman_common.h"
#include "lib/mercury/common/mercury_common.h"
#include "lib/config/protos/jetfix.pb.h"
#include <variant>
namespace bts {
namespace orderman {
class ExecutionReport {
public:
AccountName account_name;
OperatorID operator_id;
OrderKey order_key;
size_t msg_seq_num;
api::Security const*security;
api::Security const*leg_security;
api::Side side;
api::orderman::TimeInForce time_in_force;
api::orderman::NativeOrderType order_type;
api::orderman::ExecType exec_type;
api::orderman::NativeOrderStatus order_status;
api::orderman::ManualOrderIndicator manual_order_indicator;
std::variant<ExchangeOrderID,ExchangeOrderIDu64> exchange_order_id;
// ExchangeOrderID exchange_order_id;
// ExchangeOrderIDu64 exchange_order_id_64;
Price price;
Quantity quantity;
Quantity filled_quantity;
Quantity last_shares;
Quantity max_show;
Price last_price;
Price avg_price;
Price stop_price;
ExchangeFillID exchange_fill_id;
mercury::TimeStampStr transact_time;
config::JetFIX::Connection const *cfg;
std::string cust_order_handling_inst;
std::string msg;
api::Venue exchange;
int64_t ice_cl_ord_id;
int32_t ice_company_id;
std::string memo;
};
}}