Details about leg in SecurityDefinitionRequest. More...
Public Member Functions | |
SecurityDefinitionLegDetail () | |
Constructor. | |
SecurityDefinitionLegDetail (const SecurityDefinitionLegDetail &) | |
Copy constructor. | |
~SecurityDefinitionLegDetail () | |
Destructor. | |
SecurityDefinitionLegDetail & | operator= (const SecurityDefinitionLegDetail &) |
Assignment. | |
void | legSecurityId (const String &securityId) |
Set security ID. | |
const String & | legSecurityId () const |
Get security ID. | |
void | legRatioQty (Quantity quantity) |
Set ratio of lots for this leg, relative to the entire multileg security. | |
Quantity | legRatioQty () const |
Get ratio of lots for this leg, relative to the entire multileg security. | |
void | legSecurityType (LegSecurityType::Enum type) |
Set the type of leg product. | |
LegSecurityType::Enum | legSecurityType () const |
Get the type of leg product. | |
void | legPutOrCall (LegPutOrCall::Enum value) |
Set leg put or call. | |
LegPutOrCall::Enum | legPutOrCall () const |
Get leg put or call. | |
void | legPrice (LegPrice price) |
Set trading price in system ticks for the underlying Cash or Future leg. | |
LegPrice | legPrice () const |
Get trading price in system ticks for the underlying Cash or Future leg. | |
void | legStrikePrice (LegPrice price) |
Set trading price in system ticks for the option leg. | |
LegPrice | legStrikePrice () const |
Get trading price in system ticks for the option leg. | |
void | legMaturityMonthYear (const Date &date) |
Set leg product expiry date. | |
Date | legMaturityMonthYear () const |
Get leg product expiry date. | |
void | legSide (Side::Enum side) |
Set leg side. | |
Side::Enum | legSide () const |
Get leg side. | |
std::string | toString () const |
Dump state to string. | |
void | updateAfterSerialization () |
Update after serialization (for internal use) | |
Protected Types | |
typedef MessagePartImplementation < SecurityDefinitionLegDetail > | Implementation |
Protected Member Functions | |
SecurityDefinitionLegDetail (Implementation *) |
Details about leg in SecurityDefinitionRequest.