How to get historical data for more than one month?

I use the following setting for receiving data from Tradovate API.

{"symbol":"GCG2",
 "chartDescription": {"underlyingType":"MinuteBar",
                      "elementSize": 240,
                      "elementSizeUnit":"UnderlyingUnits", 
                      "withHistogram": False},
                   
 "timeRange": {
               "asMuchAsElements": 200
               },
}

However, I get the data for about one month (about 120 bars data), which is not desired. Because I want 200 bars for 4 hours bars (240 mins). How can I fix this issue?

You’re probably hitting the maximum request size before you make it to 200 bars. What you’ll need to do is take the oldest timestamp and start a new request with the target time or bar amount starting from that timestamp and stack the calls together. Here’s an example of how to do that: