Python SDK
Overview
Item
Details
Installation
pip install infoway-sdkQuick Start
from infoway import InfowayClient, KlineType
client = InfowayClient(api_key="YOUR_API_KEY")
# Real-time trades
trades = client.stock.get_trade("AAPL.US")
# Crypto daily K-lines
klines = client.crypto.get_kline("BTCUSDT", kline_type=KlineType.DAY, count=30)
# Market temperature
temp = client.market.get_temperature(market="HK,US")
# Industry sector ranking
plates = client.plate.get_industry("HK", limit=10)Configuration
Client Options
REST API Modules
Module
Accessor
Description
Market Data Methods (stock / crypto / japan / india / common)
Method
Description
Basic Info Methods
Market Overview Methods
Plate / Sector Methods
Stock Fundamental Methods
WebSocket Streaming
WebSocket Features
WebSocket Message Codes
Code
Name
Description
Code
Name
Description
K-line Types
Enum
Interval
Error Handling
Last updated
