11 lines
283 B
Python
11 lines
283 B
Python
|
class MarketDataFetcher:
|
||
|
def __init__(self, source):
|
||
|
self.source = source # 支持多数据源配置
|
||
|
|
||
|
def get_realtime_data(self):
|
||
|
# 获取实时行情
|
||
|
pass
|
||
|
|
||
|
def get_historical_data(self):
|
||
|
# 获取历史数据
|
||
|
pass
|