Exemple #1
0
 def do_readtradehist24(self,args):
     """reading trade history data from a file and gathering stats on it"""
     import tradehistory
     filetype = prompt("Is this a Trade History file (not a full depth file)?",True)
     if filetype:
         tradehistory.readhist24()
     else:
         tradehistory.readdepth()
Exemple #2
0
 def do_readtradehist24(self,args):
     """reading trade history data from a file and gathering stats on it"""
     import tradehistory
     print "Is this a Trade History file (not a full depth file)?"
     isdepthfile = raw_input("N/No or [Leave blank for Yes(default)]")
     if not(isdepthfile):
         tradehistory.readhist24()
     else:
         tradehistory.readdepth()