AttributeError: 'TdxHq_API' object has no attribute 'get_market_info'
时间: 2023-10-30 11:09:05 浏览: 121
This error message is indicating that the object of type 'TdxHq_API' does not have a method or attribute called 'get_market_info'. It is possible that this method or attribute does not exist in the API library you are using or it may have a different name. You can check the documentation or source code of the library to verify the correct name and usage of the method or attribute you are trying to use.
相关问题
AttributeError: Plot_KF object has no attribute plotTraj_CA
AttributeError: Plot_KF object has no attribute plotTraj_CA的错误通常是因为在Plot_KF类中没有定义名为plotTraj_CA的属性或方法。可能的原因是代码中拼写错误或者忘记定义该属性或方法。解决此问题的方法是检查代码中是否正确定义了plotTraj_CA属性或方法,并确保拼写正确。如果代码正确,但仍然出现此错误,则可能需要检查代码中是否存在其他问题。
AttributeError: 'Basemap' object has no attribute 'set_extent'AttributeError: 'Basemap' object has no attribute 'set_extent'
这个错误通常是由于使用了过时的Basemap库导致的。建议使用Cartopy库来代替Basemap库,因为Cartopy库已经成为了Basemap库的替代品,并且具有更好的性能和更多的功能。在Cartopy库中,可以使用set_extent()方法来设置地图的范围。
阅读全文