My question is that I would like to get hourly, daily and weekly bars. So I use `AddForex` method with different resolution. I am thinking that I could distinguish bars with different resolutions within in the OnData method. However, I couldnt find any documentation mention about this.

Although I could do shedule event with different time period, and I feel not like it. 

I am using Python. Many thanks in advance.