New position service framework
Applications can use the new position service framework to calculate positions in different ways. The framework provides three default postion tracker implementations as well as EPL interfaces that let you build custom position tracker implementations.
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.
Position services provided in previous releases are deprecated and will be removed in a future release. You should stop using the legacy position service and use only the new position service framework.
The new position service framework uses position tracker names that are consistent with standard finance terminology but some are different from the names of the legacy order position service trackers. Specifically, the functionality provided by the legacy closed order position tracker is now provided by the open position tracker and the functionality provided by the legacy open order position tracker is now provided by the pending position tracker. The following table highlights the differences:
Deprecated Position Service Tracker/Bundle | Corresponds to New Position Service Framework Tracker/Bundle |
Closed order position tracker | Open position tracker |
Open order position tracker | Pending position tracker |
Reserved order position tracker | Reserved position tracker |
Position Services bundle | Position Management Service bundle |
Simple Position Service bundle | Position Trackers bundle |