Using R in real time financial market trading