新浪行情推送引擎
| 6 | |
| 7 | |
| 8 | class 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 |
nothing calls this directly
no outgoing calls
no test coverage detected