The Security Definition Request is only used to request a new strategy market. More...
Public Types | |
enum | { MinNoLegs = 1, MaxNoLegs = 32 } |
Public Member Functions | |
SecurityDefinitionRequest () | |
Constructor. | |
SecurityDefinitionRequest (const SecurityDefinitionRequest &) | |
Copy constructor. | |
~SecurityDefinitionRequest () | |
Destructor. | |
SecurityDefinitionRequest & | operator= (const SecurityDefinitionRequest &) |
Assignment. | |
void | securityReqId (RequestId id) |
Set security request ID. | |
RequestId | securityReqId () const |
Get security request ID. | |
void | securityId (const String &securityId) |
Set security ID. | |
const String & | securityId () const |
Get security ID. | |
void | securitySubType (StrategyCode::Enum code) |
Set strategy code. | |
StrategyCode::Enum | securitySubType () const |
Get strategy code. | |
UInt8 | noLegs () const |
Get number of legs. | |
void | leg (UInt8 index, const SecurityDefinitionLegDetail &leg) |
Set leg. | |
const SecurityDefinitionLegDetail & | leg (UInt8 index) const |
Get leg. | |
void | addLeg (const SecurityDefinitionLegDetail &leg) |
Add new leg. | |
void | removeAllLegs () |
Remove all legs. | |
std::string | toString () const |
Dump state to string. | |
void | serialize (MessageSerializer &) |
Serialize data (for internal use) |
The Security Definition Request is only used to request a new strategy market.
A strategy market must first be created before an ITM can submit a New Order or a Quote Request for a strategy.
Response: