AmiQuote 4.19 released

A new public version of AmiQuote 4.19 is released now.

INSTALLATION:
If you are using AmiBroker 6.93 you can install AmiQuote update using Help->Check for and Install updates menu

To install AmiQuote 4.19 in all other cases, please download and run AmiInstaller from:
https://www.amibroker.com/bin/AmiInstaller.exe
and follow on-screen directions

NOTE: 64-bit version of AmiQuote now requires Microsoft Visual C++ 2022 runtime. The setup program should detect missing runtime and download it for you. If it doesn't you may need to download the runtime separately and install it.

OS REQUIREMENTS: Works on Windows 11, Windows 10, as well as Windows 8.1 with TLS1.2 and Windows 7 with TLS 1.2

CHANGES FOR VERSION 4.19 (as compared to version 4.18)

  1. built-in Yahoo Historical re-implemented. Works again
  2. built-in Yahoo Historical performs 7 significant digits rounding to address incorrect data being sent by Yahoo API

CHANGES FOR VERSION 4.18 (as compared to version 4.17)

  1. Settings: auto-rotation of most common user agents implemented, to prevent cases when Yahoo blocks particular user agent
  2. Settings: added ability to select custom user agent (and list of predefined most common user agents) - custom setting works if auto-rotate is turned OFF
  3. Changed User Agent to : "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"

CHANGES FOR VERSION 4.17 (as compared to version 4.16)

  1. {symbol} is URL-encoded to prevent problems with symbols having special characters
  2. JScript compilation errors in user-defined data sources result now in FatalError that terminates downloads
  3. JScript errors don't display message boxes during downloads. Errors are displayed in-line
  4. Yahoo Finance Workaround definition improved - better error handling, increased history length, 300 requests per minute limit added to prevent Yahoo "Too many requests" error
  5. AmiBroker instance launched by OLE automation now is made visible
  6. AmiBroker instance is created once per run, not with every Import call
  7. database saving is triggered by OLE after imports
  8. current directory is preserved during use of file dialogs
  9. current directory check/adjustment is done at startup to ensure it is correct

CHANGES FOR VERSION 4.16 (as compared to version 4.15)

  1. When user tries to use Yahoo Historical appropriate defunct message is displayed
  2. Added ability to auto-import user definable data source during initial program run (after setup)
  3. If user data source with given name already exists, the importer asks to replace existing one instead of always creating a new copy
  4. New URL format fields {from_utime} and {to_utime} - they are replaced by UNIX time value of From and To dates respectively
  5. Translation table now supports user-definable data sources
  6. Added Yahoo workaround user data source definition to address breaking Yahoo changes

Full documentation on new features is included in the AmiQuote Read Me.

IMPORTANT NOTE:

Some people are apparently overdoing this and change defaults. Don't. The setup automatically detects everything.
When you run the installer - DON'T CHANGE the folder that setup suggested. It automatically detects where you have AmiBroker installed and proposes AmiBroker installation folder. And that is the only correct location. It should go to AmiBroker folder. Don't create subfolder for AmiQutoe. The setup BY ITSELF, will create AmiQuote subdirectory and put AmiQuote in its subdirectory. If you overdo and create subdirectory yourself you will have two subdirectories nested (wrong).

This thread continues the discussion from AmiQuote 4.18 released

5 Likes

Hi Tomasz, I was hoping to see an option to disable auto save as discussed on 4.18 announcement thread.

This will arrive in 4.20.

2 Likes

Now that you are working on a new release, please don’t forget about the option to disable auto save. Also you fixed regular yahoo (option 0) to download, however it doesn’t seem to import into AB.

1 Like

I am very reluctant to do so. NOBODY except you wants that. Providing this setting is opening Pandoras box for support as people will randomly click on settings and open cans of worms.
Since nobody except you wants that I will add that as registry setting, rather than just saying no.
As for Yahoo of course it imports, as long as "auto import" is turned on.

1 Like

Thanks Tomasz, you are the greatest.

Regular Yahoo doesn't import on my end. Auto Import is checked. I unchecked it and rechecked still doesn't work for me.

It might be importing to not this instance as you think. If you have multiple installations and/or multiple instances it might import to other instance. This is how Windows OLE works.

How OLE Automation Works with 32-bit and 64-bit Apps

  1. OLE Automation basics:
  • AmiQuote (the client) uses OLE Automation to talk to AMiBroker (the server).
  • It does this by asking Windows for the COM object corresponding to a ProgID like AMIBROKER.Application.
  • Windows looks in the Registry to find the executable registered to handle that ProgID.
  1. Bitness rules (32-bit vs 64-bit):
  • If only one version of AMiBroker is installed:
    • 32-bit AmiQuote → will talk to 64-bit AMiBroker if no 32-bit version exists.
    • 64-bit AmiQuote → will talk to 32-bit AMiBroker if no 64-bit version exists.
    • Essentially, the only available COM server is used.
  • If both 32-bit and 64-bit versions are installed:
    • The OLE client prefers the same bitness.
      • 32-bit AmiQuote → talks to 32-bit AMiBroker
      • 64-bit AmiQuote → talks to 64-bit AMiBrokerThis is why having both versions installed doesn’t cause a crash — the system always chooses the “matching” bitness first.
  1. Multiple installations of the same bitness:
  • Windows will use the installation registered in the registry for that ProgID.
  • Example: Two 32-bit AMiBroker installations (older v6 and newer v7):
    • The ProgID AMIBROKER.Application points to one executable (the one “registered” last or explicitly set).
    • AmiQuote will talk to that registered installation, ignoring the other.

Summary Rules for AmiQuote → AMiBroker

AmiQuote bitness AMiBroker installed Which one is used
32-bit Only 64-bit 64-bit AMiBroker
32-bit Both 32-bit & 64-bit 32-bit AMiBroker (prefer same bitness)
64-bit Only 32-bit 32-bit AMiBroker
64-bit Both 32-bit & 64-bit 64-bit AMiBroker (prefer same bitness)

SUPER Important: If multiple installations exist for the same bitness, the one registered in the Windows registry wins.

1 Like

Just one instance of AB. Nothing running but AB & AQ. Tried on two different PCs. It downloads but doesn't automatically import. If it works on your end & nobody else is complaining, then it is not worth your time to investigate. I'll continue to use the workaround.

Yes it does automatically import on my end and everyone's else. If anything doesn't work in AmiQuote I am IMMEDIATELLY bombarded with hundreds of emails on support within hours from release.

Go to Tools->Get Tickers from AmiBroker and see if it retrieves tickers from running AmiBroker instance.

1 Like

Continue discussion here: AmiQuote 4.30 released