24 lines
370 B
C++
24 lines
370 B
C++
#include "stdafx.h"
|
|
#include "OptionEventHandler.h"
|
|
|
|
|
|
COptionEventHandler::COptionEventHandler()
|
|
{
|
|
m_pTrader = NULL;
|
|
}
|
|
|
|
COptionEventHandler::~COptionEventHandler()
|
|
{
|
|
|
|
}
|
|
|
|
const BOOL COptionEventHandler::IsConditionOK(void) const
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
void COptionEventHandler::Received()
|
|
{
|
|
if(IsConditionOK() == TRUE)
|
|
m_pTrader->StartTrading();
|
|
} |