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

20 lines
412 B
C++

#pragma once
#include "ContractCondition.h"
class TWSAPIDLLEXP VolumeCondition : public ContractCondition {
friend OrderCondition;
int m_volume;
protected:
VolumeCondition() { }
virtual std::string valueToString() const;
virtual void valueFromString(const std::string &v);
public:
static const OrderConditionType conditionType = OrderConditionType::Volume;
int volume();
void volume(int volume);
};