Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Problems with symbols that contain a dash (eg. ALK-B.XCSE) #20

Open
kasperosterbye opened this issue Jan 24, 2021 · 2 comments
Open

Problems with symbols that contain a dash (eg. ALK-B.XCSE) #20

kasperosterbye opened this issue Jan 24, 2021 · 2 comments

Comments

@kasperosterbye
Copy link

Some Danish and Swedish company symbols contains a dash -. For example:

  • alk-b.xcse - Alk-abello A/S B Aktie
  • novo-b.xcse - Novo Nordisk A/S B Aktie
  • swed-a.xsto - SWEDBANK AB

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:

{"error":{"code":"no_valid_symbols_provided","message":"At least one valid symbol must be provided"}}

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!

@kasperosterbye
Copy link
Author

It turns out that in some cases one can use the "_" (underscore) instead of "-" (dash).

@kasperosterbye
Copy link
Author

kasperosterbye commented Mar 15, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant