示例#1
0
 def __init__(self):
     BfTraderClient.__init__(self)
     self.clientId = "DataRecorder"
     self.tickHandler = True
     self.tradeHandler = False
     self.logHandler = False
     self.symbol = "*"
     self.exchange = "*"
示例#2
0
 def __init__(self):
     BfTraderClient.__init__(self)
     self.clientId = "DataRecorder"
     self.tickHandler = True
     self.tradeHandler = False
     self.logHandler = False
     self.symbol = "*"
     self.exchange = "*"
示例#3
0
 def __init__(self):
     print "init dualcross"
     BfTraderClient.__init__(self)
     self.clientId = "Save 1min bar"
     self.tickHandler = True
     self.tradeHandler = False
     self.logHandler = False
     self.symbol = "rb1610"
     self.exchange = "SHFE"