最近做了一些调整和功能的增加,主要体现在如下方面:
1、解析新浪行情的所有数据:
class QuoteData:
def __init__(self):
self.id = ''
self.rawLine = ''
#sorted with sina interface
self.name = ''
self.openPrice = ''
self.preClose = ''
self.lastPrice = ''
self.highPrice = ''
self.lowPrice = ''
self.buyPrice = ''
self.sellPrice = ''
self.tradeValume = ''
self.tradeTurnover = ''
self.buy1Volume = ''
self.buy1Price = ''
self.buy2Volume = ''
self.buy2Price = ''
self.buy3Volume = ''
self.buy3Price = ''
self.buy4Volume = ''
self.buy4Price = ''
se