Reload the historical data while the program is running

  • Fernando Vicentini

    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?

  • yccheok

    yccheok - 2013-08-05

    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.