Called when a NewBar is generated.

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

Syntax

C#
public void NewBar(
	NewBarEventArgs newBars,
	IEnumerable<PositionInfo> openPositions,
	IAccountInfo accountInfo
)
Visual Basic
Public Sub NewBar ( 
	newBars As NewBarEventArgs,
	openPositions As IEnumerable(Of PositionInfo),
	accountInfo As IAccountInfo
)
Visual C++
public:
void NewBar(
	NewBarEventArgs^ newBars, 
	IEnumerable<PositionInfo^>^ openPositions, 
	IAccountInfo^ accountInfo
)
F#
member NewBar : 
        newBars : NewBarEventArgs * 
        openPositions : IEnumerable<PositionInfo> * 
        accountInfo : IAccountInfo -> unit 

Parameters

newBars
Type: RightEdge.Common..::..NewBarEventArgs
NewBarInfo instance.
openPositions
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'PositionInfo>)>)>
List of open positions.
accountInfo
Type: RightEdge.Common..::..IAccountInfo
IAccountInfo instance associated with this run.

See Also