A comprehensive A-share stock market analysis toolkit supporting real-time data queries, technical analysis, and portfolio management.
python
from scripts.stock_analyzer import query_realtime_price
# Query single stock
result = query_realtime_price("600519.SH")
print(f"Current price: {result['price']}")
python
from scripts.stock_analyzer import query_technical_indicators
# Get technical analysis
indicators = query_technical_indicators("000001.SZ")
print(f"RSI: {indicators['rsi']}")
print(f"MACD: {indicators['macd']}")
python
from scripts.stock_analyzer import query_open_summary, query_close_summary
# Opening summary
open_data = query_open_summary("600519.SH")
# Closing summary
close_data = query_close_summary("000001.SZ,600519.SH")