Loading...
Loading...
AKShare is an open-source financial data interface library that provides full-category financial data including stocks, futures, options, funds, foreign exchange, bonds, indices, and cryptocurrencies; it is used when users need to obtain various financial market data
npx skill4agent add lzwme/finance-quant-skills aksharepip install akshare --upgradepython scripts/stock_data.py --type hist --symbol 000001 --start 20240101 --end 20240131python scripts/futures_data.py --type daily --exchange CFFEX --start 20240101 --end 20240131python scripts/fund_data.py --type etf --symbol 510300python scripts/forex_data.py --type spot --symbol usdpython scripts/macro_data.py --type gdppython scripts/crypto_data.py --type price --symbol BTC/USDT--period--adjustpython scripts/stock_data.py --type hist --symbol 600519 --start 20240101 --end 20241231 --period daily --adjust qfqpython scripts/futures_data.py --type daily --symbol IF2406 --start 20240101 --end 20240131python scripts/fund_data.py --type etf --symbol 510300python scripts/macro_data.py --type gdpak.stock_zh_a_spot_em()ak.stock_zh_a_hist(symbol, period, start_date, end_date, adjust)ak.stock_zh_a_hist_min_em(symbol, period, start_date, end_date)ak.stock_individual_info_em(symbol)ak.stock_fundamental(symbol)ak.stock_valuation(symbol)ak.stock_hk_spot_em()ak.stock_hk_hist()ak.stock_us_daily(symbol)ak.stock_us_spot_em()ak.futures_zh_spot()get_futures_daily(start_date, end_date, market)ak.futures_inventory_99(symbol)ak.fund_etf_spot_em()ak.fund_etf_hist_em(symbol, period, start_date, end_date, adjust)ak.fund_open_fund_daily_em(symbol)ak.fund_rating_all()ak.option_hist_dce(symbol)ak.option_sse_spot_price(symbol)ak.bond_zh_cov()ak.bond_zh_hs_cov_daily(symbol)ak.bond_spot_quote()ak.forex_spot_em()ak.forex_usd_cny()ak.metals_gold()ak.stock_zh_index_daily_em(symbol)ak.index_stock_cons_csindex(symbol)ak.crypto_binance_symbols()ak.crypto_binance_btc_usdt_spot()ak.crypto_binance_btc_usdt_kline(period)ak.macro_china_gdp()ak.macro_china_gdp_yearly()ak.macro_china_cpi_yearly()ak.macro_china_cpi()ak.macro_china_pmi()ak.macro_usa_non_farm()ak.macro_usa_cpi_monthly()ak.stock_lhb_detail_em(start_date, end_date)ak.stock_margin_sse(start_date, end_date)ak.stock_hsgt_hist_em(symbol)ak.stock_gdfx_top_10_em(symbol, date)ak.stock_board_industry_name_em()ak.stock_restricted_release_queue_em(symbol)ak.stock_market_fund_flow()pip install akshare --upgrade{asset_type}_{market}_{data_type}_{data_source}stockfuturesfundbondforexoptionmacroindexzhushkspothistdailyminuteemsina"""qfq""hfq""daily""weekly""monthly""1""5""15""30""60"