Next: , Previous: , Up: Top   [Index]

15 Download

The Tools/Download menu entry opens the download dialog. Choose “What” to download, either all symbols, the favourites list, or a particular symbol.

The default is an update of all symbols. This is usually what’s wanted, to get all latest data.

Click on the “Start” button to begin. The top box is the subprocesses running, the middle box is the jobs running or queued, and errors are shown in the lower text window. If you’re offline the errors will usually be “host name lookup failure” or “network unreachable”. To abort select the job in the middle box and click on “Stop”.

The main chart display can be used while downloading, for instance to look immediately at the first few symbols updated while the rest are still going. Sometimes a database update can make the GUI block for a moment.

15.1 Update Current Chart

In the main Chart window, Ctrl-U starts an update download for the currently viewed chart. This is a good shortcut to grab new data for just one symbol. Download progress is shown in the main window statusbar (as well as the download dialog).

15.2 Download Automation

You can run ‘chart --download’ to do a command-line (non-GUI) download (see Invocation), for instance in a script perhaps when first going online, or at selected times. Progress messages are shown if the output is a terminal.

Care should be taken not to hammer the various data sources when automating downloads. Keep update attempts to times when there should be new data, and don’t retry endlessly.

Chart tries to know when to expect new data, and will do nothing in an update until then, but this is often imperfect. Public holidays (with no data) are not tracked, and it’s easy for a data source to be delayed unexpectedly.

Next: , Previous: , Up: Top   [Index]

Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2016, 2017 Kevin Ryde

Chart is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.