Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Symbols with dot did not work always #25

Open
MdmrBerlin opened this issue May 6, 2021 · 2 comments
Open

Symbols with dot did not work always #25

MdmrBerlin opened this issue May 6, 2021 · 2 comments

Comments

@MdmrBerlin
Copy link

BMW.FRK is an valid symbol for example
This is not working in Demo Core

var querya = new Dictionary<string, string>() { {"symbol", "BMW.FRK"} }; string test = await client.RequestPureJsonAsync(ApiFunction.OVERVIEW, querya,true);

But this works fine
` StockTimeSeries stockTs = await stocksClient.GetTimeSeriesAsync("BMW.DEX", Interval.Daily, OutputSize.Compact, isAdjusted: true);

        GlobalQuote globalQuote = await stocksClient.GetGlobalQuoteAsync("BMW.DEX");

`

Is there any howto handle symbols with dot ? Most of non US Symbols has an dot.

@kirlut
Copy link
Owner

kirlut commented May 7, 2021

@MdmrBerlin I don't think that they are supported by API itself. For example, call https://www.alphavantage.co/query?function=OVERVIEW&symbol=BMW.DEX&apikey=1 returns empty response

@MdmrBerlin
Copy link
Author

Thank you for your feedback kirlut, I think this is an issue with the dot termination.

I got this result for searching ( https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=BMW&apikey=1 )
{ "bestMatches": [ { "1. symbol": "BMW.FRK", "2. name": "Bayerische Motoren Werke Aktiengesellschaft", "3. type": "Equity", "4. region": "Frankfurt", "5. marketOpen": "08:00", "6. marketClose": "20:00", "7. timezone": "UTC+02", "8. currency": "EUR", "9. matchScore": "0.7500" }, { "1. symbol": "BMWLF", "2. name": "Bluma Wellness Inc", "3. type": "Equity", "4. region": "United States", "5. marketOpen": "09:30", "6. marketClose": "16:00", "7. timezone": "UTC-04", "8. currency": "USD", "9. matchScore": "0.7500" }, { "1. symbol": "BMWYY", "2. name": "Bayerische Motoren Werke AG", "3. type": "Equity", "4. region": "United States", "5. marketOpen": "09:30", "6. marketClose": "16:00", "7. timezone": "UTC-04", "8. currency": "USD", "9. matchScore": "0.7500" }, { "1. symbol": "BMW.DEX", "2. name": "Bayerische Motoren Werke Aktiengesellschaft", "3. type": "Equity", "4. region": "XETRA", "5. marketOpen": "08:00", "6. marketClose": "20:00", "7. timezone": "UTC+02", "8. currency": "EUR", "9. matchScore": "0.6667" }, { "1. symbol": "BMW3.FRK", "2. name": "Bayerische Motoren Werke Aktiengesellschaft", "3. type": "Equity", "4. region": "Frankfurt", "5. marketOpen": "08:00", "6. marketClose": "20:00", "7. timezone": "UTC+02", "8. currency": "EUR", "9. matchScore": "0.6667" }, ... } ]
The symbols exist, bit there is no result, only for time series, confusing.

Have an nice weekend

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

2 participants