|
|
| SimmTradeData () |
| | Default constructor giving an empty string default portfolio and counterparty ID.
|
| | SimmTradeData (const QuantLib::ext::shared_ptr< Portfolio > &portfolio, const QuantLib::ext::shared_ptr< ore::data::Market > &market, const QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > &referenceData=nullptr, const QuantLib::ext::shared_ptr< ore::analytics::SimmBucketMapper > &bucketMapper=nullptr, const QuantLib::ext::shared_ptr< Portfolio > &auxiliaryPortfolio=nullptr) |
|
| SimmTradeData (const string &defaultPortfolioId, const string &defaultCounterpartyId) |
| | Constructor with a specific default portfolio and counterparty ID.
|
|
void | init () |
|
std::set< pair< string, QuantLib::Size > > | get () const |
| | Return the set of all trade IDs in the container.
|
|
std::set< pair< string, QuantLib::Size > > | get (const NettingSetDetails &nettingSetDetails) const |
| | Return the set of all trade IDs in the container with the given portfolioId.
|
|
std::set< pair< string, QuantLib::Size > > | get (const string &portfolioId) const |
| | Return the set of all trade IDs in the container with the given nettingSetDetails.
|
|
std::set< string > | portfolioIds () const |
| | Return the set of portfolio IDs in the container.
|
|
std::set< NettingSetDetails > | nettingSetDetails () const |
| const string & | portfolioId (const string &tradeId) const |
|
const NettingSetDetails & | nettingSetDetails (const string &tradeId) const |
|
std::set< string > | counterpartyIds () const |
| | Return the set of counterparty IDs in the container.
|
| const string & | counterpartyId (const string &tradeId) const |
|
bool | has (const string &tradeId) const |
| | Return true if there is already an entry for tradeId.
|
|
bool | empty () const |
| | Return true if there is no trade data.
|
|
virtual void | clear () |
| | Clear the trade data.
|
|
bool | hasAttributes (const string &tradeId) const |
| | Return true if the tradeId has additional attributes.
|
| const QuantLib::ext::shared_ptr< TradeAttributes > & | getAttributes (const string &tradeId) const |
|
const bool | hasNettingSetDetails () const |
| | Indicate whether the trades are using netting set details instead of just netting set ID.
|
|
const std::set< string > & | simmTradeIds () const |
|
|
string | defaultPortfolioId_ |
| | The default portfolio ID assigned to trades without one.
|
|
NettingSetDetails | defaultNettingSetDetails_ |
|
string | defaultCounterpartyId_ |
| | The default counterparty ID assigned to trades without one.
|
| map< string, NettingSetDetails > | nettingSetDetails_ |
|
map< string, string > | counterpartyIds_ |
| | Map from trade ID to counterparty IDs.
|
|
std::set< string > | simmTradeIds_ |
| | Vector of SIMM tradeIds.
|
|
bool | hasNettingSetDetails_ |
| | Indicate whether the trades are using netting set details instead of just netting set ID.
|
| map< string, QuantLib::ext::shared_ptr< TradeAttributes > > | tradeAttributes_ |
|
QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > | referenceData_ |
|
QuantLib::ext::shared_ptr< ore::analytics::SimmBucketMapper > | bucketMapper_ |
|
bool | initialised_ = false |
|
QuantLib::ext::shared_ptr< Portfolio > | portfolio_ |
|
QuantLib::ext::shared_ptr< ore::data::Market > | market_ |
|
QuantLib::ext::shared_ptr< Portfolio > | auxiliaryPortfolio_ |
A simple container class for holding trade IDs along with their corresponding portfolio id, counterparty id, SIMM/Schedule product class. There is also the option to provide extra trade attributes that can be requested during CRIF generation.