| 116 | } |
| 117 | |
| 118 | void Order::swap(Order& other) noexcept |
| 119 | { |
| 120 | using std::swap; |
| 121 | swap(id, other.id); |
| 122 | swap(symbol, other.symbol); |
| 123 | swap(side, other.side); |
| 124 | swap(type, other.type); |
| 125 | swap(price, other.price); |
| 126 | swap(volume, other.volume); |
| 127 | swap(tp, other.tp); |
| 128 | swap(sl, other.sl); |
| 129 | } |
| 130 | |
| 131 | std::ostream& operator<<(std::ostream& stream, const Order& value) |
| 132 | { |