AlphaVantage.Net icon indicating copy to clipboard operation
AlphaVantage.Net copied to clipboard

Symbols with dot did not work always

Open MdmrBerlin opened this issue 4 years ago • 2 comments

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.

MdmrBerlin avatar May 06 '21 17:05 MdmrBerlin

@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

kirlut avatar May 07 '21 10:05 kirlut

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

MdmrBerlin avatar May 07 '21 15:05 MdmrBerlin