Open kasperosterbye opened 3 years ago
It turns out that in some cases one can use the "_" (underscore) instead of "-" (dash).
Thanks - I added this to the github issue for others to find.
Best,
Kasper
On 14 Mar 2021, at 17.07, TimMonks @.***> wrote:
Hi, I noticed your comment as I had been doing some development using HEXAB.XSTO. If you change "-" to "" then it will work: swed_a.xsto But be careful, I found that HEXA_B.XSTO prices stopped a few weeks ago, never to resume. No response from support.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apilayer/marketstack/issues/20#issuecomment-798933089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHHCYN2MSIVM55QGIAV5MTTDTNMFANCNFSM4WQM5VDA.
Some Danish and Swedish company symbols contains a dash
-
. For example:If I try end-of-day for any of these three I just get an error message that there is no symbols. For example:
http://api.marketstack.com/v1/eod?access_key=myKey&symbols=alk-b.xcse
gives:
If instead one tries with a company without a dash in its symbol - eg. CHR.XCSE as in:
http://api.marketstack.com/v1/eod?access_key=myKey&symbols=CHR.XCSE
it works like a charm!