Click or drag to resize
IC2TradingSystemTradesTimeLine Method
This API is preliminary and subject to change.
Trades Timeline.

Namespace:  C2ExplorerServiceStack.Logic.Interfaces
Assembly:  C2ExplorerServiceStack.Logic (in C2ExplorerServiceStack.Logic.dll) Version: 1.0
Syntax
C#
ITimeLine TradesTimeLine(
	TimeLineGroups groups = TimeLineGroups.Outliers,
	TimeLineTradesType tradesType = TimeLineTradesType.All,
	Nullable<DateTime> dateTimeStart = null,
	Nullable<DateTime> dateTimeEnd = null,
	bool separateLongShortStats = false,
	double k = 1.5,
	bool useOverflow = false
)

Parameters

groups (Optional)
Type: C2ChartsLibrary.InterfacesTimeLineGroups
The type of groups in the timeline. A default value is TimeLineGroups.Outliers: trades are separated to bands "Big winners", "Winners", "Losers", and "Big losers". See examples in the section Timeline Chart.
tradesType (Optional)
Type: C2ChartsLibrary.InterfacesTimeLineTradesType
Type of the trades.
dateTimeStart (Optional)
Type: SystemNullableDateTime
Optional starting date. Timeline includes trades started in the given Start - End range and trades opened in this range.
dateTimeEnd (Optional)
Type: SystemNullableDateTime
Optional ending date. Timeline includes trades started in the given Start - End range and trades opened in this range.
separateLongShortStats (Optional)
Type: SystemBoolean
If set to true, outliers are identified separately for LONG and SHORT trades.
k (Optional)
Type: SystemDouble
The interquartile outliers range parameter. See remarks.
useOverflow (Optional)
Type: SystemBoolean
If set to true trades descriptions are visible even if trades lines are very short in the chart. See examples in the section Timeline Chart.

Return Value

Type: ITimeLine
Time line object
Remarks
A method used for outliers identification is described here: http://en.wikipedia.org/wiki/Interquartile_range.
See Also