【问题标题】:Intrinio GetSecurityIntradayPrices example not working - error converting value "iex" to type 'System.Nullable'Intrinio GetSecurityIntradayPrices 示例不起作用 - 将值“iex”转换为类型“System.Nullable”时出错
【发布时间】: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


    【解决方案1】:

    回到 Intrinio.SDK 的 5.4.0 版本似乎可以解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-12-15
      • 1970-01-01
      • 2015-09-21
      • 2020-11-15
      • 2020-11-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多