R, Python and Windows CMD scripts to get and format quotes for closed-end funds and exchange-traded funds.
(1) Install Python 3, R and the R quantmod package.
(2) On Windows, run the script cef_times.bat from a CMD terminal.
Change the symbols in xget_quotes_cefs.r and xget_quotes_etfs_for_cefs.r as desired.