Using the position service framework
Applications can use the position service framework to calculate positions in different ways. The framework provides several default position tracker implementations as well as EPL interfaces that let you build custom position tracker implementations.
The position service framework uses position tracker names that are consistent with standard finance terminology. The position service framework provides support for your applications to track:
Open positions - actual long and short positions that result from buy or sell order executions.
Pending positions - potential long and short positions that could occur if currently open buy or sell orders are filled.
Reserved positions - potential future positions that have been reserved.
Realized profit and loss - actual profit and loss resulting from order executions and normalized to a specified currency.
Reference information in ApamaDoc format is available on Windows by selecting Start > All Programs > Software AG > Tools > Apama Capital Markets n.n > Apama Capital Markets API ApamaDoc n.n or on both Windows and Linux, you can find ApamaDoc here: cmf_install_dir\doc\reference. Double-click index.html.