How can I get OHLC for 1 week, of all pair?

Hi,

Currently, can I get OHLC for all pairs, in 1 week, for only 1 query?

Thank you

You can use this example

Remember max result return limit per query is 10k.