Checks if a position can be opened based on the maximum number of open positions.

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

Syntax

C#
public ReturnCode CanOpenPosition(
	Symbol symbol
)
Visual Basic
Public Function CanOpenPosition ( 
	symbol As Symbol
) As ReturnCode
Visual C++
public:
ReturnCode^ CanOpenPosition(
	Symbol^ symbol
)
F#
member CanOpenPosition : 
        symbol : Symbol -> ReturnCode 

Parameters

symbol
Type: RightEdge.Common..::..Symbol
The symbol to open a position for

Return Value

Type: ReturnCode
A ReturnCode indicating whether a new position can be opened.

See Also