Submits a market order to close the position.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public ReturnCode CloseAtMarket()
Visual Basic
Public Function CloseAtMarket As ReturnCode
Visual C++
public:
ReturnCode^ CloseAtMarket()
F#
member CloseAtMarket : unit -> ReturnCode 

Return Value

Type: ReturnCode
A ReturnCode indicating whether the order to close the position was successfully submitted.

See Also