Correct use of write_file, append value is ignored and append wont create missing file
Performance
Some exchanges need buy to be expressed in primary ccy units
Performance
Account for Cryptsy using EST timestamps
Cater for divide by zero errors