19 lines
406 B
C++
19 lines
406 B
C++
#pragma once
|
|
|
|
#include "lib/orderman/orderman_utils/orderman_common.h"
|
|
|
|
namespace bts {
|
|
namespace position {
|
|
struct Position;
|
|
class IPositionObserver {
|
|
public:
|
|
virtual ~IPositionObserver();
|
|
virtual void on_position_change(
|
|
const orderman::AccountName &,
|
|
SecurityKey,
|
|
double quantity,
|
|
double avg_price) = 0;
|
|
};
|
|
} // namespace position
|
|
} // namespace bts
|