suchang

Results 3 issues of suchang

类似THOST_FTDC_D_Buy之类的常量, 是否考虑放入 Apistructure.py中?

like this ``` def data_received(self, data): resp = b'\x05' + struct.pack('!B', self.method) self.transport.write(resp) ``` in asyncio.Protocol

``` def make_underlying_symbol(id_or_symbol): id_or_symbol = bytes2str(id_or_symbol) if six.PY2: return filter(lambda x: x not in '0123456789 ', id_or_symbol).upper() else: return ''.join(list(filter(lambda x: x not in '0123456789 ', 'rb1705'))).upper() ``` python3的所有的make_underlying_symbol 都会返回RB