def tradesWS(symbols=None, on_data=None):
    '''https://iextrading.com/developer/docs/#trades'''
    symbols = _strToList(symbols)
    sendinit = ({'symbols': symbols, 'channels': ['trades']},)
    return _stream(_wsURL('deep'), sendinit, on_data)
def tradesWS ( symbols = None , on_data = None ) : symbols = _strToList ( symbols ) sendinit = ( { 'symbols' : symbols , 'channels' : [ 'trades' ] } , ) return _stream ( _wsURL ( 'deep' ) , sendinit , on_data )
https://iextrading.com/developer/docs/#trades