Closes a position with a market order.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public ReturnCode ClosePosition( string PosID ) |
| Visual Basic (Declaration) |
|---|
Public Function ClosePosition ( _ PosID As String _ ) As ReturnCode |
| Visual C++ |
|---|
public: ReturnCode^ ClosePosition( String^ PosID ) |
Parameters
- PosID
- Type: System..::.String
The ID of the position to close.