GetSeries


Summary

Get the MarketSeries of a specific timeframe and the current symbol

Syntax

public MarketSeries GetSeries(TimeFrame timeFrame)
public MarketSeries GetSeries(string symbolName, TimeFrame timeFrame)

Parameters

NameDescription
symbolNamethe symbol name string of the market data

Example 1

var marketSeriesMin30 = MarketData.GetSeries(TimeFrame.Minute30);
var smaMin30 = Indicators.SimpleMovingAverage(marketSeriesMin30.Close, 14);