I noticed that the program saves the historical data after it search for them, like when I see a chart. How can I do to reload the data periodically while the program is running?
Sorry for late reply. I'm pretty busy in making sure JStock Android is running well.
For optimization, I believe the history fetcher will check whether there is some saved local data, before deciding to fetch data through network.
I think you can start from this code :
Change it to
StockHistoryServer stockHistoryServer = null;
will make sure history is being fetched over network everytime, and not using the saved cached data.