【发布时间】:2020-10-05 09:18:21
【问题描述】:
我尝试使用 Intrinio 的 GetSecurityIntradayPrices 示例,但它会引发异常。这是代码的链接:https://docs.intrinio.com/documentation/csharp/get_security_intraday_prices_v2
我想提一下其他示例/功能也有效。 我改变了 var identifier = "AAPL"; 添加了我的沙盒 API 密钥。 尝试将源作为空字符串,但它需要是“iex”或“bats”。 在我将源字符串更改为“iex”或“bats”后,它会引发相同的错误。这是一张有错误的图片:Error converting value "iex" to type 'System.Nullable'
还没有找到解决这个问题的方法。
【问题讨论】:
标签: c# api exception error-handling type-conversion