IIndicatorsgetBars Method

Returns all bars for specified symbol and timeframe

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0
C#
List<IQuote> getBars(
	int sessionIndex,
	string symbol,
	TimeFrame timeframe
)

Parameters

sessionIndex  Int32
Index of session in used session list
symbol  String
Common symbol name
timeframe  TimeFrame
Chart timeframe

Return Value

ListIQuote
List of bars

See Also