AKShare is an elegant and simple financial data interface library and can be used to get real-time and historical stock data of A-shares stocks.
Author: jingfelix
Version: 0.0.1
Type: tool
AKShare is an elegant and simple financial data interface library for Python. This plugin enables you to use AKShare in Dify.
You can use this plugin to get stock data, including:
Authentication
dify-plugin-AKShare uses XueQiu API to get stock data. You need to authenticate with XueQiu to get the token from cookies. You can use the following code to get the token:
Configuration
Fill in the token to authorize the plugin.

Usage Example
You can use plugin to get basic info, spot data and historical data of specific stocks. For example, to get the basic info of stock with code "SH600000":

Please refer to PRIVACY.md for the privacy policy of this plugin.
Last updated: 2025-05-24