Skip to main content

runnerCommonTimeframes

Returns the sorted list of timeframe labels (e.g. ["5m","1h","1d"]) that have cached data for **all** of the specified pairs on the runner. Useful for filtering the timeframe Select in backtest/hyperopt drawers to only show intervals where every selected pair has real data.

Returns an empty list when pairs is empty or no timeframe is ready for all specified pairs — callers should fall back to the runner's configured timeframes in that case.

runnerCommonTimeframes(
runnerID: ID!
exchange: String!
tradingMode: MarketDataTradingMode
pairs: [String!]!
): [String!]!

Arguments​

runnerCommonTimeframes.runnerID ● ID! non-null scalar​

runnerCommonTimeframes.exchange ● String! non-null scalar​

runnerCommonTimeframes.tradingMode ● MarketDataTradingMode enum​

runnerCommonTimeframes.pairs ● [String!]! non-null scalar​

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.