Again a stupid question: timeframes

Created at 30 Oct 2013, 11:19
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
jeex's avatar

jeex

Joined 18.10.2013

Again a stupid question: timeframes
30 Oct 2013, 11:19


Again i feel stupid... How do i get the minutes (int) of the used timeframe in the robot? Or must i use a work around with MarketSeries.TimeFrame... in combi with Switch?


@jeex
Replies

fzlogic
30 Oct 2013, 11:50

There doesn't seem to be a property for the minutes /api/timeframe, so yes, you need a switch statement. I hope they implement it.


@fzlogic