vnpy/vn.ib/ibapi/windows/client/SoftDollarTier.h

26 lines
489 B
C
Raw Normal View History

#pragma once
class TWSAPIDLLEXP SoftDollarTier
{
std::string m_name, m_val, m_displayName;
public:
SoftDollarTier(const std::string& name = "", const std::string& val = "", const std::string& displayName = "");
std::string name() const;
std::string val() const;
std::string displayName() const;
//<2F><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD>
bool operator==(const SoftDollarTier & a)
{
return a.name() == this->name();
}
bool operator!=(const SoftDollarTier & a)
{
return a.name() != this->name();
}
};