The Set MM Protection message allows Market Makers to activate and configure (or de-activate) their Protection facility. More...
Public Types | |
enum | { MinNoExpiries = 0, MaxNoExpiries = 100 } |
Public Member Functions | |
SetMMProtection () | |
Constructor. | |
SetMMProtection (const SetMMProtection &) | |
Copy constructor. | |
~SetMMProtection () | |
Destructor. | |
SetMMProtection & | operator= (const SetMMProtection &) |
Assignment. | |
void | setMMProtectionId (RequestId id) |
Set client identifier for set market maker protection request. | |
RequestId | setMMProtectionId () const |
Get client identifier for set market maker protection request. | |
void | protectionType (ProtectionType::Enum type) |
Set type of risk mitigation. | |
ProtectionType::Enum | protectionType () const |
Get type of risk mitigation. | |
void | productLimit (ProductLimit limit) |
Set product limit. | |
ProductLimit | productLimit () const |
Get product limit. | |
void | productLimitBreachAction (ProductLimitBreachAction::Enum action) |
Set product limit breach action. | |
ProductLimitBreachAction::Enum | productLimitBreachAction () const |
Get product limit breach action. | |
void | expiryLimitBreachAction (ProductLimitBreachAction::Enum action) |
Set the actions which will be activated when the Expiry Protection Limit is reached. | |
ProductLimitBreachAction::Enum | expiryLimitBreachAction () const |
Get product limit breach action. | |
void | productProtectionActive (bool status) |
Set product protection active or not active status. | |
bool | productProtectionActive () const |
Get product protection active or not active status. | |
void | securityIdSource (SecurityIdSource::Enum securityIdSource) |
Set security ID source. | |
SecurityIdSource::Enum | securityIdSource () const |
Get security ID source. | |
void | securityId (const String &securityId) |
Set security ID. | |
const String & | securityId () const |
Get security ID. | |
UInt8 | noExpiries () const |
Get number of expiries in the repeating group. | |
void | expiry (UInt8 index, const SetMMProtectionDetail &detail) |
Set expiry detail. | |
const SetMMProtectionDetail & | expiry (UInt8 index) const |
Get expiry detail. | |
void | addExpiry (const SetMMProtectionDetail &detail) |
Add new expiry detail. | |
void | removeAllExpiries () |
Remove all expiries. | |
std::string | toString () const |
Dump state to string. | |
void | serialize (MessageSerializer &) |
Serialize data (for internal use) |
The Set MM Protection message allows Market Makers to activate and configure (or de-activate) their Protection facility.
Response: