Click or drag to resize
IQueryRunnerGetAccountEquity Method (IEnumerableInt64)
This is a helper function. It helps to get an equity data for the list of trading systems.

Namespace:  C2ExplorerServiceStack.Logic.Interfaces
Assembly:  C2ExplorerServiceStack.Logic (in C2ExplorerServiceStack.Logic.dll) Version: 1.0
Syntax
C#
IEnumerable<IAccountEquityPoint> GetAccountEquity(
	IEnumerable<long> SystemIds
)

Parameters

SystemIds
Type: System.Collections.GenericIEnumerableInt64
A list of trading systems IDs.

Return Value

Type: IEnumerableIAccountEquityPoint
A list of accounts equities points.
Remarks
This is a shortcut for this code:
var SystemIds = ....;
            var equities = from eq in C2EQUITY
            where SystemIds.Contains(eq.SystemId)
            select new AccountEquityPoint() { DateTime = eq.DateTime, SystemId = eq.SystemId, Value = eq.Value };
See Also