AmiQuote 4.15 released

NOTICE:
Please make sure you have checked this post if you want to use Fundamental data download: AmiQuote 4.14 released - #2

A new public version of AmiQuote 4.15 is released now.

Direct links:
https://www.amibroker.com/bin/aq4150.exe (279KB) – 32 bit version
https://www.amibroker.com/bin/aq4150x64.exe (321KB) – 64 bit version

NOTE 1: 64-bit version of AmiQuote now requires Microsoft Visual C++ 2022 runtime. You may need to download the runtime separately and install it, if you are installing AmiQuote stand-alone (without AmiBroker 6.41.0 64-bit or higher already installed). If you already have AmiBroker 6.41.0 64-bit you don't need to do anything.

CHANGES FOR VERSION 4.15 (as compared to version 4.14)

  1. Implemented new cookie/crumb retrieval code that is supposed to address recent problems with Yahoo
  2. Added new menus Help->Troubleshooting->Windows Interent Settings and Help->Troubleshooting->Clear cookies for ease of accessing WINET settings
  3. Added new command line parameter: /destfolder
  4. Added new command line parameter: /source
  5. Added new command line parameter: /symbols

CHANGES FOR VERSION 4.14 (as compared to version 4.13)

  1. updated faster Yahoo crumb retrieval

CHANGES FOR VERSION 4.13 (as compared to version 4.12)

  1. added support for {yahoo_crumb} field in user-definable data sources
  2. addressed recent Yahoo incompatibility in User definable data source: Yahoo Fundamental Extra New (you have to IMPORT this updated data source using Data Source->Import)

CHANGES FOR VERSION 4.12 (as compared to version 4.10)

  1. addressed incompatibility with Yahoo on some of users' computers after recent Yahoo changes

CHANGES FOR VERSION 4.10 (as compared to version 4.06)

  1. added support for JSON-based user-definable data sources
  2. added Javascript formula engine to run user-definable post-processing functions to transform server response into AmiBroker-importable CSV format (Javascript engine includes JSON parser to easily parse JSON output)
  3. added File->Download Ticker List dialog to download pre-defined symbol lists for different markets around the globe
  4. added example Polygon.IO user-definable data source that shows the power and flexibility of Javascript post-processing
  5. download progress is reported in KB (useful for larger downloads)

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

This thread continues the discussion from AmiQuote 4.14 released

7 Likes

Hello
It's been a long time since I updated Amiqute data, but I can't. I've updated to the latest version 4.15 and tried both 32bit and 64bit Amibroker but it doesn't work at all. Has anyone experienced the same as me. Thank's



Did you import the file ?

2 Likes

Again and again, please DO READ THE INSTRUCTIONS: How to import Yahoo Fundamental New - YOU MUST DO THAT EVEN IF YOU ALREADY HAVE that data source!

1 Like

Thanks Tomasz, I got the 32bit version, but the 64bit version always closes Amiqute when opened and on the other laptop it always has an error. I've tried allowing apps on the firewall, but it still doesn't work. Thanks

Sorry, but Internet connectivity is something that user has to solve on their own. People install way too many "antiviruses", "sandboxes" or whatever 3rd party stuff that messes up with the system for me to spend time figuring out what the heck end user installed on their end.
AmiQuote does NOT require any special configuration, it works out of the box on CLEAN INSTALLATION OF WINDOWS. It only uses outbound connections on normal HTTP and HTTPS ports (80/443). This is enabled by default on all clean Windows installations and does not require anything but NOT installing 3rd party nonsense.

Xan2 Amiqoute 1

I only use Windows' built-in anti-virus, maybe someone has experienced problems like me and would be kind enough to share :pray:

If Amiqute is on an office laptop, it always closes when opened, even though it has been updated to the latest version. Even though version 4.12 is running smoothly. Thank's

The screenshots that you send are completely unreadable. There is an error message displayed at the bottom of AmiQuote screen, but in this screenshot it is totally unclear. Please use tools that produce clear image such as ScreenToGif

Tomasz

Hi Tomasz,

Im also having problems with 4.15. Yahoo Historical locks up and eventually will get a gave up message, other times it tells me to check my internet connection which I know is ok because Tiingo Historical comes in fine with the firewall on, though I always use yahoo to update the whole database.

Solved:
I think I know what happened. I had to completely reload my computer, so I copied the backup Ami directory to Program Files, then downloaded 4.15, started Ami, started Quote and it crashed with OLE errors because I did not reinstall Amibroker. So I reinstalled Amibroker and then quote locked up on Yahoo and only worked with Tiingo. Today I noticed that I had a notification saying the version of quote was out of date, checked the version and sure enough it was version 4.10! Apparently since I do not have the installer for 4.10 anywhere on my machine Im thinking that reinstalling Amibroker either overwrote 4.15 or installed 4.10 and re-pathed it. So I reinstalled 4.15 and now things seem to be working fine.

Coinbase API Datasource.

I am trying to set up a Coinbase API intraday datasource starting with a copy of the Polygon.IO datasource and I think mostly it is working except that Coinbase requires authorization via a JSON Web Token (JWT) instead of the raw api_key passed in as part of the URL "&api-key=". I understand the JWT needs to be passed with the HTTP request to the api via an "Authorization: Bearer $JWT" header and the JWT needs to be freshly generated since they expire after 2 minutes. Some generic code that would do this is like

fetch('https://api.example.com/data', {
  method: 'GET', // or 'POST', etc.
  headers: {
    'Authorization': 'Bearer your_jwt_token_here'
  }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

So I am wondering if there is any way to get this to work short of creating my own proxy server that relays the http request while generating and adding the authorization token. I have searched for and read as many of the old threads on datasource configuration and the readme but am now stuck. I think also Coinbase API uses UNIX EPOCH timestamps as from and to dates/times.

You can't set your own headers at the moment. Adding support for user-definable headers is already on the to-do list.

I am wondering if I can use the post processing js to resend the request with the appropriate header and a freshly generated JWT. So the initial request would fail unauthorized intentionally or could be directed to a dummy URL - maybe just add dummy to the front of the URL. Then when it fails, strip out the dummy string generate the JWT, add the header and resend the request. Could all be done with the existing Amiquote UI maybe? I will try this and see how far I can get, but any pointers would be appreciated.

No, post processing script in Javascript is meant to post process the response received from server and generate CSV format file.

When servers require complex multi-stage requests-responses it is advised to just write separate script in whatever language (Javascript, Python or whatever)
and use OLE automation to do the imports.