fixed some scoping issues
testing some of the new Bucket api on some realistic trading tests. e.g. spread stats through time