A-shares fund-flow cannot use Tushare provider #486
Replies: 1 comment
|
Thanks for the report — dug into this.
The Adding a tushare (or other) fallback for real is a reasonable ask, but it's a product decision that touches all 4 single-source tools for consistency, not a quick patch to this one file — filed as #516 to track it properly. |
Uh oh!
There was an error while loading. Please reload this page.
In .env, user can set up tushare api key, but in fund_flow_tool.py, the functions won't use tushare as a provider. Actually, fund_flow_tool.py uses Eastmoney client as a only-one source, which always occur errors as follows: HTTPSConnectionPool(host='push2his.eastmoney.com', port=443): Max retries exceeded with url: /api/qt/stock/fflow/daykline/get?secid=1.603019&fields1=f1%2Cf2%2Cf3%2Cf7&fields2=f51%2Cf52%2Cf53%2Cf54%2Cf55%2Cf56%2Cf57%2Cf58%2Cf59%2Cf60%2Cf61%2Cf62%2Cf63%2Cf64%2Cf65&klt=101&lmt=0 (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))). please fix the problem and make fund-flow using other providers.
All reactions