I agree. It took me a while to figure this out also. Intuitively, ClosePosition() should be used as the opposing transaction to OpenPosition(). I think OrderType should be included and let the user choose market or limit or stop limit etc... I finally gave up searching and used RemoveFromPosition and passed it all shares. It would be nice to see Remove/Add to/from Position to be used for pyramiding or scaling out, or even exiting entirely but logically ClosePosition() comes to mind first for doing just that.
Just a thought for future users searching for the same thing.
"better is the enemy of good enough"
Friday June 29 2007 by