I've been looking for information on this but haven't found it, so I'm asking the experts for help.
When I click the "Auto-update quotes (AmiQuote)" button, AmiQuote opens and starts downloading all the tickers I have in the database. It also has default from/to dates.
I have some tickers that I don't want AmiQuote to update (I update them myself from other sources and using other methods) and other tickers that I do want AmiQuote to update.
I want the start date to be different from the default (for example, I want to use 01/01/1990) and the end date to be today.
I've been struggling with this, unchecking tickers, creating .tls lists with only the tickers I want to update, but nothing works.
Put them in composites group (Group 253) and they won't be retrieved. Composites group (253) is used for symbols that are synthetic that are generated by Amibroker (via AddToCompostite or during backtest (see ~~~EQUITY synthetic ticker).
All symbols in group 253 are excluded from update via AmiQuote.
Do I need to put all the tickers I don't want AmiQuote to update in group 253? Isn't it possible to configure AmiQuote to update specific tickers and not others?
And also, how can I change the default dates to the ones I want?
Another option, which also requires your own .tls file, is to use AmiQuote via OLE Automation, controlling it with a script (JScript, VBScript, or any other Windows‑supported scripting language).
However, for your specific use case, the first method will likely be sufficient.
I finally managed to create a button from Tools, create the .tls list, and a script. I don't know if it's right, but it works!
The script:
Dim aq
Set aq = CreateObject("AmiQuote.Document")
' 1. SUSTITUYE ESTO POR LA RUTA REAL DE TU ARCHIVO EN TU PC
aq.Open "C:\Program Files\AmiBroker\AmiQuote\ETF_Tiingo.tls"
' 2. Ajusta el año, mes y día de inicio si lo necesitas
aq.From = DateSerial(1990, 1, 1)
aq.To = Date
aq.Download
' 3. Bucle nativo de AmiBroker para mantener el proceso vivo mientras descarga
While aq.DownloadInProgress
WScript.Sleep 1000
Wend
MsgBox "Descarga de AmiQuote finalizada."
Now, simply clicking the button opens AmiQuote and updates only the tickers I want, from the date I specify up to the current date.