Hi @rahulcse56
2 min timeframe is not supported as of now, below are the supported timeframes
Timeframe:
1 - 1 minute
5 - 5 minutes
15 - 15 minutes
25 - 25 minutes
60 - 60 minutes
DAY - DAY
However you could resample 1 min data to get 2 min candles
https://pandas.pydata.org/docs/reference/api/pandas.Series.resample.html