Repository Analysis

akfamily/akshare

AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库

9.1 Low AI signal View on GitHub
9.1
Adjusted Score
9.1
Raw Score
100%
Time Factor
2026-05-27
Last Push
19,866
Stars
Python
Language
182,622
Lines of Code
469
Files
1770
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 106MEDIUM 34LOW 1630

Pattern Findings

1770 matches across 9 categories. Click a row to expand file-level details.

Unused Imports1100 hits · 560 pts
SeverityFileLineSnippet
LOWakshare/__init__.py3275
LOWakshare/__init__.py3281
LOWakshare/__init__.py3286
LOWakshare/__init__.py3286
LOWakshare/__init__.py3286
LOWakshare/__init__.py3286
LOWakshare/__init__.py3286
LOWakshare/__init__.py3286
LOWakshare/__init__.py3298
LOWakshare/__init__.py3298
LOWakshare/__init__.py3303
LOWakshare/__init__.py3308
LOWakshare/__init__.py3313
LOWakshare/__init__.py3318
LOWakshare/__init__.py3323
LOWakshare/__init__.py3328
LOWakshare/__init__.py3328
LOWakshare/__init__.py3333
LOWakshare/__init__.py3333
LOWakshare/__init__.py3338
LOWakshare/__init__.py3338
LOWakshare/__init__.py3343
LOWakshare/__init__.py3343
LOWakshare/__init__.py3343
LOWakshare/__init__.py3352
LOWakshare/__init__.py3352
LOWakshare/__init__.py3352
LOWakshare/__init__.py3352
LOWakshare/__init__.py3361
LOWakshare/__init__.py3361
LOWakshare/__init__.py3361
LOWakshare/__init__.py3366
LOWakshare/__init__.py3371
LOWakshare/__init__.py3371
LOWakshare/__init__.py3371
LOWakshare/__init__.py3380
LOWakshare/__init__.py3380
LOWakshare/__init__.py3385
LOWakshare/__init__.py3385
LOWakshare/__init__.py3390
LOWakshare/__init__.py3390
LOWakshare/__init__.py3395
LOWakshare/__init__.py3395
LOWakshare/__init__.py3400
LOWakshare/__init__.py3400
LOWakshare/__init__.py3408
LOWakshare/__init__.py3408
LOWakshare/__init__.py3413
LOWakshare/__init__.py3418
LOWakshare/__init__.py3423
LOWakshare/__init__.py3428
LOWakshare/__init__.py3433
LOWakshare/__init__.py3433
LOWakshare/__init__.py3433
LOWakshare/__init__.py3438
LOWakshare/__init__.py3438
LOWakshare/__init__.py3438
LOWakshare/__init__.py3443
LOWakshare/__init__.py3448
LOWakshare/__init__.py3448
1040 more matches not shown…
Hyper-Verbose Identifiers404 hits · 390 pts
SeverityFileLineSnippet
LOWakshare/request.py10def make_request_with_retry_json(
LOWakshare/request.py65def make_request_with_retry_text(
LOWakshare/stock_fundamental/stock_basic_info_xq.py15def stock_individual_basic_info_xq(
LOWakshare/stock_fundamental/stock_basic_info_xq.py46def stock_individual_basic_info_us_xq(
LOWakshare/stock_fundamental/stock_basic_info_xq.py77def stock_individual_basic_info_hk_xq(
LOWakshare/stock_fundamental/stock_hold.py58def stock_institute_hold_detail(
LOWakshare/stock_fundamental/stock_finance_hk_em.py13def stock_financial_hk_report_em(
LOWakshare/stock_fundamental/stock_finance_hk_em.py108def stock_financial_hk_analysis_indicator_em(
LOWakshare/stock_fundamental/stock_profit_forecast_ths.py17def stock_profit_forecast_ths(
LOWakshare/stock_fundamental/stock_restricted_em.py14def stock_restricted_release_summary_em(
LOWakshare/stock_fundamental/stock_restricted_em.py106def stock_restricted_release_detail_em(
LOWakshare/stock_fundamental/stock_restricted_em.py209def stock_restricted_release_queue_em(symbol: str = "600000") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_restricted_em.py301def stock_restricted_release_stockholder_em(
LOWakshare/stock_fundamental/stock_notice.py151def stock_individual_notice_report(
LOW…re/stock_fundamental/stock_profit_forecast_hk_etnet.py15def stock_hk_profit_forecast_et(
LOWakshare/stock_fundamental/stock_recommend.py14def stock_institute_recommend(symbol: str = "投资评级选股") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_recommend.py76def stock_institute_recommend_detail(symbol: str = "000001") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_finance_ths.py18def stock_financial_abstract_ths(
LOWakshare/stock_fundamental/stock_finance_ths.py92def stock_financial_benefit_ths(
LOWakshare/stock_fundamental/stock_finance_ths.py194def stock_financial_abstract_new_ths(
LOWakshare/stock_fundamental/stock_finance_ths.py291def stock_financial_debt_new_ths(
LOWakshare/stock_fundamental/stock_finance_ths.py380def stock_financial_benefit_new_ths(
LOWakshare/stock_fundamental/stock_finance_ths.py477def stock_financial_cash_new_ths(
LOWakshare/stock_fundamental/stock_finance_ths.py574def stock_management_change_ths(symbol: str = "688981") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_finance_ths.py622def stock_shareholder_change_ths(symbol: str = "688981") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_finance_sina.py24def stock_financial_report_sina(
LOWakshare/stock_fundamental/stock_finance_sina.py181def stock_financial_analysis_indicator_em(
LOWakshare/stock_fundamental/stock_finance_sina.py228def stock_financial_analysis_indicator(
LOWakshare/stock_fundamental/stock_finance_sina.py340def stock_history_dividend_detail(
LOWakshare/stock_fundamental/stock_finance_sina.py511def stock_restricted_release_queue_sina(symbol: str = "600000") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_finance_sina.py543def stock_circulate_stock_holder(symbol: str = "600000") -> pd.DataFrame:
LOWakshare/stock_fundamental/stock_finance_us_em.py15def __stock_financial_us_report_query_market_em(symbol: str = "TSLA") -> str:
LOWakshare/stock_fundamental/stock_finance_us_em.py45def __stock_financial_us_report_em(
LOWakshare/stock_fundamental/stock_finance_us_em.py110def stock_financial_us_report_em(
LOWakshare/stock_fundamental/stock_finance_us_em.py158def stock_financial_us_analysis_indicator_em(
LOWakshare/crypto/crypto_hold.py13def crypto_bitcoin_hold_report():
LOWakshare/movie/movie_yien.py318def movie_boxoffice_yearly_first_week(date: str = "20201018") -> pd.DataFrame:
LOWakshare/movie/movie_yien.py369def movie_boxoffice_cinema_daily(date: str = "20240219") -> pd.DataFrame:
LOWakshare/movie/movie_yien.py407def movie_boxoffice_cinema_weekly(date: str = "20240219") -> pd.DataFrame:
LOWakshare/futures/futures_hq_sina.py38def futures_foreign_commodity_subscribe_exchange_symbol() -> list:
LOWakshare/futures/futures_hq_sina.py58def futures_hq_subscribe_exchange_symbol() -> pd.DataFrame:
LOWakshare/futures/futures_hq_sina.py103def futures_foreign_commodity_realtime(symbol: Union[str, List[str]]) -> pd.DataFrame:
LOWakshare/futures/futures_comm_qihuo.py16def _futures_comm_qihuo_process(df: pd.DataFrame, name: str = None) -> pd.DataFrame:
LOWakshare/futures/futures_to_spot.py128def futures_delivery_match_dce(symbol: str = "a") -> pd.DataFrame:
LOWakshare/futures/futures_to_spot.py198def futures_delivery_match_czce(date: str = "20210106") -> pd.DataFrame:
LOWakshare/futures/futures_warehouse_receipt.py23def futures_warehouse_receipt_czce(date: str = "20251103") -> dict:
LOWakshare/futures/futures_warehouse_receipt.py61def futures_warehouse_receipt_dce(date: str = "20251027") -> pd.DataFrame:
LOWakshare/futures/futures_warehouse_receipt.py104def futures_shfe_warehouse_receipt(date: str = "20200702") -> dict:
LOWakshare/futures/futures_warehouse_receipt.py159def futures_gfex_warehouse_receipt(date: str = "20240122") -> dict:
LOWakshare/futures/futures_basis.py301def futures_spot_price_previous(date: str = "20240430") -> pd.DataFrame:
LOWakshare/futures/futures_hf_em.py18def __futures_global_hist_market_code(symbol: str = "HG00Y") -> Optional[int]:
LOWakshare/futures/futures_contract_detail.py41def futures_contract_detail_em(symbol: str = "v2602F") -> pd.DataFrame:
LOWakshare/futures/futures_hist_em.py17def __futures_hist_separate_char_and_numbers_em(symbol: str = "焦煤2506") -> tuple:
LOWakshare/futures/futures_hist_em.py32def __fetch_exchange_symbol_raw_em() -> list:
LOWakshare/futures/futures_hist_em.py57def __get_exchange_symbol_map() -> Tuple[Dict, Dict, Dict, Dict]:
LOWakshare/futures/futures_zh_sina.py139def zh_subscribe_exchange_symbol(symbol: str = "cffex") -> pd.DataFrame:
LOWakshare/futures/cot.py818def futures_dce_position_rank(
LOWakshare/futures/cot.py1052def futures_dce_position_rank_other(date: str = "20160104"):
LOWakshare/futures/cot.py1171def __futures_gfex_contract_list(symbol: str = "si", date: str = "20240729") -> list:
LOWakshare/futures/cot.py1200def __futures_gfex_contract_data(
344 more matches not shown…
Cross-Language Confusion65 hits · 315 pts
SeverityFileLineSnippet
HIGHakshare/utils/demjson.py239# ECMAScript has an undefined value (similar to yet distinct from null).
HIGHakshare/utils/demjson.py240# Neither Python or strict JSON have support undefined, but to allow
HIGHakshare/utils/demjson.py260syntax_error = _undefined_class() # same as undefined, but has separate identity
HIGHakshare/utils/demjson.py3164 "Arrays may have omitted/elided elements, e.g., [1,,3] == [1,undefined,3]",
HIGHakshare/utils/demjson.py5201 obj.append(undefined)
HIGHakshare/stock/cons.py101 c.push(c0);
HIGHakshare/stock/cons.py102 if (c.length == 3 || i == s.length - 1)
HIGHakshare/stock/cons.py106 c.push(0);
HIGHakshare/stock/cons.py108 a.push((c[0] >> 2) & 63);
HIGHakshare/stock/cons.py109 a.push(((c[1] >> 4) | (c[0] << 6)) & 63);
HIGHakshare/stock/cons.py110 a.push(((c[1] << 4) | (c[2] >> 2)) & 63);
HIGHakshare/stock/cons.py111 a.push(c[2] & 63);
HIGHakshare/stock/cons.py117 a.push(0);
HIGHakshare/stock/cons.py437 t = 0; !(e >= n) && (e != n - 1 || 7 & (r.c ^ t)); t++) {
HIGHakshare/stock/cons.py445 u = "v" == m && r.rv ? y() : 1,
HIGHakshare/stock/cons.py449 if (!(l[h[m]] = a) && (s > 1 || 241 > t) && (r.zv ? !y() : 1)) {
HIGHakshare/stock/cons.py459 c.push(l)
HIGHakshare/stock/cons.py665 t.push(i)
HIGHakshare/stock/cons.py670 if (t = (t || 0).toString(),
HIGHakshare/stock/cons.py675 n.push(Math.floor(e * Math.pow(10, -e) + .5) - 0);
HIGHakshare/stock/cons.py883 t = 0; !(e >= i) && (e != i - 1 || 7 & (o.c ^ t)); t++) {
HIGHakshare/stock/cons.py891 c = "v" == p && o.rv ? _() : 1,
HIGHakshare/stock/cons.py895 if (!(l[d[p]] = r) && (s > 1 || 241 > t) && (o.zv ? !_() : 1)) {
HIGHakshare/stock/cons.py905 u.push(l)
HIGHakshare/stock/cons.py1114 t.push(n)
HIGHakshare/stock/cons.py1121 if (t = (t || 0).toString(),
HIGHakshare/stock/cons.py1126 i.push(Math.floor(e * Math.pow(10, -e) + .5) - 0);
HIGHakshare/stock/cons.py249 for (c.push("+", "/"),
HIGHakshare/stock/cons.py331 (3 == n || 4 == n) && (r.d += 5 - n);
HIGHakshare/stock/cons.py337 for (n = r.wd || 62,
HIGHakshare/stock/cons.py351 e && n[e - 1]++,
HIGHakshare/stock/cons.py405 i.push(l),
HIGHakshare/stock/cons.py406 !(e >= n) && (e != n - 1 || 63 & (r.c ^ t + 1)); t++)
HIGHakshare/stock/cons.py519 l & 1 << 4 - e && i.l_l[e]++,
HIGHakshare/stock/cons.py533 t.push(n)
HIGHakshare/stock/cons.py548 n--)) : t.push(e),
HIGHakshare/stock/cons.py563 for (t = 0; !(e >= n) && (e != n - 1 || 7 & (r.c ^ t)); t++) {
HIGHakshare/stock/cons.py569 a.push(o)
HIGHakshare/stock/cons.py628 !r.b_avp && a.a && (r.u_a = P(i && i.amount || 0, 0, r.p_a))
HIGHakshare/stock/cons.py628 !r.b_avp && a.a && (r.u_a = P(i && i.amount || 0, 0, r.p_a))
HIGHakshare/stock/cons.py641 y() ? y() ? y() ? a.d = x() : r.l_v += N() : r.b_ph && y() ? r["l_" + "et".charAt(r.b_phx &&
HIGHakshare/stock/cons.py695 for (u.push("+", "/"),
HIGHakshare/stock/cons.py777 (3 == i || 4 == i) && (o.d += 5 - i);
HIGHakshare/stock/cons.py783 for (i = o.wd || 62,
HIGHakshare/stock/cons.py797 e && i[e - 1]++,
HIGHakshare/stock/cons.py851 n.push(l),
HIGHakshare/stock/cons.py852 !(e >= i) && (e != i - 1 || 63 & (o.c ^ t + 1)); t++)
HIGHakshare/stock/cons.py965 l & 1 << 4 - e && n.l_l[e]++,
HIGHakshare/stock/cons.py979 t.push(i)
HIGHakshare/stock/cons.py994 i--)) : t.push(e),
HIGHakshare/stock/cons.py1010 for (t = 0; !(e >= i) && (e != i - 1 || 7 & (o.c ^ t)); t++) {
HIGHakshare/stock/cons.py1016 r.push(a)
HIGHakshare/stock/cons.py1077 !o.b_avp && r.a && (o.u_a = C(n && n.amount || 0, 0, o.p_a))
HIGHakshare/stock/cons.py1077 !o.b_avp && r.a && (o.u_a = C(n && n.amount || 0, 0, o.p_a))
HIGHakshare/stock/cons.py1090 _() ? _() ? _() ? r.d = x() : o.l_v += y() : o.b_ph && _() ? o["l_" + "et".charAt(o.b_phx &&
HIGHakshare/stock_feature/stock_cyq_em.py62 yrange.push((minprice + accuracy * i).toFixed(2) / 1);
HIGHakshare/stock_feature/stock_cyq_em.py77 turnoverRate = Math.min(1, eles.hsl / 100 || 0);
HIGHakshare/stock_feature/stock_cyq_em.py185 if (percent > 1 || percent < 0) throw 'argument "percent" out of range';
HIGHakshare/stock_feature/stock_cyq_em.py214 array.push(0);
HIGHakshare/stock_feature/stock_a_pe_and_pb.py20 if (n && n.length) {
5 more matches not shown…
Cross-File Repetition41 hits · 205 pts
SeverityFileLineSnippet
HIGHakshare/stock_fundamental/stock_finance_hk_em.py0(secucode="{stock}.hk")(report_date in ({"'" + "','".join(year_list) + "'"}))
HIGHakshare/stock_fundamental/stock_finance_hk_em.py0(secucode="{stock}.hk")(report_date in ({"'" + "','".join(year_list) + "'"}))
HIGHakshare/stock_fundamental/stock_finance_hk_em.py0(secucode="{stock}.hk")(report_date in ({"'" + "','".join(year_list) + "'"}))
HIGHakshare/movie/movie_yien.py0get js file path :param name: file name :type name: str :param module_file: filename :type module_file: str :return: 路径
HIGHakshare/movie/video_yien.py0get js file path :param name: file name :type name: str :param module_file: filename :type module_file: str :return: 路径
HIGHakshare/movie/artist_yien.py0get js file path :param name: file name :type name: str :param module_file: filename :type module_file: str :return: 路径
HIGHakshare/movie/movie_yien.py0read the file content :param file_name: filename :type file_name: str :return: file content :rtype: str
HIGHakshare/movie/video_yien.py0read the file content :param file_name: filename :type file_name: str :return: file content :rtype: str
HIGHakshare/movie/artist_yien.py0read the file content :param file_name: filename :type file_name: str :return: file content :rtype: str
HIGHakshare/bond/bond_issue_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_industry_pe_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_hold_num_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_dividend_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_rank_forecast.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_cg_guarantee.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_hold_control_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_ipo_summary_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_allotment_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_profile_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_industry_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_cg_equity_mortgage.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_share_changes_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock/stock_new_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock_feature/stock_board_industry_ths.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock_feature/stock_technology_ths.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock_feature/stock_board_concept_ths.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock_feature/stock_fund_flow.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/fund/fund_report_cninfo.py0获取 js 文件的内容 :param file: js 文件名 :type file: str :return: 文件内容 :rtype: str
HIGHakshare/stock_feature/stock_fhps_em.py0(report_date='{"-".join([date[:4], date[4:6], date[6:]])}')
HIGHakshare/stock_feature/stock_sy_em.py0(report_date='{"-".join([date[:4], date[4:6], date[6:]])}')
HIGHakshare/stock_feature/stock_sy_em.py0(report_date='{"-".join([date[:4], date[4:6], date[6:]])}')
HIGHakshare/stock_feature/stock_sy_em.py0(report_date='{"-".join([date[:4], date[4:6], date[6:]])}')
HIGHakshare/stock_feature/stock_sy_em.py0(report_date='{"-".join([date[:4], date[4:6], date[6:]])}')
HIGHakshare/stock_feature/stock_yjyg_em.py0(security_type_code in ("058001001","058001008"))(trade_market_code!="069001017") (report_date='{"-".join([date[:4], dat
HIGHakshare/stock_feature/stock_yjyg_em.py0(security_type_code in ("058001001","058001008"))(trade_market_code!="069001017") (report_date='{"-".join([date[:4], dat
HIGHakshare/stock_feature/stock_report_em.py0(security_type_code in ("058001001","058001008"))(trade_market_code!="069001017") (report_date='{"-".join([date[:4], dat
HIGHakshare/stock_feature/stock_report_em.py0(security_type_code in ("058001001","058001008"))(trade_market_code!="069001017") (report_date='{"-".join([date[:4], dat
HIGHakshare/stock_feature/stock_report_em.py0(security_type_code in ("058001001","058001008"))(trade_market_code!="069001017") (report_date='{"-".join([date[:4], dat
HIGHakshare/stock_feature/stock_three_report_em.py0(secucode="{symbol[2:]}.{symbol[:2]}")(report_date in ({",".join(report_date_list)}))
HIGHakshare/stock_feature/stock_three_report_em.py0(secucode="{symbol[2:]}.{symbol[:2]}")(report_date in ({",".join(report_date_list)}))
HIGHakshare/stock_feature/stock_three_report_em.py0(secucode="{symbol[2:]}.{symbol[:2]}")(report_date in ({",".join(report_date_list)}))
Deep Nesting97 hits · 81 pts
SeverityFileLineSnippet
LOWakshare/request.py10
LOWakshare/request.py65
LOWakshare/stock_fundamental/stock_profit_forecast_ths.py17
LOWakshare/stock_fundamental/stock_notice.py17
LOW…re/stock_fundamental/stock_profit_forecast_hk_etnet.py15
LOWakshare/stock_fundamental/stock_finance_ths.py194
LOWakshare/stock_fundamental/stock_finance_ths.py291
LOWakshare/stock_fundamental/stock_finance_ths.py380
LOWakshare/stock_fundamental/stock_finance_ths.py477
LOWakshare/futures/futures_comm_qihuo.py172
LOWakshare/futures/futures_daily_bar.py24
LOWakshare/futures/futures_daily_bar.py341
LOWakshare/futures/futures_daily_bar.py637
LOWakshare/futures/futures_warehouse_receipt.py104
LOWakshare/futures/futures_basis.py79
LOWakshare/futures/futures_basis.py146
LOWakshare/futures/futures_roll_yield.py74
LOWakshare/futures/requests_fun.py16
LOWakshare/futures/requests_fun.py53
LOWakshare/futures/cot.py110
LOWakshare/futures/cot.py566
LOWakshare/futures/cot.py818
LOWakshare/futures/cot.py1052
LOWakshare/futures/receipt.py82
LOWakshare/futures/receipt.py386
LOWakshare/futures/receipt.py571
LOWakshare/futures/futures_settle.py59
LOWakshare/futures/futures_settle.py349
LOWakshare/futures/cons.py522
LOWakshare/bank/bank_cbirc_2020.py111
LOWakshare/bond/bond_zh_cov.py542
LOWakshare/economic/macro_china.py317
LOWakshare/other/other_car_cpca.py13
LOWakshare/other/other_car_cpca.py163
LOWakshare/other/other_car_cpca.py276
LOWakshare/other/other_car_cpca.py412
LOWakshare/other/other_car_cpca.py528
LOWakshare/other/other_car_cpca.py685
LOWakshare/other/other_car_cpca.py722
LOWakshare/utils/demjson.py79
LOWakshare/utils/demjson.py275
LOWakshare/utils/demjson.py3068
LOWakshare/utils/demjson.py6182
LOWakshare/utils/demjson.py718
LOWakshare/utils/demjson.py853
LOWakshare/utils/demjson.py943
LOWakshare/utils/demjson.py1270
LOWakshare/utils/demjson.py1516
LOWakshare/utils/demjson.py2234
LOWakshare/utils/demjson.py2715
LOWakshare/utils/demjson.py2835
LOWakshare/utils/demjson.py3265
LOWakshare/utils/demjson.py3456
LOWakshare/utils/demjson.py3521
LOWakshare/utils/demjson.py3647
LOWakshare/utils/demjson.py4075
LOWakshare/utils/demjson.py4406
LOWakshare/utils/demjson.py4474
LOWakshare/utils/demjson.py4844
LOWakshare/utils/demjson.py4989
37 more matches not shown…
Decorative Section Separators30 hits · 77 pts
SeverityFileLineSnippet
MEDIUMakshare/other/other_taptap.py14# ============================================================
MEDIUMakshare/other/other_taptap.py16# ============================================================
MEDIUMakshare/utils/demjson.py236# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py784# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py786# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py1042# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py1044# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py43# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py62# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py264# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py681# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py738# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py1590# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py1592# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py1753# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py1755# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2182# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2184# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2400# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2402# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2453# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2455# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2602# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2604# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2869# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py2871# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py3706# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py3708# ----------------------------------------------------------------------
MEDIUMakshare/utils/demjson.py6106# ------------------------------
MEDIUMakshare/utils/demjson.py6408# ======================================================================
Excessive Try-Catch Wrapping27 hits · 26 pts
SeverityFileLineSnippet
LOWakshare/stock_fundamental/stock_ipo_review.py66 except Exception as e:
LOWakshare/stock_fundamental/stock_finance_sina.py583 except Exception as e:
LOWakshare/stock_fundamental/stock_finance_sina.py653 except Exception as e:
LOWakshare/stock_fundamental/stock_finance_sina.py725 except Exception as e:
LOWakshare/stock_fundamental/stock_ipo_tutor.py68 except Exception as e:
LOWakshare/futures/futures_basis.py132 except Exception as e: # noqa: E722
MEDIUMakshare/economic/macro_bank.py77 print(f"Error fetching data: {e}")
MEDIUMakshare/utils/demjson.py1797def restore_position(self):
LOWakshare/utils/demjson.py1838 except Exception as err:
LOWakshare/utils/demjson.py2657 except Exception as err:
LOWakshare/utils/demjson.py3954 except Exception as err:
LOWakshare/utils/demjson.py5784 except Exception:
LOWakshare/utils/demjson.py6599 except Exception as err:
LOWakshare/utils/demjson.py6378 except Exception:
LOWakshare/utils/demjson.py6396 except Exception:
LOWakshare/news/news_baidu.py124 except Exception as e:
LOWakshare/stock/stock_us_sina.py174 except Exception:
LOWakshare/stock/stock_us_sina.py178 except Exception as e:
LOWakshare/stock/stock_us_sina.py183 except Exception:
LOWakshare/stock/stock_us_sina.py187 except Exception as e:
LOWakshare/stock/stock_zh_kcb_sina.py156 except Exception:
LOWakshare/stock/stock_zh_kcb_sina.py160 except Exception as e:
LOWakshare/stock/stock_zh_kcb_sina.py197 except Exception:
LOWakshare/stock/stock_zh_kcb_sina.py201 except Exception as e:
LOWakshare/stock/stock_zh_kcb_sina.py228 except Exception:
LOWakshare/stock/stock_zh_kcb_sina.py232 except Exception as e:
LOWakshare/fund/fund_fee_em.py55 except Exception as e:
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOWpyproject.toml161
LOWdocs/conf.py61# Add any Sphinx extension module names here, as strings. They can be
LOWakshare/cal/rv.py121 # yang_zhang_rv formula is give as:
LOWakshare/fund/fund_etf_em.py341 :rtype: pandas.DataFrame
Self-Referential Comments2 hits · 1 pts
SeverityFileLineSnippet
MEDIUMakshare/utils/demjson.py6062 """This method is used to encode user-defined class objects.
MEDIUMakshare/utils/demjson.py6287 # Initialize the JSON object