16 lines
435 B
C++
16 lines
435 B
C++
#include "PositionUpdate.h"
|
|
#include "lib/orderman/orderman_utils/orderman_common.h"
|
|
|
|
namespace bts {
|
|
namespace orderman {
|
|
|
|
std::ostream& operator<<(std::ostream&out,const PositionUpdate &update) {
|
|
out << "Security: " << update.security->id()
|
|
<< " Account: " << update.account_id.value()
|
|
<< " Long Qty: " << update.long_quantity.value()
|
|
<< " Short Qty: " << update.short_quantity.value();
|
|
return out;
|
|
}
|
|
|
|
}}
|