MCPcopy Create free account
hub / github.com/shidenggui/easyquant / DefaultQuotationEngine

Class DefaultQuotationEngine

easyquant/push_engine/quotation_engine.py:8–16  ·  view source on GitHub ↗

新浪行情推送引擎

Source from the content-addressed store, hash-verified

6
7
8class DefaultQuotationEngine(BaseEngine):
9 """新浪行情推送引擎"""
10 EventType = 'quotation'
11
12 def init(self):
13 self.source = easyquotation.use('sina')
14
15 def fetch_quotation(self):
16 return self.source.all

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected