(fname, n, intraday)
| 333 | |
| 334 | |
| 335 | def simple_load_data(fname, n, intraday): |
| 336 | entryinfo = pd.read_csv("%strace/%s.csv"%(home, fname), index_col=0, parse_dates=True) |
| 337 | assert entryinfo.index.is_unique |
| 338 | #print entryinfo.islong |
| 339 | print "Loaded File: %s"%home + fname + ".csv" |
| 340 | pricefname = pricefname_from_tradefname(fname, 1) |
| 341 | stock_dir= home + "stock_data/" |
| 342 | pricefname = stock_dir + pricefname |
| 343 | return simple_deal_tradeinfo(entryinfo, pricefname, n, intraday) |
| 344 | |
| 345 | |
| 346 | def load_wavedata(*fnames): |
nothing calls this directly
no test coverage detected