Called when a NewBar is generated.
Namespace:
RightEdge.CommonAssembly: 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 (Declaration) |
|---|
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 ) |
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.