def trans(self, symbol='', start=0, offset=10):
        '''
        查询分笔成交

        :param market: 市场代码
        :param symbol: 股票代码
        :param start: 起始位置
        :param offset: 请求数量
        :return: pd.dataFrame or None
        '''
        market = get_stock_market(symbol)

        with self.client.connect(*self.bestip):
            data = self.client.get_transaction_data(
                int(market), symbol, int(start), int(market))
            return self.client.to_df(data)
def trans ( self , symbol = '' , start = 0 , offset = 10 ) : market = get_stock_market ( symbol ) with self . client . connect ( * self . bestip ) : data = self . client . get_transaction_data ( int ( market ) , symbol , int ( start ) , int ( market ) ) return self . client . to_df ( data )
查询分笔成交

        :param market: 市场代码
        :param symbol: 股票代码
        :param start: 起始位置
        :param offset: 请求数量
        :return: pd.dataFrame or None