| 29 | |
| 30 | |
| 31 | class LFEngine(PushBaseEngine): |
| 32 | EventType = 'lf' |
| 33 | |
| 34 | def init(self): |
| 35 | self.source = easyquotation.use('lf') |
| 36 | |
| 37 | def fetch_quotation(self): |
| 38 | return self.source.stocks(['162411', '000002']) |
| 39 | |
| 40 | |
| 41 | quotation_choose = input('请输入使用行情引擎 1: sina 2: leverfun 十档 行情(目前只选择了 162411, 000002)\n:') |
nothing calls this directly
no outgoing calls
no test coverage detected