Gets the BarConstructionType associated with this symbol.

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

Syntax

C#
public static BarConstructionType GetBarConstruction(
	Symbol symbol,
	BarConstructionType barConstruction
)
Visual Basic
Public Shared Function GetBarConstruction ( 
	symbol As Symbol,
	barConstruction As BarConstructionType
) As BarConstructionType
Visual C++
public:
static BarConstructionType GetBarConstruction(
	Symbol^ symbol, 
	BarConstructionType barConstruction
)
F#
static member GetBarConstruction : 
        symbol : Symbol * 
        barConstruction : BarConstructionType -> BarConstructionType 

Parameters

symbol
Type: RightEdge.Common..::..Symbol
The Symbol object to query.
barConstruction
Type: RightEdge.Common..::..BarConstructionType
Default bar construction type.

Return Value

Type: BarConstructionType
BarConstructionType associated with the input symbol.

Remarks

This version finds the desired BarConstructionType setting based on the symbol's AssetClass. If the type is Forex and the BarConstructionType is Default the default behavior is to assign the type to Mid. In the case of other asset classes, the default type would be set to Trades

See Also