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

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

Parameters

systemId
Type: SystemInt64
A trading system ID.

Return Value

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