vnpy/vn.ib/ibapi/linux/client/TimeCondition.h

22 lines
463 B
C
Raw Normal View History

#pragma once
#include "OperatorCondition.h"
class TWSAPIDLLEXP TimeCondition : public OperatorCondition {
friend OrderCondition;
std::string m_time;
protected:
TimeCondition() { }
virtual std::string valueToString() const;
virtual void valueFromString(const std::string &v);
public:
static const OrderConditionType conditionType = OrderConditionType::Time;
virtual std::string toString();
std::string time();
void time(const std::string &time);
};