vnpy/vn.ib/ibapi/linux/client/ContractCondition.h
2016-11-12 00:42:37 +08:00

18 lines
430 B
C++

#pragma once
#include "OperatorCondition.h"
class TWSAPIDLLEXP ContractCondition : public OperatorCondition {
int m_conId;
std::string m_exchange;
public:
virtual std::string toString();
virtual const char* readExternal(const char* ptr, const char* endPtr);
virtual void writeExternal(std::ostream &out) const;
int conId();
void conId(int conId);
std::string exchange();
void exchange(const std::string &exchange);
};