chinapengwei

Results 2 issues of chinapengwei

在我的工程中build.gradle中引入'com.liaoinstan.springview:library:1.5.0',报“Attribute "type" already defined with incompatible format. Message{kind=ERROR, text=Attribute "type" already defined with incompatible format., sources=[C:\Users\chinapengwei\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.0.aar\a4e06ca6855feb60902ac8ff1dc8a097\res\values\values.xml:251:5-69], original message=, tool name=Optional.of(AAPT)}”,是资源冲突了。我在代码中找过,在代码中没有找到。我单独生成一个工程引入包则没有问题,应该是引用的第三方包造成的。请问有什么办法解决。

efinance的版本是 0.5.5.2,get_realtime_quotes这个函数在今年4月12号之前以每访问一次间隔一秒的频率运行一直是正常的,但从4月14号开始就开发以这种频率下运行半小时就会发生异常报错,报错信息为“HttpConnectionPool(host='push2.eastmoney.com',prot=80):Max retries exceeded with url: Caused by ProtocolError(connection aborted,RemoteDisconnected('Remote end closed connection without response'))”。感觉可能是东财网为了防止并发访问而采取的防范措施,看代码get_realtime_quotes里面使用了线程池,这个效率上确实很快,可能调用的人多了就加了防范措施。我们这种自己写量化程序的,最怕的就是没有一个稳定的数据源,没有数据再好的量化算法也白搭。麻烦大神看看有没有什么办法解决。